|
Message-ID: <20220923173531.5779d971@inria.fr>
Date: Fri, 23 Sep 2022 17:35:31 +0200
From: Jₑₙₛ Gustedt <jens.gustedt@...ia.fr>
To: Rich Felker <dalias@...c.org>
Cc: musl@...ts.openwall.com
Subject: Re: C23 implications for C libraries
Rich,
on Fri, 23 Sep 2022 10:58:44 -0400 you (Rich Felker <dalias@...c.org>)
wrote:
> On Fri, Sep 23, 2022 at 04:25:18PM +0200, Jₑₙₛ Gustedt wrote:
> > Hello,
> > I have started to compile a document that tries to collect
> > everything a C library needs for C23 compliance:
> >
> > https://htmlpreview.github.io/?https://icube-forge.unistra.fr/icps/c23-library/-/raw/main/README.html
> >
> > This is by far not complete and I will try to fill the holes in the
> > next weeks. Let me know if you have any particular
> > questions/remarks/additions.
>
> Thanks for putting this together. For the most part these look
> tractable.
>
> One small note on wording: your usage of FTM differs from the one
> we're used to and that's in POSIX, where FTMs are macros the
> application defines to request some functionality or compliance
> profile from the implementation, not macros the implementation uses to
> advertise features to the application.
Sorry for that, the C standard calls these "Conditional feature macros"
> One cute observation: now that headers define macros for their
> versions, can we just replace the multiple-inclusion test macros with
> these? I think so.
Yes, indeed, I don't think that there is much that speaks against using
them also in that way.
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 ::
Content of type "application/pgp-signature" 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.