From: Richard Guenther Date: Thu, 29 Apr 2010 14:10:39 +0000 (+0000) Subject: re PR bootstrap/43935 (Bootstrap failure: cc1: all warnings being treated as errors) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46e70c4ead6b119b07fde234427b6911c2e6816d;p=gcc.git re PR bootstrap/43935 (Bootstrap failure: cc1: all warnings being treated as errors) 2010-04-29 Richard Guenther PR bootstrap/43935 * plugin.h (invoke_plugin_callbacks): Annotate arguments with ATTRIBUTE_UNUSED. From-SVN: r158901 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce3bcbfba33..5daa045df5f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-04-29 Richard Guenther + + PR bootstrap/43935 + * plugin.h (invoke_plugin_callbacks): Annotate arguments + with ATTRIBUTE_UNUSED. + 2010-04-29 H.J. Lu PR target/43921 diff --git a/gcc/plugin.h b/gcc/plugin.h index 13628ec910b..94663dd4a10 100644 --- a/gcc/plugin.h +++ b/gcc/plugin.h @@ -44,7 +44,8 @@ extern void finalize_plugins (void); GCC_DATA - event-specific data provided by the compiler */ static inline int -invoke_plugin_callbacks (int event, void *gcc_data) +invoke_plugin_callbacks (int event ATTRIBUTE_UNUSED, + void *gcc_data ATTRIBUTE_UNUSED) { #ifdef ENABLE_PLUGIN /* True iff at least one plugin has been added. */