From nobody Mon Dec 05 00:30:32 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 4NQPbD5DN6z4k1st; Mon, 5 Dec 2022 00:30:32 +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 4NQPbD4mRJz4Nst; Mon, 5 Dec 2022 00:30:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670200232; 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=SWo/++soCWdbba6nntMiZ4qh+qqgaQrfJZ6S1OIaAeM=; b=kuNzfEuhsdUq0WmFy4QnViy6hLWl0fuyff20DxgAoTZhlOG9gGnFfJJpQmOCM534+kfsrx eJqQDqJLv+3gDoR44WqbHa2SwTJJo7dGMdHZxyBh3Dk8BACpubC2sCl9uUeibYc0mSWrob aoCGrh+C3ClD/Li/0Ri8NrM8TLhnPyr6vy2z7mfWlmNJlVvBNI+VXlE6Cm1OH/amUi4dw+ JY8OP42LIo/MPusJNUdlGq6Rk9ixKdnf8FJhywc41eh7fyGeUnopsUftE8p6vZJcIyT6K5 LDrbsl/q8sm9+ONOtJBP3fI7kkorf7ztPIQd/8CjWuH+MCIBoxrZ/by5tianUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670200232; 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=SWo/++soCWdbba6nntMiZ4qh+qqgaQrfJZ6S1OIaAeM=; b=Z8AHJ4AZN8GOZygkZu8QTzIWW9p4AOFy6m0kFtc7/vdbQKg/39EJlbwL/JdHpGSQV7+F7V dwtsEaYiO4IRvehpnYh2YuNN/IEEE3RMgTeGrcMm/1RhngzWbgxN9VKr5YZnXjCcWuY1IW px4dHClqC1wt5ZEt2bcZieU6wZUh/iUiznZuWcM+3Ev3yRNsJqjDrjYO0DSOh2JjgbWkZX w8/z62IY5sAQVJhAv8flR4fNH4wMQD5NFPNFe5JUXklU0/TGaRTLz+/t37RGIpY4dDukBe nIa3kwOtqQ47gxbEIVgPrZdHzlKSvrhy67cx2UlqJeZkhlOs9J70U8ZTwkltzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670200232; a=rsa-sha256; cv=none; b=ysRp+ZXh/kyeKOzWRX02WN3/TdygFZzlLZzlacZQgxQcgNVQ7VyQXvXivHgKjIPcjk8iJb 1DHUqp3PPsg2QJnBZO2/siLz59p8A4USLraPzcJV6OOUkRV/MlapD8J5gME6oHJG81iaYB NSr+rNVTNUIKU1/S2VNVJEEsCZ8IXJNxoCVGcGFUXAoKAtXBSg5zxDIewVoOt48bIH4Muf R6UbUDCZ2x0e36ZDcMuM65ZbNkSthzTqISNE9f1nmW+wGX/syQE0OncK0YxIfZy9aRS+1C rGXDMIiQ0G3pUNzTaIBQZ83o3jsTZzOQ2g3GeSx3YjRlw4+z3u8kY1LEexzCQw== 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 4NQPbD3kdMzdY1; Mon, 5 Dec 2022 00:30:32 +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 2B50UWwb069557; Mon, 5 Dec 2022 00:30:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B50UWS1069556; Mon, 5 Dec 2022 00:30:32 GMT (envelope-from git) Date: Mon, 5 Dec 2022 00:30:32 GMT Message-Id: <202212050030.2B50UWS1069556@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: ad96424e31a8 - main - bsd.sys.mk: Add NO_WDANGLING_POINTER helper variable. 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: ad96424e31a8c8c87fac8077fd4304c6fb133e25 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=ad96424e31a8c8c87fac8077fd4304c6fb133e25 commit ad96424e31a8c8c87fac8077fd4304c6fb133e25 Author: John Baldwin AuthorDate: 2022-12-05 00:26:48 +0000 Commit: John Baldwin CommitDate: 2022-12-05 00:26:48 +0000 bsd.sys.mk: Add NO_WDANGLING_POINTER helper variable. This variable expands to -Wno-dangling-pointer on GCC 12+. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D37532 --- share/mk/bsd.sys.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 42290e96f859..9f3bd6de9a47 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -125,6 +125,7 @@ NO_WARRAY_PARAMETER= -Wno-array-parameter .endif .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 120100 NO_WUSE_AFTER_FREE= -Wno-use-after-free +NO_WDANGLING_POINTER= -Wno-dangling-pointer .endif .endif # WARNS