lua-users home
lua-l archive

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


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*/] = {

Make files would be useful.  Thanks.

Dave Borgelt

----- Original Message -----
From: "Chris Dion" <core@ns.sympatico.ca>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Friday, October 27, 2000 10:57 AM
Subject: problem compiling lua4.0-beta


>
> Hi All,
>
> I'm attempting to upgrade to Lua4.0, and I'm having trouble compiling it
> using Borland5.5.  I had no problems with Lua3.2.  The error is in
lcode.c:
>
> ---------------
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
>         bcc32  /6 /O2 /Ic:\dev\lua4.0\include /c lcode.c
> Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland
> lcode.c:
> Error E2238 lcode.c 649: Multiple declaration for 'luaK_opproperties'
> *** 1 errors in Compile ***
>
> ** error 1 ** deleting lcode.obj
> ---------------
>
> All the other files in the /src directory compile without errors.  Any
help
> would be greatly appreciated.
>
> - Chris
>
> P.S.  Would anyone on the list be interested in the Borland5.5 makefiles
> I've created to make Lua?
>