This is the mail archive of the
mailing list for the GCC project.
Re: Missing warning about uninitialized variable.
On 2007/11/29, firstname.lastname@example.org
> 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!
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.