Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem with Serialization in Boost 1.37
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-03-02 13:13:27


Somehow I don't think this patch would work as there is no file named
polymorphic_binary_iarchive
in the src directory.

Robert Ramey

Christoph Mayer wrote:
> 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


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