From: Jim Ingham <jingham@apple.com>
To: Andrew Cagney <cagney@gnu.org>
Cc: Daniel Jacobowitz <drow@mvista.com>, gdb-patches@sources.redhat.com
Subject: Re: report valid values for all errors for enum variables...
Date: Wed, 29 Oct 2003 19:03:00 -0000 [thread overview]
Message-ID: <B1024DDD-0A42-11D8-A22C-000A958F4C44@apple.com> (raw)
In-Reply-To: <3F9E87A9.4030407@gnu.org>
Presumably only the line:
fprintf_unfiltered (tmp_error_stream, c->enums[i]);
since that is the only fprintf with a non-string literal format string.
If I change this one, I get no warnings with -Wformat-nonliteral.
Jim
On Oct 28, 2003, at 7:13 AM, Andrew Cagney wrote:
>> Sure, how 'bout:
>
> Yep! But you'll need to switch some of the fprintf_unfiltered's to
> fputs_unfiltered before committing. Otherwize the build will barf due
> to -Wformat-nonliteral warnings.
>
> thanks,
> Andrew
>
>
>
--
Jim Ingham jingham@apple.com
Developer Tools
Apple Computer
prev parent reply other threads:[~2003-10-29 19:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-28 2:02 Jim Ingham
2003-10-28 4:03 ` Daniel Jacobowitz
2003-10-28 16:08 ` Andrew Cagney
2003-10-28 19:35 ` Jim Ingham
2003-10-29 15:15 ` Andrew Cagney
2003-10-29 19:03 ` Jim Ingham [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=B1024DDD-0A42-11D8-A22C-000A958F4C44@apple.com \
--to=jingham@apple.com \
--cc=cagney@gnu.org \
--cc=drow@mvista.com \
--cc=gdb-patches@sources.redhat.com \
/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