Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3747: Not possible to split derived classes in several files
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-11 07:03:54
#3747: Not possible to split derived classes in several files
--------------------------------------------------+-------------------------
Reporter: Runar Undheim <r.undheim@â¦> | Owner: ramey
Type: Bugs | Status: reopened
Milestone: Boost 1.42.0 | Component: serialization
Version: Boost 1.41.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------------+-------------------------
Changes (by Runar Undheim <r.undheim@â¦>):
* status: closed => reopened
* resolution: invalid =>
Comment:
Thanks for a very fast reply. I tried to make the example as small as
possible and attached files that doesn't work in 1.40 neither. I'm sorry.
I have now attached new files. This code work with boost version 1.40 but
not with version 1.41. The compiler that I use are VisualC++ 2005.
I got an exception from basic_oarchive.cpp line 331
(archive_exception(archive_exception::unregistered_class)).
If I add both registration (BOOST_CLASS_EXPORT) in the main.cpp it works
nice, but not if both registration are in one of the other files.
Runar
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3747#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC