From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Russell King <rmk+lkml@arm.linux.org.uk>
Cc: David Woodhouse <dwmw2@infradead.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: __attribute__((unused))
Date: Fri, 15 Oct 2004 13:31:07 +0100 [thread overview]
Message-ID: <1097843465.9862.5.camel@localhost.localdomain> (raw)
In-Reply-To: <20041014230802.C28649@flint.arm.linux.org.uk>
On Iau, 2004-10-14 at 23:08, Russell King wrote:
> It's the "later compilers" which I'm worried about here - I think they
> defined "unused" to mean "this really really isn't used and you can
> discard it". Hence my concern with the above.
This was the explanation I got some time ago
-- quote --
So "used" cases that used "unused" could break, though older compilers
in essence used "unused" to mean both "used" and "unused". Since
"unused" becomes useless for using in "used" cases, we now must be sure
to use "used" when that's the use that's useful.
-- Roland McGrath
I found it so helpful it became a .sig 8)
next prev parent reply other threads:[~2004-10-15 13:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-14 21:02 __attribute__((unused)) Russell King
2004-10-14 22:04 ` __attribute__((unused)) David Woodhouse
2004-10-14 22:08 ` __attribute__((unused)) Russell King
2004-10-14 23:28 ` __attribute__((unused)) Maciej W. Rozycki
2004-10-15 12:31 ` Alan Cox [this message]
2004-10-15 13:50 ` __attribute__((unused)) Richard B. Johnson
2004-10-15 12:33 ` __attribute__((unused)) Frank van Maarseveen
2004-10-15 13:15 ` __attribute__((unused)) Maciej W. Rozycki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1097843465.9862.5.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk+lkml@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox