summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-28 19:08:50 +0100
committerJim Meyering <meyering@redhat.com>2012-01-31 13:22:05 +0100
commit7cc3d956e660c42c1597e4cc6521f94454f9a8b0 (patch)
tree764800e971e82bc17b64601969ad540f41495450
parent91d25dd6060a86b5fef7da91a91e350c3f28fe27 (diff)
downloadidutils-7cc3d956e660c42c1597e4cc6521f94454f9a8b0.tar.gz
idutils-7cc3d956e660c42c1597e4cc6521f94454f9a8b0.tar.bz2
idutils-7cc3d956e660c42c1597e4cc6521f94454f9a8b0.zip
build: turn off two of gcc's warning options
* configure.ac: Disable -Winline, at least temporarily due to number of warnings, and low priority, and disable -Wformat-nonliteral, due to inherent false positives.
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 956de82..4716744 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,6 +57,7 @@ if test "$gl_gcc_warnings" = yes; then
nw="$nw -Wnested-externs" # use of XARGMATCH/verify_function__
nw="$nw -Wswitch-enum" # Too many warnings for now
nw="$nw -Wswitch-default" # Too many warnings for now
+ nw="$nw -Winline"
# things I might fix soon:
nw="$nw -Wstrict-overflow" # fid.c
nw="$nw -Wunsafe-loop-optimizations" # mkid.c
@@ -71,6 +72,7 @@ if test "$gl_gcc_warnings" = yes; then
gl_WARN_ADD([-Wno-pointer-sign]) # Too many warnings for now
gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now
gl_WARN_ADD([-fdiagnostics-show-option])
+ gl_WARN_ADD([-Wno-format-nonliteral])
AC_SUBST([WARN_CFLAGS])