diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ae7d057a11b9..0ebc42294f00 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2010-12-09 Nathan Froyd + + * call.c (print_conversion_rejection): Indent messages two spaces. + 2010-12-09 Nathan Froyd * typeck.c (cp_build_indirect_ref): Call invalid_indirection_error. diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 9c9f6484c836..7d602b94d22c 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -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 % parameter from %qT to %qT", + inform (loc, " no known conversion for implicit " + "% 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); }