From: Mark Mitchell Date: Mon, 14 Feb 2005 19:00:27 +0000 (+0000) Subject: decl.c (reshape_init): Use explicit quotes in error message instead of %q. X-Git-Tag: releases/gcc-3.4.4~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3657b06ddc07efebe9296fa7c2381e29a4382f7c;p=thirdparty%2Fgcc.git decl.c (reshape_init): Use explicit quotes in error message instead of %q. * decl.c (reshape_init): Use explicit quotes in error message instead of %q. From-SVN: r95037 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1665ce005f64..c3a3ec803a93 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2005-02-14 Mark Mitchell + + * decl.c (reshape_init): Use explicit quotes in error message + instead of %q. + 2005-02-12 Kriang Lerdsuwanakij PR c++/14479 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 5ccf3f85faf1..e8bcead6f39c 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -4447,7 +4447,7 @@ reshape_init (tree type, tree *initp) if (*initp) { if (brace_enclosed_p) - error ("too many initializers for %qT", type); + error ("too many initializers for `%T'", type); else if (warn_missing_braces) warning ("missing braces around initializer"); }