编译easyMule_Libs的时候报个错误:
'CryptoPP::AlignedAllocator::allocate' : unable to match function definition to an existing declaration
c:/projects/cryptlib/integer.h(45) : see declaration of 'CryptoPP::AlignedAllocator::allocate'
definition
'AllocatorBase::pointer CryptoPP::AlignedAllocator::allocate(CryptoPP::AlignedAllocator::size_type,const void *)'
existing declarations
'T *CryptoPP::AlignedAllocator::allocate(CryptoPP::AlignedAllocator::size_type,const void *)'
修改方法是将integer.cpp中的:
template
CPP_TYPENAME AllocatorBase::pointer AlignedAllocator::allocate(size_type n, const void *)
修改为:
template
CPP_TYPENAME AlignedAllocator::pointer AlignedAllocator::allocate(size_type n, const void *)