|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-10-15 11:06:00
nbecker_at_[hidden] (Neal D. Becker) writes:
> >>>>> "David" == David Abrahams <dave_at_[hidden]> writes:
>
> David> 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);
> >> }
>
> David> You're obviously targeting Sun or MacOS X or not using <sysinclude>
> David> (a.k.a. -isystem) to include your Boost headers ;-)
>
> No, this is linux (RedHat8.0). I'm using -I ....boost.
Right, that's what I said: you're not using bjam with <sysinclude> nor
are you using -isystem from the g++ command-line.
-- 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