On line 16 of iterhash.cpp, try changing AlgorithmName() to this->AlgorithmName().
On Fri, Oct 15, 2004 at 10:38:12AM +0700, tonal wrote: > Hello All! > > I upgrade my MinGW compilator to version g++ (GCC) 3.4.2 (mingw-special) > And I try compile Crypto++. > > I have some errors: > > g++ -O2 -DNDEBUG -ffunction-sections -pipe -mcpu=pentium -march=pentium -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:16: error: there are no arguments to `AlgorithmName' that depend on a > template parameter, so a declaration of `AlgorithmName' must be available > iterhash.cpp:16: error: (if you use `-fpermissive', G++ will accept your code, but > allowing the use of an undeclared name is deprecated) > `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. > > Help my compile Crypto++ library. > > -- > tonal mailto:[EMAIL PROTECTED]
