| delorie.com/archives/browse.cgi | search |
| Date: | Mon, 26 Jul 1999 09:31:26 +0300 (IDT) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Endlisnis <s257m AT unb DOT ca> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: __attribute__((unused)), gcc get's confused...? |
| In-Reply-To: | <379B132F.5B7C854D@unb.ca> |
| Message-ID: | <Pine.SUN.3.91.990726093100.27650E@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |