When a compiler with C23 or higher is detected, builtin bool, true,
and false are used to conform the C23 standard.
Details
Details
- Reviewers
imp - Group Reviewers
Contributor Reviews (src)
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 56952 Build 53840: arc lint + arc unit
Event Timeline
include/stdbool.h | ||
---|---|---|
30 |
This is a version test macro that tells the current implmented C standard version of a header file.
| |
48 |
I wanted to make sure that those are keywords in C23 and c++, but now it seems redundant. I'll remove them. |
Comment Actions
OK. This looks ready to go then. Sorry for my slowness in responding
include/stdbool.h | ||
---|---|---|
30 |
Right. That makes sense now that I know it's the 'new standard' to do it like that. |