Closed ni4 closed 3 months ago
Hi! Sorry about that. This involves a macro expansion that included both [[deprecated]]
and __attribute__
and for whatever reason Clang supports one ordering of these two constructs, but not the other. This is already fixed on master, next release is 3.6.0 in October. In the meantime you can work around it with #define BOTAN_NO_DEPRECATED_WARNINGS
. Unfortunately just avoiding the deprecated name is not sufficient - Clang considers this a parse error so it will reject the header outright even if the function is never called.
@randombit Thanks for the quick reply! I should take look at master before creating an issue. No problem, will update to 3.6.0 once it is ready, no rush for now.
I'm attempting to update RNP oss-fuzz to Botan 3.5.0 from 3.4.0 (which works fine). However, I get the following error when oss-fuzz tries to build RNP:
Indeed, we still use old naming for Curve25519 and didn't migrate yet. Compiler identification is CLang 18.0.0. Just to note - we build RNP with Botan 3.5.0 and latest git commit in CI and didn't see this issue before. Do you have an idea why this may happen and how to worarkound it (except correct function naming to not yield a deprecation warning)? Thanks!