|
Boost Users : |
Subject: Re: [Boost-users] [Serialization] [Portable Binary]
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-09-11 01:21:11
William Oquendo wrote:
> Dear,
>
> In the documentation of boost::serialization, I read that there is
> still work needed to have a portable (32 and 64 bits) binary
> serialization implementation. The date of the TODO is 2008. Is still
> this a current TODO? is there a library implementing this? currently,
> It is not a matter of dead or live, but I would like to know. I have
> been trying to run a code in different (bits) systems, and I got the
> error "Incompatible native format - size of int"
This should only occur when trying to load data which
cannot be represented in the loading system. For example
suppose one has a value >32 bits on a 64 bit machine. No
problem. Then it is saved to a portable binary archive. Still
no problem. Then it is loaded by a mache with 32 bit integers.
Uh-oh - the information can't be represented and an
exception is thrown.
I believe that the only think pending is a more general
representation of floating point values. Apparently that
hasn't been an issue for people that use it.
Robert Ramey
>
> Best regards / Cordialmente,
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