svn commit: r324163 - in head: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common cddl/co...

Dimitry Andric dim at FreeBSD.org
Sun Oct 1 17:19:26 UTC 2017


On 1 Oct 2017, at 19:11, Ian Lepore <ian at FreeBSD.org> wrote:
> 
> On Sun, 2017-10-01 at 16:11 +0000, Andriy Gapon wrote:
>> Author: avg
>> Date: Sun Oct  1 16:11:07 2017
>> New Revision: 324163
>> URL: https://svnweb.freebsd.org/changeset/base/324163
>> 
>> Log:
>>   MFV r323530,r323533,r323534: 7431 ZFS Channel Programs, and
>> followups
>> 
> 
> Powerpc and sparc builds are dying on:
> 
> src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/lstrlib.c:870:
> warning: comparison is always true due to limited range of data type
> 
> "(unsigned char)anything >= 0" is also always true on clang, so I'm not
> sure why it doesn't warn too.

We've been using the clang-specific flag -Wno-error-tautological-compare
since some time, so it warns, but doesn't error out on it.  Fixing all
the occurrences in the kernel was too disruptive at the time.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20171001/d3a8376b/attachment-0001.sig>


More information about the svn-src-head mailing list