Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2007-03-27 15:50:17


> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Robert Ramey
> Sent: Tuesday, March 27, 2007 10:18 AM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] [serialization] Assertion `new_cid
> == cid' failed-fails on gcc, works on msvc
>
> Things to try:
>
> a) does it work with non-polymorphic archives of the same
> type: binary? etc.
> That is, can you check to see if its an issue with
> "polymophic-ness" or not.
> b) try serializtion to xml_oarchive and save the output.
> check to see that
> you can read it. Then try polymorphic_xml_oarchive and
> compare the two.

Hi Robert,

Thank you for your response. In my example, the archives are not
polymorphic, the class I am serializing *is* polymorphic.

I think I've narrowed it down to stripping out the use of shared_ptr
(i.e., without it, it "works") but I'm going to try for a smaller
example.

Sohail


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