Re: Missing warning about uninitialized variable.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2007/11/29, eschenb@xxxxxxxxxxxxxxxxxxxxxxxxxxx
<eschenb@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> If gcc should warn about it being potentially not initialized, and if so,
> using which command line options - that's a completely different topic.

Warn no! Error yes!

Why?

Many compilations of projects print many warnings as is they
have not problems! But ...

     For large projects with uninitialized variables, the behaviour
     could be stochasticly flawed as a russian roulette.

With Error instead of Warn, they abort the compilations for later
repairing of theirs bugs and avoiding the scenario of russian roulette.

 J.C.Pizarro

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux