lua-users home
lua-l archive

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


> For example, I get the somewhat surprising result that when compiling with
> -DLUA_COMPAT_5_1 but not -DLUA_COMPAT_5_2, I don't get the macros defined
> by LUA_COMPAT_APIINTCASTS, although they were available in 5.1.

(Please, do not assume in the text that we still remember the subject...)


> Subject: Re: Lua 5.3: should LUA_COMPAT_5_1 define LUA_COMPAT_5_2?

Some things in LUA_COMPAT_5_2 were not present in 5_1 (e.g., bit32,
__ipairs metamethod). Maybe we should add explicitly in LUA_COMPAT_5_1
the needed options (LUA_COMPAT_MATHLIB and LUA_COMPAT_APIINTCASTS)?

-- Roberto