diff options
author | Jim Meyering <meyering@redhat.com> | 2011-03-10 10:45:01 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-03-27 09:19:55 +0200 |
commit | c9f9680fd18fd5d618be46a025fa7dc472c9fe0b (patch) | |
tree | 17d9ef4751becdf4444df0f7f816cac91afe4121 | |
parent | d08c6262c745998e4ca34bc1e352a2fe208b39c4 (diff) | |
download | patch-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.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 |