From nobody Sun Jun 21 22:29:15 2026 X-Original-To: dev-commits-src-main@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 4gk5bt4QSvz6hwDQ for ; Sun, 21 Jun 2026 22:29:30 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gk5bt0x8Cz46LW for ; Sun, 21 Jun 2026 22:29:30 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-49241a577d8so16184985e9.3 for ; Sun, 21 Jun 2026 15:29:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782080967; x=1782685767; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aQ7tDvWbX6tPNtAE+zVnEkkL2SKJ2tDF1Lzyjs3cwQc=; b=UyYe0X1qlKzHhRgOme+n17yezFPpS63zTxbTg9o1Y1nQR4h/lue5mt6/h12HHLehyg +DGQJQb9FFSdlvrYq+ZtBYxfGV9ojKNLmKfciXXNZlePwxgv1oWaSKwVpFuvbstHmhfW /dFEx7CZk0FpdH4HPocYnsRKuIFoV2YlsWromeUPD8xmPcjB60b86IgQ4w4UEzFaK7YR 5OcYV2EvuFinH+FdbElC3Vuvk0B8/wx1//90WDbM3KofN1tRpRnP2VtxhvtDxRjVUmaN P9kDEwoDU++GF1QDaOuufaNw2bv2IbN9XlcEsdY5ewwQdIYICTZdui68JSQtCoDH8J6v ySpg== X-Forwarded-Encrypted: i=1; AFNElJ/l6ezsc0bIH0MIWo0FB8qdPWFTo5LKWquTfGy+6QptAEQb8MMdTb1V+IH0I6tmtMF+aoErByLzphDSnt8nORoMDLqnww==@freebsd.org X-Gm-Message-State: AOJu0Yw2M6BEHfCwj7rTi/EFaRuoKfE2RCB8lUWAsAU8RQbCYBBtrpDf QfUb8+Wkg196iRzlXW3zGmE5lUECs+sbLGeUbH6qeESLDfDSo2rLr3TKoQvUxCINBSs= X-Gm-Gg: AfdE7ck3zixu4MD3KEig9iAgXh2+DbA+W1RZYdsg/VZyfLLCWXJ0up4MJuzYwQ1GER5 DqicuStbBLr6IUmWN/e354qUkL2ElKKFK69dqQSdKWbHk4jcXXRvwiR66ksVA/lYP1G8Eb15wb8 BJ81//VkTJuivxk/7Wo+j+pNt3MokPCyXkQb68kR9o2BCInbfJvr+aBxpycFZ4rZdJd2ctf/Qp+ 6qnU6wjoKShu6YhmoP1rquIPMyOPa50XQ3iHmWrHoIhsU+RQmt4hIa9KxuuKqKp02sh+8Y70/f9 CEdPVB1ANW9ZesNsHv7YXEjKahE40aVwilad6VJ5u6BkrNa7vdzbwjaf2X3K/7ODSprKKOQQvLf s92m3Qt35lM0TqzTDgclvIoNOkRqZp+D8tvWfYqNasbMSfS2bQfzYAPLcFhktiGyNYGsj12d8BV HYUuMyTc6KU5oZvQPMPm1SyzEdxKjnhtIIp8BJ5qBe/kAxy5Ie/0Ciyab2EFo= X-Received: by 2002:a05:600c:5702:b0:492:3172:bcf0 with SMTP id 5b1f17b1804b1-49240e20dd5mr153883345e9.3.1782080967453; Sun, 21 Jun 2026 15:29:27 -0700 (PDT) Received: from smtpclient.apple (nat-184-161.net.cam.ac.uk. [131.111.184.161]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4666712ce9asm19888931f8f.37.2026.06.21.15.29.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Jun 2026 15:29:26 -0700 (PDT) Content-Type: text/plain; charset=us-ascii List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3891.100.17.1.3\)) Subject: Re: git: 28cecfe27964 - main - libc: Restrict ATOMIC_VAR_INIT for C23 conformance From: Jessica Clarke In-Reply-To: <94E5F613-3930-464B-AC10-4943230C2025@kfv.io> Date: Sun, 21 Jun 2026 23:29:15 +0100 Cc: Warner Losh , Mark Millard , Warner Losh , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org, Nuno Teixeira Content-Transfer-Encoding: 7bit Message-Id: <49991683-E7ED-4E47-B08A-EC78C4582E55@freebsd.org> References: <6a35ddd3.22963.721d614@gitrepo.freebsd.org> <4e902fcf-e79c-47b5-a51f-4881c09f7528@yahoo.com> <94E5F613-3930-464B-AC10-4943230C2025@kfv.io> To: Faraz Vahedi X-Mailer: Apple Mail (2.3891.100.17.1.3) X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4gk5bt0x8Cz46LW X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On 21 Jun 2026, at 23:23, Faraz Vahedi wrote: > Hello everyone, > > My sincere apologies for replying so late and for missing the thread. > > D57724 looks reasonable, but I would probably just change the gate > from __ISO_C_VISIBLE to __STDC_VERSION__. I think that is what > I should have done in the first place. That would make more sense for > obsolete language constructs, I believe. > > This way, __ISO_C_VISIBLE is kept solely for API visibility, and strict > rules of a specific language mode are checked against the exact mode > in use, rather than what API interfaces we have decided to expose. So > exposure is not constrained, just determined independently. I think this > is the subtle distinction I failed to keep in mind while I was working on > the patch. > > Please let me know what you all think, and again, please accept my > apologies for missing both the thread and the review of D57724. > > Cheers, > Faraz > > P.S. As a minor follow-up, it may be worth revisiting whether gating > via __STDC_VERSION__ < 202311L would be preferable to the > recently committed __BSD_VISIBLE condition, as it aligns more > directly with language standard level rather than exposure of the > platform-specific interfaces. If doing this, be careful; C89 does not define __STDC_VERSION__, it was only introduced in later versions to differentiate it from the original language version. Jessica