4 ms·
Redefining a keyword via macro violates the C++ standard: > Nor shall such a translation unit define macros for names lexically identical to keywords. https:/
by CodesInChaos 4y ago
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-redefine-a-c-keyword https://stackoverflow.com/questions/9109377/is-it-legal-to-r...
- nickwanninger 4y agoLucky for them, it's a fully custom OS that doesn't follow the standard :)
- Conscat 4y agoThey 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.