|
Message-ID: <CAE2XoE9e-Fts_MK=4hRyw7n7wY1BfY5iYXY5D9A9QR0OTNdggA@mail.gmail.com>
Date: Wed, 23 Nov 2022 16:41:46 +0800
From: 罗勇刚(Yonggang Luo) <luoyonggang@...il.com>
To: Jₑₙₛ Gustedt <jens.gustedt@...ia.fr>
Cc: musl@...ts.openwall.com, Reini Urban <reini.urban@...il.com>
Subject: Re: C23 implications for C libraries
On Wed, Nov 23, 2022 at 4:33 PM Jₑₙₛ Gustedt <jens.gustedt@...ia.fr> wrote:
>
> 罗勇刚,
>
> on Wed, 23 Nov 2022 16:20:39 +0800 you (罗勇刚(Yonggang Luo)
> <luoyonggang@...il.com>) 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.)
I am not worried about musl, just worried that someone else copied the code
from https://gustedt.gitlabpages.inria.fr/c23-library/
and leading to -Wundef, as c23 won't be usable in near future by standard
library, and people want c23 will polyfill it and reference
https://gustedt.gitlabpages.inria.fr/c23-library/, that's what I am
worried.
>
> Thanks
> Jₑₙₛ
>
> --
> :: INRIA Nancy Grand Est ::: Camus ::::::: ICube/ICPS :::
> :: :::::::::::::::::::::: gsm France : +33 651400183 ::
> :: ::::::::::::::: gsm international : +49 15737185122 ::
> :: http://icube-icps.unistra.fr/index.php/Jens_Gustedt ::
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.