[sr-dev] app_lua warning
Juha Heinanen
jh at tutpro.com
Sat Jan 22 19:28:03 CET 2022
I noticed that master build on Debian 11 with
ii liblua5.1-0-dev:amd64 5.1.5-8.1+b3 amd64 Development files for the Lua language version 5.1
gave compiler warning:
CC (gcc) [M app_lua.so] app_lua_api.o
app_lua_api.c: In function 'ksr_luaL_openlib_mode':
app_lua_api.c:221:4: warning: implicit declaration of function 'luaL_setfuncs'; did you mean 'lua_setfenv'? [-Wimplicit-function-declaration]
221 | luaL_setfuncs(L, lfuncs, 0);
| ^~~~~~~~~~~~~
| lua_setfenv
I have not defined LUAJIT="yes" in the build.
-- Juha
More information about the sr-dev
mailing list