From nobody Mon Apr 18 23:11:52 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4045811C86D7; Mon, 18 Apr 2022 23:11:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kj2kd0P0Fz3pJ8; Mon, 18 Apr 2022 23:11:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650323513; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Jr5D6LxAXsbLA+DcHqPlVIioRV2C2Dbp5TTi6Wsla68=; b=yaWqUm5ItgulOtgGl/x256ahQ+LIpzuqouJg+sY2ZHQIhORjjjqrRotpAjnPBg61qN4VgU 1mORsCsBQcnpoEGv6QuUcI87N/NyIvdgPy1E9CUR8wv7bb28g/xQrhIRFtNz85KxULH1kx mrZbXx2DZGznhH/toGqfTTnesb3jVWeL71k3bhze0Xg9ODA52430gfApzeZcAu5cVEuUpW Yx05jPM167JdrRk1h5tZD6QbsmhdH0Q1Fmhcx2s6YqK88nfRiqSDlARfPSK44GjYKb9EsH 82a11gcNxM5CouZPt1SbgF1O3sqbmmB0AErE87ByJkSf2cEhg1CW1qx1LrjFZw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DB7621C201; Mon, 18 Apr 2022 23:11:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23INBqLW025672; Mon, 18 Apr 2022 23:11:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23INBqfC025671; Mon, 18 Apr 2022 23:11:52 GMT (envelope-from git) Date: Mon, 18 Apr 2022 23:11:52 GMT Message-Id: <202204182311.23INBqfC025671@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 8b83d7e0ee54 - main - Make -Wunused-but-set-variable a fatal error for clang 13+ for kernel builds. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8b83d7e0ee54416b0ee58bd85f9c0ae7fb3357a1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650323513; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Jr5D6LxAXsbLA+DcHqPlVIioRV2C2Dbp5TTi6Wsla68=; b=XPEf0QCLdC97bSudLZyfa1VlGg+Q7YlBP207+axIJOCs3BZrvKFNjh3Sj9XAf5eMSOdd8y zJiKNlAbrA+vEePH82bXipJKZP5F/Mxk3fqh9X+zGY9FZ+xYfoAczJ/S1MO3xebavKX6dd oO2N41k/k+yC+Ch9oxLru9ejb87Q1ZYDrRA7+4QDXKe7DBHn4yMbj9kmxgkIkqY5mfwa2j Zs0lqzrhuKPDO4xHKwJNcr2xJ2lkwXK6bX/4Ih2QZMn8IIQq70ZRe7QUMJ9nc8I2WYIzqj cJhFcz4r1IDvugMdr0tE5+eHB6jVmNhq3V+ld4NQgxbt4+/Z0wd/qm3u6wceSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650323513; a=rsa-sha256; cv=none; b=uE+UnRdVWNIscLz5eoBC0j3ZELaOElYmtTpymckwsBd58pQdd+Bo82RC0FdRxuMd16yez0 KbCs+zVpW3q1oAg6W4muDBekC+LaTRF7Ezizue/r4Vtg1AphDpA5CUXX4qAUH8kAS9YYeC sA7Q2HLVSXUtQGs5stjr+J/G90R748nvwWViWK0uvflPmC8ZRgySta3B4gfM/tlmgZ2dPK JCCpWEXXtGJbd0r3J77mCLscE3ZQdDaM3eq2IOH1VU+Cje5eBvcyjiEyVt76XYeQwPeNAj skJ7SCfmDtCYWwyc/+fR2hdWJUX/h5ZRH/8ea5zmojUv3oerGzp2UWjIbUSGvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=8b83d7e0ee54416b0ee58bd85f9c0ae7fb3357a1 commit 8b83d7e0ee54416b0ee58bd85f9c0ae7fb3357a1 Author: John Baldwin AuthorDate: 2022-04-18 23:06:27 +0000 Commit: John Baldwin CommitDate: 2022-04-18 23:06:27 +0000 Make -Wunused-but-set-variable a fatal error for clang 13+ for kernel builds. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D34949 --- sys/conf/kern.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index f97be774ea10..b86149ab4618 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -42,9 +42,6 @@ CWARNEXTRA?= -Wno-error=tautological-compare -Wno-error=empty-body \ -Wno-error=pointer-sign CWARNEXTRA+= -Wno-error=shift-negative-value CWARNEXTRA+= -Wno-address-of-packed-member -.if ${COMPILER_VERSION} >= 130000 -CWARNFLAGS+= -Wno-error=unused-but-set-variable -.endif .endif # clang .if ${COMPILER_TYPE} == "gcc"