|
Boost Users : |
Subject: Re: [Boost-users] Problem with Serialization in Boost 1.37
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-02-09 11:47:24
Support for EXPORT was clarified and improved in 1.37. The documention was
updated to reflect this. Double check the documentation in this area and
verify that your usage if EXPORT is consistent with the information found
there.
Robert Ramy
Christoph Mayer wrote:
> Hi,
>
> when using Boost v1.37 I get a problem with the serialization library
> that did not appear before. The following linker error occurs:
>
>> undefined reference to
> `boost::archive::detail::archive_pointer_oserializer<boost::archive::detail:
>> polymorphic_oarchive_route<boost::archive::binary_oarchive_impl<boost::arch
> ive::binary_oarchive, char, std::char_traits<char> > >
>>>> :~archive_pointer_oserializer()'
>
> The error does not appear when I omit the class registration using
> BOOST_CLASS_EXPORT_GUID.
>
> As far as I understand the error, the linker can't find the d'tor for
> the singleton where the classes get registered. Below you can find the
> complete linker output.
>
> Any help is appreciated,
> Chris
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