2010年4月7日 星期三

stop on first error (gcc, make)

Just want to see the first compilation error ? Try this:

-> gcc main.c -Wfatal-errors


-Wfatal-errors
This option causes the compiler to abort compilation on the first
error occurred rather than trying to keep going and printing
further error messages.

Ref:
man gcc

沒有留言:

張貼留言