This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Single error mode
- From: "Piotr Wyderski" <piotr dot wyderski at wp dot pl>
- To: <gcc at gcc dot gnu dot org>
- Date: Wed, 8 Sep 2004 18:47:47 +0200
- Subject: Single error mode
- Organization: Faculty of Computer Science, University of Wroclaw
Hello,
GCC contains a recovering parser -- when a programmer
modify a large piece of code and try to compile it, the
compiler tries to mask errors (to display as many errors
as possible). However, this feature is often burdensome,
because the compiler generates many spurious errors.
So, could you please extend GCC by adding a flag called
"-fno-error-recovery" or similarly, which would tell the
compiler that it should display only the first error message
and stop parsing immediately? Recovering should be enabled
by default.
Best regards
Piotr Wyderski