-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
Now that we're using C++17 we no longer need to suppress `-Winvalid-offsetof` warnings for gcc/clang when building HotSpot. C++17 made `offsetof` for non-standard-layout types conditionally supported rather than UB, so those compilers don't warn when using that language version.
- relates to
-
JDK-8300080 offset_of for GCC/Clang exhibits undefined behavior and is not always a compile-time constant
-
- Resolved
-
-
JDK-8314488 Compiling the JDK with C++17
-
- Resolved
-