Hello,
I know this is probably a bit ambitious, but I am trying to compile
crypto++ with g++ 4.0
I get the following error message when compiling blowfish.cpp
g++ -g -DCRYPTOPP_DISABLE_X86ASM -pipe -c blowfish.cpp
blowfish.cpp: In member function 'void
CryptoPP::Blowfish::Base::UncheckedSetKey(CryptoPP::CipherDir, const
byte*, unsigned int)':
blowfish.cpp:33: erreur: 'CryptoPP::FixedRounds<16u>::<anonymous enum>'
is/uses anonymous type
blowfish.cpp:33: erreur: trying to instantiate'template<class T, class
A> template<class I> const T* CryptoPP::SecBlock::operator+(I) const'
blowfish.cpp:33: erreur: 'CryptoPP::FixedRounds<16u>::<anonymous enum>'
is/uses anonymous type
blowfish.cpp:33: erreur: trying to instantiate 'template<class T,
class A> template<class I> T* CryptoPP::SecBlock::operator+(I)'
no clue what this might be ? I see the same error a bit further
g++ -g -DCRYPTOPP_DISABLE_X86ASM -pipe -c dll.cpp
osrng.h: In member function 'void
CryptoPP::AutoSeededX917RNG<BLOCK_CIPHER>::Reseed(bool) [with
BLOCK_CIPHER = CryptoPP::DES_EDE3]':osrng.h:115: instantiated from here
osrng.h:137: erreur: 'CryptoPP::FixedBlockSize<8u>::<anonymous enum>'
is/uses anonymous type
osrng.h:137: erreur: trying to instantiate 'template<class T, class A>
template<class I> const T* CryptoPP::SecBlock::operator+(I) const'
osrng.h:137: erreur: 'CryptoPP::FixedBlockSize<8u>::<anonymous enum>'
is/uses anonymous type
osrng.h:137: erreur: trying to instantiate 'template<class T, class A>
template<class I> T* CryptoPP::SecBlock::operator+(I)'
And with another file
g++ -g -DCRYPTOPP_DISABLE_X86ASM -pipe -c dsa.cpp
dsa.cpp: In static member function 'static bool
CryptoPP::DSA::GeneratePrimes(const byte*, unsigned int, int&,
CryptoPP::Integer&, unsigned int, CryptoPP::Integer&, bool)':
dsa.cpp:104: erreur:
'CryptoPP::IteratedHashWithStaticTransform<CryptoPP::word32,
CryptoPP::BigEndian, 64u, 20u, CryptoPP::SHA, 20u>::<anonymous enum>'
is/uses anonymous type
dsa.cpp:104: erreur: trying to instantiate 'template<class T, class A>
template<class I> const T* CryptoPP::SecBlock::operator+(I) const'
dsa.cpp:104: erreur:
'CryptoPP::IteratedHashWithStaticTransform<CryptoPP::word32,
CryptoPP::BigEndian, 64u, 20u, CryptoPP::SHA, 20u>::<anonymous enum>'
is/uses anonymous type
dsa.cpp:104: erreur: trying to instantiate 'template<class T, class A>
template<class I> T* CryptoPP::SecBlock::operator+(I)'
It looks like it is the same problem showing up in different places.