From 3657b06ddc07efebe9296fa7c2381e29a4382f7c Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 14 Feb 2005 19:00:27 +0000 Subject: [PATCH] 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 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/decl.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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"); } -- 2.47.2