|
Boost Users : |
From: Matthias Troyer (troyer_at_[hidden])
Date: 2006-12-11 08:32:09
I have fixed any vector<bool> related potential problem I saw in the
optimization of vector serialization and added a regression test.
Could you please check whether this also solves your problem?
Matthias
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
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
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