[C++-sig] _POSIX_C_SOURCE redefinition warning with python 2.3and boost-1.31.0
David Abrahams
dave at boost-consulting.com
Fri Jun 3 13:56:59 CEST 2005
Neil Hodgson <nyamatongwe at gmail.com> writes:
> These warnings went away for me when I moved
> #include <boost/python.hpp>
> to the top of each file rather than starting with system includes.
You always have to start with a Boost.Python #include if you are using
Boost.Python (because Python itself imposes that rule and we have to
wrap the Python.h header). I assumed the OP was doing that already.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list