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: PR26061 error and warning counts


On 13 Feb 2007 15:31:32 -0800, Ian Lance Taylor <iant@google.com> wrote:
"Joseph S. Myers" <joseph@codesourcery.com> writes:

> The fact that the testsuite needs adjusting like this illustrates the
> likelihood of breaking external tools (e.g. IDEs) that process GCC's
> output.  This means this change to output should perhaps be off by
> default, with a new option to enable it people wanting this style can put
> in their Makefiles.

I would seriously question making something like this a gcc option.
If it's off by default, very few people will use it.  And those people
can get the same effect by writing a small awk script.

I don't have an opinion on whether we should implement this or not,
but I don't think it should be an option.


I wholeheartedly agree with Ian. Either we want it or either we don't. If we don't want it then we should close the PR as wontfix.

I think that it could be a nice thing to have but I don't think it is
tremendously useful anyway, since you can use grep -e
"error:|warning:" -c to achieve a similar (but perhaps not exactly
equal) effect.  No need to learn awk!

Cheers,

Manuel.


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