diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-10-17 22:37:43 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-10-17 22:37:43 (GMT) |
commit | 49ebd1264d9cff42e9e5963f2a2f3c0eb732f375 (patch) | |
tree | d1477b2656c5891643fd3eca61bcb9e8054975ae /unix/tcl.m4 | |
parent | 94d07354cee8df4983bb39da1268bbd22b9e2a91 (diff) | |
download | tcl-49ebd1264d9cff42e9e5963f2a2f3c0eb732f375.zip tcl-49ebd1264d9cff42e9e5963f2a2f3c0eb732f375.tar.gz tcl-49ebd1264d9cff42e9e5963f2a2f3c0eb732f375.tar.bz2 |
Add -Wpointer-arith compiler flag to gcc
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 b77387a..e27cc2c 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -986,7 +986,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ CFLAGS_DEBUG=-g AS_IF([test "$GCC" = yes], [ CFLAGS_OPTIMIZE=-O2 - CFLAGS_WARNING="-Wall -Wwrite-strings -Wsign-compare -Wdeclaration-after-statement" + CFLAGS_WARNING="-Wall -Wwrite-strings -Wsign-compare -Wdeclaration-after-statement -Wpointer-arith" ], [ CFLAGS_OPTIMIZE=-O CFLAGS_WARNING="" |