From d4a73ab98882a38831efb346f6754625b7c7e700 Mon Sep 17 00:00:00 2001 From: Hubert Figuiere Date: Fri, 18 Jan 2008 13:31:05 -0500 Subject: * source/XMPFiles/Makefile.am: Disable strict aliasing. This fix some nasty warning. --- ChangeLog | 5 +++++ NEWS | 1 + source/XMPFiles/Makefile.am | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a19c454..81d4e92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-18 Hubert Figuiere + + * source/XMPFiles/Makefile.am: Disable strict aliasing. This fix + some nasty warning. + 2008-01-13 Hubert Figuiere * configure.ac: Allow disabling unittest if you diff --git a/NEWS b/NEWS index 64ec59d..61184eb 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ - Bug #14049: don't run autoheader. - Bug #13712: add --enable-unittest to disable tests. +- Bug: Disable strict aliasing in XMPFiles due to bad casting. 1.99.7 diff --git a/source/XMPFiles/Makefile.am b/source/XMPFiles/Makefile.am index 589a2be..344c723 100644 --- a/source/XMPFiles/Makefile.am +++ b/source/XMPFiles/Makefile.am @@ -47,7 +47,7 @@ INCLUDES = -I$(top_srcdir)/public/include \ AM_CXXFLAGS = -Wno-multichar -Wno-implicit -Wno-ctor-dtor-privacy \ - -funsigned-char -fexceptions + -funsigned-char -fexceptions -fno-strict-aliasing AM_CPPFLAGS = -Wall\ -D@EXEMPI_PLATFORM_DEF@=1 -DXMP_IMPL=1 -DXMP_ClientBuild=0 \ -D_FILE_OFFSET_BITS=64 -DHAVE_EXPAT_CONFIG_H=1 -DXML_STATIC=1 \ -- cgit v1.2.3