bug-patch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-patch] [PATCH 15/15] build: don't turn off -Wmissing-declarations


From: Jim Meyering
Subject: [bug-patch] [PATCH 15/15] build: don't turn off -Wmissing-declarations
Date: Sat, 26 Mar 2011 14:32:10 +0100

From: Jim Meyering <address@hidden>

* configure.ac (WERROR_CFLAGS): Don't turn off -Wmissing-declarations
and admit that it's not worth fixing the few warnings triggered
by -Wmissing-format-attribute.
---
 configure.ac |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 73acd29..aa07fac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -84,10 +84,9 @@ if test "$gl_gcc_warnings" = yes; then
   nw="$nw -Wswitch-enum"            # Too many warnings for now
   nw="$nw -Wswitch-default"         # Too many warnings for now
   nw="$nw -Wstack-protector"        # not worth working around
+  nw="$nw -Wmissing-format-attribute" # not worth working around in patch
   # things to fix soon:
   nw="$nw -Wshadow"
-  nw="$nw -Wmissing-format-attribute"
-  nw="$nw -Wmissing-declarations"
   nw="$nw -Wstrict-overflow"
   nw="$nw -Wunsafe-loop-optimizations"
 #  nw="$nw -Wfloat-equal"            # sort.c, seq.c
-- 
1.7.1.354.ge64bd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]