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

Remove suppression of -Winvalid-offsetof after C++17

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • infrastructure

      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.

            Unassigned Unassigned
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: