Hi all,

There is a slight compile problem with CryptoPP CVS (as of now) with GCC 3.4.1.

g++ -g -msse2 -pipe -c dll.cpp
In file included from dll.cpp:13:
iterhash.cpp: In member function `void CryptoPP::IteratedHashBase<T, BASE>::Update(const byte*, unsigned int)':
iterhash.cpp:21: error: there are no arguments to `AlgorithmName' that depend on a template parameter, so a declaration of `AlgorithmName' must be available
iterhash.cpp:21: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)



Turning on -fpermissive works to compile and validate! (on AMD64--congrats!), here is more system specs:


gcc -v
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/specs
Configured with: /var/tmp/portage/gcc-3.4.1-r2/work/gcc-3.4.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4/info --enable-shared --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-system-zlib --enable-languages=c,c++ --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3 --with-local-prefix=/usr/local --disable-werror --enable-shared --enable-nls --without-included-gettext --disable-multilib --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.1 20040803 (Gentoo Linux 3.4.1-r2, ssp-3.4-2, pie-8.7.6.5)





Reply via email to