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