Boost logo

Boost :

Subject: Re: [boost] Additional Test Configurations
From: Robert Ramey (ramey_at_[hidden])
Date: 2016-06-22 11:24:49


On 6/22/16 3:31 AM, Thomas Trummer wrote:
> On Wed, Jun 8, 2016 at 8:10 PM, John Maddock <jz.maddock_at_[hidden]> wrote:
>>
>> I also see a whole load of linker errors which I don't understand at
>> present:
>>
>> gcc.link.dll
>> ..\..\..\bin.v2\libs\serialization\build\gcc-mingw-5.3.0s14\debug\libboost_serialization-mgw53-d-1_62.dll.a
>> ..\..\..\bin.v2\libs\serialization\build\gcc-mingw-5.3.0s14\debug\binary_iarchive.o:
>> In function
>> `boost::serialization::singleton<boost::archive::detail::extra_detail::map<boost::archive::binary_iarchive>
>>> ::get_mutable_instance()':
>> M:\data\boost\boost\libs\serialization\build/../../../boost/serialization/singleton.hpp:131:
>> undefined reference to
>> `__imp__ZN5boost13serialization16singleton_module9is_lockedEv'
>
> The problem is that "BOOST_SERIALIZATION_DECL" expands to
> "__attribute__((__dllimport__))" in "singleton.hpp" when it is
> included from files that don't define "BOOST_SERIALIZATION_SOURCE"
> e.g. "binary_iarchive.cpp".

interesting observation. I'll look into this.
>
> Thomas
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk