Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] mingw Deriving from boost::archive::xml_iarchive
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2012-06-23 09:09:16


Hi Ken,

On Saturday, 23. June 2012 13:51:52 Ken wrote:
> In porting from 1_41 to 1_49 on mingw this no longer links because the
> boost::archive::basic_xml_grammar<char> class's symbols are no longer
> exported from the serialization library.

This sounds odd. Are you sure you are setting BOOST_ALL_DYN_LINK and/or
BOOST_SERIALIZATION_DYN_LINK during compilation?
The export/import magic looks fine to me.

And please provide a compilable testcase. There are flags and #defines which
might trigger this behaviour.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold  ! 
* voice: ++49 4257 300       ! Fährstraße 1
* fax  : ++49 4257 300       ! 31609 Balge/Sebbenhausen
* jhunold_at_gmx.eu             ! Germany

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