> But I get a new (unrelated) compiler warning: > > rw.cpp(210): warning C4189: 'n': local variable is initialized but not > referenced > > Thanks again Marcel. The warning was cleared at http://github.com/weidai11/cryptopp/commit/59aad798ebb5302c9b62285c3a9a0d2878cb68e3 . Its sitting on the dev-branch at the moment.
I also changed the define for CRYPTOPP_CONSTANT at http://github.com/weidai11/cryptopp/commit/9205efda02a788084a332bff06733572a338b132 : +#if defined(CRYPTOPP_CXX11_CONSTEXPR) +# undef CRYPTOPP_CONSTANT +# define CRYPTOPP_CONSTANT(x) constexpr static int x; +#endif It did not make a difference under GCC, but it sped up Clang by about 100ms to 150ms. The Visual Studio folks should test this change, too. Jeff -- -- 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.
