
10 Mar
2004
10 Mar
'04
3:39 a.m.
Peter Hornby <peterho@ned.dem.csiro.au> writes:
Sorry if this has been mentioned before. the following patch against boost-1.31.0 silences the warnings on linux, but I have not tested that there are no side-effects on other compilers.
The warnings are there for a good reason: you must include a Boost.Python header *before* you include any other system headers. This restriction was imposed by the Python developers :( http://mail.python.org/pipermail/c++-sig/2003-September/005563.html -- Dave Abrahams Boost Consulting www.boost-consulting.com