summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-02-24 14:20:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-02-24 14:20:07 (GMT)
commitd599cc7ae22122421ef51f99d76519c94b2b7dad (patch)
tree740c732fe82c1507f811f7a208eae80cda59b7c6 /unix/tcl.m4
parent2e843d0b0acfc798805207af3c8ace7dcd03abf2 (diff)
parente89bfca44403750e0e1b9f7f36ed67cd244ab73f (diff)
downloadtk-d599cc7ae22122421ef51f99d76519c94b2b7dad.zip
tk-d599cc7ae22122421ef51f99d76519c94b2b7dad.tar.gz
tk-d599cc7ae22122421ef51f99d76519c94b2b7dad.tar.bz2
Add -Wpointer-arith to C-flags. Fix some ANSI prototypes.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m42
1 files changed, 1 insertions, 1 deletions
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=""