summaryrefslogtreecommitdiffstats
path: root/macosx/Tcl-Common.xcconfig
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)
commite6d3efd5e198449f5a21a738187602c82475c40b (patch)
treef636724aecc907dd7b3bb8c60415956a0afb762e /macosx/Tcl-Common.xcconfig
parentec306bb22e434cd0fe9c2e4b8d29fa1e23c8bee3 (diff)
parentce1701ea1fdb6a67150c53cc46d901c4bbba9530 (diff)
downloadtcl-e6d3efd5e198449f5a21a738187602c82475c40b.zip
tcl-e6d3efd5e198449f5a21a738187602c82475c40b.tar.gz
tcl-e6d3efd5e198449f5a21a738187602c82475c40b.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 'macosx/Tcl-Common.xcconfig')
-rw-r--r--macosx/Tcl-Common.xcconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Tcl-Common.xcconfig b/macosx/Tcl-Common.xcconfig
index f1ecee6..77402b7 100644
--- a/macosx/Tcl-Common.xcconfig
+++ b/macosx/Tcl-Common.xcconfig
@@ -19,7 +19,7 @@ GCC_NO_COMMON_BLOCKS = YES
GCC_DYNAMIC_NO_PIC = YES
GCC_VERSION = 4.2
GCC = gcc-$(GCC_VERSION)
-WARNING_CFLAGS = -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-value -Winit-self -Wpointer-arith -Wcast-align -Wdisabled-optimization -Winline $(WARNING_CFLAGS)
+WARNING_CFLAGS = -Wall -Wwrite-strings -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-value -Winit-self -Wpointer-arith -Wcast-align -Wdisabled-optimization -Winline $(WARNING_CFLAGS)
BINDIR = $(PREFIX)/bin
CFLAGS = $(CFLAGS)
CPPFLAGS = -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET) $(CPPFLAGS)