missed uninitialised variable warning

Alexandre Oliva aoliva@redhat.com
Mon Aug 4 18:09:00 GMT 2003


On Aug  4, 2003, Laurent GUERBY <guerby@acm.org> wrote:

> For Ada at least the construct is illegal

In C and C++ it's legal, and there are actual cases in which you do
want to reference the variable (as an lvalue) before its declaration
is complete.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc mailing list