mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
Tracking newer versions of C (and C++) permits assuming newer language features in the base system. Some C11 extensions are already used in the base system but implemented on top of GNU C extensions such as _Alignas and _Static_assert. In some cases the fallback versions in cdefs.h are more limited than the native C11 extensions. Even though C11 is the next major version of C, C17 is chosen instead since C17 does not add new features to C but merely fixes defects in C11. It is also well supported by a wide range of clang (7.0.0+) and GCC (8.1+) versions. Along with changing the default, this change also removes explicit requests for c11 via the CSTD variable in various Makefiles. Libraries and binaries for ZFS continue to use c99. PR: 284039 (exp-run) Reviewed by: imp, arichardson, emaste Differential Revision: https://reviews.freebsd.org/D43237 |
||
|---|---|---|
| .. | ||
| tests | ||
| bwstring.c | ||
| bwstring.h | ||
| coll.c | ||
| coll.h | ||
| file.c | ||
| file.h | ||
| Makefile | ||
| Makefile.depend | ||
| Makefile.depend.options | ||
| mem.c | ||
| mem.h | ||
| radixsort.c | ||
| radixsort.h | ||
| sort.1.in | ||
| sort.c | ||
| sort.h | ||
| vsort.c | ||
| vsort.h | ||