Re: [Boost-bugs] [Boost C++ Libraries] #3318: boost/python/detail/caller.hpp doesn't compile (no member named 'get_pytype')

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3318: boost/python/detail/caller.hpp doesn't compile (no member named 'get_pytype')
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-28 15:24:17


#3318: boost/python/detail/caller.hpp doesn't compile (no member named
'get_pytype')
----------------------------------------------------+-----------------------
  Reporter: Ingmar Vanhassel <ingmar@…> | Owner: troy
      Type: Bugs | Status: new
 Milestone: Boost 1.40.0 | Component: Python
   Version: Boost 1.39.0 | Severity: Regression
Resolution: | Keywords:
----------------------------------------------------+-----------------------

Comment (by Nicolas Kaiser <nikai@…>):

 This is the same one, isn't it?

 Vega Strike SVN, Boost 1.41.0

 gcc 4.4.3, glibc 2.11.2, python 2.6.5 on Gentoo Linux


 {{{
 In file included from /usr/include/boost-
 1_41/boost/python/object/function_handle.hpp:8,
                  from /usr/include/boost-
 1_41/boost/python/converter/arg_to_python.hpp:19,
                  from /usr/include/boost-1_41/boost/python/call.hpp:15,
                  from /usr/include/boost-
 1_41/boost/python/object_core.hpp:12,
                  from /usr/include/boost-1_41/boost/python/object.hpp:9,
                  from /var/tmp/portage/games-
 simulation/vegastrike-9999/work/vegastrike/src/python/python_class.h:25,
                  from /var/tmp/portage/games-
 simulation/vegastrike-9999/work/vegastrike/src/python/unit_exports.h:1,
                  from /var/tmp/portage/games-
 simulation/vegastrike-9999/work/vegastrike/src/python/unit_exports1.cpp:3:
 /usr/include/boost-1_41/boost/python/detail/caller.hpp: In static member
 function 'static const PyTypeObject*
 boost::python::detail::converter_target_type<ResultConverter>::get_pytype()
 [with ResultConverter = boost::python::to_python_value<const QVector&>]':
 /usr/include/boost-1_41/boost/python/detail/caller.hpp:242: instantiated
 from 'static boost::python::detail::py_func_sig_info
 boost::python::detail::caller_arity<1u>::impl<F, Policies,
 Sig>::signature() [with F = QVector (UnitWrapper::*)(), Policies =
 boost::python::default_call_policies, Sig = boost::mpl::vector2<QVector,
 UnitWrapper&>]'
 /usr/include/boost-1_41/boost/python/object/py_function.hpp:48:
 instantiated from 'boost::python::detail::py_func_sig_info
 boost::python::objects::caller_py_function_impl<Caller>::signature() const
 [with Caller = boost::python::detail::caller<QVector (UnitWrapper::*)(),
 boost::python::default_call_policies, boost::mpl::vector2<QVector,
 UnitWrapper&> >]'
 /var/tmp/portage/games-
 simulation/vegastrike-9999/work/vegastrike/src/python/unit_exports.h:91:
 instantiated from here
 /usr/include/boost-1_41/boost/python/detail/caller.hpp:102: error: 'struct
 boost::python::detail::caller_arity<1u>::impl<F, Policies,
 Sig>::operator()(PyObject*, PyObject*) [with F = QVector
 (UnitWrapper::*)(), Policies = boost::python::default_call_policies, Sig =
 boost::mpl::vector2<QVector, UnitWrapper&>]::result_converter' has no
 member named 'get_pytype'
 /usr/include/boost-1_41/boost/python/detail/caller.hpp: In static member
 function 'static const PyTypeObject*
 boost::python::detail::converter_target_type<ResultConverter>::get_pytype()
 [with ResultConverter = boost::python::to_python_value<const Vector&>]':
 /usr/include/boost-1_41/boost/python/detail/caller.hpp:242: instantiated
 from 'static boost::python::detail::py_func_sig_info
 boost::python::detail::caller_arity<2u>::impl<F, Policies,
 Sig>::signature() [with F = Vector (UnitWrapper::*)(UnitWrapper), Policies
 = boost::python::default_call_policies, Sig = boost::mpl::vector3<Vector,
 UnitWrapper&, UnitWrapper>]'
 /usr/include/boost-1_41/boost/python/object/py_function.hpp:48:
 instantiated from 'boost::python::detail::py_func_sig_info
 boost::python::objects::caller_py_function_impl<Caller>::signature() const
 [with Caller = boost::python::detail::caller<Vector
 (UnitWrapper::*)(UnitWrapper), boost::python::default_call_policies,
 boost::mpl::vector3<Vector, UnitWrapper&, UnitWrapper> >]'
 /var/tmp/portage/games-
 simulation/vegastrike-9999/work/vegastrike/src/python/unit_exports.h:91:
 instantiated from here
 /usr/include/boost-1_41/boost/python/detail/caller.hpp:102: error: 'struct
 boost::python::detail::caller_arity<2u>::impl<F, Policies,
 Sig>::operator()(PyObject*, PyObject*) [with F = Vector
 (UnitWrapper::*)(UnitWrapper), Policies =
 boost::python::default_call_policies, Sig = boost::mpl::vector3<Vector,
 UnitWrapper&, UnitWrapper>]::result_converter' has no member named
 'get_pytype'
 make[2]: *** [CMakeFiles/engine_com.dir/src/python/unit_exports1.o] Error
 1
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3318#comment:6>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC