Commit ea50ad82 by Nathan Sidwell Committed by Nathan Sidwell

call.c (build_new_method_call): Use '%#V'.

	* call.c (build_new_method_call): Use '%#V'.
	* error.c (cv_to_string): Use V parameter to determine padding.

From-SVN: r48150
parent b25c3a22
2001-12-18 Nathan Sidwell <nathan@codesourcery.com>
* call.c (build_new_method_call): Use '%#V'.
* error.c (cv_to_string): Use V parameter to determine padding.
2001-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
* call.c, decl2.c, init.c: Use "built-in" and "bit-field"
......
......@@ -4625,9 +4625,9 @@ build_new_method_call (instance, name, args, basetype_path, flags)
if (!COMPLETE_TYPE_P (basetype))
incomplete_type_error (instance_ptr, basetype);
else
error ("no matching function for call to `%T::%D(%A)%V'",
basetype, pretty_name, user_args,
TREE_TYPE (TREE_TYPE (instance_ptr)));
error ("no matching function for call to `%T::%D(%A)%#V'",
basetype, pretty_name, user_args,
TREE_TYPE (TREE_TYPE (instance_ptr)));
print_z_candidates (candidates);
return error_mark_node;
}
......
......@@ -2388,11 +2388,11 @@ args_to_string (p, verbose)
static const char *
cv_to_string (p, v)
tree p;
int v ATTRIBUTE_UNUSED;
int v;
{
reinit_global_formatting_buffer ();
dump_qualifiers (p, before);
dump_qualifiers (p, v ? before : none);
return output_finalize_message (scratch_buffer);
}
......
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