Hi CryptoPP list and Wei Dai,

I pulled the latest CVS trunk of c5 and tried it under VC++ 7.1 without building
library, and I had a linker error for HashInputTooLong::HashInputTooLong,
even though I built iterhash.cpp. It had 2 errors, one was a ordinary linker
error that told HashInputTooLong::HashInputTooLong was not found and
another was about double-definition.

Still not sure why it occured, but my simple workaround is moving HashInputTooLong
code in iterhash.cpp to iterhash.h (only inlining its constructor anyway), and
everything works again for me, FYI.

By the way, I use STLport but strangely

#if (defined(_MSC_VER) && _MSC_VER <= 1300) || defined(__MWERKS__) || 
defined(_STLPORT_VERSION)
#define CRYPTOPP_DISABLE_UNCAUGHT_EXCEPTION
#endif

in config.h is ignored in my configuration without building cryptopp lib,
so I have to make it

#define CRYPTOPP_DISABLE_UNCAUGHT_EXCEPTION

without #if to build it under STLport.

Ken


Reply via email to