Re: [Boost-bugs] [Boost C++ Libraries] #10159: GCC 4.4 error sorry, unimplemented

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10159: GCC 4.4 error sorry, unimplemented
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-05 20:12:57


#10159: GCC 4.4 error sorry, unimplemented
------------------------------------------+----------------------
  Reporter: Niklas Angare <li51ckf02@…> | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
------------------------------------------+----------------------

Comment (by viboes):

 Hi, could you try this patch?


 {{{
 git diff include/boost/thread/future.hpp
 diff --git a/include/boost/thread/future.hpp
 b/include/boost/thread/future.hpp
 index 6443ba9..2c235ea 100644
 --- a/include/boost/thread/future.hpp
 +++ b/include/boost/thread/future.hpp
 @@ -3866,7 +3866,9 @@ namespace detail {
      // future<R> async(Executor& ex, F&&, ArgTypes&&...);
      ////////////////////////////////

 -#if ! defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
 +//#if ! defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
 +#if defined(BOOST_THREAD_PROVIDES_INVOKE) && !
 defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !
 defined(BOOST_NO_CXX11_HDR_TUPLE)
 +
  #if defined BOOST_THREAD_RVALUE_REFERENCES_DONT_MATCH_FUNTION_PTR

    template <class Executor, class R, class... ArgTypes>
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10159#comment:2>
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:16 UTC