This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17532] _XOPEN_SOURCE macros break <string>
- From: "papadopo at shfj dot cea dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Sep 2004 08:35:07 -0000
- Subject: [Bug libstdc++/17532] _XOPEN_SOURCE macros break <string>
- References: <20040917125436.17532.papadopo@shfj.cea.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From papadopo at shfj dot cea dot fr 2004-09-20 08:35 -------
Note that this breaks Python on Solaris. Indeed pyconfig.h contains:
/* Define to force use of thread-safe errno, h_errno, and other functions */
#define _REENTRANT 1
/* Define to the level of X/Open that your system supports */
#define _XOPEN_SOURCE 600
/* Define to activate Unix95-and-earlier features */
#define _XOPEN_SOURCE_EXTENDED 1
and it's therefore not possible to build C++ modules for Python.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17532