This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: a warning to implement
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Bernard Dautrevaux <Dautrevaux at microprocess dot com>
- Cc: "'Per Abrahamsen'" <abraham at dina dot kvl dot dk>, gcc at gcc dot gnu dot org
- Date: 11 Feb 2002 13:11:31 -0200
- Subject: Re: a warning to implement
- Organization: GCC Team, Red Hat
- References: <17B78BDF120BD411B70100500422FC6309E479@IIS000>
On Feb 11, 2002, Bernard Dautrevaux <Dautrevaux@microprocess.com> wrote:
> However there seems to be such a strong opposition to having this warning
> installed by default in -Wall that I think we should at least provide it as
> an additional warning flag; it's useful enough that we may get it.
Hmm... Perhaps my message was lost in the noise...
We *already* have a warning that is enabled with -Wall for constructs
such as `T x = x;', and the warning is that `x' is being used
uninitialized. Some earlier versions of GCC apparently didn't issue
this warning, or only do when optimization is enabled, but the fact is
that there is a warning already, and adding another IMHO would be
overkill.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer