Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-10-24 16:55:59


attached mail follows:


Type traits has been broken since at least Thu Oct 24 08:12:18 PDT
2002 as shown by http://cci.lbl.gov/boost/

At the moment, the errors above are not showing up, but different ones
are:

    g++ -ftemplate-depth-100 -g -I. -I/usr/include/python2.2 -DUSE_DL_IMPORT -DBOOST_PYTHON_SOURCE -Ilibs/python/build/bin/gcc/debug/shared-true/main-target-boost_python -c -o libs/python/build/bin/gcc/debug/shared-true/main-target-boost_python/pickle_support.o libs/python/src/object/pickle_support.cpp

boost/python/detail/indirect_traits.hpp: In instantiation of `boost::is_reference<boost::python::tuple ()(boost::python::api::object)>':
boost/python/detail/indirect_traits.hpp:87: instantiated from `boost::detail::is_function_impl<boost::python::tuple ()(boost::python::api::object)>'
boost/python/detail/indirect_traits.hpp:87: instantiated from `boost::is_function<boost::python::tuple ()(boost::python::api::object)>'
boost/python/detail/indirect_traits.hpp:87: instantiated from `boost::python::detail::is_pointer_to_function<boost::python::tuple (*)(boost::python::api::object)>'
boost/python/converter/arg_to_python.hpp:95: instantiated from `boost::python::converter::detail::select_arg_to_python<boost::python::tuple (*)(boost::python::api::object)>'
boost/python/object_core.hpp:279: instantiated from `boost::python::converter::arg_to_python<boost::python::tuple (*)(boost::python::api::object)>'
boost/python/object_core.hpp:279: instantiated from `static PyObject* boost::python::api::object_initializer<is_proxy, is_object_manager>::get(const T*, int*) [with T = boost::python::tuple (*)(boost::python::api::object), bool is_proxy = false, bool is_object_manager = false]'
boost/python/object_core.hpp:222: instantiated from `boost::python::api::object::object(const T&) [with T = boost::python::tuple (*)(boost::python::api::object)]'
libs/python/src/object/pickle_support.cpp:59: instantiated from here
boost/python/detail/indirect_traits.hpp:87: `value' is not a member of type `
   boost::is_reference<boost::python::tuple ()(boost::python::api::object)>'

This appears to indicate that is_reference isn't working with function
types.

-- 
                    David Abrahams
dave_at_[hidden] * http://www.boost-consulting.com
Building C/C++ Extensions for Python: Dec 9-11, Austin, TX
http://www.enthought.com/training/building_extensions.html

-- 
                    David Abrahams
dave_at_[hidden] * http://www.boost-consulting.com
Building C/C++ Extensions for Python: Dec 9-11, Austin, TX
http://www.enthought.com/training/building_extensions.html

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk