I'm using 5.4 version with gcc 4.3.3 on ubuntu. I have the build essentials
package. Below is the error I see:
g++ -g -msse2 -pipe -c 3way.cpp
In file included from seckey.h:9,
from 3way.h:7,
from 3way.cpp:5:
misc.h: In function ‘void CryptoPP::memcpy_s(void*, size_t, const void*,
size_t)’:
misc.h:128: error: ‘memcpy’ was not declared in this scope
misc.h: In function ‘void CryptoPP::memmove_s(void*, size_t, const void*,
size_t)’:
misc.h:135: error: ‘memmove’ was not declared in this scope
misc.h: In function ‘void CryptoPP::GetUserKey(CryptoPP::ByteOrder, T*,
size_t, const byte*, size_t)’:
misc.h:636: error: there are no arguments to ‘memset’ that depend on a
template parameter, so a declaration of ‘memset’ must be available
misc.h:636: error: (if you use ‘-fpermissive’, G++ will accept your code,
but allowing the use of an undeclared name is deprecated)
make: *** [3way.o] Error 1
Am I missing anythings obvious ? ( I can modify code to compile - but, the
site says no modifications required for gcc with 5.4)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---