Boost logo

Boost Users :

From: Kai Benndorf (kai.benndorf_at_[hidden])
Date: 2020-06-24 13:09:32


Hi all,

we are using boost serialization for writing and reading data and just
switched from boost 1:67 to boost 1:73.
We now cannot read back the data written with boost 1:67 or prior. We get an
archive_exception::input_stream_error exception.

Examining the files shows the difference. The old files are starting with

22 serialization::archive 16

The new files are missing this data. Removing it from the files enabled the
reading with boost 1:73.

But strangely, if trying a small example program (the gps example from the
documentation) also boost 1:73 produces this data:
22 serialization::archive 18

Any idea what has changed in between these versions and could cause this
problem? Thanks in advance for any hint.

Our application uses an own derived archive class. Maybe I have to changed
something there?

Best regards

Kai Benndorf

----------------------------------------------------------------
 Kai Benndorf E-Mail: kai.benndorf_at_[hidden]
 Zur Maibolte 44 MOBILE: 0151 55627946
 32657 Lemgo WORK: 05251 150623
 Germany PHONE: 05261 14465
----------------------------------------------------------------


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