bug-idutils
[Top][All Lists]
Advanced

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

[bug-idutils] [PATCH 3/9] build: turn off two of gcc's warning options


From: Jim Meyering
Subject: [bug-idutils] [PATCH 3/9] build: turn off two of gcc's warning options
Date: Thu, 2 Feb 2012 08:38:42 +0100

From: Jim Meyering <address@hidden>

* configure.ac: Disable -Winline, at least temporarily due to number
of warnings, and low priority, and disable -Wformat-nonliteral, due
to inherent false positives.
---
 configure.ac |    2 ++
 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])

-- 
1.7.9.49.g25388




reply via email to

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