This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: `--syntax-only' after error



> Exactly.  If I didn't see such errors and then saw new ones when I
> recompiled, I'd be annoyed.

Heh?  But this happens all the time, anyway.  In many cases,
it is pointless to continue after an error, or at the least
the compiler may need to pop a few levels before it makes sense
to emit more messages.

After an error, it is better to suppress following error
messages, unless you are reasonably confident they are not
caused by earlier errors.

So if a few more errors are missed because we turn on
flag_syntax_only, I don't see that it's a big deal.

Not that I care much either way about this issue.

	--Per Bothner
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner