From: Paul Eggert Date: Mon, 19 May 2025 06:34:28 +0000 (-0700) Subject: maint: omit -Wmissing-variable-declarations from tests X-Git-Tag: v9.8~317 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=44695761546d8f8b3dadd6d4e56a47b8ae69acd7;p=thirdparty%2Fcoreutils.git maint: omit -Wmissing-variable-declarations from tests * configure.ac (GNULIB_WARN_CFLAGS): Omit -Wmissing-variable-declarations; needed for gcc (GCC) 15.1.1 20250425 (Red Hat 15.1.1-1). --- diff --git a/configure.ac b/configure.ac index 54af30535d..5ea280f262 100644 --- a/configure.ac +++ b/configure.ac @@ -242,6 +242,7 @@ if test $gl_gcc_warnings != no; then # For gnulib-tests, the set is slightly smaller still. nw= # It's not worth being this picky about test programs. + nw="$nw -Wmissing-variable-declarations" nw="$nw -Wsuggest-attribute=cold" nw="$nw -Wsuggest-attribute=const" nw="$nw -Wsuggest-attribute=format"