projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4922904
)
Add -Wdeclaration-after-statement to gcc to detect accidental C99-style
author
Dan Fandrich
<dan@coneharvesters.com>
Wed, 20 Jul 2005 21:58:23 +0000
(21:58 +0000)
committer
Dan Fandrich
<dan@coneharvesters.com>
Wed, 20 Jul 2005 21:58:23 +0000
(21:58 +0000)
variable declarations.
acinclude.m4
patch
|
blob
|
history
diff --git
a/acinclude.m4
b/acinclude.m4
index
9c801ab
..
7125d61
100644
(file)
--- a/
acinclude.m4
+++ b/
acinclude.m4
@@
-766,8
+766,8
@@
AC_DEFUN([CURL_CC_DEBUG_OPTS],
fi
if test "$gccnum" -ge "304"; then
- # try
-Wunreachable-cod
e on gcc 3.4
- WARN="$WARN -Wunreachable-code"
+ # try
thes
e on gcc 3.4
+ WARN="$WARN -Wunreachable-code
-Wdeclaration-after-statement
"
fi
for flag in $CPPFLAGS; do