Menu

#14 5.2.1 does not compile with GCC 4

None
closed
None
5
2015-06-08
2005-05-25
Anonymous
No

I believe this is more a GCC 4 issue than an OS X
10.4.1 issue. It compiles fine with GCC 3.3 on OS X
10.4.1.

Error message is:

c++ -O2 -DNDEBUG -ffunction-sections -fdata-sections
-pipe -D__pic__ -c
esign.cpp
esign.cpp: In member function `virtual void
CryptoPP::InvertibleESIGNFunction::GenerateRandom(CryptoPP::RandomNumberGenerator&,

const CryptoPP::NameValuePairs&)':
esign.cpp:97: error: cannot allocate an object of
abstract type
'CryptoPP::NameValuePairs'
cryptlib.h:222: note: because the following virtual
functions are pure
within 'CryptoPP::NameValuePairs':
cryptlib.h:303: note: virtual bool
CryptoPP::NameValuePairs::GetVoidValue(const char*, const
std::type_info&, void*) const
make: *** [esign.o] Error 1

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I have also trouble to compile it von gcc 4.0.2
    (pre-release version) on OpenSUSE 10.0, files
    blowfish.cpp:33 and osrng.h:115 instantiated from here
    osrng.h:137 <anonymous>

     
  • Jeffrey Walton

    Jeffrey Walton - 2015-06-08

    I cannot reproduce this on OS X now. But that's for OS X 10.6 or 7 through 10.9.

    Closing.

     
  • Jeffrey Walton

    Jeffrey Walton - 2015-06-08
    • status: open --> closed
    • assigned_to: Jeffrey Walton
    • Group: -->