|
Boost Users : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2007-06-15 15:46:29
I've managed to reproduce it on my system and will look into it.
Robert Ramey
"Michel Pineau" <mpineau1963_at_[hidden]> wrote in message news:544136.11852.qm_at_web53309.mail.re2.yahoo.com...
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_at_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
------------------------------------------------------------------------------
Essayez le Tout-nouveau Yahoo! Courriel -
------------------------------------------------------------------------------
Pour voir un aperçu du panneau de lecture de courriels.
------------------------------------------------------------------------------
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
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