MystBin
/GiantsHeightResidence Created 2 years, 10 months ago...
Raw
migrated.txt Hide Copy Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
In file included from server.cpp:7: C:/gcc-lua-install/tdm-gcc/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/thread: In instantiation of 'std::thread::thread(_Callable&&, _Args&& ...) [with _Callable = int (&)(client_type&, std::vector<client_type>&, std::thread&); _Args = {std::reference_wrapper<client_type>, std::reference_wrapper<client_type>, std::reference_wrapper<std::vector<client_type, std::allocator<client_type> > >, std::reference_wrapper<std::thread>}; <template-parameter-1-3> = void]': server.cpp:141:151: required from here C:/gcc-lua-install/tdm-gcc/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/thread:120:44: error: static assertion failed: std::thread arguments must be invocable after conversion to rvalues 120 | typename decay<_Args>::type...>::value, | ^~~~~ C:/gcc-lua-install/tdm-gcc/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/thread: In instantiation of 'struct std::thread::_Invoker<std::tuple<int (*)(client_type&, std::vector<client_type, std::allocator<client_type> >&, std::thread&), std::reference_wrapper<client_type>, std::reference_wrapper<client_type>, std::reference_wrapper<std::vector<client_type, std::allocator<client_type> > >, std::reference_wrapper<std::thread> > >': C:/gcc-lua-install/tdm-gcc/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/thread:131:22: required from 'std::thread::thread(_Callable&&, _Args&& ...) [with _Callable = int (&)(client_type&, std::vector<client_type>&, std::thread&); _Args = {std::reference_wrapper<client_type>, std::reference_wrapper<client_type>, std::reference_wrapper<std::vector<client_type, std::allocator<client_type> > >, std::reference_wrapper<std::thread>}; <template-parameter-1-3> = void]' server.cpp:141:151: required from here C:/gcc-lua-install/tdm-gcc/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/thread:243:4: error: no type named 'type' in 'struct std::thread::_Invoker<std::tuple<int (*)(client_type&, std::vector<client_type, std::allocator<client_type> >&, std::thread&), std::reference_wrapper<client_type>, std::reference_wrapper<client_type>, std::reference_wrapper<std::vector<client_type, std::allocator<client_type> > >, std::reference_wrapper<std::thread> > >::__result<std::tuple<int (*)(client_type&, std::vector<client_type, std::allocator<client_type> >&, std::thread&), std::reference_wrapper<client_type>, std::reference_wrapper<client_type>, std::reference_wrapper<std::vector<client_type, std::allocator<client_type> > >, std::reference_wrapper<std::thread> > >' 243 | _M_invoke(_Index_tuple<_Ind...>) | ^~~~~~~~~ C:/gcc-lua-install/tdm-gcc/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/thread:247:2: error: no type named 'type' in 'struct std::thread::_Invoker<std::tuple<int (*)(client_type&, std::vector<client_type, std::allocator<client_type> >&, std::thread&), std::reference_wrapper<client_type>, std::reference_wrapper<client_type>, std::reference_wrapper<std::vector<client_type, std::allocator<client_type> > >, std::reference_wrapper<std::thread> > >::__result<std::tuple<int (*)(client_type&, std::vector<client_type, std::allocator<client_type> >&, std::thread&), std::reference_wrapper<client_type>, std::reference_wrapper<client_type>, std::reference_wrapper<std::vector<client_type, std::allocator<client_type> > >, std::reference_wrapper<std::thread> > >' 247 | operator()()