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-01-12 10:01:38


#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 joerg schlegel <jschlegel@…>):

 Robert,
 I attached:
 - ser_test.cpp: simple code to read/write archive with
 std::map<std::string, size_t> in it
 - archive-1_43.ser: output of ser_test.cpp build using boost 1_43
 - archive-1_46.ser: output of ser_test.cpp build using boost trunk

 I run the following tests:
 - read archive-1_43.ser using ser_test.exe compiled using boost 1_43 ->
 success
 - read archive-1_43.ser using ser_test.exe compiled using boost trunk ->
 fail (map is empty after read)
 - read archive-1_46.ser using ser_test.exe compiled using boost trunk ->
 success
 - read archive-1_46.ser using ser_test.exe compiled using boost 1_43 ->
 throws unsupported_version

 All compile output was created using msvc 10.0.
 Should be easy to reproduce.
 Regards

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