summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-11 14:10:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-11 14:10:33 (GMT)
commita570984b2aff26b6147c3b820666524416b008ed (patch)
treef636724aecc907dd7b3bb8c60415956a0afb762e /win/tcl.m4
parentfc84850b75bc0741998145b52bbe2269c2d76e8d (diff)
parent106bb8e542d3f2faddd22387c1507895837a01ab (diff)
downloadtcl-a570984b2aff26b6147c3b820666524416b008ed.zip
tcl-a570984b2aff26b6147c3b820666524416b008ed.tar.gz
tcl-a570984b2aff26b6147c3b820666524416b008ed.tar.bz2
Merge core-8-6-branch.
Do gcc-compiles with the option -Wwrite-strings, so we can detect mis-usage of "const". Make Tcl_AddErrorInfo() and Tcl_AddObjErrorInfo() a macro.
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 7eff8e8..b4fbcce 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -727,7 +727,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
CFLAGS_DEBUG=-g
CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
- CFLAGS_WARNING="-Wall -Wsign-compare -Wdeclaration-after-statement"
+ CFLAGS_WARNING="-Wall -Wwrite-strings -Wsign-compare -Wdeclaration-after-statement"
LDFLAGS_DEBUG=
LDFLAGS_OPTIMIZE=