mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-12 05:13:50 +08:00
* call.c (print_conversion_rejection): Indent messages two spaces.
From-SVN: r167677
This commit is contained in:
parent
30442c59aa
commit
80f4fc8ccc
@ -1,3 +1,7 @@
|
||||
2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
|
||||
|
||||
* call.c (print_conversion_rejection): Indent messages two spaces.
|
||||
|
||||
2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
|
||||
|
||||
* typeck.c (cp_build_indirect_ref): Call invalid_indirection_error.
|
||||
|
@ -2945,10 +2945,11 @@ print_conversion_rejection (location_t loc, struct conversion_info *info)
|
||||
{
|
||||
if (info->n_arg == -1)
|
||||
/* Conversion of implicit `this' argument failed. */
|
||||
inform (loc, "no known conversion for implicit %<this%> parameter from %qT to %qT",
|
||||
inform (loc, " no known conversion for implicit "
|
||||
"%<this%> parameter from %qT to %qT",
|
||||
info->from_type, info->to_type);
|
||||
else
|
||||
inform (loc, "no known conversion for argument %d from %qT to %qT",
|
||||
inform (loc, " no known conversion for argument %d from %qT to %qT",
|
||||
info->n_arg+1, info->from_type, info->to_type);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user