Robert Ramey schrieb:
well, we wouldn't put it in there if there was an easy way around it.
You could comment out all the _export keywords in the code. But its doubtful that serialization of pointers could be made to work.
Well, since nobody can help we'll have to figure it out for ourselves. For starters we disabled the #if defined(BOOST_HAS_DECLSPEC) && !defined(__COMO__) # if defined(__BORLANDC__) # define BOOST_DLLEXPORT __export # else # define BOOST_DLLEXPORT __declspec(dllexport) # endif #elif ! defined(_WIN32) && ! defined(_WIN64) # if defined(__MWERKS__) # define BOOST_DLLEXPORT __declspec(dllexport) # elif defined(__GNUC__) && (__GNUC__ >= 3) # define BOOST_USED __attribute__ ((used)) # elif defined(__INTEL_COMPILER) && (BOOST_INTEL_CXX_VERSION >= 800) # define BOOST_USED __attribute__ ((used)) # endif #endif block in serialization/force_include.hpp, which fixes our problem. The first few lines seem to be wrong, a __declspec(dllexport) should never be visible unless a DLL is generated. Regards, tv