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-06 03:42:54


#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 Jim Bell <jim@…>):

 The test compiles with BOOST_ALL_DYN_LINK, and with that defined, archives
 select only export or import (based on BOOST_ARCHIVE_SOURCE). Are you
 introducing a third way? A new BOOST_ARCHIVE_... flag? Won't that break
 existing code?

 You say: ''Any test which uses the the library should import the symbols
 from the library/dll.''

 It does use the serialization DLL, but not the archive via DLL. In another
 situation, someone could put the archive in its own DLL, and would still
 use BOOST_ALL_DYN_LINK. The only flag distinguishing these two cases seems
 to be BOOST_ARCHIVE_SOURCE.

 (Please forgive me for belaboring this.)

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