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

Subject: [Boost-bugs] [Boost C++ Libraries] #10159: GCC 4.4 error sorry, unimplemented
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-29 13:10:51


#10159: GCC 4.4 error sorry, unimplemented
-----------------------------------------+----------------------
 Reporter: Niklas Angare <li51ckf02@…> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-----------------------------------------+----------------------
 A bunch of tests fail to compile on GCC 4.4 with -std=gnu++0x.
 Specifically it's my test runners NA-QNX650-SP1* on QNX 6.5.0 which are
 the only ones running that compiler configuration at the moment.

 For example async!__async_executor_p fails to compile with this message:
 {{{
 In file included from
 ../libs/thread/test/sync/futures/async/async_executor_pass.cpp:28:
 ../boost/thread/future.hpp: In function 'boost::future<Rp>
 boost::async(Executor&, R (*)(ArgTypes&& ...), ArgTypes&& ...)':
 ../boost/thread/future.hpp:3850: sorry, unimplemented: cannot expand
 'typename boost::decay<ArgTypes>::type ...' into a fixed-length argument
 list
 ../boost/thread/future.hpp:3850: error: invalid type in declaration before
 ';' token
 ../boost/thread/future.hpp:3851: error: 'BF' is not a class type
 ../boost/thread/future.hpp:3851: error: 'result_type' in class 'BF' does
 not name a type
 ../boost/thread/future.hpp:3851: error: invalid type in declaration before
 ';' token
 ../boost/thread/future.hpp: In function 'boost::future<typename
 boost::result_of<typename boost::decay<F>::type(typename
 boost::decay<ArgTypes>::type ...)>::type> boost::async(Executor&, F&&,
 ArgTypes&& ...)':
 ../boost/thread/future.hpp:3867: sorry, unimplemented: cannot expand
 'typename boost::decay<ArgTypes>::type ...' into a fixed-length argument
 list
 ../boost/thread/future.hpp:3867: error: invalid type in declaration before
 ';' token
 ../boost/thread/future.hpp:3868: error: 'BF' is not a class type
 ../boost/thread/future.hpp:3868: error: 'result_type' in class 'BF' does
 not name a type
 ../boost/thread/future.hpp:3868: error: invalid type in declaration before
 ';' token
 ../boost/thread/future.hpp: In member function 'void
 boost::detail::shared_state_nullary_task<Rp, Fp>::operator()() [with Rp =
 int, Fp = int]':
 ../boost/thread/detail/nullary_function.hpp:52: instantiated from 'void
 boost::detail::nullary_function<void()>::impl_type<F>::call() [with F =
 boost::detail::shared_state_nullary_task<int, int>]'
 ../libs/thread/test/sync/futures/async/async_executor_pass.cpp:251:
 instantiated from here
 ../boost/thread/future.hpp:3692: error:
 '((boost::detail::shared_state_nullary_task<int,
 int>*)this)->boost::detail::shared_state_nullary_task<int, int>::f_'
 cannot be used as a function
 }}}

 For example ex_with_lock_guard fails to compile with this message:
 {{{
 In file included from
 ../libs/thread/test/../example/with_lock_guard.cpp:13:
 ../boost/thread/with_lock_guard.hpp: In instantiation of 'decltype
 (func((#'template_id_expr' not supported by
 pp_c_expression#)(boost::with_lock_guard::args)...))
 boost::with_lock_guard(Lockable&, Function&&, Args&& ...) [with Lockable =
 boost::mutex, Function = void (&)(), Args = ]':
 ../boost/thread/with_lock_guard.hpp:52: instantiated from here
 ../boost/thread/with_lock_guard.hpp:56: sorry, unimplemented: mangling
 template_id_expr
 }}}

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