[Boost-bugs] [Boost C++ Libraries] #12371: boost thread/future.hpp fails to build

Subject: [Boost-bugs] [Boost C++ Libraries] #12371: boost thread/future.hpp fails to build
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-02 18:54:47


#12371: boost thread/future.hpp fails to build
-------------------------------------------------+-------------------------
 Reporter: Matthew Ferrante | Type: Bugs
  <matthew.ferrante717@…> | Milestone: To Be
   Status: new | Determined
Component: None | Version: Boost
 Severity: Problem | 1.61.0
                                                 | Keywords:
-------------------------------------------------+-------------------------
 Upgrading from Boost 1.41 to 1.61. When compiling an application that uses
 boost thread library, I get the following errors:

 /usr/local/include/boost/thread/future.hpp: In member function ‘void
 boost::detail::future_async_shared_state<Rp, Fp>::init(const Fp&)’:
 /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<void, Fp>::init(const Fp&)’:
 /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<Rp&, Fp>::init(const Fp&)’:
 /usr/local/include/boost/thread/future.hpp:907: error: expected primary-
 expression before ‘(’ token

 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12371>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC