Subject: [Boost-bugs] [Boost C++ Libraries] #12425: stdlib/libstdcpp3.hpp incorrectly configured for Oracle Developer Studio 12.5 (__SUNPRO)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-31 20:53:12
#12425: stdlib/libstdcpp3.hpp incorrectly configured for Oracle Developer Studio
12.5 (__SUNPRO)
-------------------------------------------+-------------------------
Reporter: Aparna Kumta <aparna.kumta@â¦> | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: config
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------------+-------------------------
1) The following macros in boost/config/stdlib/libstdcpp3.hpp, are
incorrectly configured for Oracle Developer Studio 12.5.
261 // Headers not present on Solaris with the Oracle compiler:
262 #if defined(__SUNPRO_CC)
263 #define BOOST_NO_CXX11_HDR_FUTURE
264 #define BOOST_NO_CXX11_HDR_FORWARD_LIST
265 #define BOOST_NO_CXX11_HDR_ATOMIC
266 // shared_ptr is present, but is not convertible to bool
267 // which causes all kinds of problems especially in Boost.Thread
268 // but probably elsewhere as well.
269 #define BOOST_NO_CXX11_SMART_PTR
270 #endif
The headers are present in Oracle Developer Studio 12.5.
2) BOOST_LIBSTDCXX_VERSION
149 #if defined(__SUNPRO_CC) && (__SUNPRO_CC >= 0x5130) &&
(__cplusplus >= 201103L)
150 //
151 // Oracle Solaris compiler uses it's own verison of libstdc++ but
doesn't
152 // set __GNUC__
153 //
154 #define BOOST_LIBSTDCXX_VERSION 40800
155 #endif
Line 154 should be
#define BOOST_LIBSTDCXX_VERSION 50100
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12425> 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