maint: accommodate upcoming, expanded list of warnings from gnulib
authorJim Meyering <meyering@redhat.com>
Sun, 2 Sep 2012 11:42:39 +0000 (13:42 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 2 Sep 2012 11:42:39 +0000 (13:42 +0200)
* 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.

configure.ac

index 51782a5..627920d 100644 (file)
@@ -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: