Problems with boost serialization/shared_ptr/container

Hi I am using boost/1.41.0, and the following code give me compilation
error when I try to deserialize a shared_ptr. The serialize part it
compiled successfully. Can someone advise me if this is a bug in my code
or a general issue for boost? Thanks.
Yanchao
#include <iomanip>
#include <iostream>
#include <cstddef> // NULL
#include <fstream>
#include <string>
#include <list>
#include <cstdio> // remove
#include

Problems with boost serialization/shared_ptr/container This example compiled on my MSVC system without error. I'm using the lastest boost (1.42 soon to be released) and MSVC 7.1. Robert Ramey

Thanks Robert. I was compileing with intel compiler 11.1 on CentOS, can anyone please try that? Yanchao -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Robert Ramey Sent: Friday, January 22, 2010 12:44 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Problems with boostserialization/shared_ptr/container Problems with boost serialization/shared_ptr/container This example compiled on my MSVC system without error. I'm using the lastest boost (1.42 soon to be released) and MSVC 7.1. Robert Ramey _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users DISCLAIMER: This e-mail message and any attachments are intended solely for the use of the individual or entity to which it is addressed and may contain information that is confidential or legally privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete this message and any attachments.
participants (2)
-
Guo, Yanchao
-
Robert Ramey