Re: git: cd0727ec709b - main - libc: Add <stdio.h> C23 feature test macro
- In reply to: John Baldwin : "Re: git: cd0727ec709b - main - libc: Add <stdio.h> C23 feature test macro"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Aug 2026 17:15:41 UTC
Hello John, > This is not a realistic stance. There is a lot of software in the world > written before C23 was standardized, and we cannot expect that ports will > only contain C23 software. dim@'s patch looks sane to me and seems like the > reasonable path foward. It also matches our historic behavior which has been > to add new macros when required, but not retire existing header include guards > when doing so. I understand, you're right, but relying on something that's only internally established isn't a compatibility promise we need to uphold (please note that all identifiers that begin with either an underscore or a double underscore followed by an uppercase letter are considered reserved per ยง6.4.2.1). It doesn't break any compatibility, and in this case, and similar ones if they come up, we've only changed what we had internally decided to use so far, and hence I don't think it's a POLA violation. I understand the importance of taking care of ports, but I fear it may, in such cases, cause us to adopt unnecessary complications. That said, I'd like us to wait a little longer and discuss this further. If we all agree on restoring the macro, then we will do so. Cheers, Faraz