I tried to build today's upstream build...
Any idea on this?
[ 10%] Building C object wiretap/CMakeFiles/wiretap.dir/candump.c.o
/home/greearb/btbits/x64_btbits/3plibs/wireshark/epan/wslua/init_wslua.c: In function ‘lua_resetthread_cb’:
/home/greearb/btbits/x64_btbits/3plibs/wireshark/epan/wslua/init_wslua.c:286:5: error: too few arguments to function ‘lua_resetthread’
286 | lua_resetthread(L1);
| ^~~~~~~~~~~~~~~
In file included from /home/greearb/btbits/x64_btbits/3plibs/wireshark/epan/wslua/wslua.h:25,
from /home/greearb/btbits/x64_btbits/3plibs/wireshark/epan/wslua/init_wslua.c:18:
/usr/include/lua.h:156:21: note: declared here
156 | LUA_API int (lua_resetthread) (lua_State *L, lua_State *from);
| ^~~~~~~~~~~~~~~
Weird, lua_resetthread is documented to have one parameter in 5.4 manual. What Lua version do you have?
Anyway, that API is deprecated and should be replaced by `lua_closethread(L1, NULL)` according to the manual.