[jdk11u-dev] RFR: 8324307: [11u] hotspot fails to build with GCC 12 and newer (non-static data member initializers)
Severin Gehwolf
sgehwolf at openjdk.org
Tue Jan 30 10:40:42 UTC 2024
On Mon, 22 Jan 2024 12:22:23 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:
> GCC 12 and newer warn about non-static data member initialisers when operating under -std=gnu++98 (jdk11u-dev's C++ standards version). These warnings are promoted to errors by default.
>
> The approach used in this PR is to remove the initialisers, in common with what we did when backporting the same code to jdk8u-dev.
OK.
-------------
Marked as reviewed by sgehwolf (Reviewer).
PR Review: https://git.openjdk.org/jdk11u-dev/pull/2470#pullrequestreview-1850843242
More information about the jdk-updates-dev
mailing list