Boost C++ Libraries: Ticket #9340: compile error in make_shared_object.hpp with intel-linux-14.0.1 https://svn.boost.org/trac10/ticket/9340 <p> The following error is reprted by the regression tests </p> <pre class="wiki"> Test output: lazy piranha fedora 19 64 C++11 - thread - sync_bounded_queue__single_thread_p / intel-linux-14.0.1 Rev 86557 / Mon, 04 Nov 2013 03:10:05 +0000 Compile [2013-11-04 10:17:41 UTC]: fail "/home/michael/programming/compilers/intel/composer_xe_2013_sp1.1.106/bin/intel64/icpc" -c -xc++ -std=c++11 -O0 -g -w2 -inline-level=0 -pthread -fPIC -wd1418 -wd193,304,383,444 -wd2415 -wd593,981 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED -DBOOST_THREAD_USE_DLL=1 -I".." -c -o "/home/michael/boost_testing/results/boost/bin.v2/libs/thread/test/sync_bounded_queue__single_thread_p.test/intel-linux-14.0.1/debug/threading-multi/sync/mutual_exclusion/sync_bounded_queue/single_thread_pass.o" "../libs/thread/test/sync/mutual_exclusion/sync_bounded_queue/single_thread_pass.cpp" ../boost/smart_ptr/make_shared_object.hpp(216): error: expected a ")" ::new( pv ) T( boost::detail::sp_forward&lt;Arg1&gt;( arg1 ), boost::detail::sp_forward&lt;Args&gt;( args )... ); ^ detected during: instantiation of "boost::detail::sp_if_not_array&lt;T&gt;::type boost::make_shared&lt;T,Arg1,Args...&gt;(Arg1 &amp;&amp;, Args &amp;&amp;...) [with T=int, Arg1=int, Args=&lt;&gt;]" at line 169 of "../boost/thread/sync_bounded_queue.hpp" instantiation of "boost::shared_ptr&lt;ValueType&gt; boost::sync_bounded_queue&lt;ValueType&gt;::ptr_pull(boost::unique_lock&lt;boost::mutex&gt; &amp;) [with ValueType=int]" at line 299 of "../boost/thread/sync_bounded_queue.hpp" instantiation of "boost::shared_ptr&lt;ValueType&gt; boost::sync_bounded_queue&lt;ValueType&gt;::try_pull(boost::unique_lock&lt;boost::mutex&gt; &amp;) [with ValueType=int]" at line 341 of "../boost/thread/sync_bounded_queue.hpp" instantiation of "boost::shared_ptr&lt;ValueType&gt; boost::sync_bounded_queue&lt;ValueType&gt;::try_pull() [with ValueType=int]" at line 63 of "../libs/thread/test/sync/mutual_exclusion/sync_bounded_queue/single_thread_pass.cpp" compilation aborted for ../libs/thread/test/sync/mutual_exclusion/sync_bounded_queue/single_thread_pass.cpp (code 2) </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9340 Trac 1.4.3 Peter Dimov Wed, 12 Feb 2014 00:43:49 GMT <link>https://svn.boost.org/trac10/ticket/9340#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9340#comment:1</guid> <description> <p> Should be fixed in both develop and master, but this particular test doesn't seem to be alive, so no way to check. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Fri, 14 Feb 2014 15:34:42 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9340#comment:2 https://svn.boost.org/trac10/ticket/9340#comment:2 <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> Tester is up and running again, tests pass, closing as fixed. </p> Ticket