diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gcc.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 37536c1..46345e1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2010-05-28 Joseph Myers <joseph@codesourcery.com> + * gcc.c (error, warning, inform): Remove duplicate ": " in output. + +2010-05-28 Joseph Myers <joseph@codesourcery.com> + PR driver/15303 * gcc.c (inform, warning, inform): New functions. (fatal_ice): Rename to internal_error; change cmsgid parameter to @@ -7723,7 +7723,7 @@ error (const char *gmsgid, ...) va_start (ap, gmsgid); error_count++; - fprintf (stderr, "%s: %s: ", programname, _("error: ")); + fprintf (stderr, "%s: %s", programname, _("error: ")); vfprintf (stderr, _(gmsgid), ap); va_end (ap); @@ -7736,7 +7736,7 @@ warning (int dummy ATTRIBUTE_UNUSED, const char *gmsgid, ...) va_list ap; va_start (ap, gmsgid); - fprintf (stderr, "%s: %s: ", programname, _("warning: ")); + fprintf (stderr, "%s: %s", programname, _("warning: ")); vfprintf (stderr, _(gmsgid), ap); va_end (ap); @@ -7749,7 +7749,7 @@ inform (int dummy ATTRIBUTE_UNUSED, const char *gmsgid, ...) va_list ap; va_start (ap, gmsgid); - fprintf (stderr, "%s: %s: ", programname, _("note: ")); + fprintf (stderr, "%s: %s", programname, _("note: ")); vfprintf (stderr, _(gmsgid), ap); va_end (ap); |