This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.
- From: "ro at techfak dot uni-bielefeld dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jun 2004 19:37:10 -0000
- Subject: [Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.
- References: <20030817022106.11953.carlo@alinoe.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2004-06-09 19:37 -------
Subject: Re: _REENTRANT defined when compiling non-threaded code.
pinskia at physics dot uc dot edu writes:
> The libobjc part is fine with me since there is no need for platform-specific
> defines as the header file is only included the sources of libobjc and never
> included with from any user code.
I'd prefer guarding the _REENTRANT definition in gthr-posix.h nonetheless,
since it centralizes the ugliness in one place (if this is necessary at
all, which I'm not really convinced yet, and neither several other
reviewers, it seems).
Anyway, I'll be away until June 15th in a few minutes, so this will have to
wait until then.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11953