Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress deprecation warnings #3134

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

kazuho
Copy link
Member

@kazuho kazuho commented Oct 17, 2022

When compiling with OpenSSL 3.0, bunch of deprecated warnings are generated.

This PR suppress them at per-file or per-function level, so that we would not see warnings for the cases we do not care, but that we'd see warnings for newly added code that depends on the deprecated API.

Alternative to #3090.

Copy link
Member Author

@kazuho kazuho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The direction might be good, but I think we should consider and streamline how we add these no-deprecated-declarations flag. We set it for some source files in IF (APPLE). How do they correspond with the changes added in this PR?

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.

None yet

1 participant