Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-02-03 10:48:30


>> I attach the valgrind output for one of the Boost.Python tests.
>> Does this ring any bells?
>
> I started to do a test run with GCC 3.3.5, and noticed this warning in
> the output (should be an error, IMO...):
> /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

Initially, I thought this might be related to the recent type traits
changes, but if it is, I can't see how (integral_constant<bool,v> inherits
from mpl::true_ / mpl::false_ so the usual conversions should apply and do
the right thing here.

Anyone else?

John.


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