Commit ba096620 by Gerald Pfeifer Committed by Gerald Pfeifer

cpplib.h (struct cpp_callbacks): Annotate error with ATTRIBUTE_FPTR_PRINTF(3,0)…

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
parent b9675864
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> 2005-11-09 Per Bothner <per@bothner.com>
Uros Bizjak <uros@kss-loka.si> Uros Bizjak <uros@kss-loka.si>
......
...@@ -474,7 +474,7 @@ struct cpp_callbacks ...@@ -474,7 +474,7 @@ struct cpp_callbacks
/* Called to emit a diagnostic if client_diagnostic option is true. /* Called to emit a diagnostic if client_diagnostic option is true.
This callback receives the translated message. */ 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); ATTRIBUTE_FPTR_PRINTF(3,0);
}; };
/* Chain of directories to look for include files in. */ /* Chain of directories to look for include files in. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment