Boost logo

Boost :

From: Zrubavel Zodikovich (g729_at_[hidden])
Date: 2006-09-10 10:58:14

Hi all,

I need to make a modified version of binary archive so that it can read
data serialized on a different platform. Specifically, I have a lot of
files written with binary serializer on x86, and now I need to read them
into application built on x64 platform ( sizeof(size_t) == 8 ).

Obvious place to fix would be the load() functions in
boost\archive\impl\basic_binary_iprimitive.ipp, replacing the
std::size_t declaration with unsigned int.

Are there less obvious places in the archive format that are dependent
on the pointer size ?


Boost list run by bdawes at, gregod at, cpdaniel at, john at