[gmime/gmime-2-2] Worked around gcc 4.4 strict-aliasing bugs



commit 8d641dd101aea29aa380ff377045dd65689917cb
Author: Jeffrey Stedfast <fejj gnome org>
Date:   Sat Jan 30 12:55:46 2010 -0500

    Worked around gcc 4.4 strict-aliasing bugs
    
    2010-01-30  Jeffrey Stedfast  <fejj novell com>
    
    	* README: Bumped version
    
    	* configure.in: Bumped version to 2.2.25
    
    	* configure.in: Disabled strict-aliasing to work around subtle
    	bugs generated by gcc 4.4 when optimizations are enabled.

 ChangeLog    |    9 +++++++++
 README       |    2 +-
 configure.in |    3 ++-
 3 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1a02223..bb9b614 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-01-30  Jeffrey Stedfast  <fejj novell com>
+
+	* README: Bumped version
+
+	* configure.in: Bumped version to 2.2.25
+
+	* configure.in: Disabled strict-aliasing to work around subtle
+	bugs generated by gcc 4.4 when optimizations are enabled.
+
 2009-08-12  Jeffrey Stedfast  <fejj novell com>
 
 	* README: Bumped version
diff --git a/README b/README
index 1ebddf1..2241231 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-                            GMime, version 2.2.24
+                            GMime, version 2.2.25
                    by Jeffrey Stedfast <fejj gnome org>
 
 
diff --git a/configure.in b/configure.in
index 00fd09a..1e2c8dc 100644
--- a/configure.in
+++ b/configure.in
@@ -12,7 +12,7 @@ AM_CONFIG_HEADER(config.h)
 
 GMIME_MAJOR_VERSION=2
 GMIME_MINOR_VERSION=2
-GMIME_MICRO_VERSION=24
+GMIME_MICRO_VERSION=25
 GMIME_VERSION=$GMIME_MAJOR_VERSION.$GMIME_MINOR_VERSION.$GMIME_MICRO_VERSION
 GMIME_VERSION_INFO=`expr $GMIME_MAJOR_VERSION + $GMIME_MINOR_VERSION`:$GMIME_MICRO_VERSION:$GMIME_MINOR_VERSION
 
@@ -498,6 +498,7 @@ if test "x$LIBICONV" != "x"; then
 	EXTRA_LIBS="$EXTRA_LIBS $LIBICONV"
 fi
 
+CFLAGS="$CFLAGS -fno-strict-aliasing"
 AC_SUBST(CFLAGS)
 
 LIBS="$LIBS $EXTRA_LIBS"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]