Re: [Boost-bugs] [Boost C++ Libraries] #4767: MinGW: text_Xarchive_impl destructors marked dllimport

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4767: MinGW: text_Xarchive_impl destructors marked dllimport
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-03 17:00:28


#4767: MinGW: text_Xarchive_impl destructors marked dllimport
-----------------------------------------+----------------------------------
  Reporter: Jim Bell <jim@…> | Owner: ramey
      Type: Bugs | Status: reopened
 Milestone: Boost 1.46.0 | Component: date_time
   Version: Boost Development Trunk | Severity: Regression
Resolution: | Keywords: mingw date_time testgreg_serialize_dll BOOST_ARCHIVE_SOURCE
-----------------------------------------+----------------------------------

Comment (by ramey):

 This cannot be the correct fix.

 I did find the following in text_iarchive.hpp


 {{{
     BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
     ~text_iarchive_impl(){};
 }}}

 Which marks an inline function as imported. Of course this doesn't look
 correct and it seems that other compilers ignore it. I'll make this
 change and see if it fixes the problem.

 Robert Ramey

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4767#comment:5>
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