projects
/
NetworkManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e3a6c1
)
build: turn off set-but-not-used variable warnings in new GCC
author
Dan Williams
<dcbw@redhat.com>
Mon, 24 Jan 2011 21:57:33 +0000
(15:57 -0600)
committer
Dan Williams
<dcbw@redhat.com>
Mon, 24 Jan 2011 21:57:33 +0000
(15:57 -0600)
m4/compiler_warnings.m4
patch
|
blob
|
history
diff --git
a/m4/compiler_warnings.m4
b/m4/compiler_warnings.m4
index
6cea2f7
..
be69af2
100644
(file)
--- a/
m4/compiler_warnings.m4
+++ b/
m4/compiler_warnings.m4
@@
-10,7
+10,7
@@
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
-Wdeclaration-after-statement -Wstrict-prototypes \
-Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
- -fno-strict-aliasing; do
+ -fno-strict-aliasing
-Wno-unused-but-set-variable
; do
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $option"
AC_MSG_CHECKING([whether gcc understands $option])