Skip to content

Add GCC 9 to default settings.yml - #5046

Merged
lasote merged 1 commit into
conan-io:developfrom
Croydon:croydon/gcc9
Apr 29, 2019
Merged

lasote merged 1 commit into
conan-io:developfrom
Croydon:croydon/gcc9

Conversation

@Croydon

@Croydon Croydon commented Apr 26, 2019

Copy link
Copy Markdown
Contributor

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 commented Apr 27, 2019

Copy link
Copy Markdown
Member

@Croydon please, add to the PR description:

Docs: conan-io/docs#1257

@uilianries uilianries left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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

lasote commented Apr 27, 2019

Copy link
Copy Markdown
Contributor

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

@lasote

lasote commented Apr 29, 2019

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

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
@Croydon
Croydon deleted the croydon/gcc9 branch April 29, 2019 14:45
@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

Development

Successfully merging this pull request may close these issues.

3 participants