On Wed, Nov 23, 2022 at 4:33 PM Jₑₙₛ Gustedt wrote: > > 罗勇刚, > > on Wed, 23 Nov 2022 16:20:39 +0800 you (罗勇刚(Yonggang 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.) 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