summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-20 14:39:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-01-20 14:39:30 (GMT)
commite926662190cc08e5f057d0d90cdf9da4a1aab15f (patch)
treef3b12d2d826c6e25cca57d001a750db48b3c5fca /unix/configure
parentb8a68d0c335e5b303b12e9fd8194e27be780a219 (diff)
downloadtk-e926662190cc08e5f057d0d90cdf9da4a1aab15f.zip
tk-e926662190cc08e5f057d0d90cdf9da4a1aab15f.tar.gz
tk-e926662190cc08e5f057d0d90cdf9da4a1aab15f.tar.bz2
Compile with -Wwrite-strings, as does Tcl. In pkgIndex files, allow "8.6-" to match, for better interoperability with "novem"
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/configure b/unix/configure
index 1ed0275..f76ae3b 100755
--- a/unix/configure
+++ b/unix/configure
@@ -4595,7 +4595,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