Boost C++ Libraries: Ticket #3491: [serialization] Fails when static library used along with DLL https://svn.boost.org/trac10/ticket/3491 <p> If the serialization code of some polymorphic type is performed in the DLL, and there is a static library which derives from this type, the guid registration mechanism can result is duplicate guids and lead to failure. </p> <p> This issue also shows how the BOOST_DLLEXPORT (stop linker dead-stripping) trick results in (MSVC) linker LNK4006 warnings for this type of set up. </p> <p> The attached MSVC71 solution demonstrates the issue. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3491 Trac 1.4.3 Chard Mon, 28 Sep 2009 09:07:02 GMT attachment set https://svn.boost.org/trac10/ticket/3491 https://svn.boost.org/trac10/ticket/3491 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_serialization_lib_test.zip</span> </li> </ul> <p> MSVC71 project </p> Ticket Robert Ramey Sun, 11 Oct 2009 18:04:22 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3491#comment:1 https://svn.boost.org/trac10/ticket/3491#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I've made significant changes regarding the serialization in DLLS in the next release (1.41). I built and ran your demo against this version and everything went well. So I'm thinking that this is fixed. </p> <p> Robert Ramey </p> Ticket