This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++ build failure on darwin5.2


Andreas Tobler wrote:
> 
> I get the following failure on darwin5.2 (ppc)
> ----
> In file included from /Volumes/xufs/gccclean/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/cstring:40,
>                  from /Volumes/xufs/gccclean/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/bits/char_traits.h:44,
>                  from /Volumes/xufs/gccclean/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/string:46,
>                  from /Volumes/xufs/gccclean/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/bits/localefwd.h:48,
>                  from /Volumes/xufs/gccclean/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/locale:44,
>                  from c++locale.cc:36:
> /usr/include/string.h:63: syntax error before `;' token

A fixincludes issue of some sort.

#include <ctype.h>
#include <stddef.h>
#include <string.h>

fails, but

#include <ctype.h>
#include "/usr/include/stddef.h"
#include <string.h>

wins.  Even more tellingly, there is an #undef of _BSD_SIZE_T in
the "fixed" stddef.h.

Stan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]