Opened 6 years ago

Closed 6 years ago

#12425 closed Bugs (fixed)

stdlib/libstdcpp3.hpp incorrectly configured for Oracle Developer Studio 12.5 (__SUNPRO)

Reported by: Aparna Kumta <aparna.kumta@…> Owned by: John Maddock
Milestone: To Be Determined Component: config
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

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

Change History (1)

comment:1 by John Maddock, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.