lua-users home
lua-l archive

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


Hello,

I remember fixing that almost two years ago with BCB 5 -- obviously the same
holds for BCB 3.
Please look at both the declarations and definition of luaK_opproperties in
lcode.c
and make sure that the array bounds in both the declaration and the
definition are the same.
You should be able to change them either to [] both or alternatively to the
desired allocation size.
This should help.

Best regards,
Vesselin.

----- Original Message -----
From: "Markus Fritsche" <Fritsche.Markus@gmx.net>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Tuesday, October 15, 2002 6:42 PM
Subject: Re: Windows version of lua?


> Enrico Colombini wrote:
>
> >It should compile, I used Borland C++ Builder 3 that I think has the same
> >compiler. What error do you get?
> >(I seem to remember it needed a 1-line patch)
> >
> The output of the compiler:
>
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> src\luac\dump.c:
> src\lapi.c:
> src\lib\lauxlib.c:
> src\lib\lbaselib.c:
> src\lcode.c:
> Error E2238 src\lcode.c 650: Multiple declaration for 'luaK_opproperties'
> *** 1 errors in Compile ***
>
> ** error 1 ** deleting exe\lcode.obj
>
>
>