Boost C++ Libraries: Ticket #10523: clang 3.4.2 (and greater) defines BOOST_NO_CXX11_SMART_PTR https://svn.boost.org/trac10/ticket/10523 <p> Due to the following code in boost/config/stdlib/libstdcpp3.hpp BOOST_NO_CXX11_SMART_PTR (among other things) is getting defined for clang 3.4.2 built with gcc-4.8.2 on CentOS 7. Apparently clang 3.4.2 defines <span class="underline">GNUC</span> as 4 and <span class="underline">GNUC_MINOR</span> as 2. </p> <p> The net effect is that no get_pointer is defined for std::shared_ptr and boost::binds break down. </p> <pre class="wiki">#if __GNUC__ &lt; 4 || (__GNUC__ == 4 &amp;&amp; __GNUC_MINOR__ &lt; 4) || !defined(__GXX_EXPERIMENTAL_CXX0X__) # define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE # define BOOST_NO_CXX11_HDR_FORWARD_LIST # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST # define BOOST_NO_CXX11_HDR_MUTEX # define BOOST_NO_CXX11_HDR_RATIO # define BOOST_NO_CXX11_HDR_SYSTEM_ERROR # define BOOST_NO_CXX11_SMART_PTR #else # define BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG # define BOOST_HAS_TR1_COMPLEX_OVERLOADS #endif </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10523 Trac 1.4.3 viboes Mon, 22 Sep 2014 17:10:14 GMT description changed https://svn.boost.org/trac10/ticket/10523#comment:1 https://svn.boost.org/trac10/ticket/10523#comment:1 <ul> <li><strong>description</strong> modified (<a href="/trac10/ticket/10523?action=diff&amp;version=1">diff</a>) </li> </ul> Ticket viboes Fri, 26 Sep 2014 05:57:39 GMT component changed; owner set https://svn.boost.org/trac10/ticket/10523#comment:2 https://svn.boost.org/trac10/ticket/10523#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">John Maddock</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">config</span> </li> </ul> Ticket John Maddock Fri, 26 Sep 2014 07:33:38 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10523#comment:3 https://svn.boost.org/trac10/ticket/10523#comment:3 <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">duplicate</span> </li> </ul> <p> This one keeps comming up - it's an intractable/unfixable issue - see <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/7473"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/7473</a> </p> Ticket