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

Remove unconditional -Wno-deprecated-declaration on macOS #4931

Merged
merged 1 commit into from
Jan 10, 2019

Conversation

tiennou
Copy link
Contributor

@tiennou tiennou commented Jan 10, 2019

Just noticed that while investigating #4924.

After taking into consideration the following, I think this should be removed :

  • OpenSSL isn't the default on Apple platforms
  • you have to jump through hoops to get CMake to use OpenSSL on macOS (headers aren't in /usr/include, so you have to provide -DOPENSSL_* overrides)
  • users are likely (as getting anywhere near the installed 0.9.8 version is insanity IMHO) to package a "modern" version, which wouldn't be marked as deprecated

There might be a way to detect which version is getting used, or maybe #pragma the deprecation warnings out of openssl.c instead.

@tiennou tiennou changed the title Remove unconditional -Wdeprecated-declaration on macOS Remove unconditional -Wno-deprecated-declaration on macOS Jan 10, 2019
After taking into consideration the following, I think this should be
removed :

- OpenSSL isn't the default on Apple platforms
- you have to jump through hoops to get CMake to use OpenSSL on macOS
(headers aren't in `/usr/include`, so you have to provide `-DOPENSSL_*`
overrides)
- users are likely (as getting anywhere near the installed 0.9.8 version
is insanity IMHO) to package a "modern" version, which wouldn't be
marked as deprecated
@ethomson
Copy link
Member

Appreciate the analysis - agree that we should remove this. 👍

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

2 participants