Thanks for working out the patch. I've extracted the relevant parts from the Debian package and posted it on the Crypto++ home page. CVS has also been updated to allow compilation with GCC 4.
----- Original Message ----- From: "Jens Peter Secher" <[EMAIL PROTECTED]>
To: <[email protected]> Sent: Tuesday, September 06, 2005 4:18 AM Subject: Re: Anonymous enum errors + fix and question about vtables
With respect to the compilation errors occuring when trying to compile 5.2.1 with GCC 4, I and others have created some patches that fix the issues. The patches are contained in the Debian GNU/Linux package at http://packages.debian.org/unstable/source/libcrypto++ If you are not running a system that groks Debian packages, you will have to dig the patches out of the diff.gz file. Be warned that 5.2.1 will hit a GCC 4 internal compiler error on Arm, HPPA and M68k processors. I have not yet had the opportunity to dig into this problem... With respect to the virtual destructors, I guess it will give a perfomance penalty to add them, and they are not needed, but YMMV. Cheers, -- Jens Peter Secher _DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_
