Patch checked in to fix printf-format warning from g77spec.c
Kaveh R. Ghazi
ghaziATcaip.rutgers.edu
Tue Sep 14 09:20:00 GMT 1999
My recent patch to directly use `fatal' instead of function
pointers in the spec files exposed a minor bug in one of the calls. I
checked in the following obvious patch to fix it:
> ../../egcs-CVS19990913/gcc/f/g77spec.c: In function `lang_specific_driver':
> ../../egcs-CVS19990913/gcc/f/g77spec.c:440: warning: too many
> arguments for format
diff -rup orig/egcs-CVS19990913/gcc/f/g77spec.c egcs-CVS19990913/gcc/f/g77spec.c
--- orig/egcs-CVS19990913/gcc/f/g77spec.c Sun Sep 12 23:23:47 1999
+++ egcs-CVS19990913/gcc/f/g77spec.c Tue Sep 14 11:38:56 1999
@@ -437,7 +437,7 @@ For bug reporting instructions, please s
#endif
case OPTION_driver:
- fatal ("--driver no longer supported", argv[i]);
+ fatal ("--driver no longer supported");
break;
default:
More information about the Gcc-patches
mailing list