This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Replace __bind_simple with std::thread::__make_invoker
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Thomas Schwinge <thomas at codesourcery dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 13 Oct 2016 13:20:57 +0100
- Subject: Re: [PATCH] Replace __bind_simple with std::thread::__make_invoker
- Authentication-results: sourceware.org; auth=none
- References: <20161013103706.GA11280@redhat.com> <874m4g30mh.fsf@kepler.schwinge.homeip.net>
On 13/10/16 14:16 +0200, Thomas Schwinge wrote:
Hi!
Build failure after trunk r241093:
[...]/source-gcc/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc:121:12: error: ISO C++ forbids declaration of '_Bind_simple_helper' with no type [-fpermissive]
template _Bind_simple_helper<void (thread::*)(), reference_wrapper<thread>>::__type __bind_simple(void (thread::*&&)(), reference_wrapper<thread>&&);
^~~~~~~~~~~~~~~~~~~
[...]/source-gcc/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc:121:12: error: '_Bind_simple_helper' is not a template function
[...]/source-gcc/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc:121:31: error: expected ';' before '<' token
template _Bind_simple_helper<void (thread::*)(), reference_wrapper<thread>>::__type __bind_simple(void (thread::*&&)(), reference_wrapper<thread>&&);
^
Erk, I meant to move the removed code to the compatibility file, but
lost that part of the commit, sorry.
Fix coming up ...