lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, 9 Jun 2020 10:21:33 -0300, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:

> > test-lua.c:135:2: warning: implicit declaration of function
> > 'luaL_openlib' is invalid in C99 [-Wimplicit-function-declaration]  
> 
> Compile your program with -DLUA_COMPAT_MODULE

Thank you, this works. In lauxlib.h I see this is for compatibility
with old module system, is there some replacement in new Lua world
without module?

Regards,
Milan