summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-14 16:28:55 +0000
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-14 16:28:55 +0000
commit9a7c76f93e617b1bdadd87a9917e1649e4130aba (patch)
tree8c82c5342d450485ff4219e97dfc540749fa4e5a /libcpp
parente0e707af99aa8fc8807c7663b9ada357fa603a1b (diff)
downloadgcc-9a7c76f93e617b1bdadd87a9917e1649e4130aba.tar.gz
* include/cpplib.h (struct cpp_callbacks): Annotate error with
ATTRIBUTE_FPTR_PRINTF(3,0) instead of ATTRIBUTE_PRINTF(3,0). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106891 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog6
-rw-r--r--libcpp/include/cpplib.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 747e45adc72..312cb9899ef 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-14 Gerald Pfeifer <gerald@pfeifer.com>
+ Ian Lance Taylor <ian@airs.com>
+
+ * include/cpplib.h (struct cpp_callbacks): Annotate error with
+ ATTRIBUTE_FPTR_PRINTF(3,0) instead of ATTRIBUTE_PRINTF(3,0).
+
2005-11-09 Per Bothner <per@bothner.com>
Uros Bizjak <uros@kss-loka.si>
diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h
index adae96b3560..9ec022f6dfc 100644
--- a/libcpp/include/cpplib.h
+++ b/libcpp/include/cpplib.h
@@ -474,7 +474,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 *)
- ATTRIBUTE_PRINTF(3,0);
+ ATTRIBUTE_FPTR_PRINTF(3,0);
};
/* Chain of directories to look for include files in. */