Thanks for the report. I've posted a patch to compile Crypto++ 5.0 with GCC 3.3 on the Crypto++ home page.
On Sun, Jul 27, 2003 at 08:22:01AM -0400, Zooko wrote: > > Crypto++ 5.0 doesn't compile with g++ 3.3.1-debian. Crypto++ 5.1 compiles > with a few warnings. > > I can probably upgrade to Crypto++ 5.1 (depending on how the interface has > changed from 5.0, and maybe depending on some of my patches to Crypto++ 5.0), > but I thought you might want to know. > > MAIL pion:~$ g++ --version > g++ (GCC) 3.3.1 20030722 (Debian prerelease) > > Regards, > > Zooko > > result of "make" is appended: > > g++ -g -pipe -c 3way.cpp > g++ -g -pipe -c adler32.cpp > g++ -g -pipe -c algebra.cpp > g++ -g -pipe -c algparam.cpp > g++ -g -pipe -c arc4.cpp > g++ -g -pipe -c asn.cpp > g++ -g -pipe -c base64.cpp > g++ -g -pipe -c basecode.cpp > g++ -g -pipe -c bfinit.cpp > g++ -g -pipe -c blowfish.cpp > g++ -g -pipe -c blumshub.cpp > g++ -g -pipe -c cast.cpp > g++ -g -pipe -c casts.cpp > g++ -g -pipe -c channels.cpp > g++ -g -pipe -c crc.cpp > g++ -g -pipe -c cryptest.cpp > g++ -g -pipe -c cryptlib.cpp > g++ -g -pipe -c default.cpp > In file included from default.h:8, > from default.cpp:4: > strciphr.h:224: error: `typedef struct CryptoPP::CFB_CipherAbstractPolicy > > CryptoPP::CFB_CipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::CFB_CipherAbstractPolicy, > CryptoPP::CFB_ModePolicy> >::PolicyInterface' is protected > modes.h:285: error: within this context > strciphr.h:224: error: `typedef struct CryptoPP::CFB_CipherAbstractPolicy > > CryptoPP::CFB_CipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::CFB_CipherAbstractPolicy, > CryptoPP::CFB_ModePolicy> >::PolicyInterface' is protected > modes.h:286: error: within this context > strciphr.h:224: error: `typedef struct CryptoPP::CFB_CipherAbstractPolicy > > CryptoPP::CFB_CipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::CFB_CipherAbstractPolicy, > CryptoPP::CFB_ModePolicy> >::PolicyInterface' is protected > modes.h:292: error: within this context > strciphr.h:224: error: `typedef struct CryptoPP::CFB_CipherAbstractPolicy > > CryptoPP::CFB_CipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::CFB_CipherAbstractPolicy, > CryptoPP::CFB_ModePolicy> >::PolicyInterface' is protected > modes.h:293: error: within this context > strciphr.h:134: error: `typedef struct CryptoPP::AdditiveCipherAbstractPolicy > > CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, > CryptoPP::OFB_ModePolicy> >::PolicyInterface' is protected > modes.h:300: error: within this context > strciphr.h:134: error: `typedef struct CryptoPP::AdditiveCipherAbstractPolicy > > CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, > CryptoPP::OFB_ModePolicy> >::PolicyInterface' is protected > modes.h:307: error: within this context > strciphr.h:134: error: `typedef struct CryptoPP::AdditiveCipherAbstractPolicy > > CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, > CryptoPP::CTR_ModePolicy> >::PolicyInterface' is protected > modes.h:315: error: within this context > strciphr.h:134: error: `typedef struct CryptoPP::AdditiveCipherAbstractPolicy > > CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, > CryptoPP::CTR_ModePolicy> >::PolicyInterface' is protected > modes.h:322: error: within this context > make: *** [default.o] Error 1
