summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-01-13 14:22:31 (GMT)
committersebres <sebres@users.sourceforge.net>2017-01-13 14:22:31 (GMT)
commit3d05f0dbea4bb0c707a1ae59adae786c6d5cd43e (patch)
treeec6ddef873fe07f8f193c227fcf44b47de49b2e4 /unix
parentb2190d273f42dc51a6455279afdf00695c45c12b (diff)
parentf15743b10f46d799266a5df68f03a35a22885704 (diff)
downloadtcl-3d05f0dbea4bb0c707a1ae59adae786c6d5cd43e.zip
tcl-3d05f0dbea4bb0c707a1ae59adae786c6d5cd43e.tar.gz
tcl-3d05f0dbea4bb0c707a1ae59adae786c6d5cd43e.tar.bz2
merge trunk
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 baea1f1..741ae47 100755
--- a/unix/configure
+++ b/unix/configure
@@ -4985,7 +4985,7 @@ fi
if test "$GCC" = yes; then :
CFLAGS_OPTIMIZE=-O2
- CFLAGS_WARNING="-Wall -Wsign-compare -Wdeclaration-after-statement"
+ CFLAGS_WARNING="-Wall -Wwrite-strings -Wsign-compare -Wdeclaration-after-statement"
else
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 3189960..c1d7a7d 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 -Wsign-compare -Wdeclaration-after-statement"
+ CFLAGS_WARNING="-Wall -Wwrite-strings -Wsign-compare -Wdeclaration-after-statement"
], [
CFLAGS_OPTIMIZE=-O
CFLAGS_WARNING=""