[gmime/gmime-2-4] worked around gcc 4.4 strict aliasing bug



commit 529347ff7c8988850655a9d8911c79af48cc600a
Author: Jeffrey Stedfast <fejj gnome org>
Date:   Sat Jan 30 12:34:06 2010 -0500

    worked around gcc 4.4 strict aliasing bug

 ChangeLog                 |    9 +++++++++
 README                    |    2 +-
 build/vs2008/gmime.vcproj |    4 ++--
 configure.in              |    3 ++-
 4 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 15517bf..e95788e 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.4.14 and disabled
+	strict-aliasing which causes bugs in GMime.
+
+	* build/vs2008/gmime.vcproj: Bumped version.
+
 2010-01-19  Jeffrey Stedfast  <fejj novell com>
 
 	* README: Bumped version
diff --git a/README b/README
index 4a52eca..5e82c88 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-                            GMime, version 2.4.13
+                            GMime, version 2.4.14
                    by Jeffrey Stedfast <fejj gnome org>
 
 
diff --git a/build/vs2008/gmime.vcproj b/build/vs2008/gmime.vcproj
index fe360b7..14129f8 100644
--- a/build/vs2008/gmime.vcproj
+++ b/build/vs2008/gmime.vcproj
@@ -41,7 +41,7 @@
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
-				AdditionalOptions="/D &quot;GMIME_MAJOR_VERSION&quot;=&quot;2&quot; /D &quot;GMIME_MINOR_VERSION&quot;=&quot;4&quot; /D &quot;GMIME_MICRO_VERSION&quot;=&quot;13&quot;"
+				AdditionalOptions="/D &quot;GMIME_MAJOR_VERSION&quot;=&quot;2&quot; /D &quot;GMIME_MINOR_VERSION&quot;=&quot;4&quot; /D &quot;GMIME_MICRO_VERSION&quot;=&quot;14&quot;"
 				Optimization="0"
 				AdditionalIncludeDirectories="&quot;..\..\&quot;; &quot;..\..\util&quot;"
 				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;GMIME_EXPORTS;HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_LOG_DOMAIN=\&quot;GMime\&quot;"
@@ -106,7 +106,7 @@
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
-				AdditionalOptions="/D &quot;GMIME_MAJOR_VERSION&quot;=&quot;2&quot; /D &quot;GMIME_MINOR_VERSION&quot;=&quot;4&quot; /D &quot;GMIME_MICRO_VERSION&quot;=&quot;13&quot;"
+				AdditionalOptions="/D &quot;GMIME_MAJOR_VERSION&quot;=&quot;2&quot; /D &quot;GMIME_MINOR_VERSION&quot;=&quot;4&quot; /D &quot;GMIME_MICRO_VERSION&quot;=&quot;14&quot;"
 				AdditionalIncludeDirectories="&quot;..\..\&quot;; &quot;..\..\util&quot;"
 				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;GMIME_EXPORTS;HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_LOG_DOMAIN=\&quot;GMime\&quot;"
 				RuntimeLibrary="2"
diff --git a/configure.in b/configure.in
index 9b72418..3361dbe 100644
--- a/configure.in
+++ b/configure.in
@@ -12,7 +12,7 @@ AM_CONFIG_HEADER(config.h)
 
 GMIME_MAJOR_VERSION=2
 GMIME_MINOR_VERSION=4
-GMIME_MICRO_VERSION=13
+GMIME_MICRO_VERSION=14
 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
 
@@ -490,6 +490,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]