Single error mode

Piotr Wyderski piotr.wyderski@wp.pl
Wed Sep 8 16:47:00 GMT 2004


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
    



More information about the Gcc mailing list