Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Pierre Muller <pierre.muller@ics-cnrs.unistra.fr>,
	gdb@sourceware.org,	gdb-patches@sourceware.org
Subject: Re: [ARI] Status of ATTRIBUTE_UNUSED in gdb sources
Date: Wed, 05 May 2010 14:40:00 -0000	[thread overview]
Message-ID: <20100505144004.GL2768@adacore.com> (raw)
In-Reply-To: <20100504211425.GA22466@host0.dyn.jankratochvil.net>

> >   Did you really use -Wunused-param to catch this,
> > or is it just a case where it could have been useful 
> > to have this warning?
> 
> I haven't tried to use -Wunused-param; it was spotted just by eyes.

What I think Jan and I wanted to say is that -Wunused-param is not
useless; but that it comes at too high a price for too little gain.
The example that Jan provided was meant to be a real-life example
where the warning would have been useful (assuming that the high
noise/signal ration haven't conditioned us to simply silence it without
looking further).

-- 
Joel


      reply	other threads:[~2010-05-05 14:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-04 13:49 Pierre Muller
2010-05-04 15:38 ` Joel Brobecker
2010-05-04 16:05   ` [RFA] Get rid " Pierre Muller
2010-05-05 14:42     ` Joel Brobecker
2010-05-05 15:09       ` Pierre Muller
2010-05-04 16:23   ` [ARI] Status " Jan Kratochvil
2010-05-04 20:59     ` Pierre Muller
2010-05-04 21:15       ` Jan Kratochvil
2010-05-05 14:40         ` Joel Brobecker [this message]

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=20100505144004.GL2768@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=gdb@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=pierre.muller@ics-cnrs.unistra.fr \
    /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