[mnet-devel] Crypto++ 5.0 patched to compile with gcc 3.3
Zooko
zooko at zooko.com
Tue Aug 5 23:05:37 BST 2003
This is one of the things I like about Crypto++. I've always gotten good
"customer" service from Wei Dai.
--Z
------- Forwarded Message
Date: Tue, 5 Aug 2003 17:21:01 -0400
From: Wei Dai <weidai at weidai.com>
To: cryptopp-list at eskimo.com
Subject: Re: Crypto++ 5.0 vs. g++ 3.3.1 (Debian prerelease)
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
------- End of Forwarded Message
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel
More information about the Mnet-devel
mailing list