projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818120d
)
build: enable -Wshadow by default
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Wed, 16 Jun 2010 06:33:32 +0000
(08:33 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Wed, 16 Jun 2010 06:58:40 +0000
(08:58 +0200)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index d93b21ad7b2cc7582958f93f5df2329206d488d1..7f31e1deacd533c256d3fe04bd3c50304b624941 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1090,7
+1090,7
@@
fi
AC_DEFINE([_GNU_SOURCE],[1],[Use GNU C library extensions (e.g. stdndup).])
# set default gcc warnings
-GCC_WARNINGS="-Wall -Wstrict-prototypes -Wformat-security"
+GCC_WARNINGS="-Wall -Wstrict-prototypes -Wformat-security
-Wshadow
"
if test "${gcc_wextra}" = yes; then
GCC_WARNINGS="${GCC_WARNINGS} -Wextra -Wno-unused-parameter"
GCC_WARNINGS="${GCC_WARNINGS} -Wbad-function-cast"