lua-users home
lua-l archive

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


> All feedback welcome. Thanks.

RC4 compiles cleanly (without warnings) on most of my C compilers.
Except with IAR Embedded Workbench 6.0 for ARM.
It looks like NULL is defined as 0, and not (void*)0.
This produces a bunch of errors like that:

Error[Pe042]: operand types are incompatible ("void *" and "int")  llex.c 59

All errors initiate at lmem.h, line 20. Instead of NULL, you should
write (void*)0.

For the same reason, Lua 5.2.0-rc4 does not compile in C++ mode neither.