lua-users home
lua-l archive

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


On Sun, 2007-03-25 at 14:14 -0300, Luiz Henrique de Figueiredo wrote:
> Lua 5.1.2-rc2 is now available at
> 	http://www.lua.org/work/lua-5.1.2-rc2.tar.gz

> Please take a look before we freeze it.  All feedback welcome.  Thanks.

I tried building it with TenDRA, and it produces this:

"luaconf.h", line 391: Error:
  [ISO 6.8.1]: Can't have target dependent '#if' at outer level.

"luaconf.h", line 392: Error:
  [ISO 6.8.1]: Can't define macro 'LUAI_BITSINT' in a target dependent
'#if' statement.

"luaconf.h", line 393: Error:
  [ISO 6.8.1]: Can't have target dependent '#elif' at outer level.

"luaconf.h", line 395: Error:
  [ISO 6.8.1]: Can't define macro 'LUAI_BITSINT' in a target dependent
'#if' statement.

"luaconf.h", line 395: Error:
  [ISO 6.8.3]: Macro 'LUAI_BITSINT' redefined inconsistently (see line
392).

"luaconf.h", line 397: Error:
  [ISO 6.8.5]: "you must define LUA_BITSINT with number of bits in an
integer".

I'm not entirely sure what its problem is here.  Removing that whole
section and replacing it with #define LUA_BITSINT 32 appeases it, and an
otherwise extremely pedantic compiler is silently content building Lua
5.1.2.

B.