On Thu, 23 Jan 2025 00:22:08 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
> Try this instead: > > ``` > diff --git a/make/autoconf/flags-cflags.m4 b/make/autoconf/flags-cflags.m4 > index 729e508cc26..04831c07d97 100644 > --- a/make/autoconf/flags-cflags.m4 > +++ b/make/autoconf/flags-cflags.m4 > @@ -263,7 +263,7 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS], > > # These warnings will never be turned on, since they generate too many > # false positives. > - DISABLED_WARNINGS="unknown-warning-option unused-parameter" > + DISABLED_WARNINGS="unknown-warning-option unused-parameter > tentative-definitions" > ;; > esac > AC_SUBST(DISABLE_WARNING_PREFIX) > ``` Yes, this works too. Better solution than mine if we do it unconditionally. ------------- PR Comment: https://git.openjdk.org/jdk/pull/23236#issuecomment-2609299128