> Building jdk with `--with-extra-cflags='-Wno-incompatible-pointer-types'`
> triggers 1000+ warning messages like `cc1plus: warning: command-line option
> ‘-Wno-incompatible-pointer-types’ is valid for C/ObjC but not for C++`.
>
> The root cause is that `JVM_CFLAGS ` which contains both `EXTRA
On Sat, 22 Mar 2025 03:43:58 GMT, SendaoYan wrote:
>> Hi all,
>>
>> There is an extra a.out file generated located in repository root directory
>> after execute the configure command with llvm/clang compiler sometimes, not
>> always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`
On Thu, 20 Mar 2025 16:59:20 GMT, Erik Joelsson wrote:
> Given that we are currently going with that choice, I think the correct fix
> is indeed to just remove `EXTRA_CFLAGS` from `JVM_CFLAGS`.
Thanks for your kindly advise @erikj79, I updated it accordingly.
-
PR Comment: https:/