Hi, I have switched all the 0 pointer cases to use some Null object. Now everything works fine. Thanks very much for your help. One last (I hope) question: The compilation of this archive produce some compilation warnings, how can I avoid it ? Thanks again, Dan Leibovich ../boost/boost_1_33_1/boost/archive/impl/basic_binary_iarchive.ipp: In member function `void boost::archive::basic_binary_iarchive<Archive>::init() [with Archive = portable_binary_iarchive]': portable_binary_iarchive.hpp:116: instantiated from here ../boost/boost_1_33_1/boost/archive/impl/basic_binary_iarchive.ipp:67: warning: choosing `boost::archive::version_type::operator unsigned int&()' over ` boost::archive::version_type::operator const unsigned int&() const' ../boost/boost_1_33_1/boost/archive/impl/basic_binary_iarchive.ipp:67: warning: for conversion from `boost::archive::version_type' to `unsigned int' ../boost/boost_1_33_1/boost/archive/impl/basic_binary_iarchive.ipp:67: warning: because conversion sequence for the argument is better ../boost/boost_1_33_1/boost/archive/impl/basic_binary_iarchive.ipp: In member function `void boost::archive::basic_binary_iarchive<Archive>::init() [with Archive = boost::archive::binary_iarchive]': ../boost/boost_1_33_1/boost/archive/binary_iarchive.hpp:51: instantiated from `void boost::archive::binary_iarchive_impl<Archive>::init() [with Archive = boost::archive::binary_iarchive]' ../boost/boost_1_33_1/boost/archive/binary_iarchive.hpp:66: instantiated from `boost::archive::binary_iarchive_impl<Archive>::binary_iarchive_impl(std::istream&, unsigned int) [with Archive = boost::archive::binary_iarchive]' ../boost/boost_1_33_1/boost/archive/binary_iarchive.hpp:80: instantiated from here ../boost/boost_1_33_1/boost/archive/impl/basic_binary_iarchive.ipp:67: warning: choosing `boost::archive::version_type::operator unsigned int&()' over ` boost::archive::version_type::operator const unsigned int&() const' ../boost/boost_1_33_1/boost/archive/impl/basic_binary_iarchive.ipp:67: warning: for conversion from `boost::archive::version_type' to `unsigned int' ../boost/boost_1_33_1/boost/archive/impl/basic_binary_iarchive.ipp:67: warning: because conversion sequence for the argument is better -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Robert Ramey Sent: ב 12 מרץ 2007 22:34 To: boost-users@lists.boost.org Subject: Re: [Boost-users] [Serialization] issue withportable_binary_oarchive Dan Leibovich wrote:
Hi,
Do you have any update? I will really appreciate any direction on how to proceed.
Thanks Dan
I did spend a little time with it. I'm not sure what's missing but here is my current test. I did make pass by avoiding usage of a 0 valued pointer. So this suggests that there someing amiss with the serialization of such pointers in this demo.
I'm quite confident this is an issue with this particular archive demo as the test suite explicitly tests for this.
Robert Ramey
#include