Please help review C23 features
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Sep 2023 19:48:59 UTC
As you may have noticed, I've been working on adding C23 features to libc. I have a few more patches in flight which I'd like to get committed in time for 14.0 but which still await review: - Add a wchar version of the snprintf test for N2630 (formatted binary integers) https://reviews.freebsd.org/D41726 - Implement N2680 (specific-width length modifier) https://reviews.freebsd.org/D41725 - Add test cases for N2680 (and fix some nits in the N2630 tests) https://reviews.freebsd.org/D41743 - Implement N2867 (checked integer arithmetic) https://reviews.freebsd.org/D41734 - Add tests for N2867 https://reviews.freebsd.org/D41735 This is far from everything we need for C23 (clang 16 understands N2630 but not N2680, for instance, and we're still missing <stdbit.h>) but it gets us pretty close. DES -- Dag-Erling Smørgrav - des@FreeBSD.org