Date: Fri, 30 Dec 2011 07:25:47 -0600 From: Chuck Burns <break19@gmail.com> To: freebsd-current@freebsd.org Subject: Re: [rfc] removing/conditionalising WERROR= in Makefiles Message-ID: <4EFDBBDB.4090506@gmail.com> In-Reply-To: <4EFDB76C.1030901@FreeBSD.org> References: <20111226101040.GA6361@freebsd.org> <4EFDB76C.1030901@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/30/2011 7:06 AM, Dimitry Andric wrote: > On 2011-12-26 11:10, Alexander Best wrote: >> that's why i'd like to propose the following patch. i ran a full >> tinderbox run >> against r228878 and it suceeded. > > Did you also try this with clang? For example the xfs module alone gets > a whole slew of warnings, which would be fatal if WERROR= was removed: > > sys/gnu/fs/xfs/xfs_dir2_block.c:1149:17: warning: array index of '1' > indexes past the end of an array (that contains 1 element) [-Warray-bounds] > dep->name[0] = dep->name[1] = '.'; > ^ ~ > sys/gnu/fs/xfs/xfs_dir2_data.h:90:2: note: array 'name' declared here > __uint8_t name[1]; /* name bytes, no null */ > ^ > 1 warning generated. <snip> just as an aside, the XFS module didn't seem to work when I last attempted to use it, so it may be worth just removing it? -- Chuck Burns The Southern Libertarian http://www.thesouthernlibertarian.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EFDBBDB.4090506>