From: Gerald Pfeifer Date: Mon, 14 Nov 2005 16:28:55 +0000 (+0000) Subject: cpplib.h (struct cpp_callbacks): Annotate error with ATTRIBUTE_FPTR_PRINTF(3,0) inste... X-Git-Tag: releases/gcc-4.1.0~876 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ba0966205abd97fa9d915e0c4c5e22afa5936b15;p=thirdparty%2Fgcc.git 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 From-SVN: r106891 --- diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 747e45adc72e..312cb9899efd 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2005-11-14 Gerald Pfeifer + Ian Lance Taylor + + * 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 Uros Bizjak diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h index adae96b35605..9ec022f6dfc6 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. */