Robert Ramey wrote:
Glenn Ramsey wrote:
Hi,
I recently upgraded from boost 1.34 to boost 1.36. A version of my application built with 1.36 can read the text archives produced by 1.34, but a version of my application built with 1.34 cannot read the text archives produced by 1.36.
Is this the behaviour that I should expect?
yes. We currently guarentee the ability to read archives made by previous versions of the library. We do not guarentee the ability to read archives made by future versions of the library.
Thanks Robert, Is there a way to have this type of compatibility, ie to tell version 1.36 that it should write the 1.34 format? This is an issue if you use a technique like this: http://www.boost.org/doc/libs/1_36_0/doc/html/boost_asio/examples.html#boost... If you want to upgrade the library version used by the server and still support old (deployed) clients then the clients will not be able to deserialize communication from the server. Glenn