Date: Mon, 26 Jul 1999 09:31:26 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Endlisnis cc: djgpp AT delorie DOT com Subject: Re: __attribute__((unused)), gcc get's confused...? In-Reply-To: <379B132F.5B7C854D@unb.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 25 Jul 1999, Endlisnis wrote: > I'm having a problem with unused parameters. This code: > char **__crt0_glob_function (__attribute__((unused)) char * _argument) __attribute__ should come *after* the name, like this: char **__crt0_glob_function (char * _argument __attribute__((unused))) If you study carefully the GCC docs that describe __attribute__, you will see that all the examples there put __attribute__ after the name, not before it.