I compiled and built Crypto++ Library 5.6.3 no problem ! 
<https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjIt8T81frLAhXBkIMKHZjOAJIQFggcMAA&url=https%3A%2F%2Fwww.cryptopp.com%2F&usg=AFQjCNEg3W_c2wQISy4QzsWuoi0I-xfTAQ&sig2=xb4yP0k_TewSQdsMhcpnjQ>
I compiled and ran examples Serpent GCM, Twofish EAX no problem !

but, i failed to compile cryptopp-authenc.cpp

I'm using
g++ (SUSE Linux) 5.2.1 20150721 [gcc-5-branch revision 226027]
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

here the compile error:
g++ -g -O2 -DNDEBUG -I/usr/include/cryptopp cryptopp-authenc.cpp -o test 
-lcryptopp -lpthread
In file included from cryptopp-authenc.cpp:20:0:
/usr/include/cryptopp/secblock.h: In instantiation of 
‘CryptoPP::SecBlock<T, A> CryptoPP::SecBlock<T, A>::operator+(const 
CryptoPP::SecBlock<T, A>&) [with T = unsigned char; A = 
CryptoPP::AllocatorWithCleanup<unsigned char>]’:
cryptopp-authenc.cpp:156:114:   required from here
/usr/include/cryptopp/secblock.h:593:6: error: cannot convert 
‘CryptoPP::SecBlock<T, A>::size<unsigned char, 
CryptoPP::AllocatorWithCleanup<unsigned char> >’ from type 
‘CryptoPP::SecBlock<unsigned char>::size_type (CryptoPP::SecBlock<unsigned 
char>::)() const {aka long unsigned int (CryptoPP::SecBlock<unsigned 
char>::)() const}’ to type ‘bool’
   if(!t.size) return SecBlock(*this);
      ^
/usr/include/cryptopp/secblock.h:593:6: error: in argument to unary !

Any idea?
<https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjIt8T81frLAhXBkIMKHZjOAJIQFggcMAA&url=https%3A%2F%2Fwww.cryptopp.com%2F&usg=AFQjCNEg3W_c2wQISy4QzsWuoi0I-xfTAQ&sig2=xb4yP0k_TewSQdsMhcpnjQ>

-- 
-- 
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.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to