This is the mail archive of the gcc-patches@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]

Re: C++ PATCH:


James E Wilson <wilson@specifixinc.com> writes:

| Marcin Dalecki wrote:
| > this. Every time I see gcc reporting tens of k errors after discovering a
| > serious parser error for no good reason running out of every xterm
| > scroll back
| 
| The -Wfatal-errors option will make gcc exit after the first error,
| instead of trying to recover and continue.  I suppose this could be
| extended to take an argument, if you want to specify how many errors
| we emit before exiting.

the machinery is already there.

-- Gaby


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