[Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.

ljrittle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 14 17:08:00 GMT 2004


------- Additional Comments From ljrittle at gcc dot gnu dot org  2004-05-14 01:27 -------
Please do not reopen this bug unless you engage the original author of the patch
that broke it (e.g. ro).  Users should not be writing code which depends on the
state of _REENTRANT.

Like Benjamin I will only comment indirectly: I will just state that every other
port which enabled threading support did not require this define to be
(unconditionally) blasted into gthr-posix.h .  Every other port figured out how
to stuff it in port-specific places. I don't know if Rainer should be asked to
rework his thread support for alpha*-dec-osf[45]*... (but that would be my
choice to properly close this bug even though I don't think portable code should
even use this macro's state in any way)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ro at techfak dot uni-
                   |                            |bielefeld dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11953



More information about the Gcc-bugs mailing list