Hello community, here is the log from the commit of package blocxx for openSUSE:Factory checked in at Tue Mar 16 09:17:16 CET 2010. -------- --- blocxx/blocxx.changes 2010-01-31 19:15:20.000000000 +0100 +++ /mounts/work_src_done/STABLE/blocxx/blocxx.changes 2010-03-12 19:34:04.000000000 +0100 @@ -1,0 +2,7 @@ +Fri Mar 12 18:53:39 CET 2010 - mt@suse.de + +- Test for char ptr pod struct to mark is_pod non-functional + and avoid build failures -- reported as gcc 4.5 bug 43333. +- Added -fno-strict-aliasing to compile flags + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- blocxx-2.1.0-catch-gcc45-bug_is_pod.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blocxx-doc.spec ++++++ --- /var/tmp/diff_new_pack.z86d3D/_old 2010-03-16 09:15:41.000000000 +0100 +++ /var/tmp/diff_new_pack.z86d3D/_new 2010-03-16 09:15:41.000000000 +0100 @@ -21,7 +21,7 @@ Name: blocxx-doc %define blocxx_version 2.1.0 Version: 2.1.0.342 -Release: 129 +Release: 130 License: BSD3c(or similar) Group: Documentation/HTML AutoReqProv: on ++++++ blocxx.spec ++++++ --- /var/tmp/diff_new_pack.z86d3D/_old 2010-03-16 09:15:41.000000000 +0100 +++ /var/tmp/diff_new_pack.z86d3D/_new 2010-03-16 09:15:41.000000000 +0100 @@ -21,7 +21,7 @@ Name: blocxx %define blocxx_version 2.1.0 Version: 2.1.0.342 -Release: 21 +Release: 22 License: BSD3c(or similar) Group: Development/Libraries/C and C++ AutoReqProv: on @@ -37,6 +37,7 @@ Patch4: %{name}-2.1.0-gcc44.dif Patch5: %{name}-2.1.0-asneeded.dif Patch6: %{name}-2.1.0-memorybarrier.diff +Patch7: %{name}-2.1.0-catch-gcc45-bug_is_pod.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ pcre-devel %if 0%{?suse_version} >= 1030 @@ -255,6 +256,7 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p0 if test -f ./bootstrap.sh ; then ./bootstrap.sh else @@ -268,8 +270,8 @@ # # configure a special debug version # -CFLAGS="$RPM_OPT_FLAGS" \ -CXXFLAGS="$RPM_OPT_FLAGS" \ +CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ +CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ %configure \ %ifarch hppa --target=hppa2.0-suse-linux-gnu \ @@ -285,8 +287,8 @@ # # configure normal version # -CFLAGS="$RPM_OPT_FLAGS" \ -CXXFLAGS="$RPM_OPT_FLAGS" \ +CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ +CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ %configure \ %ifarch hppa --target=hppa2.0-suse-linux-gnu \ @@ -298,7 +300,7 @@ # # compile # -make %_smp_mflags +make %{?_smp_mflags} %check # ++++++ libblocxx4.spec ++++++ --- /var/tmp/diff_new_pack.z86d3D/_old 2010-03-16 09:15:41.000000000 +0100 +++ /var/tmp/diff_new_pack.z86d3D/_new 2010-03-16 09:15:41.000000000 +0100 @@ -19,7 +19,7 @@ Name: libblocxx4 Version: 1.0.0 -Release: 85 +Release: 86 License: BSD3c(or similar) Group: Development/Libraries/C and C++ AutoReqProv: on ++++++ blocxx-2.1.0-catch-gcc45-bug_is_pod.diff ++++++ --- configure.in +++ configure.in 2010/03/12 17:48:39 @@ -868,6 +868,14 @@ struct POD BLOCXX_STATIC_ASSERT(std::tr1::is_pod<POD>::value == true); +struct strPOD +{ + const char * const foo; + const char * const bar; +}; + +BLOCXX_STATIC_ASSERT(std::tr1::is_pod<strPOD>::value == true); + class nonPOD { private: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org