Boost logo

Boost :

Subject: Re: [boost] [serialization] patching 1.43 for the version numberingissue
From: Ryan Gallagher (ryan.gallagher_at_[hidden])
Date: 2010-07-27 22:04:13


Robert Ramey <ramey <at> rrsd.com> writes:
>
> My understanding is that the last version # used before 1.44 is 6 and
> the only way the 7 should be found there is if fix_six is executed
> on that archive.
>
> To summarize:
> 1.41 version 5
> 1.42 version 6
> 1.43 version 6 - change to 7 with fix_six
> 1.44 version 8

That was my understanding too. However, I just downloaded 1.43 and
libs/serialization/src/basic_archive.cpp has the following:

// 5 - Boost 1.36
// changed serialization of collections: adding version even for primitive
// types caused backwards compatibility breaking change in 1.35
// 6 - Boost 1.41, serializing collection sizes as std::size_t

BOOST_ARCHIVE_DECL(version_type)
BOOST_ARCHIVE_VERSION(){
    return version_type(7);
}

Perhaps 1.43 was already correct? Or was the versioning done some other
way?

-Ryan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk