Boost logo

Boost Users :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2006-12-10 09:14:17


On 9 Dec 2006, at 06:28, Bo Peng wrote:

> Dear boost users,
>
> To test Boost.MPI, I upgrade from boost 1.33.1 to boost/cvs. I get
> error messages like:
>
> /usr/include/boost-1_35/boost/archive/detail/oserializer.hpp:151:
> instantiated from `void boost::archive::detail::oserializer<Archive,
> T>::save_object_data(boost::archive::detail::basic_oarchive&, const
> void*) const [with Archive = boost::archive::binary_oarchive, T =
> simuPOP::population]'
> /home/bpeng/simuPOP/release/build/population_ba.cpp:1567:
> instantiated from here
> /usr/include/boost-1_35/boost/serialization/detail/get_data.hpp:31:
> warning: taking address of temporary
> /usr/include/boost-1_35/boost/serialization/detail/get_data.hpp:31:
> error: cannot convert `std::_Bit_reference*' to `bool*' in return
>
> which looks like the old vector<bool>::reference problem. Is this a
> known problem? Does anyone know a solution?
>
> Many thanks in advance.
> Bo

I'm testing a fix at the moment and will let you know once it is
committed.

Matthias


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net