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: 2010-09-21 04:54:24
#4660: Error read binary archive, created by old boost version
---------------------------------------+------------------------------------
Reporter: serge-voropaev@⦠| Owner: ramey
Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
Version: Boost 1.44.0 | Severity: Showstopper
Resolution: | Keywords:
---------------------------------------+------------------------------------
Comment (by ramey):
ouch - my mistake. This last documentation change didn't make it into the
release branch. I've checked it in though I don't think it will show up
until the next release. So I'm including the relevant text right here
Differences from Boost 1.43
* fixed bug in the serialization of virtual base classes. Due to
heroic efforts by Takatoshi Kondo.
* Native binary archives created under versions 1.42 and 1.43 suffer
from a serious problem. It's likely they won't be readable by this latest
version. This due to the fact that 1.42 made some changes in the binary
format of some types. Normally this could be addressed by detecting the
library version number written into the archive header. Unfortunately,
this library version number was not incremented at 1.42 as it should have
been. So now we have two different binary archive versions with the same
library version number.
This has been addressed by including a small utility in the example
directory named fix_six.cpp. This should be run with the command line
fix_six <file name>
This will assign 7 to the library version number of the archive.
This fix will need to be applied to native binary archives created with
boost versions 1.42 and 1.43.
Let me know if this addresses the situation.
Robert Ramey
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4660#comment:3> 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:04 UTC