[Bug middle-end/26061] error and warning count
ismail at pardus dot org dot tr
gcc-bugzilla@gcc.gnu.org
Fri Jan 26 21:30:00 GMT 2007
------- Comment #6 from ismail at pardus dot org dot tr 2007-01-26 21:29 -------
Maybe a better version could be like this,
--- gcc/toplev.c 2006-10-09 19:27:14.000000000 +0300
+++ gcc/toplev.c 2007-01-26 20:59:19.395519510 +0200
@@ -1975,6 +1975,12 @@
/* Language-specific end of compilation actions. */
lang_hooks.finish ();
+
+
+ /* Print error / warning counts. */
+ if ( errorcount || warningcount )
+ fprintf (stderr, "\n%s: *** %d errors, %d warnings",
+ progname, errorcount, warningcount);
}
/* Initialize the compiler, and compile the input file. */
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26061
More information about the Gcc-bugs
mailing list