odd gcc 4.4 failure on ppc/ppc64

Jakub Jelinek jakub at redhat.com
Tue Mar 3 00:37:10 UTC 2009


On Mon, Mar 02, 2009 at 07:12:49PM -0500, Tom spot Callaway wrote:
> Basically, the package (wlassistant) builds fine on i586 and x86_64, but
> blows a fuse on ppc and ppc64:
> 
> [ppc]
> http://koji.fedoraproject.org/koji/getfile?taskID=1215118&name=build.log
> 
> In file included from
> /usr/lib/gcc/ppc64-redhat-linux/4.4.0/../../../../include/c++/4.4.0/cstdio:48,
>                  from build/src/watools.cpp:25:
> /usr/lib/gcc/ppc64-redhat-linux/4.4.0/../../../../include/c++/4.4.0/ppc64-redhat-linux/bits/c++config.h:223:
> error: expected unqualified-id before 'namespace'

That is on
#if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__
namespace std
{
  inline namespace __gnu_cxx_ldbl128 { }
}
...
#else
...
#endif

on the inline namespace line.  Perhaps the package defines inline as a macro
before including standard headers (don't do that if so)?

i?86/x86_64 doesn't have long double compatibility and when not using
libstdc++ debug mode nor parallel mode there are no other inline namespaces
in c++config.h.

	Jakub




More information about the fedora-devel-list mailing list