lua-users home
lua-l archive

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


Attached is a patch to allow Lua 1.0 to compile on gcc and msvc.  Note
that the changes in type.lua are to remove \r and ^Z chars causing
failure.  I'm not sure what floatingpoint.h was used for, but it seems
safely removable.  I didn't correct warnings: There's a warning about
"void main" in gcc and additional warnings on msvc, plus more on gcc
if -Wall is enabled.

BTW, a CMake build with test suite is in [1], and it can also be
deployed via "luadist install lua1".

[1] http://repo.luadist.org/dists/LuaUtils/lua1/CMakeLists.txt

Attachment: dist.patch
Description: Binary data