summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-23 10:01:57 (GMT)
committernijtmans <nijtmans>2010-09-23 10:01:57 (GMT)
commit25157d30417b906b70fbc56e8105543d1b94a962 (patch)
treed6594df4ec21f5a4ac54918403bdfa99196ab20c /win/tcl.m4
parent82c5aed7f6fa4e8afaf8f80e7d560dbbb63ce79d (diff)
downloadtk-25157d30417b906b70fbc56e8105543d1b94a962.zip
tk-25157d30417b906b70fbc56e8105543d1b94a962.tar.gz
tk-25157d30417b906b70fbc56e8105543d1b94a962.tar.bz2
Add -Wdeclaration-after-statement
tkWinX.c,winMain.c: Make compilable with -DUNICODE tkAppInit.c,winMain.c: Many clean-ups in comments, so all (tcl|tk)AppInit.c variants use the same style.
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 9faef88..20845c0 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=