|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-03-09 22:39:22
Peter Hornby <peterho_at_[hidden]> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk