Hi,

I gave this wonderful program package a try and compiled it with GNU g+
+ 4.3.3. I observed a rush of 'unused variable' warnings due to
compile time assertions. May I suggest an improvement on that issue?

In 'misc.h' line 58 you implement a compile-time assertion as:

#define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) \
static CompileAssert<(assertion)>
CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)

My suggestion: replace 'static' by 'typedef', this will kill the
warnings, at least on my compiler.

Cheers

Wolf Lammen

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