libstdc++ build failure on darwin5.2
Stan Shebs
shebs@apple.com
Sun Jan 6 08:36:00 GMT 2002
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
More information about the Libstdc++
mailing list