libstdc++ build failure on darwin5.2

Stan Shebs shebs@apple.com
Sun Jan 6 10:37:00 GMT 2002


Paolo Carlini wrote:
> 
> Stan Shebs wrote:
> 
> > > > Andreas Tobler wrote:
> > > > >
> > > > > /usr/include/string.h:63: syntax error before `;' token
> > > >
> > > > I'm seeing this one too.  Not the first time we've been outsmarted
> > > > by Darwin's yet-another-random-BSD with _BSD_*_T macros.  As before,
> > > > we'll have to slog through #ifdef/#ifndef/#ifnoncomputablefunction
> > > > to see what's causing it this time...
> > >
> > > Seems so. Arghh.
> >
> > Try this patch - it got me through libstdc++ build, it's running
> > tests now.  If it works with those and other twisted code I have,
> > then I'll submit it.
> 
> Hi,
> 
> there is something I do not understand at all here: how possibly this kind of
> problem can be related to mine and Benjamin's most recent changes to libstdc++
> header files? I'm asking this since yesterday, unfortunately, I have been unable
> to help Andreas: he reported that everything worked fine just before them!

Presumably a subtle change in include order.  Normally it wouldn't
matter whether one included ctype.h before or after stddef.h, but
your change exposed what must have been a longstanding bug in the
Darwin port (thank you!).

Stan



More information about the Libstdc++ mailing list