Sponsored by: Netflix
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 60569 Build 57453: arc lint + arc unit
Event Timeline
share/man/man9/cdefs.9 | ||
---|---|---|
414 | Doh! I tried isoC-2023 and it failed |
share/man/man9/cdefs.9 | ||
---|---|---|
388 | Sorry for noticing this after it's been committed... but although the standard is C23, the macro is -isoC-2024. Granted, this won't be the last time somebody does that. One option could be to modify contrib/mandoc/st.c to include: LINE("-isoC-2011", "ISO/IEC 9899:2011 (\\(lqISO\\~C11\\(rq)") +LINE("-isoC-2023", "ISO/IEC 9899:2024 (\\(lqISO\\~C23\\(rq)") LINE("-isoC-2024", "ISO/IEC 9899:2024 (\\(lqISO\\~C23\\(rq)") The list already includes -isoC and -isoC-90 producing the same text; as do -ansiC and -ansiC-89. That said, it's probably simpler to change -isoC-2023 to -isoC-2024 in the man page. |
share/man/man9/cdefs.9 | ||
---|---|---|
388 | igor warnings might be the only other alternative. |
share/man/man9/cdefs.9 | ||
---|---|---|
388 | Checking with mandoc -T lint -W error ... will print an error and exit with non-zero if the file contains .St -isoC-2023. Other than 3 cases, every non-contrib [*] man page passes -W error with an exit code of 0. Takes 2.5 seconds to check all those 3199 files.
|