[Bug libstdc++/17532] _XOPEN_SOURCE macros break <string>

papadopo at shfj dot cea dot fr gcc-bugzilla@gcc.gnu.org
Mon Sep 20 08:35:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list