Skip to content

Conversation

@bdash
Copy link
Contributor

@bdash bdash commented Dec 16, 2025

A BN_DEPRECATED macro is introduced that expands to a [[deprecated(msg)]] attribute. Using functions that are annotated as deprecated will generate a compiler warning. This should help make users aware that they should migrate to replacement APIs, making it safer for us to remove the deprecated APIs in a future release.

Fixes #7802.

A `BN_DEPRECATED` macro is introduced that expands to a `[[deprecated(msg)]]`
attribute. Using functions that are annotated as deprecated will
generate a compiler warning. This should help make users aware that they
should migrate to replacement APIs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Annotate deprecated C++ APIs with [[deprecated(msg)]]

2 participants