[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#391268: _REENTRANT defined when compiling non-threaded code



Matthias Klose wrote:
> Ryan Murray writes:
> > Package: libstdc++6
> > Version: 4.1.1-15
> > Severity: important
> > 
> > This is already reported upstream:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11953
> > 
> > It was fixed, but only on the redhat 4.1 branch.  The fix is needed on trunk,
> > and the general 4.1 branch.
> > 
> > A simple testcase:
> > test.cpp:
> > #include <map>
> > #ifdef _REENTRANT
> > #error _REENTRANT defined
> > #endif
> > 
> > g++ -o test test.cpp
> > 
> > For further specifics, see the upstream bug
> 
> see the attached patch, based on the one from the redhat 4.1
> branch. Thiemo, Falk, Phil, please could you review the patch?

Looks ok to me.


Thiemo



Reply to: