Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2007-03-27 00:26:12


Ok to rule out the different executables being the issue (thought typeid might be the issue), I've made them into one executable. Still no difference though.

-----Original Message-----
From: boost-users-bounces_at_[hidden] on behalf of Sohail Somani
Sent: Mon 3/26/2007 9:13 PM
To: boost-users_at_[hidden]
Subject: [Boost-users] [serialization] Assertion `new_cid == cid' failed -fails on gcc, works on msvc
 
Hi,

I am serializing/deserializing a polymorphic class and I am having the
above issue upon deserialization where it fails on gcc and works in
msvc. The serializer and deserializer are implemented in two different
executables. Should that be an issue? All the object files *except* the
serialize/deserialize/main functions are the same in both executables.

In the gcc case, its comparing new_cid=2 against cid=1 (if that helps at
all!)



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