diff options
author | Jim Meyering <meyering@redhat.com> | 2012-09-22 21:35:04 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-09-22 21:35:04 +0200 |
commit | b272c2d535c3d9d6ff30ec83b5fa6e97aa3545f1 (patch) | |
tree | f0170d51def52453aaa83eee919186734ac4326e | |
parent | 89e5f702eb623c6715866b08fb5a02d4923d0993 (diff) | |
download | patch-b272c2d535c3d9d6ff30ec83b5fa6e97aa3545f1.tar.gz |
build: avoid gcc warnings from -Wsuggest-attribute=format
* configure.ac (WARN_CFLAGS): Disable -Wsuggest-attribute=format,
to avoid some warnings that are not worth working around.
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9943f03..dc837d6 100644 --- a/configure.ac +++ b/configure.ac @@ -85,6 +85,7 @@ if test "$gl_gcc_warnings" = yes; then 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 + nw="$nw -Wsuggest-attribute=format" # warns about util.c # things to fix soon: nw="$nw -Wshadow" nw="$nw -Wstrict-overflow" |