Re: [Boost-bugs] [Boost C++ Libraries] #4959: Linking Serialization static lib to a DLL breaks auto-import in MinGW

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4959: Linking Serialization static lib to a DLL breaks auto-import in MinGW
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-16 12:04:57


#4959: Linking Serialization static lib to a DLL breaks auto-import in MinGW
------------------------------------+---------------------------------------
  Reporter: jlcastillo@… | Owner: ramey
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.45.0 | Severity: Problem
Resolution: invalid | Keywords:
------------------------------------+---------------------------------------

Comment (by jlcastillo@…):

 I realize my explanation may lead to misunderstanding. I'll try to
 elaborate it further.

 a) "????????" was addded in replacement of the original text, because
 WikiFormatting complained about it (it seems there is some "intelligent"
 engine that rejects some words). It doesn't have any importance, just
 ignore it, you don't need to change those lines in the original file.

 b) The following lines are not present in the original
 /boost/serialization/force_include.hpp, and should be included:

 {{{
 # elif defined(__MINGW32__)
 # if defined(__GNUC__) && (__GNUC__ >= 3)
 # define BOOST_USED __attribute__ ((used))
 # endif
 }}}

 As you state, we can possibly omit "defined(__GNUC__)", as it could be
 implicitly defined along with __MINGW32__. I left it just to keep the same
 structure that I saw below. I guess "(__GNUC__ >= 3)" should remain.

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