Gabriel Dos Reis wrote:
On Sat, Jun 20, 2009 at 9:25 AM, Robert Dewar<de...@adacore.com> wrote:

I must say I am really surprised at the claim that this particular
warning will cause lots of new warnings. Do we really have thousands
of packages with this kind of dubious construct?

I believe there are lot of C programmers out there that still think in terms of
"declare the variable; and assign ot it later, somewhere".  Remember that
C allows declaration as in the middle of a block only very recently...

I'm not surprised that we found so many constructs already.  I suspect
we will find more,
some reported, many unreported.

Sounds like many of them are potential bugs, given this misunderstanding ...

-- Gaby

Reply via email to