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

Add GCC 9 to default settings.yml #5046

Merged
merged 1 commit into from Apr 29, 2019
Merged

Add GCC 9 to default settings.yml #5046

merged 1 commit into from Apr 29, 2019

Conversation

@Croydon
Copy link
Contributor

@Croydon Croydon commented Apr 26, 2019

Changelog: Feature: Add GCC 9 to default settings.yml
Docs: conan-io/docs#1257

I'm assuming that no separated issue is required for such a small change. Please correct me if I'm wrong with that assumption

Implements #5093

@uilianries
Copy link
Member

@uilianries uilianries commented Apr 27, 2019

@Croydon please, add to the PR description:

Docs: conan-io/docs#1257

Copy link
Member

@uilianries uilianries left a comment

LGTM

@Croydon Croydon mentioned this pull request Apr 27, 2019
3 tasks
@lasote lasote added this to the 1.15 milestone Apr 27, 2019
@lasote
Copy link
Contributor

@lasote lasote commented Apr 27, 2019

The default stdcpp version has to be adjusted if needed and also search for any other specific flag etc

@lasote
Copy link
Contributor

@lasote lasote commented Apr 29, 2019

I can't find yet information about the default -std parameter for gcc9. It is very likely it is going to be the same as gcc8 (gnu14), but I would prefer to have a confirmation before merging this. @Croydon @uilianries please try to gather that info.

@uilianries
Copy link
Member

@uilianries uilianries commented Apr 29, 2019

The GNU team has not yet provided GCC 9 manual, only the changelog.

But reading the cxx-status pages:

C++14 Support in GCC

GCC has full support for the previous revision of the C++ standard, which was published in 2014.

This mode is the default in GCC 6.1 and above; it can be explicitly selected with the -std=c++14 command-line flag, or -std=gnu++14 to enable GNU extensions as well.

So it should be C++14 ...

To make sure, I've used conan new to create a simple test with conanio/gcc9:

#include <iostream>
int main() { std::cout << __cplusplus << std::endl; }

The result is: 201402

YES, I can confirm it is C++14 by default.

@lasote lasote merged commit 7271fc8 into conan-io:develop Apr 29, 2019
2 checks passed
@Croydon Croydon deleted the croydon/gcc9 branch Apr 29, 2019
@memsharded memsharded mentioned this pull request May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants