[Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.
david dot nospam dot hopwood at blueyonder dot co dot uk
gcc-bugzilla@gcc.gnu.org
Fri Jul 29 11:26:00 GMT 2005
------- Additional Comments From david dot nospam dot hopwood at blueyonder dot co dot uk 2005-07-29 11:25 -------
The option inconsistency between platforms is bug 20705.
I agree there should be a #define that says whether POSIX threads are usable
(rather than just supported by the platform), but I think _REENTRANT is the
wrong #define to use. This applies to both C and C++, so the name should be
something like __GCC_PTHREADS__, not __GXX_PTHREADS__.
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn|16519 |20705
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11953
More information about the Gcc-bugs
mailing list