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: Should -Wjump-misses-init be in -Wall?


On Sat, Jun 20, 2009 at 9:25 AM, Robert Dewar<dewar@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.

-- Gaby


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