From 5e8a153a549944ab3b061a0cc485540cff9f5d3d Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 2 Jan 2003 19:57:34 +0000 Subject: [PATCH] call.c (build_new_method_call): Fix typo in message format string. * call.c (build_new_method_call): Fix typo in message format string. From-SVN: r60800 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/call.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c8e80e3744f1..9d078c63b5b2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2003-01-02 Mark Mitchell + + * call.c (build_new_method_call): Fix typo in message format + string. + 2003-01-02 Mark Mitchell * parser.c (cp_lexer_next_token_is): Declare it inline. diff --git a/gcc/cp/call.c b/gcc/cp/call.c index b760bcee3b55..bd4fb064cfd7 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -4861,7 +4861,7 @@ build_new_method_call (tree instance, tree fns, tree args, bool free_p; pretty_name = name_as_c_string (name, basetype, &free_p); - error ("call of overloaded `%D(%A)' is ambiguous", pretty_name, + error ("call of overloaded `%s(%A)' is ambiguous", pretty_name, user_args); print_z_candidates (candidates); if (free_p)