Re: How to make GCC stop on first error

2007-03-28 Thread Tom Tromey
> "Francesco" == Francesco Montorsi <[EMAIL PROTECTED]> writes: Francesco> This is very annoying when e.g. the first error is due to Francesco> not finding a required header file: after that gcc goes on Francesco> and spits out tons of errors about missing declarations for Francesco> those thi

Re: How to make GCC stop on first error

2007-03-28 Thread Francesco Montorsi
Manuel López-Ibáñez ha scritto: (This question is more appropriate for gcc-help, this list is for gcc development.) ok, sorry. I'll post there next time. From the manual page: -Wfatal-errors This option causes the compiler to abort compilation on the first error occ

Re: How to make GCC stop on first error

2007-03-28 Thread Manuel López-Ibáñez
(This question is more appropriate for gcc-help, this list is for gcc development.) From the manual page: -Wfatal-errors This option causes the compiler to abort compilation on the first error occurred rather than trying to keep going and printing fur‐ ther e

How to make GCC stop on first error

2007-03-28 Thread Francesco Montorsi
Hi all, I wonder if there is some option/flag I can feed to gcc to avoid that it continues compiling my source files after it encounters the first error... I've searched in gcc docs without success. This is very annoying when e.g. the first error is due to not finding a required header fi