18 Nov
2016
18 Nov
'16
5:27 a.m.
On 17 Nov 2016, at 20:45, John Maddock
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