Boost C++ Libraries: Ticket #12425: stdlib/libstdcpp3.hpp incorrectly configured for Oracle Developer Studio 12.5 (__SUNPRO) https://svn.boost.org/trac10/ticket/12425 <p> 1) The following macros in boost/config/stdlib/libstdcpp3.hpp, are incorrectly configured for Oracle Developer Studio 12.5. </p> <blockquote> <p> 261 <em> Headers not present on Solaris with the Oracle compiler: 262 #if defined(<span class="underline">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 </span></em><span class="underline"> shared_ptr is present, but is not convertible to bool 267 <em> which causes all kinds of problems especially in Boost.Thread 268 </em> but probably elsewhere as well. 269 #define BOOST_NO_CXX11_SMART_PTR 270 #endif </span></p> </blockquote> <p> The headers are present in Oracle Developer Studio 12.5. </p> <p> 2) BOOST_LIBSTDCXX_VERSION </p> <blockquote> <p> 149 #if defined(<span class="underline">SUNPRO_CC) &amp;&amp; (</span>SUNPRO_CC &gt;= 0x5130) &amp;&amp; (<span class="underline">cplusplus &gt;= 201103L) 150 <em> 151 </em> Oracle Solaris compiler uses it's own verison of libstdc++ but doesn't 152 <em> set </em></span><em>GNUC<span class="underline"> 153 </span></em><span class="underline"> 154 #define BOOST_LIBSTDCXX_VERSION 40800 155 #endif </span></p> </blockquote> <p> Line 154 should be #define BOOST_LIBSTDCXX_VERSION 50100 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12425 Trac 1.4.3 John Maddock Sun, 04 Sep 2016 16:15:41 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12425#comment:1 https://svn.boost.org/trac10/ticket/12425#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/config/commit/a17bb6c8da531a0a5cba18cfb1f4c4071fc051e9"><span class="icon">​</span>https://github.com/boostorg/config/commit/a17bb6c8da531a0a5cba18cfb1f4c4071fc051e9</a>, thanks! </p> Ticket