Dumb question w.r.t. thread safety...

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat Apr 1 00:00:00 GMT 2000


> I think this is correct.  Furthermore, the compiler itself (or at
> least its support libraries) and all the other object files linked
> with must also be built -fnew-abi.

Why is that?

> Note that until we get the compiler support we need to finish making
> conforming C headers, we also need -fno-honor-std.  See DESIGN, section
> 17, for details.

I still don't buy that argument. I know there are examples that work
incorrectly if the C library lives both inside and outside std, but
could you give me a single real-world example where that matters?

OTOH, people frequently complain that something in the standard
library is in their way; if it was all in namespace std, it would
work.

So -fhonor-std is the lesser evil compared to -fno-honor-std, no?

Regards,
Martin


More information about the Libstdc++ mailing list