lua-users home
lua-l archive

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


Thank you.

defining..
----8X----------------------------------
#define LUA_COMPAT_5_1
#define LUA_COMPAT_5_2
----8X----------------------------------
... in luaconf.h seems to be a good idea. and solves most of the problems for lfs, lanes, lsqlite, ...

lua_dump need some changes in the sources and also lua_getfenv, you mentioned.

lpeg seems to need a update.

Ulrich.

Am 11.12.2014 um 21:15 schrieb Paul K:
Hi Ulrich,

You compiled lsf and lpeg too?
I tried to compile lpeg, but having LUA_COMPAT_APIINTCASTS didn't help
much as there are still references to lua_getfenv, lua_setfenv and
other similar methods.

lfs has been recently updated to support 5.3 and it loaded without
issues after compiling with the following command:

gcc -O2 -shared -s -I %LUA_DIR%\src -L %LUA_DIR%\src -o lfs.dll lfs.c -llua53
Paul.