Hi,

I get this error trying to make crypto++ with mingw64 g++ 4.7.0.

In file included from algparam.h:6:0,
                 from algparam.cpp:7:
secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, 
T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, 
T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, 
T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 
= false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned 
char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = long long 
unsigned int]':
secblock.h:247:19:   required from 'CryptoPP::SecBlock<T, 
A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; 
A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, 
A>::size_type = long long unsigned int]'
algparam.h:17:2:   required from here
secblock.h:91:3: error: 'CheckSize' was not declared in this scope, and no 
declarations were found by argument-dependent lookup at the point of 
instantiation [-fpermissive]
secblock.h:91:3: note: declarations in dependent base 
'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup
secblock.h:91:3: note: use 'this->CheckSize' instead
make: *** [algparam.o] Error 1

Has anyone had this problem? In any case, how do I fix it?


Thanks.

-- 
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.

Reply via email to