libstdc++ build failure on darwin5.2

Andreas Tobler toa@pop.agri.ch
Sat Jan 5 05:11:00 GMT 2002


Hi,

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,
                 from c++locale.cc:36:
/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>

#ifndef _BSD_SIZE_T_DEFINED_ 
#define _BSD_SIZE_T_DEFINED_
typedef _BSD_SIZE_T_    size_t;  <----- line 63
#endif  

----

Thanks in advance,

Andreas



More information about the Libstdc++ mailing list