Re: [Boost-bugs] [Boost C++ Libraries] #4660: Error read binary archive, created by old boost version

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4660: Error read binary archive, created by old boost version
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-23 17:57:14


#4660: Error read binary archive, created by old boost version
---------------------------------------+------------------------------------
  Reporter: serge-voropaev@… | Owner: ramey
      Type: Bugs | Status: reopened
 Milestone: Boost 1.45.0 | Component: serialization
   Version: Boost 1.45.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------+------------------------------------

Comment (by anonymous):

 Hi there. Here where I'm sitting, version 6 archives have only one byte
 of version information, which means we should handle it the same way as
 version <6. That's what this patch does. I tested this with boost 1.46
 and it fixes the issue that I'm seeing (archive produced by boost 1.41
 being read by boost 1.46-consumer).

 I'm not sure if one of the interim versions of boost happened to have two-
 byte version-6 archives. If yes, then handling version 6 should be merged
 with version 7. If not, then it can be merged with handling version <6 as
 the patch does. In any case, separate branch for version 6 doesn't seem
 to be necessary.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4660#comment:44>
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:06 UTC