Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10357: archive version --- BOOST_ARCHIVE_VERSION -- change required ?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-15 15:13:28
#10357: archive version --- BOOST_ARCHIVE_VERSION -- change required ?
-------------------------+-------------------------------------------------
Reporter: | Owner: ramey
ingo.loehken@⦠| Status: closed
Type: Support | Component: serialization
Requests | Severity: Problem
Milestone: To Be | Keywords: archive version, serialization,
Determined | BOOST_ARCHIVE_VERSION, compatible
Version: Boost |
1.56.0 |
Resolution: wontfix |
-------------------------+-------------------------------------------------
Changes (by ramey):
* status: new => closed
* resolution: => wontfix
Comment:
OK
After a huge problem where by a accidentally changed serialization of some
internal stuff, I resolved to update the BOOST_ARCHIVE_VERSION every time
a new version of boost is distributed.
Note that backwards compatibility (ability of later programs to read older
formats) is guaranteed. But Forward compatibility is not (and cannot) be
guaranteed.
I get you problem, you want to update the data with the new program while
the older ones can still access it. But I can't see a way to do this
which is not inherently fragile.
Robert Ramey
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10357#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC