This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Wuninitialized issues
> From: Jeffrey A Law <law@redhat.com>
> Date: Wed, 02 Nov 2005 19:17:06 -0700
>
> On Wed, 2005-11-02 at 20:44 -0500, Daniel Jacobowitz wrote:
> > People who use -Wall -Werror are _already_ pissed off about
> > -Wuninitialized. It virtually guarantees that your build will fail on
> > a new release of GCC.
Putting on my user hat, I would have to disagree.
At EMC we build with '-Wall -Werror' and do not get pissed off by
-Wuninitialized. Historically, -Wuninitialized does not generate
a lot of false positives in our code.
> Very true, but I don't think that's an execute to generate even more
> false positives for them! :-)
>
> Those groups of users also get upset anytime we add something -Wall, but
> that's another discussion unto itself!
I get upset when a new warning is added to -Wall, it generates noise,
and there's no way to turn it off. But, let's not have that
discussion today.
> jeff
Take user hat off; put developer hat back on.
David