Boost C++ Libraries: Ticket #7707: clang + C++11 + libstdc++ compile errors https://svn.boost.org/trac10/ticket/7707 <p> There are a lot of errors when compiling with clang on c++11 mode and linking with the default library libstdc++. The errors come from the fact that the code is expecting the standard library to provide some c++11 features which are missing, as std::forward. </p> <pre class="wiki">clang-darwin.compile.c++ ../../../bin.v2/libs/smart_ptr/test/smart_ptr_test.test/clang-darwin-3.1x/debug/smart_ptr_test.o In file included from smart_ptr_test.cpp:36: In file included from ../../../boost/smart_ptr.hpp:28: In file included from ../../../boost/make_shared.hpp:15: In file included from ../../../boost/smart_ptr/make_shared.hpp:18: ../../../boost/smart_ptr/make_shared_array.hpp:54:36: error: no member named 'forward' in namespace 'std' d2-&gt;construct(p2, n1, std::forward&lt;Args&gt;(args)...); ~~~~~^ ../../../boost/smart_ptr/make_shared_array.hpp:54:44: error: 'Args' does not refer to a value d2-&gt;construct(p2, n1, std::forward&lt;Args&gt;(args)...); ^ ../../../boost/smart_ptr/make_shared_array.hpp:40:38: note: declared here template&lt;typename T, typename... Args&gt; ^ ../../../boost/smart_ptr/make_shared_array.hpp:71:36: error: no member named 'forward' in namespace 'std' d2-&gt;construct(p2, n1, std::forward&lt;Args&gt;(args)...); ~~~~~^ ../../../boost/smart_ptr/make_shared_array.hpp:71:44: error: 'Args' does not refer to a value d2-&gt;construct(p2, n1, std::forward&lt;Args&gt;(args)...); ^ ../../../boost/smart_ptr/make_shared_array.hpp:57:38: note: declared here template&lt;typename T, typename... Args&gt; </pre><p> See the attached file for a complete list of failures when running the smart_ptr tests. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7707 Trac 1.4.3 viboes Sun, 18 Nov 2012 09:36:03 GMT attachment set https://svn.boost.org/trac10/ticket/7707 https://svn.boost.org/trac10/ticket/7707 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">f.log</span> </li> </ul> Ticket viboes Sun, 18 Nov 2012 09:36:50 GMT version changed; cc set https://svn.boost.org/trac10/ticket/7707#comment:1 https://svn.boost.org/trac10/ticket/7707#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">viboes</span> added </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.52.0</span> → <span class="trac-field-new">Boost Development Trunk</span> </li> </ul> Ticket viboes Sun, 18 Nov 2012 09:40:58 GMT description changed https://svn.boost.org/trac10/ticket/7707#comment:2 https://svn.boost.org/trac10/ticket/7707#comment:2 <ul> <li><strong>description</strong> modified (<a href="/trac10/ticket/7707?action=diff&amp;version=2">diff</a>) </li> </ul> Ticket Peter Dimov Sun, 18 Nov 2012 12:56:36 GMT <link>https://svn.boost.org/trac10/ticket/7707#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7707#comment:3</guid> <description> <p> Are you sure you are testing the latest trunk? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Wed, 21 Nov 2012 14:29:58 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/7707#comment:4 https://svn.boost.org/trac10/ticket/7707#comment:4 <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> Vicente, since the std::forward references were already absent when you filed the ticket, and since you haven't provided any further feedback, I'm closing this as fixed. </p> Ticket