Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2022 16:51:39 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 2152b2720727 - stable/13 - Disable clang 14 warning about bitwise operators in one more place
Message-ID:  <202202111651.21BGpdPi032626@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=2152b272072714ec05cda8883c46cc5515aa1f65

commit 2152b272072714ec05cda8883c46cc5515aa1f65
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-02-10 18:48:31 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-02-11 16:42:46 +0000

    Disable clang 14 warning about bitwise operators in one more place
    
    Follow up 5f2aca839400, where I missed the -Werror warning still being
    emitted in libsa.
    
    Fixes:          5f2aca839400
    MFC after:      3 days
    
    (cherry picked from commit 74f7afdfd2f5c1beaed7af1bfe89b8b520744500)
---
 stand/libsa/zfs/Makefile.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/stand/libsa/zfs/Makefile.inc b/stand/libsa/zfs/Makefile.inc
index 777250806601..00839c05d37d 100644
--- a/stand/libsa/zfs/Makefile.inc
+++ b/stand/libsa/zfs/Makefile.inc
@@ -30,6 +30,7 @@ CFLAGS.nvlist.c+= -I${ZFSOSINC}/spl
 CFLAGS.zfs.c+=	-I${ZFSOSINC}/spl 				\
 		-I${SRCTOP}/sys/cddl/contrib/opensolaris/common/lz4
 CFLAGS.zstd.c+=	-U__BMI__
+CFLAGS.zstd.c+=	${NO_WBITWISE_INSTEAD_OF_LOGICAL}
 CFLAGS.zstd_shim.c+= -DIN_BASE -I${OZFS}/include
 
 # Do not unroll skein loops, reduce code size



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