a warning to implement
Joe Buck
jbuck@synopsys.COM
Wed Feb 6 10:51:00 GMT 2002
> On Feb 6, 2002, dewar@gnat.com (Robert Dewar) wrote:
>
> > One thing I realize I am confused about now, is it *currently* the case
> > that gcc documents that
>
> > int a = a;
>
> > suppresses warnings on a, or is this just a proposed feature?
Alexandre writes:
> I've only proposed it as a feature. I don't think this is
> documented as such.
It is currently the case *by accident*, and this accident is particularly
bad in C++, as it suppresses uninitialized variable warnings in
constructor calls that users would like to see.
Evidently Alexandre would like to document this accident.
More information about the Gcc
mailing list