Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem with Serialization in Boost 1.37
From: Christoph Mayer (mayer_at_[hidden])
Date: 2009-03-02 05:48:11


There are further polymorphic archives missing in the jamfile, at least
polymorphic_text_iarchive and oarchive.

I now switched from polymorphic_binary_{i|o}archive to
binary_{i|o}archive. As I understand the only drawback is compilation
speed and efficiency.

Thanks for the help.
Chris

Index: libs/serialization/build/Jamfile.v2
===================================================================
--- libs/serialization/build/Jamfile.v2 (revision 51259)
+++ libs/serialization/build/Jamfile.v2 (working copy)
@@ -71,6 +71,8 @@
      extended_type_info_no_rtti
      polymorphic_iarchive
      polymorphic_oarchive
+ polymorphic_binary_iarchive
+ polymorphic_binary_oarchive
      stl_port
      text_iarchive
      text_oarchive
Index: libs/serialization/src/polymorphic_binary_iarchive.cpp

Vladimir Prus schrieb:
> Christoph Mayer wrote:
>
>> Hi Vladimir,
>>
>>> Can you produce a self-contained example? Namely, an archive in a widely
>>> used format, containing all the source files and a shell script that
>>> builds the project, and resulting in a link error.
>> attached is the self-contained example. It fails with a linker error on
>> Boost 1.38.
>
> Thanks. This is a bug in Boost.Serialization. With attached patch, your
> testcase compiles unmodified. I don't know if this patch is best, or right --
> Robert should be able to tell.
>
> HTH,
> Volodya
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

-- 
Dipl.-Inform. Christoph P. Mayer
Institute of Telematics, University of Karlsruhe (TH)
Zirkel 2, 76128 Karlsruhe, Germany
Phone: +49 721 608 6415, Email: mayer_at_[hidden]
Web: http://www.tm.uka.de/~mayer/

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