Boost logo

Boost :

From: Jonathan Brandmeyer (jbrandmeyer_at_[hidden])
Date: 2005-02-03 19:49:08


On Thu, 2005-02-03 at 10:24 -0500, David Abrahams wrote:
> 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/libboost_python.so/gcc/debug/shared-linkable-true/numeric.o
> > /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.

Clearly it is being called - this is the function at the top of the
stacktrace.

-Jonathan


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