Boost logo

Boost Users :

Subject: Re: [Boost-users] boost serialization archive compatibility
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-06-24 13:04:25


Robert Ramey wrote:
> Markus Henschel wrote:
>> Hello group!
>>
>> We are upgrading boost from version 1.34.1 to 1.43.0. A quick test
>> revealed that after the upgrade our binary archives cannot be loaded
>> anymore. It seems like the type of the class id was changed from int
>> to short making the old archive from 1.34.1 incompatible to our
>> current application using 1.43.0. Is this a bug or expected behavior?

Looking at the history of basic_binary_iarchive. it seems that class_id
has always been serialized as int_least16_t. Has this changed for the
compiler/platform in question between 1.34 and 1.43. ?

Robert Ramey


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net