From: Jim Meyering Date: Sun, 2 Sep 2012 11:42:39 +0000 (+0200) Subject: maint: accommodate upcoming, expanded list of warnings from gnulib X-Git-Tag: v8.20~90 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9850c74b1f5d15ccfc4061a6d5e58207ee331ffa;p=platform%2Fupstream%2Fcoreutils.git maint: accommodate upcoming, expanded list of warnings from gnulib * configure.ac: Disable a new gcc warning, -Wsuggest-attribute=format, since it triggers on copy.c (which I'm not inclined to adjust) and factor.c's use of vfprintf which would appear to require a change to stdio.h. --- diff --git a/configure.ac b/configure.ac index 51782a5..627920d 100644 --- a/configure.ac +++ b/configure.ac @@ -128,6 +128,7 @@ if test "$gl_gcc_warnings" = yes; then nw="$nw -Wmissing-format-attribute" # copy.c nw="$nw -Wunsafe-loop-optimizations" # a few src/*.c nw="$nw -Winline" # system.h's readdir_ignoring_dot_and_dotdot + nw="$nw -Wsuggest-attribute=format" # warns about copy.c and factor.c # Using -Wstrict-overflow is a pain, but the alternative is worse. # For an example, see the code that provoked this report: