Re: [Boost-bugs] [Boost C++ Libraries] #4698: serialization link errors mingw

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4698: serialization link errors mingw
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-18 00:13:53


#4698: serialization link errors mingw
-------------------------------------------------+--------------------------
  Reporter: Anton Sergunov <setosha@…> | Owner: ramey
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------+--------------------------

Comment (by Jim Bell <jim@…>):

 Demangled, the name translates to

 boost::serialization::singleton<boost::archive::detail::(anonymous
 namespace)::map<boost::archive::xml_iarchive> >::get_instance()

 The unnamed namespace is what's causing the problem. I give the namespace
 a name ('extra_detail' for example), and these linker errors go away.

 There are two files using them: archive/impl/archive_serializer_map.ipp
 and serialization/export.hpp.

 See the attached patch file.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4698#comment:4>
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:04 UTC