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

[develop2] change default profile apple-clang to gnu17 #13185

Merged
merged 2 commits into from
Feb 21, 2023

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Feb 21, 2023

Changelog: Feature: Change default profile cppstd for apple-clang to gnu17.
Docs: conan-io/docs#3002

The gnu98 default for apple-clang in OSX is clearly not sufficient for many cases, not enough for ConanCenter development, many modern open sources libraries will require a modern c++17.

Other modern compilers like MSVC > 2015 default to c++14, and gcc defaults to gnu14 or gnu17 depending on the compiler version (gcc 11 defaults to gnu17), so better if apple-clang is aligned.

@memsharded memsharded added this to the 2.0 milestone Feb 21, 2023
Copy link
Contributor

@jcar87 jcar87 left a comment

Choose a reason for hiding this comment

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

worth noting that new C+ xcode projects do indeed have a higher C++ standard level than the default for the command line compiler, so I think this is sensible

@czoido czoido merged commit 843a4d8 into conan-io:develop2 Feb 21, 2023
@memsharded memsharded deleted the fix/develop2_mac_gnu17 branch February 21, 2023 12:10
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.

3 participants