[PATCH] fix PR 44782, implement -fmax-errors as a common option

Tobias Burnus burnus@net-b.de
Tue Nov 9 19:04:00 GMT 2010


Chris Lattner wrote:
> That's fine, and perhaps also a good idea.  However, there are lots of already shipped versions of clang out there.  They all support -ferror-limit but not -fmax-error.  IMO, -ferror-limit is a better name anyway, why not enhance gfortran to accept -ferror-limit?

Ditto for gfortran. Regarding the name: -fmax-errors=<n>  (with "-s") 
and -ferror-limit=<n> sound both fine to me - I do not find the limit 
version superior. Regarding the accepting the other option additionally, 
that's what Nathan already proposed:

> > On Tue, 9 Nov 2010, Nathan Froyd wrote:

>>>  I suppose if people wanted, we could add -ferror-limit as an undocumented
>>>  alias.

Tobias



More information about the Gcc-patches mailing list