Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] unregistered_class exception thatwasn't occurring before
From: Robert Ramey (ramey_at_[hidden])
Date: 2011-10-18 22:16:18


Igor R wrote:
> It works well when I make and load archives with the current version
> of my app, but when I try to open an archive made by the pervious
> version it throws unregistered_class for one of my classes.

was the "previous version" made with the same version of the serialization
library?

> The both versions use boost 1.47, and the differences between them
> seem to me absolutely unrelated to serialization (as far as I can
> see).

What are the differences? If the previous version didn't serialize via
a pointer and the current one does, this could happen. Otherwise
I wouldn't expect this.

Robert Ramey

>
> Unfortunately I can't provide here code snippets, so my question is
> theoretical: what could break the backward compatibility in such a
> way? What should I look into?
>
>
> Thanks.


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