RE: Error in compiling sm_pkcs11Free3DLL

"Colestock, Robert" <[email protected]> Mon, 5 Aug 2002 14:24:45 -0400
Newsgroups gmane.ietf.sfl
Message-ID <[email protected]>
Chee:

The current release of the SFL does not have this problem.

I believe the fix was to add these 2 methods to the CSM_Pkcs11Free3
class definition to remove the ambiguity:

<<<<< in sm_pkcs11free3.h >>>>>
...
class SM_PKCS11FREE3DLL_API CSM_Pkcs11Free3 : public CSM_Pkcs11,
                                              public CSM_Free3
{
public :
...
      CSM_Alg *DeriveMsgAlgFromCert(CSM_CertificateChoice &Cert);
      CSM_Alg *DeriveMsgAlgFromCert(CSM_Alg &Alg)  { return NULL;};
...




Bob Colestock


-----Original Message-----
From: Chee Leong [mailto:[email protected]] 
Sent: Thursday, August 01, 2002 10:55 PM
To: [email protected]
Subject: Error in compiling sm_pkcs11Free3DLL


Hi,

I got the following error while compiling 
sm_pkcs11Free3DLL on Windows platform:

Configuration: sm_pkcs11Free3DLL - Win32 Debug
Compiling... sm_pkcs11Free3.cpp

P:\smimeR2.0.1\SMIME\alg_libs\sm_pkcs11Free3\sm_pkcs11Free3.h(182)
: error C2250: 'CSM_Pkcs11Free3' : ambiguous
inheritance of
'CERT::CSM_Pkcs11::DeriveMsgAlgFromCert'
../sm_pkcs11\sm_pkcs11.h(120) : see declaration of
'CSM_Pkcs11'

P:\smimeR2.0.1\SMIME\alg_libs\sm_pkcs11Free3\sm_pkcs11Free3.h(182)
: error C2250: 'CSM_Pkcs11Free3' : ambiguous
inheritance of 'CERT::CSM_Free3::DeriveMsgAlgFromCert'
../sm_free3\sm_free3.h(102) : see declaration of
'CSM_Free3'

Can anyone help?? Thanks.

Regards,
Chee Leong



__________________________________________________
Do You Yahoo!?
Win a DV camera, join our "30 Seconds of Fame" contest   
http://sg.movies.yahoo.com