RFR: 8314488: Compile the JDK as C++17 [v6]

Magnus Ihse Bursie ihse at openjdk.org
Fri Feb 16 12:45:59 UTC 2024


On Thu, 11 Jan 2024 13:23:45 GMT, Julian Waters <jwaters at openjdk.org> wrote:

>> Compile the JDK as C++17, enabling the use of all C++17 language features
>
> Julian Waters has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Require clang 13 in toolchain.m4

I think Kim's approach here -- to separate compiler upgrades from C++17 usage -- is the right way. Then we can discuss each part separately -- what version is suitable for each compiler, and then -- if or when we end up with all compilers supporting C++17 -- we can come back to the discussion of whether that is a good idea.

To be clear: my goal here was not as much the C++17 as getting a compiler bump, especially for getting rid of old buggy ones. I kind of piggybacked that discussion here, but once again, it is better to take that separately.

I also apologize for my hash expressions. :( I did not mean to insult anyone.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14988#issuecomment-1948323482


More information about the build-dev mailing list