diff options
| author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-02 01:11:21 +0000 |
|---|---|---|
| committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-02 01:11:21 +0000 |
| commit | 923f7177463af8bfbfd1b6055e764d437892b25a (patch) | |
| tree | 8f118ebf98483f05231b2d6e24cf927591ca4a4c | |
| parent | ce10b2558b19f8eefc5ea030d077d8e4d4086adc (diff) | |
| download | ppe42-gcc-923f7177463af8bfbfd1b6055e764d437892b25a.tar.gz ppe42-gcc-923f7177463af8bfbfd1b6055e764d437892b25a.zip | |
* error.c (locate_error): %P takes an `int', not a `tree'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68809 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/cp/error.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1c0585073d6..a76a82b1017 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * error.c (locate_error): %P takes an `int', not a `tree'. + Wed Jul 2 00:36:48 CEST 2003 Jan Hubicka <jh@suse.cz> * decl2.c (defer_fn): Set DECL_DEFER_OUTPUT. diff --git a/gcc/cp/error.c b/gcc/cp/error.c index e26f242ed6d..d12cd6ca152 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); |

