missed uninitialised variable warning

Robert Dewar dewar@gnat.com
Mon Aug 4 18:12:00 GMT 2003


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

Isn't that a bit dubious from a formal point of view. Yes, I understand
it will typically work, but I am not sure I can deduce that it must work.



More information about the Gcc mailing list