Sameer Agarwal | 10 Oct 20:16
Favicon

boost 1.36 on fedora 7

Hello Everyone,

I am trying to compile boost 1.36.0 with gcc 4.1.2 on Fedora 7 and  
while compiling extension.cpp in boost.python, it triggers an internal  
compiler error

---------

gcc.compile.c++ bin/gcc-4.1.2/debug/extending.o
../../../../boost/type_traits/detail/cv_traits_impl.hpp: In  
instantiation of ‘const bool  
boost::detail::cv_traits_imp<<unnamed>::hello*>::is_const’:
../../../../boost/type_traits/is_const.hpp:53:   instantiated from  
‘boost::is_const<<unnamed>::hello>’
../../../../boost/python/detail/cv_category.hpp:31:   instantiated  
from ‘boost::python::detail::cv_category<<unnamed>::hello>’
../../../../boost/python/detail/unwind_type.hpp:58:   instantiated  
from ‘typename Generator::result_type  
boost::python::detail::unwind_ptr_type(U*, Generator*) [with Generator  
= boost::python::converter::detail::unwind_type_id_helper, U =  
<unnamed>::hello]’
../../../../boost/python/detail/unwind_type.hpp:127:   instantiated  
from ‘static typename Generator::result_type  
boost::python::detail::unwind_helper2<2>::execute(U& (*)(),  
Generator*) [with Generator =  
boost::python::converter::detail::unwind_type_id_helper, U =  
<unnamed>::hello]’
../../../../boost/python/detail/unwind_type.hpp:165:   instantiated  
from ‘typename Generator::result_type  
boost::python::detail::unwind_type(boost::type<U>*, Generator*) [with  
(Continue reading)


Gmane