Date: Fri, 19 Feb 2016 16:49:35 -0800 From: Conrad Meyer <cse.cem@gmail.com> To: Gleb Smirnoff <glebius@freebsd.org> Cc: Alan Somers <asomers@freebsd.org>, Sergey Kandaurov <pluknet@gmail.com>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org> Subject: Re: svn commit: r295768 - head/usr.sbin/iostat Message-ID: <CAG6CVpXApqTR2KeGsMs-inQOmz6EyvcVpEPL1sJOqZBYpXXMBw@mail.gmail.com> In-Reply-To: <20160219230612.GR1945@FreeBSD.org> References: <201602182008.u1IK81vg092127@repo.freebsd.org> <CAE-mSO%2B7p=Equq81PPQjfZv1piPydBr4Mnk363CEs3w9EXRi9w@mail.gmail.com> <CAOtMX2hyZ=GFgp8F6t0dMDYF5FSPdoP9KdMU7V5rmscpaPUnsw@mail.gmail.com> <20160219230612.GR1945@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 19, 2016 at 3:06 PM, Gleb Smirnoff <glebius@freebsd.org> wrote: > Isn't zero filling part of the standard? I don't see why lack of > explicit zeroing is a warning? Looks a false warning to me. Yep. This is Clang being too whiney, IMO. I think a good workaround is to add -Wno-missing-field-initializers to warn flags (but otherwise keep high WARNS). Best, Conrad
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpXApqTR2KeGsMs-inQOmz6EyvcVpEPL1sJOqZBYpXXMBw>