|
On windows I could compile under VS2010, with the flag LUA_USE_STRTODHEX, that will define the function lua_strx2number as a macro, and will avoid calling l_tg at lobject.c:152.JLH--On Wed, Feb 20, 2013 at 9:24 AM, Jose Luis Hidalgo <joseluis.hidalgo@gmail.com> wrote:
if I switch on the define "LUA_USE_MACOSX" on mac it compiles fine again, I didn't have to do this with previous versions of lua though.JLH--On Wed, Feb 20, 2013 at 9:17 AM, Jose Luis Hidalgo <joseluis.hidalgo@gmail.com> wrote:Hi Luiz,When I compile this RC, I get a warning, then an error, about an implicit declaration of a function (l_tg) which is in fact, not defined anywhere:../deps/lua/src/lobject.c:152:10: warning: implicit declaration of function 'l_tg' is invalid in C99 [-Wimplicit-function-declaration]return l_tg(ldexp)(r, e);#define luai_hashnum(i,n) { int e; \n = l_tg(frexp)(n, &e) * (lua_Number)(INT_MAX - DBL_MAX_EXP); \lua_number2int(i, n); i += e; }That l_tg function is indeed not defined. I might not compiling lua with the right flags though, because the project alone compiles fine (the error happens when I include lua code in my application code manually).Regards,JLH--On Tue, Feb 19, 2013 at 10:00 PM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
Lua 5.2.2 (rc1) is now available at
http://www.lua.org/work/lua-5.2.2-rc1.tar.gz
MD5 71fe544a80fdbbd4bc4fecd667e95c5c -
SHA1 f4693aa9ccd07ef8c8d2714cf6cd41ad90c881d4 -
Lua 5.2.2 fixes all bugs listed in http://www.lua.org/bugs.html#5.2.1 .
Lua 5.2.2 also fixes several other minors glitches and includes
a revised reference manual.
The complete diffs from Lua 5.2.1 are available at
http://www.lua.org/work/diffs-lua-5.2.1-lua-5.2.2-rc1.txt
We thank everyone for their feedback on Lua 5.2 till now.
All feedback welcome. Thanks.
--lhf
JLH
JLH
JLH