summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-02-24 12:01:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-02-24 12:01:04 (GMT)
commit730152b60845a57bf99441a6acf458ec96053fe2 (patch)
tree0e9a3c709d046ea4dd2b6be29d8a239f04ff4b78 /unix
parent5eb39e3973c7016b834d0881ca4c69515a1e89e0 (diff)
parent904ba06b0a6c9333a032d2da553efc386b0a2916 (diff)
downloadtcl-730152b60845a57bf99441a6acf458ec96053fe2.zip
tcl-730152b60845a57bf99441a6acf458ec96053fe2.tar.gz
tcl-730152b60845a57bf99441a6acf458ec96053fe2.tar.bz2
Merge 8.5
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 28c3616..2f9c4ae 100755
--- a/unix/configure
+++ b/unix/configure
@@ -6496,7 +6496,7 @@ fi
if test "$GCC" = yes; then
CFLAGS_OPTIMIZE=-O2
- CFLAGS_WARNING="-Wall"
+ CFLAGS_WARNING="-Wall -Wpointer-arith"
else
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 0e02cd6..585bbba 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1080,7 +1080,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
CFLAGS_DEBUG=-g
AS_IF([test "$GCC" = yes], [
CFLAGS_OPTIMIZE=-O2
- CFLAGS_WARNING="-Wall"
+ CFLAGS_WARNING="-Wall -Wpointer-arith"
], [
CFLAGS_OPTIMIZE=-O
CFLAGS_WARNING=""