Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1036: assert failure in oserializer.hpp:418
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-02 06:16:31
#1036: assert failure in oserializer.hpp:418
-------------------------------+--------------------------------------------
Reporter: tg38_at_[hidden] | Owner: ramey
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: Building Boost
Version: release 1.34.0 | Severity: Showstopper
Resolution: fixed | Keywords:
-------------------------------+--------------------------------------------
Changes (by ramey):
* status: assigned => closed
* resolution: => fixed
Comment:
I have studied this interesting case and made changes such that the
assertion is no longer invoked.
However, there is another problem with this example which prevents it from
working. The saving of T resolves to:
T -> A -> E -> C, I -> *J (abstract base) -> B
But no instance of B as been yet serialized so it is not registered with
the archive. This can be remedied by inverting a number of ways:
a) the sequence A, B in serializaiton can be inverted[[BR]]
b) using ar.register(...) to explicitly register B[[BR]]
c) exporting B
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1036#comment:3>
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:49:57 UTC