On 8/11/21 5:04 AM, Frank Fang wrote:
/Users/frank/Desktop/Work/Indoor_Positioning/software/jdk12-06222165c35f/src/hotspot/share/runtime/arguments.cpp:1452:35:
 error: result of comparison against a string literal is unspecified (use an 
explicit string comparison function instead) [-Werror,-Wstring-compare]
       if (old_java_vendor_url_bug != DEFAULT_VENDOR_URL_BUG) {
                                   ^  ~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

JDK 12 is in deep end-of-life, it is expected not to be easily buildable with 
current toolchains.

You can have some luck with disabling the warnings-as-errors by passing
--disable-warnings-as-errors to configure. Or, --with-extra-cflags=-Wno-error.

--
Thanks,
-Aleksey

Reply via email to