The definitions for the macros PRAGMA_DIAG_PUSH and PRAGMA_DIAG_POP in compilerWarnings_gcc.hpp are conditionalized on the version of gcc or clang, because sufficiently old versions did not provide the underlying support. But those versions are long past being able to build HotSpot. We can just assume the support is available and remove the version checks.
- relates to
-
JDK-8301244 Tidy up compiler specific warnings files
-
- Resolved
-