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: [PATCH] fix PR 44782, implement -fmax-errors as a common option


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



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