[PATCH] Replace __bind_simple with std::thread::__make_invoker
Jonathan Wakely
jwakely@redhat.com
Thu Oct 13 12:21:00 GMT 2016
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 ...
More information about the Libstdc++
mailing list