This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Single error mode


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
    


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]