Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Pierre Muller <pierre.muller@ics-cnrs.unistra.fr>,
	       "'Andreas Schwab'" <schwab@linux-m68k.org>,
	gdb-patches@sourceware.org
Subject: Re: [RFA-v2] ARI fixes: Remove some sprintf calls
Date: Mon, 12 Nov 2012 16:27:00 -0000	[thread overview]
Message-ID: <87r4nybxcx.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20121112160741.GT5103@adacore.com> (Joel Brobecker's message of	"Mon, 12 Nov 2012 08:07:41 -0800")

>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> I'm wondering if there is any way to provoke an error if we ever
Joel> use sprintf again... I am asking because I know that it's easy to
Joel> ignore the ARI. I kind of remember not being able to do that, but
Joel> perhaps wrong memory. #poison, maybe?

If all uses are removed we could probably use #pragma GCC poison in
defs.h.

Tom


  reply	other threads:[~2012-11-12 16:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4297.05661158568$1352387430@news.gmane.org>
2012-11-08 17:25 ` [RFA] " Andreas Schwab
2012-11-08 21:34 ` Tom Tromey
2012-11-11 23:11   ` [RFA-v2] " Pierre Muller
2012-11-12 16:08     ` Joel Brobecker
2012-11-12 16:27       ` Tom Tromey [this message]
2012-11-13  9:51       ` Pierre Muller
2012-11-13 15:46         ` 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=87r4nybxcx.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pierre.muller@ics-cnrs.unistra.fr \
    --cc=schwab@linux-m68k.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