[C++-sig] Problems to compile Boost 1.31.0

Xavier WARIN(Compte LOCAL) - I23 xavier.warin at der.edfgdf.fr
Fri Feb 6 11:38:36 CET 2004


Hi,

I used to compile version 1_30_2 on redhat 7.2 with g++ 3.04 and 3.2.3 
for python 2.2.3.
I tried to move to version 1_31_0 :
- no problem with g++ 3.2.3
- with g++ 3.0.4 i get this message trying to compile with bjam :

gcc-C++-action 
bin/boost/libs/python/build/libboost_python.a/gcc/debug/threading-multi/inheritance.o
/local/SOFTWARE/boost_1_31_0_gcc3.0.4/boost/iterator/iterator_traits.hpp: 
In
    function `void std::distance(_InputIterator, _InputIterator, 
_Distance&)
    [with _InputIterator =
    std::__normal_iterator<boost::<unnamed>::index_entry*,
    std::vector<boost::<unnamed>::index_entry,
    std::allocator<boost::<unnamed>::index_entry> > >, _Distance = 
ptrdiff_t]':
/local/SOFT_GCC3.0.4_PYTHON2.2.3/include/g++-v3/bits/stl_algo.h:2211: 
instantiated from `_ForwardIter std::__lower_bound(_ForwardIter, 
_ForwardIter, const _Tp&, _Compare, _Distance*) [with _ForwardIter = 
std::__normal_iterator<boost::<unnamed>::index_entry*, 
std::vector<boost::<unnamed>::index_entry, 
std::allocator<boost::<unnamed>::index_entry> > >, _Tp = 
boost::tuples::tuple<boost::<unnamed>::class_id, vertex_t, 
boost::python::objects::dynamic_id_t (*)(void*), 
boost::tuples::null_type, boost::tuples::null_type, 
boost::tuples::null_type, boost::tuples::null_type, 
boost::tuples::null_type, boost::tuples::null_type, 
boost::tuples::null_type>, _Compare = boost::_bi::bind_t<bool, 
std::less<boost::<unnamed>::class_id>, 
boost::_bi::list2<boost::_bi::bind_t<boost::<unnamed>::class_id, 
boost::<unnamed>::select1st<std::__normal_iterator<boost::<unnamed>::index_entry*, 
std::vector<boost::<unnamed>::index_entry, 
std::allocator<boost::<unnamed>::index_entry> > > 
boost::<unnamed>::type_position(boost::python::type_info)::entry>, 
boost::_bi::list1<boost::arg<1> > >, 
boost::_bi::bind_t<boost::<unnamed>::class_id, 
boost::<unnamed>::select1st<std::__normal_iterator<boost::<unnamed>::index_entry*, 
std::vector<boost::<unnamed>::index_entry, 
std::allocator<boost::<unnamed>::index_entry> > > 
boost::<unnamed>::type_position(boost::python::type_info)::entry>, 
boost::_bi::list1<boost::arg<2> > > > >, _Distance = ptrdiff_t]'
etc ..

Has anybody seen this problem before ? I saw on boost web site that this 
compiler has been tested.
Has anybody tried to compile with g++ 3.3.2 ?
Thank you

Xavier





More information about the Cplusplus-sig mailing list