bsd.sys.mk [-Wno-uninitialized]

Hans Petter Selasky hps at selasky.org
Tue Jul 15 09:25:44 UTC 2014


On 07/05/14 15:10, David Chisnall wrote:
> On 5 Jul 2014, at 14:07, Dimitry Andric <dim at FreeBSD.org> wrote:
>
>> Interestingly, -Wno-uninitialized has been in bsd.sys.mk since r76861,
>> and the accompanying comment ("XXX Delete -Wuninitialized by default for
>> now -- the compiler doesn't always get it right") has never been
>> changed. :-)
>>
>> It is probably time to re-enable that warning after 13 years, at least.
>
> It probably only wants enabling for clang.  GCC (at least, GCC 4.2.1) performs this analysis based on analyses run by the optimisers and so the warnings are dependent on optimisation level.
>
> David

Hi,

Is someone working on this?

--HPS



More information about the freebsd-stable mailing list