From nobody Sun Jun 21 22:29:15 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 4gk5bs75HRz6hw3Z for ; Sun, 21 Jun 2026 22:29:29 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 4gk5bs3qvZz46NW for ; Sun, 21 Jun 2026 22:29:29 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-49241a577d8so16184995e9.3 for ; Sun, 21 Jun 2026 15:29:29 -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=RW+qfqvyI+JH2k3lIgV/oaIV0rQPy1HcBd2Tetc2QBuB4PL4cwiFmKe8CyrLzqFYqw ERccw0mJ8r8qmnd+t3Cfntw8Yh8ROOxSFNBg2wF+Fym7ASXDHl3dX5cnZ7TO36Uzucu/ d1ehR0Rgi/fvK7DiNI96K1IcKu5qc/Ii9fw22rK/JpmRAa7dqMYTth8Zf6vMF/CiH3eE Cps033ezo0zTzsb8A+VDdcvv9JXBW16ytscVRbH5aQFb40b6WpTw1cXJ2pycMNJxeN6e Hqs4JUHKWy1ML51ZO378AgUgmXyWCHemKtxIsm1x0AjMlPCP2FVO+Lx9//1jNZGuUn55 vYLA== X-Forwarded-Encrypted: i=1; AFNElJ/R2T290tvtlhefilp6CJmsZ+/WWNQq0sv8Dmoin92JQ2JPjDNhMLop3bW2Rk8dBkD7Q0cO3C/mjzQYrJdoJ2okA0wv@freebsd.org X-Gm-Message-State: AOJu0Yz8O5ab6yxEXRK4kjwAutC07duJ84yBLgpThU4mma4drhI+Sjeg FLQJgToM68EpR3PxEvakPY/LFygbo1vXhVQYK28wuRiSGIa6Z/UO10x9eoun38ILkzk= X-Gm-Gg: AfdE7clUxOus7C8ZQtuceT4onANJa0ahmKPgmACFSWfk89dKYfSmu5dExuwKVjK0tuf AsJtqIhB1ytXJr/V2f0kksGW7eOAtL90EGGiYaZOa1GEpPR2mdD7kMRoAWAGWCq6q509ijVWwGe Q7kxgEcNOfq5Kzn7dGE/mnfNbms025Z5IRk6tUgjGtLHQoY4l9wnKvztvh3zELwfrjTC3dYwQAg JOEhurHKTjSr/eAb5jWRzetXmGkpsKYD3io+eCOGEz31SaiVa2gZqpUlgLt5Uq7vioPEOxdHLlg Yh6Phtx7Cx+tabXzHOlpphf2lptYM/3o7Wm6uFt0EnXBmVj2wHPQhmEnObyPtX8X8TATxOSHyDQ xrge6Pyj6FcMPAJFboPpQR5ZxDRtABFVcmOEbRV7BEQVI55lSA2jTMFZVtmX/MItTvSRTVQVoxC roVCgiV9qZet0dUxuOVMUE3/jhO2hbd4PeTC+OxPvLQq9KkIgG2mChzzWzmCA= 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 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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: 4gk5bs3qvZz46NW 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