[C++-sig] boost.python and python 2.3

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Fri Sep 19 17:38:11 CEST 2003

--- Stefan Seefeld <stefan.seefeld at orthosoft.ca> wrote:
> Is this a known problem ?


> Is it fixed in cvs ?


> Is there a simple fix to apply to the 1.30.2 release

No. Both David and I spent a significant amount of time dealing with the
requirement that Python.h has to be included before any system header file. We
had to change virtually all boost/python header files and some of the .cpp

> (assuming it is indeed a macro clash) ?

Python.h (or some of the files it includes) unconditionally defines macros
related to XOPEN and POSIX compliance. These have to be seen before any system
header is included. (I find this requirement horrible, but that's the way it


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

More information about the Cplusplus-sig mailing list