$echo 'int foo([EMAIL PROTECTED])' > bad.c $echo 'int foo(void) { return 0; }' > good.c $ $gcc-4.0 -c bad.c good.c
Earlier compiler will generate good.o -- Summary: Compiler will not compile two source files if first has error or is unreadable Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dpatel at apple dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18732