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
Generator = boost::python::converter::detail::unwind_type_id_helper, U
= <unnamed>::hello&]’
../../../../boost/python/converter/pytype_function.hpp:45:
instantiated from ‘boost::python::type_info
boost::python::converter::detail::unwind_type_id_(boost::type<T>*,
mpl_::false_*) [with T = <unnamed>::hello&]’
../../../../boost/python/converter/pytype_function.hpp:68:
instantiated from ‘static const PyTypeObject*
boost::python::converter::expected_pytype_for_arg<T>::get_pytype()
[with T = <unnamed>::hello&]’
../../../../boost/python/detail/signature.hpp:98: instantiated from
‘static const boost::python::detail::signature_element*
boost::python::detail::signature_arity<1u>::impl<Sig>::elements()
[with Sig = boost::mpl::vector2
participants (1)
-
Sameer Agarwal