[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua 5.1 beta in AIX using cc 4.4
- From: Antonio Scuri <scuri@...>
- Date: Tue, 29 Nov 2005 10:15:05 -0200
Hi,
When building the Lua 5.1 beta in AIX using C for AIX, the
compiler complains about the definition of NUM_OPCODES in "lopcodes.h".
Not a big problem since it is an old compiler. But, isn't easier
to simply define it inside the enum?
OP_VARARG, /* A B R(A), R(A+1), ..., R(A+B-1) = vararg */
NUM_OPCODES
} OpCode;
/* #define NUM_OPCODES (cast(int, OP_VARARG+1)) */
Best,
scuri