
Jonathan Brandmeyer <jbrandmeyer@earthlink.net> 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. -- Dave Abrahams Boost Consulting www.boost-consulting.com