summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-22 09:05:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-22 09:05:10 (GMT)
commitc829651d80705243c9ea3665699f13ad901debbe (patch)
tree097c4f17dd9552e1885621bf55d74a3f61a8ace8 /unix/tcl.m4
parent349c1fd2676793625cc0037a11d5989b0a591397 (diff)
downloadtcl-c829651d80705243c9ea3665699f13ad901debbe.zip
tcl-c829651d80705243c9ea3665699f13ad901debbe.tar.gz
tcl-c829651d80705243c9ea3665699f13ad901debbe.tar.bz2
Fix signed-unsigned-compare warning (reported by François Vogel on Windows, but gcc can trigger it as well)
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 57d8ff0..f5aa84e 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1096,7 +1096,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
CFLAGS_DEBUG=-g
AS_IF([test "$GCC" = yes], [
CFLAGS_OPTIMIZE=-O2
- CFLAGS_WARNING="-Wall"
+ CFLAGS_WARNING="-Wall -Wsign-compare -Wdeclaration-after-statement"
], [
CFLAGS_OPTIMIZE=-O
CFLAGS_WARNING=""