3 ms·
Lots of reserved identifiers in that header. In C, identifiers starting with two underscores, or an underscore and a capital letter, are reserved. So the only
by SAI_Peregrinus 5y ago
Lots of reserved identifiers in that header. In C, identifiers starting with two underscores, or an underscore and a capital letter, are reserved.
So the only safe place to use this is if you're developing a libc and/or a C compiler, or an OS including those.
- cbsmith 5y agoPretty easy to fix that...
- slmjkdbtl 5y agoIt's clarified [0] that those are actually reserved specific for CharSTR. [0] https://github.com/skullchap/chadstr/issues/4 https://github.com/skullchap/chadstr/issues/4
- SAI_Peregrinus 5y agoYes, as I mentioned it's fine if you're developing the C implementation. You can then choose what to do if any of them get used by a new revision of the C standard, your libc, or your compiler, since you'd be packaging your compiler, libc, and picking what C standard version you support. It's also trivial to change them, if you get a conflict, since it's a header-only library.