From nobody Mon Oct 26 13:46:12 2026 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 4jCvzY3cjYz6wj2p for ; Mon, 26 Oct 2026 13:46:17 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jCvzY2HY2z4ZrR for ; Mon, 26 Oct 2026 13:46:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793022377; 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=+fPfGmFE0kjWEBeK7zj0aA81GyNV9sgcgPTXYJ0y0jU=; b=cdJIuaxVYi/fhrN51yhUdHMbj1iBAcnWCLlhX1RuKPKAQ8rEaoiUqlzlXP5Coe4xTGm25w 66bfQKGy+Gp+sOFUh32Mx7F4Kv+pxP7Ri+TsF4F4b+G6MtSat1xmcTR2ZOL/NIJGeOmrnl 6WUTbaPGirqLzPRcgx1lDKz+uLyvh6bHlTTJxjX2SSJ+wYL9FGdR4WN/VROusfqo43zvcL CcIWsEJ3w7vE7eCaJvjn89H0roimPVOfADNruQLolNAHspt3qS/h7FT05+63cQXGOdBCer u6iRNrWwYqUL/nm/9J43xfXpEju8M664VW/uwfkaBXHyQLmMGlsjUWTBZSaqTA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793022377; b=qOAQTNJaI/bCGxQZKKECOMx3flw1YOrsTHhQlhA+gtkl0NKi9yJgZ4sBLq5cpKma+pgctc OgbnZeZRFKBYAiz+zyik4dUFASTiH0Ynr71DmrUF1eDcOiUgs3IdavbcohmVjN87GUGcqn fGNUQEhODRpAm30MV1v+dNVOeFv5pMIXmdJN13EloEyZO0bTnnZvA7sk3YCvS+yHpKzIUp eUuzvI0BWEmz2YL4Pe6qF36FeJYXdVR+uzMAyKmY7pIOYTR+t6/oDFQTlGpKrud0DOksZD vC0763OEU9JyWUtDPj3G9RNQBsGZQ+uCb6Jh2w95u9oUL+iWKYynb2R2oGAwkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793022377; 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=+fPfGmFE0kjWEBeK7zj0aA81GyNV9sgcgPTXYJ0y0jU=; b=yymDviVUKYl1Jwp9Qu9gT9Xw4DM7jnfjWdjbj05P3VdvQHwhpU1CX/SXGeDeAUjUdZegfC 8v9z9EbqhaCZu5rdXuZZ731pfW9Pu5cXmRw4wT/HVPwoybb5Z5AZ6hYZSSRCXEj0rg/BEB 1YhUj9uBRsRxgBofVwSDnhJ+y/N8jxECpUPlGKkN1XJ1mZM1hf3UxE4Encs1fXRoz8v23l YA7ZhuLb3cV4/8jBpx2h/SvwhjWWFvtrkbTtdQJLk6C9GItCPsQ/FonCMkIxhVY3cVC+Rp KlHcN6DQDUqZyw5N6+ogBdc3pIzFpFZbOc8qJxnJl7GO7IkYZFUcxO8sFwL2+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jCvzY1yCLzcLh for ; Mon, 26 Oct 2026 13:46:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 39f7f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 26 Oct 2026 13:46:12 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 7ea9ac99e171 - main - libc: Add a man page caveat about the `w` modifier List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ea9ac99e171bb2b6e425e4b4af728f4783ab07c Auto-Submitted: auto-generated Date: Mon, 26 Oct 2026 13:46:12 +0000 Message-Id: <6adf59a4.39f7f.2653a0d4@gitrepo.freebsd.org> The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=7ea9ac99e171bb2b6e425e4b4af728f4783ab07c commit 7ea9ac99e171bb2b6e425e4b4af728f4783ab07c Author: Ed Maste AuthorDate: 2026-10-21 15:22:19 +0000 Commit: Ed Maste CommitDate: 2026-10-26 13:46:02 +0000 libc: Add a man page caveat about the `w` modifier In-tree Clang is unaware of the N2680 fixed-width modifier `w` and emits a warning when used. PR: 299631 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D60939 --- lib/libc/stdio/printf.3 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index b421a2a0985d..7f38338f5edc 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -392,6 +392,12 @@ conversion: .It Sy Modifier Ta Cm c Ta Cm s .It Cm l No (ell) Ta Vt wint_t Ta Vt "wchar_t *" .El +.Pp +Compiler support for the +.Cm w +fixed-width integer type modifier is limited, and compilers may produce a +warning when used (depending on compiler version and language standard +settings). .It A character that specifies the type of conversion to be applied. .El