diff options
author | hobbs <hobbs> | 2004-03-16 19:53:52 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2004-03-16 19:53:52 (GMT) |
commit | 826320aef91bdc7dcc8b0effa68677c7db2ceb39 (patch) | |
tree | f463abd491de00c172c1c081b7d511bd206476f6 /unix/tcl.m4 | |
parent | be4abaa074c9689b492972c9c5368a43ee6414eb (diff) | |
download | tk-826320aef91bdc7dcc8b0effa68677c7db2ceb39.zip tk-826320aef91bdc7dcc8b0effa68677c7db2ceb39.tar.gz tk-826320aef91bdc7dcc8b0effa68677c7db2ceb39.tar.bz2 |
* unix/configure, unix/tcl.m4: add -Wno-strict-aliasing for GCC to
suppress useless type puning warnings.
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 5e66945..df90ce9 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -809,7 +809,7 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [ CFLAGS_DEBUG=-g CFLAGS_OPTIMIZE=-O if test "$GCC" = "yes" ; then - CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int" + CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int -Wno-strict-aliasing" else CFLAGS_WARNING="" fi |