[Top][All Lists]
[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
- [bug-idutils] build/gnulib adjustments, Jim Meyering, 2012/02/02
- [bug-idutils] [PATCH 1/9] tests: disable gnulib's get-rusage-as test, Jim Meyering, 2012/02/02
- [bug-idutils] [PATCH 3/9] build: turn off two of gcc's warning options,
Jim Meyering <=
- [bug-idutils] [PATCH 5/9] build: work around new warning/suggestion to use "pure", Jim Meyering, 2012/02/02
- [bug-idutils] [PATCH 2/9] build: fix man-page-building and cross-check rules, Jim Meyering, 2012/02/02
- [bug-idutils] [PATCH 4/9] build: add const and pure attributes, per gcc recommendation, Jim Meyering, 2012/02/02
- [bug-idutils] [PATCH 7/9] maint: make copyright statements more consistent; update gnulib, Jim Meyering, 2012/02/02
- [bug-idutils] [PATCH 6/9] build: update bootstrap from gnulib, and adapt, Jim Meyering, 2012/02/02
- [bug-idutils] [PATCH 8/9] tests: adapt framework for upcoming automake-1.12, Jim Meyering, 2012/02/02
- [bug-idutils] [PATCH 9/9] maint: use gnulib's readme-release module, Jim Meyering, 2012/02/02