summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-03-16 19:54:19 (GMT)
committerhobbs <hobbs>2004-03-16 19:54:19 (GMT)
commit25dabc3b3448e17e9f8350b49ffc80346888cba9 (patch)
tree81e537155653e180d8d88dee2cff0cd710307059 /unix/tcl.m4
parent238eee1afd1c8786d6b045247704656e86fcbc5c (diff)
downloadtcl-25dabc3b3448e17e9f8350b49ffc80346888cba9.zip
tcl-25dabc3b3448e17e9f8350b49ffc80346888cba9.tar.gz
tcl-25dabc3b3448e17e9f8350b49ffc80346888cba9.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.m42
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