Commit bcac2b89 by Volker Reichelt Committed by Volker Reichelt

call.c (build_op_delete_call): Fix quotation in warning message.

	* call.c (build_op_delete_call): Fix quotation in warning message.
	* decl.c (grokdeclarator): Quote keyword in error message.
	* pt.c (check_for_bare_parameter_packs): Fix quotation in error
	message.

From-SVN: r134130
parent 8b4efb4e
2008-04-09 Volker Reichelt <v.reichelt@netcologne.de>
* call.c (build_op_delete_call): Fix quotation in warning message.
* decl.c (grokdeclarator): Quote keyword in error message.
* pt.c (check_for_bare_parameter_packs): Fix quotation in error
message.
* parser.c (cp_parser_check_type_definition): Print error string
directly rather than using "%s".
(cp_parser_postfix_expression): Fix quotation.
......
......@@ -4260,7 +4260,7 @@ build_op_delete_call (enum tree_code code, tree addr, tree size,
if (alloc_fn)
{
if (!placement)
warning (0, "no corresponding deallocation function for `%D'",
warning (0, "no corresponding deallocation function for %qD",
alloc_fn);
return NULL_TREE;
}
......
......@@ -7892,7 +7892,7 @@ grokdeclarator (const cp_declarator *declarator,
if (virtualp
&& (current_class_name == NULL_TREE || decl_context != FIELD))
{
error ("virtual outside class declaration");
error ("%<virtual%> outside class declaration");
virtualp = 0;
}
......
......@@ -2727,7 +2727,7 @@ check_for_bare_parameter_packs (tree t)
if (parameter_packs)
{
error ("parameter packs not expanded with `...':");
error ("parameter packs not expanded with %<...%>:");
while (parameter_packs)
{
tree pack = TREE_VALUE (parameter_packs);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment