summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-01 12:38:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-01 12:38:14 (GMT)
commit09fd21b65b23d0d8ee709bb09cc48d0d4829db90 (patch)
tree14979096414414a6fece845f3539aa33a899e8ad /unix
parent194cfb5382a54b18c200fa8c32f9aeae98e07d8a (diff)
parentcb6ae544245fea42d68f1f1c0c3ab5fd92babcaf (diff)
downloadtcl-09fd21b65b23d0d8ee709bb09cc48d0d4829db90.zip
tcl-09fd21b65b23d0d8ee709bb09cc48d0d4829db90.tar.gz
tcl-09fd21b65b23d0d8ee709bb09cc48d0d4829db90.tar.bz2
Merge 8.7
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 d48d687..6cb5f24 100755
--- a/unix/configure
+++ b/unix/configure
@@ -5036,7 +5036,7 @@ fi
if test "$GCC" = yes; then :
CFLAGS_OPTIMIZE=-O2
- CFLAGS_WARNING="-Wall -Wextra -Wwrite-strings -Wpointer-arith"
+ CFLAGS_WARNING="-Wall -Wextra -Wshadow -Wwrite-strings -Wpointer-arith"
case "${CC}" in
*++|*++-*)
;;
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index a4824ff..3050bf2 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -966,7 +966,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
CFLAGS_DEBUG=-g
AS_IF([test "$GCC" = yes], [
CFLAGS_OPTIMIZE=-O2
- CFLAGS_WARNING="-Wall -Wextra -Wwrite-strings -Wpointer-arith"
+ CFLAGS_WARNING="-Wall -Wextra -Wshadow -Wwrite-strings -Wpointer-arith"
case "${CC}" in
*++|*++-*)
;;