lua-users home
lua-l archive

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

On 6/10/2011, at 10:05 AM, Luiz Henrique de Figueiredo wrote:

> We also use -Wall -Wextra when compiling Lua.

-Wextra gets the c++ comment (wouldn't it be nice if -Wall did what it said!)

On 6/10/2011, at 9:56 AM, Sean Conner wrote:

> I think you might want to try "gcc -pedantic -ansi" or "gcc -pedantic -std=c89".

and -pedantic gets the variable declaration in the middle of the block.