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

According to https://bugs.launchpad.net/rohc/+bug/897831, gcc less than 4.5 
does not take deprecated with no arguments. Therefore I think that cryptopp 
will have to change for it to be buildable with this older version of g++. 
I am using RHEL 6.8 where this compiler is the default.

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
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 cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to