Im also having problems with 5.2.1 on GCC4.0 (Mac 10.4.2), but not any Ive seen in this thread so far. I'm getting:
esign.cpp: In member function 'virtual void CryptoPP::InvertibleESIGNFunction::GenerateRandom(...)' esign.cpp;97: error: cannot allocate an object of abstract type 'CryptoPP::NameValuePairs' any ideas on this one? -=Bob > -----Original Message----- > From: DB1 CB14 [mailto:[EMAIL PROTECTED] > Sent: Friday, July 22, 2005 2:03 AM > To: [email protected] > Subject: Compiling Crypto 5.2.1 with GCC 4.0 > > > The strict C++ standards compliance in GCC 4.0 stops > the compile of crypto 5.2.1 dead in its tracks (see > the "<anonymous enum> is/uses anonymous type" error > below). I was hoping that since 5.2.1 compiled with > GCC 3.4 it would also compile with GCC 4.0. This > error/situation is not seen as a GCC bug > (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20589) > and is covered by the C++ standard so I was wondering > if there is any work on a GCC 4.0 build or if anyone > is going to. > > Is there anyone trying to build the library with GCC > 4.0 besides myself and on what platform? > > R. > > Dave Breaker > > > blowfish.cpp: In member function 'void > CryptoPP::Blowfish::Base::UncheckedSetKey(CryptoPP::CipherDir, > const byte*, unsigned int)': > blowfish.cpp:33: error: > 'CryptoPP::FixedRounds<16u>::<anonymous enum>' is/uses > anonymous type > blowfish.cpp:33: error: trying to instantiate > 'template<class T, class A> template<class I> const T* > CryptoPP::SecBlock::operator+(I) const' > blowfish.cpp:33: error: > 'CryptoPP::FixedRounds<16u>::<anonymous enum>' is/uses > anonymous type > blowfish.cpp:33: error: trying to instantiate > 'template<class T, class A> template<class I> T* > CryptoPP::SecBlock::operator+(I)' > make: *** [blowfish.o] Error 1 > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > >
