Subject: [Boost-users] [serialization] Is it possible to force newer boost-serialization to be compatible with older versions?
From: Mariusz Wojtysiak (zxspeccy.cpp_at_[hidden])
Date: 2010-05-21 03:22:25


Hello,

I implementing client-server application. Data sent between sites are
serialized using boost-serialization as text archive.
Unfortunately very often both client and server work on different
operating systems and may be compiled with different boost versions :-
(

I noticed that when boost-library versions are different on server and
client, then archive_exception is thrown with message ""unsupported
version".

Is there a way to force serialization library to be compatible with
older versions, e.g. by calling:
archive.set_library_version() ?

Regards,
Mariusz Wojtysiak