Boost logo

Boost-Build :

Subject: Re: [Boost-build] Error compiling code with Boost
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2012-11-21 04:06:18


Hi Amos,

On Tuesday, 20. November 2012 11:44:31 Amos Anderson wrote:
> Hello --
>
> I'm having trouble compiling our code on redhat gcc 4.4.6 (full specs
> below). There are a lot of errors in the output, but paring down the list a
> bit, some examples are pasted below. This exact same code successfully
> compiles on several OSX compilers, as well as redhat gcc 4.1.2.

Well, this is not a Boost.Build problem as the build engine seems to run fine.

> thanks for any advice!

> ../tools/boost/boost/range/algorithm/equal.hpp:160: error: ‘boost::range’ is
> not a function, ../tools/boost/boost/python/iterator.hpp:92: error:
> conflict with ‘template<class Accessor1, class Accessor2>
> boost::python::api::object boost::python::range(Accessor1, Accessor2)’
> pymodule/wrap_vector.hh:68: error: in call to ‘range’

OSX has gcc-4.2 or clang 3.1 for 10.8.

The gcc project has done some cleanups of standard library code, eliminating
some implicit dependencies. So you might need to explicitly include the now
missing headers.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold  ! 
* voice: ++49 4257 300       ! Fährstraße 1
* fax  : ++49 4257 300       ! 31609 Balge/Sebbenhausen
* jhunold_at_gmx.eu             ! Germany

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk