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

Conversation

Projects
None yet
3 participants
@Croydon
Copy link
Contributor

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 uilianries referenced this pull request Apr 27, 2019

Merged

Add GCC 9 #1257

@uilianries

This comment has been minimized.

Copy link
Member

commented Apr 27, 2019

@Croydon please, add to the PR description:

Docs: conan-io/docs#1257

@uilianries
Copy link
Member

left a comment

LGTM

@Croydon Croydon referenced this pull request Apr 27, 2019

Merged

Add GCC 9 #129

3 of 3 tasks complete

@lasote lasote added this to the 1.15 milestone Apr 27, 2019

@lasote

This comment has been minimized.

Copy link
Contributor

commented Apr 27, 2019

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

@lasote

This comment has been minimized.

Copy link
Contributor

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

This comment has been minimized.

Copy link
Member

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

continuous-integration/jenkins/pr-head This commit looks good
Details
license/cla Contributor License Agreement is signed.
Details

@Croydon Croydon deleted the Croydon:croydon/gcc9 branch Apr 29, 2019

@memsharded memsharded referenced this pull request May 3, 2019

Closed

Add GCC 9 #5093

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.