summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-03-26 20:35:49 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-03-26 20:35:49 (GMT)
commit71d77002995b03c970b348fc731a45ca779988df (patch)
treefa244148df87ba5acf6440df72ec79b7cfbebac6
parentc93c83ba08054d4b36395e72bbd125b69d872698 (diff)
downloadtk-71d77002995b03c970b348fc731a45ca779988df.zip
tk-71d77002995b03c970b348fc731a45ca779988df.tar.gz
tk-71d77002995b03c970b348fc731a45ca779988df.tar.bz2
* unix/tcl.m4: Replaced -Wno-strict-alias with more portable
-fno-strict-alias alternative. * unix/configure: autoconf-2.57
-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