lua-users home
lua-l archive

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


Hi List,

We use Lua 5.3.1 in our project's server, but in client we use UniLua
which compatible with Lua 5.2.

After we use bit32 library, we found that to define LUA_COMPAT_BITLIB
cause compile error: bit32 library use luaL_checkunsigned, which is
already deprecated already. to use it, we should also define
LUA_COMPAT_APIINTCASTS.

So, it's needed to remove use of luaL_checkunsigned, or define
LUA_COMPAT_APIINTCASTS when luaconf.h found LUA_COMPAT_BITLIB defined?

-- 
regards,
Xavier Wang.