From: Kaveh R. Ghazi Date: Wed, 2 Jul 2003 01:11:21 +0000 (+0000) Subject: * error.c (locate_error): %P takes an `int', not a `tree'. X-Git-Tag: releases/gcc-3.4.0~5242 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b01b24846839cdfe955c04856c21d1a0249397a6;p=thirdparty%2Fgcc.git * error.c (locate_error): %P takes an `int', not a `tree'. From-SVN: r68809 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1c0585073d6e..a76a82b10171 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 e26f242ed6de..d12cd6ca1522 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);