-
-
Save rightfold/e9be4533f0357ca3a320 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from test/io_service_test.cpp:1: | |
In file included from include/asio-sol.hpp:1: | |
In file included from include/asio-sol/install.hpp:2: | |
In file included from include/asio-sol/io_service.hpp:3: | |
In file included from /usr/local/include/sol.hpp:25: | |
In file included from /usr/local/include/sol/state.hpp:26: | |
In file included from /usr/local/include/sol/table.hpp:28: | |
/usr/local/include/sol/userdata.hpp:301:13: error: no matching member function for call to 'build_function_tables' | |
build_function_tables<N + V>(index, newindex, std::forward<Args>(args)...); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/include/sol/userdata.hpp:330:9: note: in instantiation of function template specialization | |
'sol::userdata<boost::asio::io_service>::build_function_tables<0, char const (&)[4], void (*)(boost::asio::io_service &)>' requested | |
here | |
build_function_tables<0>(index, newindex, std::forward<Args>(args)...); | |
^ | |
/usr/local/include/sol/userdata.hpp:317:31: note: in instantiation of function template specialization | |
'sol::userdata<boost::asio::io_service>::userdata<char const (&)[16], char const (&)[4], void (*)(boost::asio::io_service &), | |
sol::types<> >' requested here | |
userdata(Args&&... args): userdata(userdata_traits<T>::name, default_constructor, std::forward<Args>(args)...) {} | |
^ | |
include/asio-sol/io_service.hpp:8:48: note: in instantiation of function template specialization | |
'sol::userdata<boost::asio::io_service>::userdata<char const (&)[16], char const (&)[4], void (*)(boost::asio::io_service &)>' | |
requested here | |
sol::userdata<boost::asio::io_service> io_service( | |
^ | |
/usr/local/include/sol/userdata.hpp:297:10: note: candidate function template not viable: requires at least 4 arguments, but 3 were provided | |
void build_function_tables(function_map_t*& index, function_map_t*& newindex, std::string funcname, Fx&& func, Args&&... args) { | |
^ | |
/usr/local/include/sol/userdata.hpp:309:10: note: candidate function template not viable: requires at least 4 arguments, but 3 were provided | |
void build_function_tables(function_map_t*& index, function_map_t*& newindex, meta_function metafunc, Ret Base::* func, Args&&..... | |
^ | |
/usr/local/include/sol/userdata.hpp:160:10: note: candidate function template not viable: requires 2 arguments, but 3 were provided | |
void build_function_tables(function_map_t*& index, function_map_t*& newindex) { | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
2 errors generated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment