summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-03-10 10:45:01 +0100
committerJim Meyering <meyering@redhat.com>2011-03-27 09:19:55 +0200
commitc9f9680fd18fd5d618be46a025fa7dc472c9fe0b (patch)
tree17d9ef4751becdf4444df0f7f816cac91afe4121
parentd08c6262c745998e4ca34bc1e352a2fe208b39c4 (diff)
downloadpatch-c9f9680fd18fd5d618be46a025fa7dc472c9fe0b.tar.gz
build: don't turn off -Wmissing-declarations
* 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.
-rw-r--r--configure.ac3
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