[Bug other/11953] _REENTRANT defined when compiling non-threaded code.
carlo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 15 14:17:00 GMT 2004
------- Additional Comments From carlo at gcc dot gnu dot org 2004-04-15 13:22 -------
No, it was not resolved. I think it is stupid indeed.
I now detect the use of _REENTRANT before any headerfile
is included; I can do that because I always include
a custom "sys.h" as very first header in all my projects
that I use to work around OS bugs. However, this still
causes _REENTRANT to be defined or not defined purely
depending on if some standard header was or was not
included yet - and as such breaks third party libraries
that depend directly on _REENTRANT.
On Thu, Apr 15, 2004 at 04:44:06PM +0800, Yu Wang wrote:
> Hi, Carlo,
> I found your email from gcc.gnu.org archives, in finding the solution
> for a same problem you met(quoted below). My gcc version is 3.3.2
> (release). Could you told me how is your status on this?Is it solved?
> Any help would be appreciated.
>
> Regards.
> Yu
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11953
More information about the Gcc-bugs
mailing list