[C++-sig] unable to build boost.python with gcc 3.3.5 and python2.4 : compilation error

Niall Douglas s_sourceforge at nedprod.com
Thu Jul 19 12:51:51 CEST 2012


Use a much older boost, one compatible with an ancient compiler like 
gcc 3.3.5.

Or use a newer gcc.

Niall

On 19 Jul 2012 at 9:40, Harkirat Singh wrote:

> While compiling boost.python particularly, i get this error. Is there any
> workaround on this.
> 
> 
> *
> In file included from boost/unordered/detail/emplace_args.hpp:16,
> 
> from boost/unordered/detail/allocator_helpers.hpp:18, from
> boost/unordered/unordered_set.hpp:17, from boost/unordered_set.hpp:16,
> from boost/graph/adjacency_list.hpp:21, from
> libs/python/src/object/inheritance.cpp:11:
> 
> boost/move/move.hpp:124: warning: all member functions in class `
> 
> boost::move_detail::is_convertible<T, U>' are private
> 
> boost/move/move.hpp:254: warning: `class boost::rv<T>' only defines a
> private
> 
> destructor and has no friends
> 
> In file included from boost/range/size.hpp:21,
> 
> from boost/range/functions.hpp:20, from
> boost/range/iterator_range_core.hpp:26, from
> boost/range/iterator_range.hpp:13, from boost/range/irange.hpp:16,
> from boost/graph/detail/adjacency_list.hpp:20, from
> boost/graph/adjacency_list.hpp:337, from
> libs/python/src/object/inheritance.cpp:11:
> 
> boost/range/size_type.hpp:41: warning: all member functions in class `
> 
> boost::detail::has_size_type<T>' are private
> 
> libs/python/src/object/inheritance.cpp:114: sorry, unimplemented: use of `
> 
> enumeral_type' in template type unification
> *
> 
> 
> Regards
> Harkirat Singh
> 


-- 
Technology & Consulting Services - ned Productions Limited.
http://www.nedproductions.biz/. VAT reg: IE 9708311Q.
Work Portfolio: http://careers.stackoverflow.com/nialldouglas/


More information about the Cplusplus-sig mailing list