cpplib.h (struct cpp_callbacks): Annotate error with ATTRIBUTE_FPTR_PRINTF(3,0) instead of ATTRIBUTE_PRINTF(3,0).

* include/cpplib.h (struct cpp_callbacks): Annotate error with
	ATTRIBUTE_FPTR_PRINTF(3,0) instead of ATTRIBUTE_PRINTF(3,0).

Co-Authored-By: Ian Lance Taylor <ian@airs.com>

From-SVN: r106891
This commit is contained in:
Gerald Pfeifer 2005-11-14 16:28:55 +00:00 committed by Gerald Pfeifer
parent b967586450
commit ba0966205a
2 changed files with 7 additions and 1 deletions

View File

@ -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>

View File

@ -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. */