mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-05 00:07:51 +02:00
maint: minor followon touchup of GCC warnings
* configure.ac (GNULIB_TEST_WARN_CFLAGS): Do not use -Wsuggest-attribute=cold, -Wsuggest-attribute=const, -Wsuggest-attribute=format as they produce false positives with GCC 15 x86-64. Use -Wmissing-variable-declarations, as it no longer seems to hurt.
This commit is contained in:
+3
-1
@@ -242,7 +242,9 @@ 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"
|
||||
nw="$nw -Wsuggest-attribute=pure"
|
||||
gl_MANYWARN_COMPLEMENT([GNULIB_TEST_WARN_CFLAGS],
|
||||
[$GNULIB_WARN_CFLAGS], [$nw])
|
||||
|
||||
Reference in New Issue
Block a user