[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua 1.0 patch - fixing compiler errors
- From: David Manura <dm.lua@...>
- Date: Sat, 14 Nov 2009 22:30:08 -0500
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