|
Boost Users : |
From: Michel Pineau (mpineau1963_at_[hidden])
Date: 2007-06-15 07:21:26
Hello,
I'm compiling and running the test program on LINUX, not on windows. If you look at the shared_ptr members, they are not properly set after loading. The test program doesn't crash but our application do crash when going through the shared_ptr.
Michel :)
----- Message initial ----
De : Robert Ramey <ramey_at_[hidden]>
À : boost-users_at_[hidden]
Envoyé le : jeudi 14 juin 2007, 18 h 43 min 51 s
Objet : Re: [Boost-users] Problem with boost serialization: shared_ptr
I looked over your code at it looks like it shoud be OK to me.
I Tried to compile it with my VC 71 system using boost 1.3 (cvs HEAD)
and I got an error at the following line:
class ABC : public IA, public IB, public IC
\BoostHead\libs\serialization\test\test_zmisc.cpp(85) : fatal error C1001:
INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 2701)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
which looks to me to be an artifact of the test system. I'll look some more
if I can get the chance.
Robert Ramey
"Michel Pineau" <mpineau1963_at_[hidden]> wrote in message
news:478215.90532.qm@web53310.mail.re2.yahoo.com...
Hello,
I'm trying to serialize many boost::shared_ptr to the same object but
through different base classes. When I look at the boost::shared_ptr for the
base classes they are not properly set. I created a simple example that show
my problem. The test program output is:
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Changez de tête et de tenue tous les jours si vous le voulez ! Volez la vedette sur Yahoo! Québec Avatars
http://cf.avatars.yahoo.com/
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