Opened 14 years ago

Closed 14 years ago

#2933 closed Bugs (invalid)

Serialization: Assertion in archive_pointer_oserializer.ipp failed. ( VC2005)

Reported by: Artur K. <nemerle5@…> Owned by: Robert Ramey
Milestone: Boost 1.39.0 Component: serialization
Version: Boost 1.38.0 Severity: Problem
Keywords: Cc:

Description

I hope it's just my lack of knowledge that is the cause of this assertion, but I have reduced the test to pretty minimal example ( attached ) and it seems it 'should' work ?

Attachments (1)

SerializationError.cpp (1.5 KB ) - added by Artur K. <nemerle5@…> 14 years ago.

Download all attachments as: .zip

Change History (2)

by Artur K. <nemerle5@…>, 14 years ago

Attachment: SerializationError.cpp added

comment:1 by Robert Ramey, 14 years ago

Resolution: invalid
Status: newclosed

User error

serialization of B doesn't explicitly refer to class C - only it's base Real Base.

Try adding

#include "boost/serialization/export.hpp"

BOOST_CLASS_EXPORT(C);

Note: See TracTickets for help on using tickets.