id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 10159,"GCC 4.4 error sorry, unimplemented",Niklas Angare ,viboes,"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 boost::async(Executor&, R (*)(ArgTypes&& ...), ArgTypes&& ...)': ../boost/thread/future.hpp:3850: sorry, unimplemented: cannot expand 'typename boost::decay::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::type(typename boost::decay::type ...)>::type> boost::async(Executor&, F&&, ArgTypes&& ...)': ../boost/thread/future.hpp:3867: sorry, unimplemented: cannot expand 'typename boost::decay::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::operator()() [with Rp = int, Fp = int]': ../boost/thread/detail/nullary_function.hpp:52: instantiated from 'void boost::detail::nullary_function::impl_type::call() [with F = boost::detail::shared_state_nullary_task]' ../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*)this)->boost::detail::shared_state_nullary_task::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 }}} ",Bugs,closed,Boost 1.57.0,thread,Boost Development Trunk,Problem,fixed,,