From 25dabc3b3448e17e9f8350b49ffc80346888cba9 Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 16 Mar 2004 19:54:19 +0000 Subject: * unix/configure, unix/tcl.m4: add -Wno-strict-aliasing for GCC to suppress useless type puning warnings. --- ChangeLog | 5 +++++ unix/configure | 2 +- unix/tcl.m4 | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5f4dcf0..07f04aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-03-16 Jeff Hobbs + + * unix/configure, unix/tcl.m4: add -Wno-strict-aliasing for GCC to + suppress useless type puning warnings. + 2004-03-16 Donal K. Fellows * doc/file.n: *roff formatting fix. [Bug 917171] diff --git a/unix/configure b/unix/configure index be92577..13395f4 100755 --- a/unix/configure +++ b/unix/configure @@ -10837,7 +10837,7 @@ fi 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 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 -- cgit v0.12