lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo wrote:
> > You already have a bunch of make targets. Would you accept one more
> > "c99" target?
> 
> You can do it right now with
> 	make generic SYSCFLAGS="-LUA_USE_C99"
> or
> 	make generic SYSCFLAGS="-LUA_USE_C99 -std=c99"

This works (because -L is a valid gcc option) but I think the correct
option is -DLUA_USE_C99.

 	make generic SYSCFLAGS="-DLUA_USE_C99"
 or
 	make generic SYSCFLAGS="-DLUA_USE_C99 -std=c99"

Alex