-
-
Save Nava2/c9775f4ad3ba87e6b857 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 sol2/sol.hpp:25: | |
In file included from sol2/sol/state.hpp:25: | |
In file included from sol2/sol/state_view.hpp:26: | |
In file included from sol2/sol/table.hpp:25: | |
In file included from sol2/sol/table_core.hpp:25: | |
In file included from sol2/sol/proxy.hpp:26: | |
In file included from sol2/sol/object.hpp:26: | |
sol2/sol/stack.hpp:76:12: error: implicit instantiation of undefined template | |
'sol::stack::getter<sol::type, void>' | |
return getter<Unqualified<T>>{}.get(L, index); | |
^ | |
sol2/sol/stack.hpp:261:44: note: in instantiation of function template specialization | |
'sol::stack::get<sol::type>' requested here | |
const type expectedmetatabletype = get<type>(L); | |
^ | |
sol2/sol/stack.hpp:43:8: note: template is declared here | |
struct getter; | |
^ | |
sol2/sol/stack.hpp:856:108: error: missing default argument on parameter 'fxargs' | |
inline int typed_call(types<void> tr, types<Args...> ta, Fx&& fx, lua_State* L, int start = 1, FxArgs&&... fxargs) { | |
^ | |
sol2/sol/stack.hpp:864:113: error: missing default argument on parameter 'fxargs' | |
inline int typed_call(types<Ret0, Ret...>, types<Args...> ta, Fx&& fx, lua_State* L, int start = 1, FxArgs&&... fxargs) { | |
^ | |
sol2/sol/stack.hpp:872:21: error: no matching function for call to 'get' | |
type metatype = stack::get<type>(L); | |
^~~~~~~~~~~~~~~~ | |
sol2/sol/stack.hpp:75:23: note: candidate template ignored: substitution failure [with T = sol::type] | |
inline decltype(auto) get(lua_State* L, int index = -1) { | |
In file included from sol2/sol.hpp:25: | |
In file included from sol2/sol/state.hpp:25: | |
In file included from sol2/sol/state_view.hpp:26: | |
In file included from sol2/sol/table.hpp:25: | |
In file included from sol2/sol/table_core.hpp:25: | |
In file included from sol2/sol/proxy.hpp:26: | |
In file included from sol2/sol/object.hpp:27: | |
In file included from sol2/sol/function.hpp:28: | |
In file included from sol2/sol/function_types.hpp:27: | |
In file included from sol2/sol/function_types_allocator.hpp:26: | |
sol2/sol/function_types_overload.hpp:67:102: error: missing default argument on parameter 'args' | |
inline int overload_match_arity(Match&& matchfx, lua_State* L, int fxarity, int start = 1, Args&&... args) { | |
^ | |
sol2/sol/function_types_overload.hpp:72:83: error: missing default argument on parameter 'args' | |
inline int overload_match(Match&& matchfx, lua_State* L, int start = 1, Args&&... args) { | |
^ | |
In file included from sol2/sol.hpp:25: | |
In file included from sol2/sol/state.hpp:25: | |
In file included from sol2/sol/state_view.hpp:26: | |
In file included from sol2/sol/table.hpp:25: | |
In file included from sol2/sol/table_core.hpp:25: | |
In file included from sol2/sol/proxy.hpp:26: | |
In file included from sol2/sol/object.hpp:27: | |
In file included from sol2/sol/function.hpp:28: | |
In file included from sol2/sol/function_types.hpp:27: | |
sol2/sol/function_types_allocator.hpp:75:9: error: no matching function for call to 'get' | |
if (stack::get<type>(L) == type::nil) { | |
^~~~~~~~~~~~~~~~ | |
sol2/sol/stack.hpp:75:23: note: candidate template ignored: substitution failure [with T = sol::type] | |
inline decltype(auto) get(lua_State* L, int index = -1) { | |
^ | |
In file included from sol2/sol.hpp:25: | |
In file included from sol2/sol/state.hpp:25: | |
In file included from sol2/sol/state_view.hpp:26: | |
In file included from sol2/sol/table.hpp:25: | |
In file included from sol2/sol/table_core.hpp:25: | |
In file included from sol2/sol/proxy.hpp:26: | |
In file included from sol2/sol/object.hpp:27: | |
In file included from sol2/sol/function.hpp:28: | |
In file included from sol2/sol/function_types.hpp:27: | |
sol2/sol/function_types_allocator.hpp:126:13: error: no matching function for call to 'get' | |
if (stack::get<type>(L) == type::nil) { | |
^~~~~~~~~~~~~~~~ | |
sol2/sol/stack.hpp:75:23: note: candidate template ignored: substitution failure [with T = sol::type] | |
inline decltype(auto) get(lua_State* L, int index = -1) { | |
^ | |
In file included from sol2/sol.hpp:25: | |
In file included from sol2/sol/state.hpp:25: | |
In file included from sol2/sol/state_view.hpp:26: | |
In file included from sol2/sol/table.hpp:25: | |
In file included from sol2/sol/table_core.hpp:25: | |
In file included from sol2/sol/proxy.hpp:26: | |
sol2/sol/object.hpp:38:23: error: no matching function for call to 'get' | |
type actual = stack::get<type>(lua_state()); | |
^~~~~~~~~~~~~~~~ | |
sol2/sol/stack.hpp:75:23: note: candidate template ignored: substitution failure [with T = sol::type] | |
inline decltype(auto) get(lua_State* L, int index = -1) { | |
^ | |
In file included from sol2/sol.hpp:25: | |
In file included from sol2/sol/state.hpp:25: | |
In file included from sol2/sol/state_view.hpp:26: | |
In file included from sol2/sol/table.hpp:25: | |
In file included from sol2/sol/table_core.hpp:25: | |
sol2/sol/proxy.hpp:88:40: error: expected '(' for function-style cast or type construction | |
return get<function>().call<Ret...>(std::forward<Args>(args)...); | |
~~~^ | |
In file included from sol2/sol.hpp:25: | |
In file included from sol2/sol/state.hpp:25: | |
In file included from sol2/sol/state_view.hpp:26: | |
In file included from sol2/sol/table.hpp:25: | |
sol2/sol/table_core.hpp:32:38: error: default initialization of an object of const type | |
'const struct global_overload_tag' without a user-provided default constructor | |
struct global_overload_tag { } const global_overload; | |
^ | |
sol2/sol/table_core.hpp:32:53: note: add an explicit initializer to initialize 'global_overload' | |
struct global_overload_tag { } const global_overload; | |
^ | |
sol2/sol/table_core.hpp:91:91: error: function 'get<sol::table_core<false> , int>' with deduced return | |
type cannot be used before it is defined | |
table_core( detail::global_overload_tag, const table& reg ) noexcept : reference( reg.get<table>( LUA_RIDX_GLOBALS ) ) { } | |
^ | |
sol2/sol/table_core.hpp:101:20: note: 'get<sol::table_core<false> , int>' declared here | |
decltype(auto) get( Keys&&... keys ) const { | |
^ | |
sol2/sol/table_core.hpp:95:52: error: no matching constructor for initialization of 'sol::reference' | |
table_core( const table_core<true>& global ) : reference( global ) { } | |
^ ~~~~~~ | |
sol2/sol/reference.hpp:69:5: note: candidate constructor not viable: no known conversion from | |
'const table_core<true>' to 'sol::reference' for 1st argument | |
reference(reference&& o) noexcept { | |
^ | |
sol2/sol/reference.hpp:87:5: note: candidate constructor not viable: no known conversion from | |
'const table_core<true>' to 'const sol::reference' for 1st argument | |
reference(const reference& o) noexcept { | |
^ | |
sol2/sol/reference.hpp:58:5: note: candidate constructor not viable: requires 0 arguments, but 1 was | |
provided | |
reference() noexcept = default; | |
^ | |
sol2/sol/reference.hpp:60:5: note: candidate constructor not viable: requires 2 arguments, but 1 was | |
provided | |
reference(lua_State* L, int index): L(L) { | |
^ | |
In file included from sol2/sol.hpp:25: | |
In file included from sol2/sol/state.hpp:25: | |
sol2/sol/state_view.hpp:215:76: error: missing default argument on parameter 'args' | |
table create_table(int narr = 0, int nrec = sizeof...(Args), Args&&... args) { | |
^ | |
In file included from sol2/sol.hpp:25: | |
sol2/sol/state.hpp:35:29: error: cannot initialize object parameter of type 'const | |
std::unique_ptr<lua_State, void (*)(lua_State *)>' with an expression of type 'sol::state' | |
state_view(unique_base::get()) { | |
^~~ | |
sol2/sol/state.hpp:36:9: error: cannot initialize object parameter of type 'sol::state_view' with an | |
expression of type 'sol::state' | |
set_panic(panic); | |
^~~~~~~~~ | |
source.cpp:35:25: error: no viable overloaded operator[] for type 'sol::state' | |
std::string _origPath = _lua["package"]["path"]; | |
~~~~^~~~~~~~~~ | |
sol2/sol/state_view.hpp:236:29: note: candidate function [with T = char const (&)[8]] not viable: no | |
known conversion from 'sol::state' to 'sol::state_view' for object argument | |
proxy<global_table&, T> operator[](T&& key) { | |
^ | |
sol2/sol/state_view.hpp:241:34: note: candidate function [with T = char const (&)[8]] not viable: no | |
known conversion from 'sol::state' to 'const sol::state_view' for object argument | |
proxy<const global_table, T> operator[](T&& key) const { | |
^ | |
source.cpp::40:13: error: no viable overloaded operator[] for type 'sol::state' | |
_lua["package"]["path"] = ss.str(); | |
~~~~^~~~~~~~~~ | |
sol2/sol/state_view.hpp:236:29: note: candidate function [with T = char const (&)[8]] not viable: no | |
known conversion from 'sol::state' to 'sol::state_view' for object argument | |
proxy<global_table&, T> operator[](T&& key) { | |
^ | |
sol2/sol/state_view.hpp:241:34: note: candidate function [with T = char const (&)[8]] not viable: no | |
known conversion from 'sol::state' to 'const sol::state_view' for object argument | |
proxy<const global_table, T> operator[](T&& key) const { | |
^ | |
source.cpp:43:25: error: no viable overloaded operator[] for type 'sol::state' | |
~RockLoader() { _lua["package"]["path"] = _origPath; } | |
~~~~^~~~~~~~~~ | |
sol2/sol/state_view.hpp:236:29: note: candidate function [with T = char const (&)[8]] not viable: no | |
known conversion from 'sol::state' to 'sol::state_view' for object argument | |
proxy<global_table&, T> operator[](T&& key) { | |
^ | |
sol2/sol/state_view.hpp:241:34: note: candidate function [with T = char const (&)[8]] not viable: no | |
known conversion from 'sol::state' to 'const sol::state_view' for object argument | |
proxy<const global_table, T> operator[](T&& key) const { | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment