[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (beta) now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 25 Oct 2014 18:19:23 -0200
> The default makefile defines LUA_COMPAT_5_2 which in turn
> defines LUA_COMPAT_APIINTCASTS which in turn re-enables luaL_optint.
> However when linking with the library, which is default compiled, it
> errors due to luaL_optint being undefined.
The default makefile defines LUA_COMPAT_5_2 so that it builds Lua 5.3
with compatibility with 5.2 to avoid breaking exisiting code. The code
in luaconf.h does not define LUA_COMPAT_5_2 on purpose, so that you get
some warning if your code depends on deprecated features.