From: dewar@gnat.com (Robert Dewar)
To: Steven_Shaw@adc.com, gcc@gcc.gnu.org
Subject: Re: feature request - unused arguments
Date: Tue, 23 Jul 2002 06:28:00 -0000 [thread overview]
Message-ID: <20020723103412.E3D07F2942@nile.gnat.com> (raw)
<<Please can someone add a warning for unused arguments in C and C++. It would be
much appreciated.
>>
We have this feature in Ada (GNAT) and we definitely find it useful. However
we also found it important to add
pragma Unreferenced (entity);
that would note that an entity (most often an argument) is deliberately
unreferenced.
next reply other threads:[~2002-07-23 10:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-23 6:28 Robert Dewar [this message]
2002-07-23 7:20 ` Momchil Velikov
-- strict thread matches above, loose matches on Subject: below --
2002-07-24 1:05 Steven_Shaw
2002-07-24 1:42 ` Joe Buck
2002-07-23 5:18 Steven_Shaw
2002-07-23 6:04 ` Gerald Pfeifer
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=20020723103412.E3D07F2942@nile.gnat.com \
--to=dewar@gnat.com \
--cc=Steven_Shaw@adc.com \
--cc=gcc@gcc.gnu.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).