Hi all,

In practice, C++14 support should mean g++ version 5 or above or clang 3.4 or 
above. Clang supports all C++17 features from version 5, but most features 
should be supported from version 3.9 (a large subset is supported in 3.8).  GCC 
version 7 and above seems to support most of C++17.

The currently supported Ubuntu LTS versions are:

  *   12.04 - EOL in April 2019
  *   14.04 - EOL in April 2019
  *   16.04 - EOL in April 2021
  *   18.04 - EOL in April 2023

In practice, I think we can drop support for 16.04 once Canonical drops support 
for it (i.e., end of April). That means that the default compiler versions will 
be GCC 5.4 or clang 3.8, which means there will be full C++14 support. Ubuntu 
16.04 also comes with optional (the Universe repo) support for clang 6, so we 
could potentially even switch to C++17, but that's likely to be more disruptive.

Unfortunately, RHEL7 only supports gcc 4.8 by default. However, there are newer 
versions available through the RedHat Developer Toolset, so this might not be a 
big problem in practice.

IMO, I think we can switch to C++14 sometime later this year, but not before 
April.

Cheers,
Andreas


On 11/01/2019 19:53, Andrea Mondelli wrote:

Gem5  “historically” sticks to a compiler version that is already part of 
shipping LTS distros and RHE or similar[1].
The C++14 right now is implemented in the main LTS distros, and the recent 
compiler are full c++14 complaint.

I’d like to reopen the discussion about the general feeling behind bumping to 
C++14.
I tested it the last weeks,I have not found (so far) any bug or major 
incompatibility.

[1] From a thread on this Mailing List back to 2017

Bests,
A.

_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org<mailto:gem5-dev@gem5.org>
http://m5sim.org/mailman/listinfo/gem5-dev

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to