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: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2004 00:50:06 -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 bkoz at gcc dot gnu dot org 2004-07-20 00:50 -------
Sorry guys, I'm just getting back to this.
Ranier, I think you are right: we should make an osf directory, dupe the files,
and remove the gthr-posix.h unconditional defines.
Do you want to do this? Let's try to fix this for 3.4.2. I think this is a high
priority bug BTW.
I have to say that John Maddock really does have a huge point with the
consistency issue. It's incredibly annoying that -pthreads/-pthread/-mthread
even exist, when -pthread across all would have been much, much better. Why does
gcc do this crazy stuff? Ugh. I guess we cannot fix this particular bit for
3.4.2, although, quite frankly, we should.
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11953