Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] class versioning changes in boost 1.42
From: Christopher Jefferson (chris_at_[hidden])
Date: 2010-03-01 02:12:52


On 1 Mar 2010, at 04:39, Jarl Lindrud wrote:

> Robert Ramey <ramey <at> rrsd.com> writes:
>
>>
>> Hmmm - This change - changing unsigned int to std::size_t - doesn't
>> seem to be an error to me. binary archives are be definition across
>> platforms. That is a binary archive created on a 32 bit machine
>> cannot be read on a 64 bit machine. Since std::size_t is the same
>> size as unsigned int on all platforms, I don't think this should ever
>> create an error.
>>
>
> 64 bit Visual C++ has size_t as 64 bits, and unsigned int as 32 bits ...

So does 64-bit Mac OS X (the default in Snow Leopard)

Chris


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