aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/call.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index c8e80e3..9d078c6 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,10 @@
2003-01-02 Mark Mitchell <mark@codesourcery.com>
+ * call.c (build_new_method_call): Fix typo in message format
+ string.
+
+2003-01-02 Mark Mitchell <mark@codesourcery.com>
+
* parser.c (cp_lexer_next_token_is): Declare it inline.
(cp_lexer_set_source_position_from_token): Likewise.
(cp_lexer_debugging_p): Likewise.
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index b760bce..bd4fb06 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)