2017-05-02 8:51 GMT+02:00 Andriy Kornatskyy <andriy.kornatskyy@xxxxxxxx>:
Looks like it breaks lua-cjson... used to be fine with beta2... works with
2.0.5.
# luarocks install lua-cjson
Installing https://luarocks.org/lua-cjson-2.1.0-1.src.rock
gcc -O2 -fPIC -I/usr/local/include -c lua_cjson.c -o lua_cjson.o
lua_cjson.c:1298:13: error: static declaration of 'luaL_setfuncs' follows
non-static declaration
static void luaL_setfuncs (lua_State *l, const luaL_Reg *reg, int nup)
^~~~~~~~~~~~~
In file included from lua_cjson.c:44:0:
/usr/local/include/lauxlib.h:88:18: note: previous declaration of
'luaL_setfuncs' was here
LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int
nup);
^~~~~~~~~~~~~
In file included from lua_cjson.c:47:0:
fpconv.h:15:20: warning: inline function 'fpconv_init' declared but never
defined
extern inline void fpconv_init();
^~~~~~~~~~~
Error: Build error: Failed compiling object lua_cjson.o