RFR: 8314488: Compile the JDK as C++17 [v6]
Andrew Haley
aph at openjdk.org
Mon Feb 5 09:20:04 UTC 2024
On Wed, 17 Jan 2024 11:19:03 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> We have been stuck on a very old gcc for a long time, due to various reasons. Partly because old gcc versions were not as terrible as old versions of cl.exe, and partly to support odd linux platforms where newer gcc versions were not available.
>
> It is tempting to raise the bar to get better functionality available on all platforms. In the end, it is a balance between supporting older platforms, and getting a better common language level for the code.
>
> gcc 10 was released 3+ years ago. I guess that is good enough to consider it a reasonable new minimum.
I guess so, but that sounds rather aggressive to me. Sure, you can always install a newer GCC than the system one, but it's another thing that makes it harder for people to build OpenJDK. Having said that, C++17 is nice to have.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14988#issuecomment-1926533675
More information about the build-dev
mailing list