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,