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:
It would be nice to support -ferror-limit as an alias at least.
People are much more likely to want to write makefiles
that work with both clang and gcc than with gcc and gfortran.

I am not sure which is more likely. However, I do know many people which use Makefile written for gcc and gfortran. While those typically use CFLAG and FFLAG, I think the users would be puzzled if GCC has two different option names depending on the front end.


However, how about adding -fmax-error as alias to CLANG? Then the users of CLANG are compatible to both gcc and gfortran.

Tobias


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