Boost C++ Libraries: Ticket #3933: serialization assertion failure on windows using DLLs https://svn.boost.org/trac10/ticket/3933 <p> On Windows I get an assertion failure in void_cast.cpp line 225 with the following scenario: </p> <p> DLL 1 has concrete class C which inherits from virtual B, which inherits from virtual A. BOOST_CLASS_EXPORT(C) is used. </p> <p> a static C exists. </p> <p> DLL 2 has concrete class D which inherits from virtual B. BOOST_CLASS_EXPORT(D) is used. </p> <p> a static D exists and will be instantiated when the library is loaded. </p> <p> main.cpp - contains an instantiation of D to make main.exe depend on both DLL 1 and DLL 2. </p> <p> this same test passes on UNIX. It's as if on windows it is trying to register B twice. Taking out the assert (as was the case in all previous boost versions) makes things work ok. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3933 Trac 1.4.3 anonymous Tue, 16 Feb 2010 10:40:38 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3933#comment:1 https://svn.boost.org/trac10/ticket/3933#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">duplicate</span> </li> </ul> Ticket