[Boost-bugs] [Boost C++ Libraries] #13460: broken shared build.

Subject: [Boost-bugs] [Boost C++ Libraries] #13460: broken shared build.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-01 10:07:53


#13460: broken shared build.
------------------------------+-----------------------------
 Reporter: pawels@… | Owner: Vladimir Prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: program_options
  Version: Boost 1.66.0 | Severity: Regression
 Keywords: |
------------------------------+-----------------------------
 hi,

 i'm using a boost with a custom namespace (e.g. bcp
 --namespace='''foobar''' --namespace-alias ...). for such configuration
 the current version of program_options doesn't export symbols from shared
 library.

 afaics the current boost build system defines in such configuration
 -D'''FOOBAR'''_PROGRAM_OPTIONS_DYN_LINK=1 macro which doesn't match the
 boost/program_options/config.hpp:37 #ifdef:

 #if defined(BOOST_ALL_DYN_LINK) ||
 defined('''BOOST'''_PROGRAM_OPTIONS_DYN_LINK)

 finally, the BOOST_PROGRAM_OPTIONS_DECL macro is empty.

 this is a regression from boost-1.64.0.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13460>
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 : 2018-03-01 10:11:25 UTC