From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: drow@false.org
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] Turn on -Werror by default
Date: Sun, 15 Jan 2006 20:40:00 -0000 [thread overview]
Message-ID: <200601152039.k0FKdk9x002692@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <20060115202601.GA12204@nevyn.them.org> (message from Daniel Jacobowitz on Sun, 15 Jan 2006 15:26:01 -0500)
> Date: Sun, 15 Jan 2006 15:26:01 -0500
> From: Daniel Jacobowitz <drow@false.org>
>
> > Since we also seem to agree that the "warn for pointer argument
> > passing or assignment with different signedness" warning from GCC 4 is
> > mostly pedantry, how about the attached patch, which adds
> > -Wno-pointer-sign" to the mix.
> >
> > I can add that bit first, and then when we've fixed the few remaining
> > warnings, we can enable -Werror.
>
> I think we do need to fix the pointer sign warnings eventually, as a
> code cleanliness issue, so perhaps this is a good time to do it.
> You've needled me enough this week that I'm actually rolling now :-)
> Give me a few days.
Heh ;-)
> BTW, if we were to go with your patch, wouldn't we would need to
> conditionalize the warning on an appropriate version of GCC? Or is
> there pre-existing magic for this in $build_warnings?
Yes, there is.
> I'd gotten it into my head that there was no way to turn these off.
> Nice to be wrong about that.
It may very well be that -Wno-pointer-sign, wasn't there in GCC HEAD
when Andrew initially started "fixing" things.
Anyway, I'll keep this patch in my tree, and will bring it up again if
it turns out we need it. I'll start nagging again in two weeks or so ;-).
Mark
prev parent reply other threads:[~2006-01-15 20:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-08 17:59 Mark Kettenis
2006-01-08 22:25 ` Daniel Jacobowitz
2006-01-08 22:53 ` Mark Kettenis
2006-01-15 17:01 ` Daniel Jacobowitz
2006-01-15 17:56 ` Mark Kettenis
2006-01-15 18:21 ` Daniel Jacobowitz
2006-01-15 20:04 ` Mark Kettenis
2006-01-15 20:26 ` Daniel Jacobowitz
2006-01-15 20:40 ` Mark Kettenis [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=200601152039.k0FKdk9x002692@elgar.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=drow@false.org \
--cc=gdb-patches@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