On Monday, July 18, 2016 at 9:36:03 AM UTC-4, Andrew Marlow wrote:
>
> Hello everyone,
>
> I am getting an error when default.h is parsed:
> In file included from default.cpp:13:
>
> default.h:52: error: wrong number of arguments specified for deprecated 
> attribute
> default.h:105: error: wrong number of arguments specified for deprecated 
> attribute
> default.h:143: error: wrong number of arguments specified for deprecated 
> attribute
> default.h:192: error: wrong number of arguments specified for deprecated 
> attribute
>
> This is due to constructs such as this in default.h:
>
> #if (CRYPTOPP_GCC_VERSION >= 40300) || (CRYPTOPP_CLANG_VERSION >= 20800)
> } __attribute__((deprecated ("DefaultDecryptor will be changing in the 
> near future because the algorithms are no longer secure")));
> #elif (CRYPTOPP_GCC_VERSION)
> } __attribute__((deprecated));
> #else
> };
>

I should have commented... It looks like you are using the 5.6.3 release 
ZIP from the website. Its fixed in time and does not change.

The version information was fixed a while ago though empirical testing. 
That is, GCC 4.3 release notes said it provided deprecated with a message, 
but testing in the field showed otherwise.

You should consider working from Master. Master is mostly stable so nothing 
will jump up and bite you. You can even create a ZIP from it with 
(https://github.com/weidai11/cryptopp/blob/master/GNUmakefile#L658):

    git clone https://github.com/weidai11/cryptopp.git
    cd cryptopp
    make zip

You will need the following programs installed: zip, unix2dos, and dos2unix.

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.

Reply via email to