diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-02-24 14:20:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-02-24 14:20:07 (GMT) |
commit | d599cc7ae22122421ef51f99d76519c94b2b7dad (patch) | |
tree | 740c732fe82c1507f811f7a208eae80cda59b7c6 /unix/tcl.m4 | |
parent | 2e843d0b0acfc798805207af3c8ace7dcd03abf2 (diff) | |
parent | e89bfca44403750e0e1b9f7f36ed67cd244ab73f (diff) | |
download | tk-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.m4 | 2 |
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="" |