]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: omit -Wmissing-variable-declarations from tests
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 May 2025 06:34:28 +0000 (23:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 May 2025 06:34:51 +0000 (23:34 -0700)
* configure.ac (GNULIB_WARN_CFLAGS):
Omit -Wmissing-variable-declarations; needed for
gcc (GCC) 15.1.1 20250425 (Red Hat 15.1.1-1).

configure.ac

index 54af30535d6aae1a8b3339d7174e7aa9e82405f5..5ea280f2622db4762528138147031f2baef424a1 100644 (file)
@@ -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"