[Boost-bugs] [Boost C++ Libraries] #12783: Make some existing solaris-specific flags only be used with the solaris studio toolset

Subject: [Boost-bugs] [Boost C++ Libraries] #12783: Make some existing solaris-specific flags only be used with the solaris studio toolset
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-24 19:20:54


#12783: Make some existing solaris-specific flags only be used with the solaris
studio toolset
----------------------------+--------------------------
 Reporter: anonymous | Type: Bugs
   Status: new | Milestone: Boost 1.65.0
Component: Building Boost | Version: Boost 1.63.0
 Severity: Regression | Keywords:
----------------------------+--------------------------
 When building in solaris it automatically incorporates the following
 pre-processor definitions in a number of projects:

 -D_XOPEN_SOURCE=500
 -D__EXTENSIONS__

 In either 1.45 or 1.46 these were only present in boost.asio but they've
 since been propagated to a number of other projects.

 These should only be defined when using the solaris studio toolset.
 When building with the gcc toolset these definitions trip things
 up when feature_tests.h is included.

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