summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-22 10:01:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-03-22 10:01:29 (GMT)
commitde3f6dd4ea12576354f6128c2c982bb648c53f64 (patch)
tree25808c5d650455c42d4e760fea5ccd701a659284 /unix
parent12425df1534b3eba6664117959c1c5c56f767986 (diff)
downloadtk-de3f6dd4ea12576354f6128c2c982bb648c53f64.zip
tk-de3f6dd4ea12576354f6128c2c982bb648c53f64.tar.gz
tk-de3f6dd4ea12576354f6128c2c982bb648c53f64.tar.bz2
sync tcl.m4 (both win and unix) with Tcl's version.
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index 040f4a1..1ed0275 100755
--- a/unix/configure
+++ b/unix/configure
@@ -4595,7 +4595,7 @@ fi
if test "$GCC" = yes; then :
CFLAGS_OPTIMIZE=-O2
- CFLAGS_WARNING="-Wall"
+ CFLAGS_WARNING="-Wall -Wsign-compare -Wdeclaration-after-statement"
else
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 41b94ef..a1d4021 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=""