lua-users home
lua-l archive

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

On Mon, Nov 17, 2003 at 04:10:38PM -0200, Luiz Henrique de Figueiredo wrote:
> More precisely, you can turn on API assertions by building Lua with
> 	  '-Dapi_check(L,o)=assert(o)'

just curious, is the above ansi cpp compliant ?

	% lcc -D'lua_assert(L,o)=assert(o)' -E /dev/null
	cpp: <cmdarg>:1 Illegal -D or -U argument (L,o)=assert(o)

(i'm not sure if lcc's cpp is fully ansi compliant)