Re: -Wexpansion-to-defined warnings

2018-04-12 Thread Henry Jen
Yes, it’s a known issue after upgrade Xcode, https://bugs.openjdk.java.net/browse/JDK-8200550 Cheers, Henry > On Apr 12, 2018, at 11:19 AM, Magnus Ihse Bursie > wrote: > > On 2018-04-12 19:42, Dan Smith wrote: >> I'm suddenly getting hundreds of these warnings when I build in macOS: >> >> /

Re: -Wexpansion-to-defined warnings

2018-04-12 Thread Magnus Ihse Bursie
On 2018-04-12 19:42, Dan Smith wrote: I'm suddenly getting hundreds of these warnings when I build in macOS: /Users/dan/Dev/jdk/jdk/src/hotspot/share/gc/g1/heapRegionSet.hpp:126:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HEAP_REGION_SET_

-Wexpansion-to-defined warnings

2018-04-12 Thread Dan Smith
I'm suddenly getting hundreds of these warnings when I build in macOS: /Users/dan/Dev/jdk/jdk/src/hotspot/share/gc/g1/heapRegionSet.hpp:126:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HEAP_REGION_SET_FORCE_VERIFY ^ /Users/dan/Dev/jdk/jd