libstdc++ build failure on darwin5.2

Andreas Tobler
Sat Jan 5 05:11:00 GMT 2002


since yesterday evening a lot got in in libstdc++, too much for me to
see where I fail.
Could anyone of you, Benjamin, Paolo or ? help me here?

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,
/usr/include/string.h:63: syntax error before `;' token
make[3]: *** [c++locale.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-target-libstdc++-v3] Error 2

The string.h around 63 is:


#ifndef _STRING_H_
#define _STRING_H_
#include <machine/ansi.h>

typedef _BSD_SIZE_T_    size_t;  <----- line 63


Thanks in advance,


More information about the Libstdc++ mailing list