Opened 6 years ago
#12783 new Bugs
Make some existing solaris-specific flags only be used with the solaris studio toolset
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Milestone: | Boost 1.65.0 | Component: | Building Boost |
Version: | Boost 1.63.0 | Severity: | Regression |
Keywords: | Cc: |
Description
When building in solaris it automatically incorporates the following pre-processor definitions in a number of projects:
-D_XOPEN_SOURCE=500 -DEXTENSIONS
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.
Note:
See TracTickets
for help on using tickets.