Boost logo

Boost :

Subject: Re: [boost] Boost Filesystem v3 - requires wstring - an obstacle to testing the serialization library
From: Thomas Trummer (th.trummer_at_[hidden])
Date: 2016-11-18 00:27:35


> On 17 Nov 2016, at 20:45, John Maddock <jz.maddock_at_[hidden]> wrote:
>
> I'm pretty sure I've posted these before, but here are the serialization build/linker errors I see locally:

For completeness I’ll also post the reason for this problem again:

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”.

Thomas


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