summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
3 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0cd6a83..fd8993b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2004-03-26 Don Porter <dgp@users.sourceforge.net>
+ * unix/tcl.m4: Replaced -Wno-strict-alias with more portable
+ -fno-strict-alias alternative.
+
* README: Bump version to 8.5a2.
* generic/tk.h:
* macosx/Wish.pbproj/project.pbxproj:
diff --git a/unix/configure b/unix/configure
index a59cf80..f873e72 100755
--- a/unix/configure
+++ b/unix/configure
@@ -3798,7 +3798,7 @@ fi
CFLAGS_DEBUG=-g
CFLAGS_OPTIMIZE=-O
if test "$GCC" = "yes" ; then
- CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int -Wno-strict-aliasing"
+ CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int -fno-strict-aliasing"
else
CFLAGS_WARNING=""
fi
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index df90ce9..50c52b8 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 -Wno-strict-aliasing"
+ CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int -fno-strict-aliasing"
else
CFLAGS_WARNING=""
fi