
11 Nov
2008
11 Nov
'08
5:17 p.m.
Vladimir Prus wrote:
It's set if the compiler and it's std lib is in thread safe mode. For gcc it's either set or not depending upon how gcc with built (since there are no compiler options that actually change the thread-safeness in recent gcc releases: and yes I checked with the gcc and libstdc++ teams on that!).
How is this related to _REENTRANT been set or not set? Do you have the pointers to your conversations with gcc hackers?
_REENTRANT has a somewhat checkered history, because at least historically some gcc std lib headers would set this when they were included. As far as gcc and libstdc++ are concerned they don't use _REENTRANT anywhere. Replies from the gcc mailing lists attached. HTH, John.