Hey, I'm trying to build cryptopp with clang on OSX 10.7 (Apple clang
version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn), Target:
x86_64-apple-darwin11.3.0)
and when I make, I get the following error:
usr/bin/clang++ -Os -w -pipe -march=native -Qunused-arguments
-DCRYPTOPP_DISABLE_ASM -c arc4.cpp
In file included from algparam.cpp:7:
In file included from ./algparam.h:6:
./secblock.h:91:3: error: use of undeclared identifier 'CheckSize'
CheckSize(n);
^
this->
./secblock.h:247:35: note: in instantiation of member function
'CryptoPP::AllocatorWithCleanup<unsigned char,
false>::allocate' requested here
: m_size(size) {m_ptr = m_alloc.allocate(size, NULL);}
^
./algparam.h:16:2: note: in instantiation of member function
'CryptoPP::SecBlock<unsigned char, CryptoPP::Allo
catorWithCleanup<byte> >::SecBlock' requested here
ConstByteArrayParameter(const char *data = NULL, bool deepCopy =
false)
^
./secblock.h:37:14: note: must qualify identifier to find this declaration
in dependent base class
static void CheckSize(size_t n)
^
1 error generated.
Does anyone have any idea why this happens, or how to fix it?
--
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.