lua-users home
lua-l archive

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


In message <000201c0402a$c52f7640$0b0f280a@casirusco.com>, "Dave Borgelt" write
s:
> Make this change to lcode.c and it should fix it (I had the same problem):
> 
> >>> Line  649 of '..\..\lua\src\lcode.c'  (ORIGINAL)
> > const struct OpProperties luaK_opproperties[NUM_OPCODES] = {
> 
> <<< Line  649 of 'lcode.c'  (ALTERED VERSION)
> < const struct OpProperties luaK_opproperties[/*NUM_OPCODES*/] = {

I've just had a look at this, and its perfectly legal ISO C.  Any
ISO C compiler should compile it without error.  It is therefore a
defect in Borland C, or possibly you aren't compiling it in a strict
enough ISO/ANSI mode.

djones