You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/.../sol2/include/sol/stack_push.hpp:655:29: error: invalid ‘static_cast’ from type ‘<unresolved overloaded function type>’ to type ‘void*’
655 | lua_pushlightuserdata(L, static_cast<void*>(l.value));
|
After diving the source code, I found inconsistency on unqualified_pusher<light<T>>. The unqualified_pusher<light<T>> is using light<T>.value as a pointer, but in light<T>'s definition, light<T>.valule is a function returning a pointer.
I got following error when using
sol::light
After diving the source code, I found inconsistency on
unqualified_pusher<light<T>>
. Theunqualified_pusher<light<T>>
is usinglight<T>.value
as a pointer, but inlight<T>
's definition,light<T>.valule
is a function returning a pointer.sol2/include/sol/stack_push.hpp
Lines 649 to 658 in 6409634
sol2/include/sol/types.hpp
Lines 236 to 238 in 6409634
The text was updated successfully, but these errors were encountered: