[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: http://lua-users.org/wiki/ObjectProperties - one question
- From: Milan Obuch <lua-l@...>
- Date: Tue, 9 Jun 2020 15:47:13 +0200
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