projects
/
platform
/
upstream
/
neard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2097780
)
build: Use -Wshadow compiler option
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 15 Jul 2012 22:15:53 +0000
(19:15 -0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 15 Jul 2012 22:15:53 +0000
(19:15 -0300)
acinclude.m4
patch
|
blob
|
history
diff --git
a/acinclude.m4
b/acinclude.m4
index
329c6a9
..
e1aee2e
100644
(file)
--- a/
acinclude.m4
+++ b/
acinclude.m4
@@
-15,7
+15,7
@@
AC_DEFUN([COMPILER_FLAGS], [
CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2"
fi
if (test "$USE_MAINTAINER_MODE" = "yes"); then
- CFLAGS+=" -Werror -Wextra"
+ CFLAGS+=" -Werror -Wextra
-Wshadow
"
CFLAGS+=" -Wno-unused-parameter"
CFLAGS+=" -Wno-missing-field-initializers"
CFLAGS+=" -Wdeclaration-after-statement"