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

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



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

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libstdc++6 depends on:
ii  gcc-4.1-base                 4.1.1-15    The GNU Compiler Collection (base 
ii  libc6                        2.3.6.ds1-5 GNU C Library: Shared libraries
ii  libgcc1                      1:4.1.1-15  GCC support library

libstdc++6 recommends no packages.

-- no debconf information



Reply to: