Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
To: <gdb@sourceware.org>
Cc: <gdb-patches@sourceware.org>
Subject: [ARI] Status of ATTRIBUTE_UNUSED in gdb sources
Date: Tue, 04 May 2010 13:49:00 -0000	[thread overview]
Message-ID: <002701caeb90$894ad040$9be070c0$@muller@ics-cnrs.unistra.fr> (raw)

  The Awk Regression Index page:
http://sourceware.org/gdb/current/ari/

Only has one Critical entry at top before the big table:

BUG ATTRIBUTE_UNUSED with 18 occurences.
Description is:
	Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with
-Werror and, consequently, is not able to tolerate false warnings. Since
-Wunused-param produces such warnings, neither that warning flag nor
ATTRIBUTE_UNUSED are used by GDB.

  Is this comment still valid, from the compiler point of view?
Does gcc still have such problems?

  If yes, is it OK if I remove all
ATTRIBUTE_UNUSED from sources?
 
  If no, shouldn't we change that policy?


Pierre Muller
as ARI maintainer for GDB




             reply	other threads:[~2010-05-04 13:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-04 13:49 Pierre Muller [this message]
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

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='002701caeb90$894ad040$9be070c0$@muller@ics-cnrs.unistra.fr' \
    --to=pierre.muller@ics-cnrs.unistra.fr \
    --cc=gdb-patches@sourceware.org \
    --cc=gdb@sourceware.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