Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 2015 13:37:38 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Ian Lepore <ian@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r276666 - head/sys/conf
Message-ID:  <20150105213737.GK1949@funkthat.com>
In-Reply-To: <201501042008.t04K8P6A022616@svn.freebsd.org>
References:  <201501042008.t04K8P6A022616@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Lepore wrote this message on Sun, Jan 04, 2015 at 20:08 +0000:
> Author: ian
> Date: Sun Jan  4 20:08:24 2015
> New Revision: 276666
> URL: https://svnweb.freebsd.org/changeset/base/276666
> 
> Log:
>   Eliminate uninitialized variable warnings in kernel and module builds when
>   building with gcc 4.2
>   
>   This has been requested several times over the past few months by several
>   people (including me), because gcc 4.2 just gets it wrong too often.  It's
>   causing us to litter the code with lots of bogus initializers just to
>   squelch the warnings.  We still have clang and coverity telling us about
>   uninitialized variables, and they do so more accurately.

Thanks.

Now we should go find all the places added the initalization for gcc,
and remove them...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150105213737.GK1949>