From nobody Thu Sep 07 06:41:57 2023 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 4Rh8mP3ljdz4slM7; Thu, 7 Sep 2023 06:41:57 +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 4Rh8mP2vRfz4MCc; Thu, 7 Sep 2023 06:41:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694068917; 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=awqXBSOro9GMNNz6K6ddBFT0s/iZRE/2o7HupfKuhgU=; b=FFk4XQliQZqZ7Y1G+hVhcerIY0F2eEHCJ/5yIfX0vrKVuXZj6NFmK/fSyS8rzhgN//NN29 8qUcASKhgcbw/nCKihKPiFcwUtjrCCCy7bxJuO8bpQKHPe6bNbtodxIN6roNCtl+J1nMNR M9auXj8B2aW2Bwc1YxNV1xh1OVvRDz1+qMEd3iUEUBAkCEtxcbv6qB6jLKngAGd1exD/xo 3I4OTmKEnZTEiIsBnpivxCeYympEdM6IJ7P2lC1hMn95VoyhVAYLQF4CWdOsEtx5lRLWZC Bx67zUTTU7Fyz1eRqw3aJ5BPHfFWCALstORKD9qBjv3z8eK4iB9yHPuRIFLrNw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694068917; a=rsa-sha256; cv=none; b=KIbD2i1SIUjwDshJ/h4Iw84btb4Is3WTYIBYSZCUpUFzT3W0DG2dSFlgHVNpDmXdx/iE6O PFB/dvhL3rAHYwhE4C+CGaOYn+FSHoeuQ+eRkaCDugzSGmZp55zmGhPzRveBe3zOef85JS DMUsodkqWTSg/NemTwpsKh5LNxVLLHI+jsQW87cWAnK5uVQxmJ71g7B2R0zh+2RC+00LG5 cADhNzCJEXSRvEYrlK7DCLhKDPs+hh2S//SZkGiPckC3hSUmJv2lTk3di5yb68S5pAfhtV 6uWOLoZsqq9DU92cNMYgsw3sYjYIer1jgK+amlt8017UG02HgRR+I1uAUEUdbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694068917; 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=awqXBSOro9GMNNz6K6ddBFT0s/iZRE/2o7HupfKuhgU=; b=HnWseXV9HjaF3HUdTLg+Z7Y+8nf1xHdj3Yy93U4Mru2nuL+RHtkKmMkRU5LRkG4PranmIS srDi3maY2DWXUX2B8qnqMKea2YmtDPOwDTI0bVuX1mL4zhIO4N6NWP0NHDpHNXSwa2l6TB n6w23eOdch0Nd4m+gwJJ9J4MMWSPSRJDYF225KvP+iOEN1sSXLTCSsfbnHAw4dYQV8IUaq uo6V6n88xIRiDUHmFgkO7u4aiSuJEJQ/HoWjVcVKmxY11scVWyrzGZGCO7u2oGWCNNkVXD PfOUWdo8AsEvKNwbe59WJxErvSLbwEBWz92j8g7GpLD97hFSZ6dew0WItG1nCg== 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 4Rh8mP1cJ6zpNK; Thu, 7 Sep 2023 06:41:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3876fvKh002128; Thu, 7 Sep 2023 06:41:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3876fvck002125; Thu, 7 Sep 2023 06:41:57 GMT (envelope-from git) Date: Thu, 7 Sep 2023 06:41:57 GMT Message-Id: <202309070641.3876fvck002125@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: 294bd2827e61 - main - libc: Suppress format checks on printf() / scanf() tests. 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: des X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 294bd2827e61a78041f6613f4b82235fcc454157 Auto-Submitted: auto-generated The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=294bd2827e61a78041f6613f4b82235fcc454157 commit 294bd2827e61a78041f6613f4b82235fcc454157 Author: Dag-Erling Smørgrav AuthorDate: 2023-09-07 06:14:39 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2023-09-07 06:40:14 +0000 libc: Suppress format checks on printf() / scanf() tests. Reviewed by: jrtc27, markj, emaste Differential Revision: https://reviews.freebsd.org/D41727 --- lib/libc/tests/stdio/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/libc/tests/stdio/Makefile b/lib/libc/tests/stdio/Makefile index 2a8a4e69a6c4..7716a60c0e6b 100644 --- a/lib/libc/tests/stdio/Makefile +++ b/lib/libc/tests/stdio/Makefile @@ -38,9 +38,15 @@ LIBADD.eintr_test+= md LIBADD.printfloat_test+= m LIBADD.scanfloat_test+= m +# Older toolchains won't understand C23 %b, %wN, %wfN +PROG_OVERRIDE_VARS+= NO_WFORMAT +NO_WFORMAT.snprintf_test= +NO_WFORMAT.sscanf_test= +NO_WFORMAT.swprintf_test= +NO_WFORMAT.swscanf_test= + .if ${COMPILER_TYPE} == "gcc" # 90: use of assignment suppression and length modifier together in scanf format -PROG_OVERRIDE_VARS+= NO_WFORMAT NO_WFORMAT.scanfloat_test= .endif