[Boost-bugs] [Boost C++ Libraries] #11219: ~basic_irachive is protected in library causing linking to fail

Subject: [Boost-bugs] [Boost C++ Libraries] #11219: ~basic_irachive is protected in library causing linking to fail
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-04-21 09:30:11


#11219: ~basic_irachive is protected in library causing linking to fail
-------------------------------------------+---------------------------
 Reporter: Mika Fischer <mika.fischer@…> | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.58.0 | Severity: Problem
 Keywords: |
-------------------------------------------+---------------------------
 ~basic_iarchive is declared public, but somehow in the library it ends up
 as protected, causing a linker failure.

 This happens with 1.58.0 on Windows 32 bit with VC 2013. It does not
 happen on Windows 64 bits or on Linux.

 dumpbin Output 32bits:
 {{{
 591 00000000 UNDEF notype () External |
 ??1basic_iarchive_at_detail@archive_at_boost@@IAE_at_XZ (protected: __thiscall
 boost::archive::detail::basic_iarchive::~basic_iarchive(void))
 }}}

 dumpbin Output 64bits:
 {{{
 337 00000000 UNDEF notype () External |
 ??1basic_iarchive_at_detail@archive_at_boost@@QEAA_at_XZ (public: __cdecl
 boost::archive::detail::basic_iarchive::~basic_iarchive(void))
 }}}

 linker error on 32bit Windows with VC2013
 {{{
 error LNK2019: unresolved external symbol "public: __thiscall
 boost::archive::detail::basic_iarchive::~basic_iarchive(void)"
 (??1basic_iarchi
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11219>
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:18 UTC