[PATCH] Replace __bind_simple with std::thread::__make_invoker
Jonathan Wakely
jwakely@redhat.com
Thu Oct 13 12:39:00 GMT 2016
On 13/10/16 13:20 +0100, Jonathan Wakely wrote:
>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 ...
Fix committed to trunk, and tested with a clean build this time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 3357 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20161013/e6b994c0/attachment.bin>
More information about the Libstdc++
mailing list