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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23263 invoked from network); 23 Nov 2022 08:34:03 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 23 Nov 2022 08:34:03 -0000 Received: (qmail 7355 invoked by uid 550); 23 Nov 2022 08:34:00 -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 7323 invoked from network); 23 Nov 2022 08:34:00 -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=yYI/PLzGi/qzeOPK+WyIRU4btkBi2Bl7P6FV4XQxceQ=; b=pUGuafxSE/3ZFSCJ+U2KuKc21EdC/aRk4lZArJQDdjaTgubaTLlgMBrA gibTik9PA27WPQINnf0sGzSmVrEcXVB0ogswoyw4eEIGapYOVPul66+3T +hUxj1ntyrNR5OEJZ74RKNx2DSFTFmYXsQnRRRy0ZsFyj1pznCFubXVOd E=; 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="5.96,186,1665439200"; d="scan'208";a="79607023" Date: Wed, 23 Nov 2022 09:33:36 +0100 From: =?UTF-8?B?SuKCkeKCmeKCmw==?= Gustedt To: "=?UTF-8?B?572X5YuH5Yia?=(Yonggang Luo)" Cc: musl@lists.openwall.com, Reini Urban Message-ID: <20221123093336.3031725d@inria.fr> In-Reply-To: References: <20220923162518.56284329@inria.fr> <20221121220625.39f595fb@inria.fr> <20221123091109.36e2bdf2@inria.fr> 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_/w+LJjJTWfD82FdQtEZKChpO"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Re: [musl] C23 implications for C libraries --Sig_/w+LJjJTWfD82FdQtEZKChpO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =E7=BD=97=E5=8B=87=E5=88=9A, on Wed, 23 Nov 2022 16:20:39 +0800 you (=E7=BD=97=E5=8B=87=E5=88=9A(Yonggan= g Luo) ) wrote: > It's not because the compiler, it's because: > * when compiling C code, __cplusplus is not defined, > * when compiling C++ code, __STDC_VERSION__ is not defined sure As I said, this is a policy decision of the corresponding C library implementation. Whatever musl's policy here is, they will use that. (If even in that case, because changes to `NULL` are not mandatory.) Thanks J=E2=82=91=E2=82=99=E2=82=9B --=20 :: INRIA Nancy Grand Est ::: Camus ::::::: ICube/ICPS ::: :: :::::::::::::::::::::: gsm France : +33 651400183 :: :: ::::::::::::::: gsm international : +49 15737185122 :: :: http://icube-icps.unistra.fr/index.php/Jens_Gustedt :: --Sig_/w+LJjJTWfD82FdQtEZKChpO Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSN9stI2OFN1pLljN0P0+hp2tU34gUCY33a4QAKCRAP0+hp2tU3 4qOdAJ9/mny4UULdDOiPfP6CIj5q8eukDwCfcYarCrLIWHxS8CO24Wzirkq6wiM= =rj0l -----END PGP SIGNATURE----- --Sig_/w+LJjJTWfD82FdQtEZKChpO--