unreachable() is now a macro for __unreachable.
nullptr_t is defined according to C23 draft.
NULL is now a macro for nullptr when -std=c23 or -std=gnu23
Details
- Reviewers
imp - Group Reviewers
Contributor Reviews (src)
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 56950 Build 53838: arc lint + arc unit
Event Timeline
| include/stddef.h | ||
|---|---|---|
| 37 | yea, hate this construct. I don't really understand the point and in this case, it seems totally wrong. | |
| include/stddef.h | ||
|---|---|---|
| 37 |
This is a version test macro that tells the current implmented C standard version of a header file.
| |
| include/stddef.h | ||
|---|---|---|
| 37 |
Oh! That's different. Then I think this is ready to go. | |
| sys/sys/_null.h | ||
| 53 | A question for the future: Do we need to provide a fallback for old-versions for nullptr_t in the future? This is needed by the standard, so the change stands on its own... more food for thought | |