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

Xcode 9.3 produce warning -Wexpansion-to-defined

XMLWordPrintable

    • gc
    • b10

        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.

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

                Created:
                Updated:
                Resolved: