From nobody Mon Jun 22 08:41:36 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 4gkMB96KrPz6jSxH; Mon, 22 Jun 2026 08:41:37 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gkMB95fK8z4Kgh; Mon, 22 Jun 2026 08:41:37 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782117697; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6a9TkVXrRYK6KwrjWrPsRbUbVhoZVCBP/1sCEdILKA0=; b=ZyTySEvq5qOW4ThiJ4VMThxFUcRhnnISGVRH+5wh5389WF77k+uttknVJfWfb9pQ2xP9de beCKyTByD7Msruf9O2ZD3RcqRjHMBbvwO8w9hb37bUrg/48NycEGrUag9aP2pQi1dCAwOF 5svAITwsic3EWojAM9Y1yxSlkzH1us0lAefV1X20ktnkPA1hoW2cPBFiRuAIE3sV6bmhzG 45Z9MzambspBEcuRD+MT2PjSLK5VXszaKmk0M2D8eTZ9ltMGOK6unmazWNgWQSBHsRkCpE ES8b+o9HjTcS6zm5JBUSPMOP3fvYK9mcctf/uhFKePHt8X6Fy+inTSynwWGhgg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782117697; a=rsa-sha256; cv=none; b=ZHUHqHBWHZCf+zmixX4K4CMi5xx2NpGhcAs2Ij29jwZVCKBwLZq0BDTaEGARXEMgFCw8jt XQwvRnQAtSnlpMyK5J7Oe9Luew83i1DRooEC2GrkGbnjMqEVx+axKeHpn1cq+X75ok+YG9 e+vFWFjxNqKzKqLeSHYTVdz4tdhLALa9HtXONyNAOMvVdWC3pGiWmj315nkwcyhIV8pqEI mlon1jnsFVBbbPpMTUgpCTorEQEUeDVgKGU2dQoOtpCG+QxGxu09Mb7DZGO0+paWW0kcNZ RcPrQWqfC34+ZctOj9SDlCpvsddnWZAlbBaWCfxCnOF7AtFbLHius0Z/0PeLRQ== 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=1782117697; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6a9TkVXrRYK6KwrjWrPsRbUbVhoZVCBP/1sCEdILKA0=; b=eJoXHoI/0oOY/dKYqeieWrfwUG5vgUXWtAfSdw3Ve1txMt9L0mMs9mi8tBXaNCfWuYv4zF ccnh6qfzed836oVC0WOsvGg7BcKcKNVH1DQQQU24hVrX2V4KTBv0PT/2oKDg1WKREzSHBc 8eS4XZgF1QHZ9J30MfvFcSjQm4m05OTd5T3Ohy3WRt3rND+GXAGSOGzogM4iJLYXHjK6TN 28FkSVR99m7KRATXE7Rp8TCZwZyQVHZTaqBpHQ7mHYZhqMb2GShw1Pz03CE8Asd8Slk7l0 6WyEWYuUAUtKKFL0ZdlceYYv6J74mOCbiw5L/xEfmBY9ic4Txih/EglgPqtRKg== Received: from ltc.des.dev (unknown [92.183.55.143]) (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) (Authenticated sender: des/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4gkMB93zvDz8lG; Mon, 22 Jun 2026 08:41:37 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 3E05450111; Mon, 22 Jun 2026 10:41:36 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Faraz Vahedi 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 Subject: Re: git: 28cecfe27964 - main - libc: Restrict ATOMIC_VAR_INIT for C23 conformance In-Reply-To: <94E5F613-3930-464B-AC10-4943230C2025@kfv.io> (Faraz Vahedi's message of "Mon, 22 Jun 2026 01:53:32 +0330") References: <6a35ddd3.22963.721d614@gitrepo.freebsd.org> <4e902fcf-e79c-47b5-a51f-4881c09f7528@yahoo.com> <94E5F613-3930-464B-AC10-4943230C2025@kfv.io> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 22 Jun 2026 10:41:36 +0200 Message-ID: <86bjd3rmpr.fsf@ltc.des.dev> 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Faraz Vahedi writes: > 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. No, __STDC_VERSION__ is defined by the compiler and is used to determine which language version the compiler provides, while __ISO_C_VISIBLE is defined by us and is used to decide which interfaces to expose to the application based on what the application requested. If you scan through src/include, you'll note that __STDC_VERSION__ is only used there when what matters is whether a certain keyword is provided by the compiler, which is not the case here. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org