|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-10-15 10:22:50
nbecker_at_[hidden] (Neal D. Becker) writes:
> Here is my test case:
>
> greet.cc--------------
> char const* greet()
> {
> return "hello, world";
> }
> #include <boost/python.hpp>
> using namespace boost::python;
>
> BOOST_PYTHON_MODULE(hello)
> {
> def("greet", greet);
> }
You're obviously targeting Sun or MacOS X or not using <sysinclude>
(a.k.a. -isystem) to include your Boost headers ;-)
Anyway, this is fixed in the CVS.
Thanks,
-- David Abrahams * Boost Consulting dave_at_[hidden] * http://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