I think it would be nice if gcc would give an error/warning count at the end of its output. Something like:
$ gcc -Wall test.c test.c:3: error: conflicting types for 'p' test.c:2: error: previous declaration of 'p' was here test.c:3: error: conflicting types for 'p' test.c:2: error: previous declaration of 'p' was here test.c: In function `main': test.c:7: error: `d' undeclared (first use in this function) test.c:7: error: (Each undeclared identifier is reported only once test.c:7: error: for each function it appears in.) test.c:6: warning: unused variable `b' gcc: *** 3 errors, 1 warning I currently use gcc 3.4.4, and I think gcc/g++ don't have such a feature yet because AFAIK it is not listed in the 'new features' list of versions 4.0 and 4.1. Just in case, the test file I used is this: int p(int); int p(float); int main() { int a, b, c; c = a + d; p('C'); } -- Summary: error and warning count Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hyperquantum at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26061