This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Joy with new GCC 3.3 warnings -- HTF to shut them up?
- From: "David O'Brien" <obrien at FreeBSD dot org>
- To: Robert Dewar <dewar at gnat dot com>
- Cc: jbuck at synopsys dot com, kcook34 at ford dot com, gcc at gcc dot gnu dot org
- Date: Fri, 2 May 2003 22:31:35 -0700
- Subject: Re: Joy with new GCC 3.3 warnings -- HTF to shut them up?
- Organization: The NUXI BSD Group
- References: <20030503031726.B2A19F28D2@nile.gnat.com>
- Reply-to: obrien at FreeBSD dot org
On Fri, May 02, 2003 at 11:17:26PM -0400, Robert Dewar wrote:
> > I think it was a mistake for gcc to make this change, in fact, one can
> > argue that it is a regression (in that there doesn't appear to be a
> > way to write a conforming C program that uses this standard means of
> > getting a version identifier into the object file without producing a
> > warning).
>
> Any useful warning that is added to GCC is almost certainly to cause at
> least one case of such a "regression", so if you decide that is reason
> not to add it, then you essentially have a policy of adding no useful
> new warnings.
eh??? How does adding "-Wwarn-for-foo" cause any regressions -- you use
it when you're ready for it (or for new code).
--
-- David (obrien@FreeBSD.org)