Boost C++ Libraries: Ticket #12371: boost thread/future.hpp fails to build https://svn.boost.org/trac10/ticket/12371 <p> Upgrading from Boost 1.41 to 1.61. When compiling an application that uses boost thread library, I get the following errors: </p> <pre class="wiki">/usr/local/include/boost/thread/future.hpp: In member function ‘void boost::detail::future_async_shared_state&lt;Rp, Fp&gt;::init(const Fp&amp;)’: /usr/local/include/boost/thread/future.hpp:856: error: expected primary-expression before ‘(’ token /usr/local/include/boost/thread/future.hpp: In member function ‘void boost::detail::future_async_shared_state&lt;void, Fp&gt;::init(const Fp&amp;)’: /usr/local/include/boost/thread/future.hpp:881: error: expected primary-expression before ‘(’ token /usr/local/include/boost/thread/future.hpp: In member function ‘void boost::detail::future_async_shared_state&lt;Rp&amp;, Fp&gt;::init(const Fp&amp;)’: /usr/local/include/boost/thread/future.hpp:907: error: expected primary-expression before ‘(’ token </pre><p> Each of these lines is a call to the boost::thread constructor, but they are not prepended with the "boost::" namespace. Adding "boost::" to these three lines fixes the error. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12371 Trac 1.4.3 Matthew Ferrante <matthew.ferrante717@…> Tue, 02 Aug 2016 19:10:38 GMT component changed; owner set https://svn.boost.org/trac10/ticket/12371#comment:1 https://svn.boost.org/trac10/ticket/12371#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Anthony Williams</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">thread</span> </li> </ul> Ticket viboes Mon, 08 Aug 2016 23:12:30 GMT owner, status, description changed https://svn.boost.org/trac10/ticket/12371#comment:2 https://svn.boost.org/trac10/ticket/12371#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/12371?action=diff&amp;version=2">diff</a>) </li> </ul> Ticket viboes Mon, 08 Aug 2016 23:12:55 GMT <link>https://svn.boost.org/trac10/ticket/12371#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12371#comment:3</guid> <description> <p> Sorry for been late. I will take a look at asap. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Tue, 09 Aug 2016 00:22:00 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/12371#comment:4 https://svn.boost.org/trac10/ticket/12371#comment:4 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.62.0</span> </li> </ul> <p> This seems to be already fixed. </p> Ticket viboes Fri, 19 Aug 2016 21:14:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12371#comment:5 https://svn.boost.org/trac10/ticket/12371#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket