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-06-24 22:02:30


#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 anonymous):

 Hi again,

 We've come up against a situation which cannot easily be worked around,
 and hence I'm having to revisit this. I do believe that Brandon's fix is
 good. In fact, my current plan is to patch in his change to just
 singleton.hpp in our boost install; the rest can be managed within our
 codebase.

 I don't see an reason why the BOOST_DLLEXPORT needs to be on each
 function, rather than on the class itself. If it could be moved, then it
 would resolve my issue.

 Note that, with C++ 11's comes extern templates, and this is the "proper"
 fix for this issue as then there will only be one singleton
 implementation.

 Thanks,

 Chris

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9612#comment:15>
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:16 UTC