This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26061] error and warning count
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2007 23:35:53 -0000
- Subject: [Bug middle-end/26061] error and warning count
- References: <bug-26061-12109@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from manu at gcc dot gnu dot org 2007-01-21 23:35 -------
Gabriel, what do you think about this? Does it need testcases? Should I submit
it?
Index: gcc/toplev.c
===================================================================
--- gcc/toplev.c (revision 121027)
+++ gcc/toplev.c (working copy)
@@ -2059,6 +2059,10 @@ finalize (void)
/* Language-specific end of compilation actions. */
lang_hooks.finish ();
+
+ /* Print error / warning counts. */
+ fprintf (stderr, "\n%s: *** %d errors, %d warnings",
+ progname, errorcount, warningcount);
}
/* Initialize the compiler, and compile the input file. */
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gdr at integrable-solutions
| |dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26061