diff options
| author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-04 01:16:32 +0000 |
|---|---|---|
| committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-04 01:16:32 +0000 |
| commit | d65b3a4091670f1e49fadb3f1a0a336dd96ae7d7 (patch) | |
| tree | 771a18a7e0143049cc335c7595e497a28f9625ec /libcpp/include | |
| parent | cc9012f7c74cf3452cdb1b6cde3cf6455e889cd3 (diff) | |
| download | ppe42-gcc-d65b3a4091670f1e49fadb3f1a0a336dd96ae7d7.tar.gz ppe42-gcc-d65b3a4091670f1e49fadb3f1a0a336dd96ae7d7.zip | |
gcc/cp:
* cp-tree.h (cp_cpp_error), error.c (cp_cpp_error): Take va_list*
parameter.
libcpp:
* include/cpplib.h (struct cpp_callbacks): Make error take
va_list* parameter.
* errors.c (cpp_error): Update call to callback.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106466 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/include')
| -rw-r--r-- | libcpp/include/cpplib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index c5d8e85391a..adae96b3560 100644 --- a/libcpp/include/cpplib.h +++ b/libcpp/include/cpplib.h @@ -473,7 +473,7 @@ struct cpp_callbacks /* Called to emit a diagnostic if client_diagnostic option is true. This callback receives the translated message. */ - void (*error) (cpp_reader *, int, const char *, va_list) + void (*error) (cpp_reader *, int, const char *, va_list *) ATTRIBUTE_PRINTF(3,0); }; |

