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


Hi Manuel,

 PR middle-end/26061
 * toplev.c (do_compile): Print error and warning counts.

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).

Attachment: smime.p7s
Description: S/MIME cryptographic signature


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