odd gcc 4.4 failure on ppc/ppc64

Tom "spot" Callaway tcallawa at redhat.com
Tue Mar 3 00:46:20 UTC 2009


On 2009-03-02 at 19:37:10 -0500, Jakub Jelinek <jakub at redhat.com> wrote:
> on the inline namespace line.  Perhaps the package defines inline as a macro
> before including standard headers (don't do that if so)?

I don't see it doing that.

The code (watools.cpp) starts here:

#include "watools.h"

#include <unistd.h> //provides readlink
#include <dirent.h>
#include <cstdio> //to get values from /sys
#include <fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h> //inet_ntoa
#include <iostream> //debugging

(note that gcc gets hung up trying to #include <cstdio>.)

watools.h is attached.

This code is reasonably small and simple, there doesn't seem to be any
macro definitions, much less any odd ones.

~spot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: watools.h
Type: text/x-chdr
Size: 3893 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090302/e4d53b2d/attachment.bin>


More information about the fedora-devel-list mailing list