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

Xcode 9.3 produce warning -Wexpansion-to-defined

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b10

      Backports

        Description

        src/hotspot/share/gc/g1/g1HeapVerifier.hpp:81:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
        #if HEAP_REGION_SET_FORCE_VERIFY
            ^
        /Users/hjen/ws/panama.dev/src/hotspot/share/gc/g1/heapRegionSet.hpp:53:38: note: expanded from macro 'HEAP_REGION_SET_FORCE_VERIFY'
        #define HEAP_REGION_SET_FORCE_VERIFY defined(ASSERT)
                                             ^
        2 warnings generated.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kbarrett Kim Barrett
                Reporter:
                henryjen Henry Jen
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: