
-----Ursprüngliche Nachricht----- Von: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] Im Auftrag von Robert Ramey Gesendet: Donnerstag, 24. Juni 2010 19:04 An: boost-users@lists.boost.org Betreff: Re: [Boost-users] boost serialization archive compatibility
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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Thanks for the quick reply. I was wrong abount the class_id. After reading your statement about all archives being backward compatible I digged deeper into the problem and discovered I accidently used a broken build of our app. Sorry for upsetting the apple cart. Boost serialization works fine :) Thanks for the clarification. Markus Henschel Lead Programmer YAGER Development GmbH www.yager.de