lua-users home
lua-l archive

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

Lua 5.2.0 (rc1) is now available at

Many thanks for the new release!

Unfortunately, some of the changes break compilation for Windows under non-Microsoft compilers.

First of all, in luaconf.h the MS_ASMTRICK define is now incorrectly activated for non-Microsoft compilers. It looks like the "defined(_MSC_VER)" check from the beta was changed into "defined(LUA_WIN)" for this release candidate. The previous version worked fine. So I don't know why it was changed...

Secondly, loadlib.c now skips including (the necessary) windows.h since the "defined(LUA_DL_DLL)" check always fails. Note that LUA_DL_DLL is defined in luaconf.h, but this is only included in loadlib.c later on through lua.h (a couple of lines below).