diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-05-28 18:34:11 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-05-28 18:34:11 +0100 |
commit | 6cffd02a8ddf04cd266c343554593c3100904325 (patch) | |
tree | a24eb0bd1b48354a10e7d1fb1a4f43e3d142f0d0 /gcc | |
parent | 2dec80c756fb7a85f1c6f236386e230d19ccbe26 (diff) | |
download | gcc-6cffd02a8ddf04cd266c343554593c3100904325.zip gcc-6cffd02a8ddf04cd266c343554593c3100904325.tar.gz gcc-6cffd02a8ddf04cd266c343554593c3100904325.tar.bz2 |
* gcc.c (error, warning, inform): Remove duplicate ": " in output.
From-SVN: r159987
Diffstat (limited to 'gcc')
-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); |