Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-02-03 10:24:00

Jonathan Brandmeyer <jbrandmeyer_at_[hidden]> writes:

> I started to do a test run with GCC 3.3.5, and noticed this warning in
> the output (should be an error, IMO...):
> gcc-C
> ++-action ../../../bin/boost/libs/python/build/
> /home/jonathan/src/boost-CVS-HEAD/boost/boost/python/object_core.hpp: In
> function `PyObject* boost::python::api::object_base_initializer(const
> T&)
> [with T = boost::python::tuple]':
> /home/jonathan/src/boost-CVS-HEAD/boost/boost/python/object_core.hpp:310: instantiated from `boost::python::api::object::object(const T&) [with T = boost::python::tuple]'
> /home/jonathan/src/boost-CVS-HEAD/boost/boost/python/numeric.hpp:117:
> instantiated from `void boost::python::numeric::array::resize(const
> Sequence&) [with Sequence = boost::python::tuple]'
> /home/jonathan/src/boost-CVS-HEAD/boost/boost/preprocessor/iteration/detail/local.hpp:37: instantiated from here
> /home/jonathan/src/boost-CVS-HEAD/boost/boost/python/object_core.hpp:285: warning: cannot
> pass objects of non-POD type `struct boost::integral_constant<bool,
> true>'
> through `...'; call will abort at runtime

The function is never called; it shouldn't be a problem.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at