Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8301308

Remove version conditionalization for gcc/clang PRAGMA_DIAG_PUSH/POP

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • hotspot
    • None
    • b14

      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.

            jwaters Julian Waters
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: