From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23184 invoked from network); 24 May 2023 15:25:13 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 24 May 2023 15:25:13 -0000 Received: (qmail 9604 invoked by uid 550); 24 May 2023 15:25:10 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 9572 invoked from network); 24 May 2023 15:25:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:message-id:in-reply-to: references:mime-version; bh=0oFLS5HW+uNIR9xzHXI3FtNs4loVqaOeZAmc3eRL8d4=; b=lyxYlXlGm/R4EOY+aNfftoGWO1skhustKJEXwPouM3+h5FRp4gpTECus f/HkA7QBNyVkPfIjW+UcrC4WgvaoQXqy9X8Y1wJL5cv0D4cljRZYlfdAP DuD+yjGPnuk9dLx+bzsJOpPUH+STJ5SusfoXX0984NaIPYiiJgEjJYjA6 g=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=jens.gustedt@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.00,189,1681164000"; d="scan'208";a="109497861" Date: Wed, 24 May 2023 17:24:57 +0200 From: =?UTF-8?B?SuKCkeKCmeKCmw==?= Gustedt To: Rich Felker Cc: musl@lists.openwall.com Message-ID: <20230524172457.3804f8e7@inria.fr> In-Reply-To: <20230524144906.GB4163@brightrain.aerifal.cx> References: <9985ac5610d2e36d01032e1685ca3d629fccac64.1684932861.git.Jens.Gustedt@inria.fr> <20230524142201.GW4163@brightrain.aerifal.cx> <20230524162916.294f6b94@inria.fr> <20230524143408.GA4163@brightrain.aerifal.cx> <20230524164253.71c36d82@inria.fr> <20230524144906.GB4163@brightrain.aerifal.cx> Organization: inria.fr X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) X-Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAACRQTFRFERslNjAsLTE9Ok9wUk9TaUs8iWhSrYZkj42Rz6aD3sGZ MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/8z9H=PjLC3dZ2i+4w7oJOAa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Re: [musl] [C23 divers headers 16/17] C23: add the nullptr_t type --Sig_/8z9H=PjLC3dZ2i+4w7oJOAa Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Rich, on Wed, 24 May 2023 10:49:06 -0400 you (Rich Felker ) wrote: > One thought: For testing, you should be able to pass > -D__STDC_VERSION__=3Dwhatever to override it, no? Probably. That doesn't solve the problem, though, of knowing during transition if a C23 feature (which isn't a macro) is yet supported by a compiler. The clang feature tests are a very good tool for that. I also have something that mimics this with gcc, but you probably don't want that in musl, don't you ?-) Thanks J=E2=82=91=E2=82=99=E2=82=9B --=20 :: ICube :::::::::::::::::::::::::::::: deputy director :: :: Universit=C3=A9 de Strasbourg :::::::::::::::::::::: ICPS :: :: INRIA Nancy Grand Est :::::::::::::::::::::::: Camus :: :: :::::::::::::::::::::::::::::::::::: =E2=98=8E +33 368854536 :: :: https://icube-icps.unistra.fr/index.php/Jens_Gustedt :: --Sig_/8z9H=PjLC3dZ2i+4w7oJOAa Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSN9stI2OFN1pLljN0P0+hp2tU34gUCZG4sSQAKCRAP0+hp2tU3 4tSvAJ9mHTH+szgeaNxBvWRuUnWmAAZK9QCfeHs413AuPID7rgb4mchQY0MgpjQ= =f3ll -----END PGP SIGNATURE----- --Sig_/8z9H=PjLC3dZ2i+4w7oJOAa--