[Bug middle-end/26061] error and warning count

geoffk at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jul 3 00:45:00 GMT 2007



------- Comment #12 from geoffk at gcc dot gnu dot org  2007-07-03 00:45 -------
[Here's what I sent to gcc-patches as a review of this patch:]
Doing this will certainly break many tools which parse the output of GCC,
especially in the case of a successful compilation which produced some
warnings.  I think, though, that it would be safe to produce one extra notice
in the case of a compilation which produced errors, saying how many errors were
output; that would help in the case where the last few hundred messages from
GCC are warnings and the user wonders why their build failed.  It should be
combined with the message we already have about 'treating warnings about errors
because of -Werror'.

I'm hard-pressed to think of a reason why, if this is implemented, you would
want to be able to switch it off, so I see no reason to have a flag (unless
someone else thinks of a reason).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26061



More information about the Gcc-bugs mailing list