lua-users home
lua-l archive

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


>>>>> "Massimo" == Massimo Sala <massimo.sala.71@gmail.com> writes:

 Massimo> You cited C89 standard.

 Massimo> Also casting inside preprocessor macros isn't compliant to C
 Massimo> standards.

Wrong. You can cast inside macros as much as you please. What you
_can't_ do is then use those macros as part of preprocessor
_conditionals_ - but this is no problem since the Lua code makes no
attempt to use MAX_SIZE in any preprocessor condition.

-- 
Andrew.