Minsoo Choo
ca4eddea97
src: Use gnu17 as the default C standard for userland instead of gnu99
...
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
2025-02-11 09:16:25 -05:00
..
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-11-14 20:41:47 +01:00
2024-07-15 16:43:39 -06:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-10-15 17:18:14 -03:00
2024-07-15 16:43:39 -06:00
2025-01-16 16:48:10 +01:00
2024-07-15 16:43:39 -06:00
2025-01-30 17:02:45 -08:00
2024-07-15 16:43:39 -06:00
2024-10-14 10:26:17 -07:00
2023-10-04 18:12:03 +02:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-10-14 10:26:17 -07:00
2025-01-23 17:52:59 -05:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-10-23 20:26:01 +02:00
2024-11-14 20:41:47 +01:00
2024-07-15 16:43:39 -06:00
2024-11-27 13:22:50 +01:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-11-06 14:39:57 +01:00
2024-10-11 09:50:09 -06:00
2024-10-20 10:24:02 +02:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-11-24 22:38:23 +01:00
2024-12-23 18:16:14 +01:00
2024-09-26 23:12:39 +02:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2023-09-29 09:26:51 -04:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-10-03 14:49:31 -03:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-11-14 20:41:47 +01:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-10-07 11:37:28 +02:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-12-06 13:29:37 -05:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-12-02 21:12:27 +00:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2023-11-26 22:23:30 -07:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2025-02-04 11:52:35 -08:00
2024-09-06 12:34:32 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2023-08-16 11:55:15 -06:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-10-14 10:26:17 -07:00
2025-02-09 10:45:03 -08:00
2024-11-14 16:59:22 -04:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2023-11-26 22:24:01 -07:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2025-01-24 09:53:22 -05:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-11-19 14:19:50 -08:00
2024-07-15 16:43:39 -06:00
2025-01-07 14:32:20 +00:00
2024-07-15 16:43:39 -06:00
2024-10-16 09:26:29 -07:00
2024-07-15 16:43:39 -06:00
2024-10-13 02:21:45 +08:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-10-09 10:31:52 -03:00
2024-11-27 15:19:07 +01:00
2024-12-08 21:22:12 -08:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-11-12 12:11:51 -05:00
2024-09-20 09:46:07 +03:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-10-02 17:55:06 +02:00
2024-11-14 16:59:43 -04:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-09-20 09:46:07 +03:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2025-01-24 19:07:01 -05:00
2024-12-06 20:47:31 +00:00
2024-12-16 15:42:40 +01:00
2024-07-15 16:43:39 -06:00
2024-10-19 16:34:27 +02:00
2024-07-19 13:06:38 -04:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-10-27 16:36:31 +00:00
2024-10-20 22:45:09 -08:00
2024-07-15 16:43:39 -06:00
2024-10-15 17:18:14 -03:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-12-12 07:22:14 +00:00
2024-10-14 10:26:17 -07:00
2025-02-04 14:12:21 -05:00
2024-07-15 16:43:39 -06:00
2024-10-13 02:21:47 +08:00
2024-07-15 16:43:39 -06:00
2024-12-12 09:24:31 +01:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-10-14 10:26:17 -07:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-11-27 15:26:51 +01:00
2024-10-14 10:26:17 -07:00
2024-10-15 17:18:14 -03:00
2024-10-24 05:03:07 +08:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-12-13 23:18:30 -06:00
2024-12-16 15:42:29 +01:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2025-02-03 15:24:41 -05:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-29 16:02:25 +02:00
2024-07-15 16:43:39 -06:00
2024-12-23 19:08:15 +00:00
2025-01-27 14:43:28 -05:00
2025-01-01 21:18:00 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-12-04 16:22:50 +00:00
2024-07-15 16:43:39 -06:00
2025-02-11 09:16:25 -05:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2025-01-14 10:48:07 -05:00
2024-07-15 16:43:39 -06:00
2024-08-19 10:54:24 +03:00
2024-07-15 16:43:39 -06:00
2024-10-20 10:24:02 +02:00
2024-09-03 16:00:17 +00:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-11-29 14:38:35 -07:00
2024-07-15 16:43:39 -06:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-11-25 14:52:35 -08:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2025-01-30 22:38:07 +01:00
2024-12-09 20:44:46 +01:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-10-14 10:26:17 -07:00
2023-08-16 11:55:15 -06:00
2023-08-16 11:55:15 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2025-01-02 10:04:12 +01:00
2024-07-15 16:43:39 -06:00
2024-10-22 12:48:04 +00:00
2025-01-20 15:23:49 -05:00
2024-10-14 10:43:38 +02:00
2024-07-15 16:43:39 -06:00
2024-10-14 10:26:17 -07:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2025-01-21 07:47:48 -05:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-06-03 18:14:43 -07:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2025-02-11 09:16:25 -05:00
2025-01-22 18:04:26 +01:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00
2024-07-15 16:43:39 -06:00