Hi Alex, On Fri, Feb 17, 2023 at 1:04 AM Alejandro Colomar <alx.manpages@xxxxxxxxx> wrote: > > Hi Stefan, > > On 2/16/23 22:11, Stefan Puiu wrote: > > Hi Brian, > > [...] > > >> diff --git a/man2/access.2 b/man2/access.2 > >> index d3deeecba0c7..4c93a132b209 100644 > >> --- a/man2/access.2 > >> +++ b/man2/access.2 > >> @@ -56,7 +56,7 @@ Feature Test Macro Requirements for glibc (see > >> .BR faccessat (): > >> .nf > >> Since glibc 2.10: > >> - _POSIX_C_SOURCE >= 200809L > >> + _POSIX_C_SOURCE >= 2008\[aq]09L > > > > Not sure how \[aq] renders, > > \[aq] is equivalent to \(aq, which renders as ', the single quote character. > > > but if people want to copy / paste some of > > these snippets (for use in their code, or for searching), wouldn't > > they need to then remove the separator? > > It depends on your compiler version and language version. > ISO C23 will add support for this. What we could do is prepare the patches, > and leave them in a branch until C23 is made official. > > Right now, you can already get recent enough versions of GCC to > accept that code, if you use -std=c2x. Good to know. If this were a few years old, it would probably be a no-brainer, but if this is valid code only for the latest and greatest gcc, then yes, maybe these changes can wait. There are many projects that take a while to adapt to newer compiler versions, and not everybody runs distros with new compilers. Just my 2 cents, Stefan. > > > I think that can cause > > confusion, which you probably don't want documentation to do.> > > Again, just my 2 cents, > > Stefan. > > > > Cheers, > > Alex > > -- > <http://www.alejandro-colomar.es/> > GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5