This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: a warning to implement


> 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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]