News for hackers. Stuff that matters.
Re:How SerenityOS Declares Ssize_t by CodesInChaos on Tuesday April 04, 2023 @05:22AM (#35437071)
Redefining a keyword via macro violates the C++ standard:

> Nor shall such a translation unit define macros for names lexically identical to keywords.

https://stackoverflow.com/questions/9109377/is-it-legal-to-r...

Re:How SerenityOS Declares Ssize_t by nickwanninger on Tuesday April 04, 2023 @09:03AM (#35438952)
Lucky for them, it's a fully custom OS that doesn't follow the standard :)
Re:How SerenityOS Declares Ssize_t by Conscat on Tuesday April 04, 2023 @09:21AM (#35439161)
They don't make the compiler. GCC in very many places substitutes standard library names with intrinsics for the purposes of optimization or static analysis. I'm not aware of it doing so for ssize, but in principle this is a bad idea.