Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] unregistered class exception during serialization from DLL
From: Robert Ramey (ramey_at_[hidden])
Date: 2013-07-14 12:10:17


Andreas Mainik wrote:
> Hello All,
>
> I have investigated the issue little bit more.
> I have observed the following:
>
> The code works properly after shifting of ~OrdBasis() definition into
> the source code.
> Hence, I suppose that compiler suite of MVSC 11.0 ignores in fact the
> results of A.CPP file.
> The result is obvious. Registration by
> BOOST_CLASS_EXPORT_IMPLEMENT(Ord<Options>) is not done.
>
> The same behavior was reproduced with MSVC 10.0 (Visual Studio 2010).
>
> Curiously, the situation depends on the code that is shifted to the
> source code file.
> The shifting of the Option class constructor in to the source code is
> not sufficient.
>
> Could anyone, please, check the behavior with other compilers.
>
> Is it a compiler suite (linker or compiler) bug? Or the problem with
> boost implementation?
>
> Kind Regards,


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