[Boost-bugs] [Boost C++ Libraries] #5499: Serialization backward compatability

Subject: [Boost-bugs] [Boost C++ Libraries] #5499: Serialization backward compatability
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-24 08:01:20

#5499: Serialization backward compatability
 Reporter: ybungalobill@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.46.1 | Severity: Showstopper
 Keywords: serialization compatability |
 Boost 1.33.1 serializes class_id_type as int_least16_t (archive version
 3). Current boost tries to load it as int for archive of version 6 and
 earlier. On my platform (VS2005) int is 32 bits, hence the deserialization

 The attached code creates and successfully loads 'out.boost103301.dat'
 when compiling with boost 1.33.1 and crashes due to failed assert in
 class_id_type constructor when loading with boost 1.46.1.

 I'm upgrading from 1.33.1 to boost 1.46.1 now, so I mark it as

Ticket URL: <https://svn.boost.org/trac/boost/ticket/5499>
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