lua-users home
lua-l archive

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

>    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".

What is exact error message from the compiler?

> But, isn't easier to simply define it inside the enum?

No because then the compiler might issue a warning for switches on
Instructions, saying that NUM_OPCODES is not handled.