summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-21 20:22:51 (GMT)
committernijtmans <nijtmans>2010-09-21 20:22:51 (GMT)
commit88fbbfe8f3b7b4523c1af2c879ddc4b0be6c6c3b (patch)
tree2fbbbc375c74f250bdda260566ecf6cdfc636408 /win/tcl.m4
parentd24e3a2febe9142596afe7c394f7bbc27b193eb6 (diff)
downloadtcl-88fbbfe8f3b7b4523c1af2c879ddc4b0be6c6c3b.zip
tcl-88fbbfe8f3b7b4523c1af2c879ddc4b0be6c6c3b.tar.gz
tcl-88fbbfe8f3b7b4523c1af2c879ddc4b0be6c6c3b.tar.bz2
Fix declaration after statement.
Add -Wdeclaration-after-statement, so this mistake cannot happen again.
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index ecaad78..1ad10ae 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -535,7 +535,7 @@ file for information about building with Mingw.])
CFLAGS_DEBUG=-g
CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
- CFLAGS_WARNING="-Wall"
+ CFLAGS_WARNING="-Wall -Wdeclaration-after-statement"
LDFLAGS_DEBUG=
LDFLAGS_OPTIMIZE=