From 44695761546d8f8b3dadd6d4e56a47b8ae69acd7 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 18 May 2025 23:34:28 -0700 Subject: [PATCH] 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). --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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" -- 2.47.3