[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: problem compiling lua4.0-beta
- From: David Jones <djones@...>
- Date: Fri, 27 Oct 2000 16:04:16 +0000
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