From b01b24846839cdfe955c04856c21d1a0249397a6 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Wed, 2 Jul 2003 01:11:21 +0000 Subject: [PATCH] * error.c (locate_error): %P takes an `int', not a `tree'. From-SVN: r68809 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/error.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1c05850..a76a82b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2003-07-01 Kaveh R. Ghazi + + * error.c (locate_error): %P takes an `int', not a `tree'. + Wed Jul 2 00:36:48 CEST 2003 Jan Hubicka * decl2.c (defer_fn): Set DECL_DEFER_OUTPUT. diff --git a/gcc/cp/error.c b/gcc/cp/error.c index e26f242..d12cd6c 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -2551,6 +2551,7 @@ locate_error (const char *msgid, va_list ap) { /* Just ignore these possibilities. */ case '%': break; + case 'P': case 'd': (void) va_arg (ap, int); break; case 's': (void) va_arg (ap, char *); break; case 'L': (void) va_arg (ap, enum languages); break; @@ -2564,7 +2565,6 @@ locate_error (const char *msgid, va_list ap) case 'D': case 'E': case 'F': - case 'P': case 'T': case 'V': t = va_arg (ap, tree); -- 2.7.4