RFR: 8216385: ZGC: Fix building without C2
Aleksey Shipilev
shade at redhat.com
Tue Jan 8 20:43:05 UTC 2019
On 1/8/19 9:40 PM, Aleksey Shipilev wrote:
> Just built it with "--with-debug-level=fastdebug --disable-precompiled-headers
> --with-jvm-features=-compiler2", and it breaks:
>
> /home/shade/jdk-jdk/src/hotspot/os_cpu/linux_x86/gc/z/zArguments_linux_x86.cpp:31:5: error:
> "COMPILER2" is not defined [-Werror=undef]
> #if COMPILER2
> ^~~~~~~~~
>
> It should be #ifdef, not #if...
...and no need for additional #include, it seems to get there through build flags, not through
utilities/macros.hpp.
-Aleksey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20190108/87d2e9fe/signature.asc>
More information about the hotspot-gc-dev
mailing list