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

Subject: [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: 2009-08-06 10:57:52


#3318: boost/python/detail/caller.hpp doesn't compile (no member named
'get_pytype')
---------------------------------------------------+------------------------
 Reporter: Ingmar Vanhassel <ingmar@…> | Owner: dave
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: Python
  Version: Boost 1.39.0 | Severity: Regression
 Keywords: |
---------------------------------------------------+------------------------
 When compiling vegastrike-0.5.0 against boost 1.39.0 (./configure --with-
 boost=system to use the system boost instead of internal copy), the build
 breaks on errors in the boost/python/detail/caller.hpp header:

 {{{
 In file included from
 /usr/include/boost/python/object/function_handle.hpp:9,
                  from
 /usr/include/boost/python/converter/arg_to_python.hpp:20,
                  from /usr/include/boost/python/call.hpp:16,
                  from /usr/include/boost/python/object_core.hpp:13,
                  from /usr/include/boost/python/object.hpp:10,
                  from src/python/python_class.h:24,
                  from src/python/briefing_wrapper.cpp:4:
 /usr/include/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/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 = Vector (*)(int), Policies =
 boost::python::default_call_policies, Sig = boost::mpl::vector2<Vector,
 int>]'
 /usr/include/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 (*)(int),
 boost::python::default_call_policies, boost::mpl::vector2<Vector, int> >]'
 src/python/briefing_wrapper.cpp:59: instantiated from here
 /usr/include/boost/python/detail/caller.hpp:102: error: 'struct
 boost::python::detail::caller_arity<1u>::impl<F, Policies,
 Sig>::operator()(PyObject*, PyObject*) [with F = Vector (*)(int), Policies
 = boost::python::default_call_policies, Sig = boost::mpl::vector2<Vector,
 int>]::result_converter' has no member named 'get_pytype'
 make[1]: *** [src/python/briefing_wrapper.o] Error 1
 }}}

 Labelling this as regression since vegastrike is known to compile with
 boost 1.36.0.

 I'm using GCC 4.4.0, glibc 2.10.1, python 2.6.1 on Exherbo Linux

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3318>
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:00 UTC