On Wed, 16 Sep 2026 19:32:21 GMT, Erik Joelsson <[email protected]> wrote:

> It looks like adding `$CFLAGS_WARNINGS_ARE_ERRORS ARG_ARGUMENT` originated 
> from copying the code from `FLAGS_C_COMPILER_CHECK_ARGUMENTS` in flags.m4. 
> The `ARG_ARGUMENT` part should definitely be removed as it is something that 
> would be expanded by `UTIL_DEFUN_NAMED`.
> 
> I'm wondering why the check fails when `-Werror` is set. That indicates that 
> something in the inline code performing the check is generating a warning. 
> Can you check config.log and see what that is?

OTOH, if the check functions correctly without -Werror, I agree that we don't 
need it.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/32896#issuecomment-5703377454

Reply via email to