[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-bugs
Subject: [Boost-bugs] [Boost C++ Libraries] #3491: [serialization] Fails
From: "Boost C++ Libraries" <noreply () lists ! boost ! org>
Date: 2009-09-28 9:06:35
Message-ID: 038.0576aa6ef3f5530543477e43e8b157fb () lists ! boost ! org
[Download RAW message or body]
#3491: [serialization] Fails when static library used along with DLL
------------------------------------------------------------+---------------
Reporter: Chard | Owner: ramey
Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: serialization
Version: Boost 1.40.0 | Severity: Problem
Keywords: static library dll polymorphic BOOST_DLLEXPORT |
------------------------------------------------------------+---------------
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.
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.
The attached MSVC71 solution demonstrates the issue.
--
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3491>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
_______________________________________________
Boost-bugs mailing list
Boost-bugs@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic