Re: [Boost-bugs] [Boost C++ Libraries] #9612: Memory Access Violation when recursively serializing classes

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9612: Memory Access Violation when recursively serializing classes
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-03 16:35:45


#9612: Memory Access Violation when recursively serializing classes
------------------------------------------+---------------------------
  Reporter: Chris Rusby <chris.rusby@…> | Owner: ramey
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.55.0 | Severity: Problem
Resolution: invalid | Keywords:
------------------------------------------+---------------------------

Comment (by brandon.kohn):

 Strictly speaking, all serialization library needs to do to support this
 fix is to modify the way the singleton is exported. Currently the export
 specifier is on the static members of singleton. Moving the specifier to
 the class level allows users to do their own exports of the
 instantiations. The change works with all supported msvc compilers (i.e.
 since vc8) and on gcc 4.8.2. Perhaps it would be worthwhile to make the
 change on develop and see how the test runners perform? If anything I
 would say the mixing of extern/dllexport in the extern.hpp macros is the
 more risky proposition. However, it's easy enough for a user to implement
 those if needed.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9612#comment:9>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC