opnsense-src/usr.sbin/makefs
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
..
cd9660 usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ffs Standardize the definition of a UFS dinode. 2025-01-27 17:39:45 -08:00
msdos makefs: Remove a stray semicolon 2024-10-24 23:04:48 +08:00
sys Fix makefs bootstrap after d485c77f20 2021-02-22 17:55:45 +00:00
tests makefs: Handle special file types when creating a zpool 2025-01-07 14:32:20 +00:00
zfs makefs: Handle special file types when creating a zpool 2025-01-07 14:32:20 +00:00
cd9660.c makefs: Fix cd9660 duplicate directory names 2024-12-30 14:48:44 -05:00
cd9660.h makefs: Fix cd9660 filename buffer maximum length 2024-12-26 11:44:36 -05:00
ffs.c Standardize the definition of a UFS dinode. 2025-01-27 17:39:45 -08:00
ffs.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile src: Use gnu17 as the default C standard for userland instead of gnu99 2025-02-11 09:16:25 -05:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.host Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Build host tools on non-FreeBSD host with DIRDEPS_BUILD 2023-04-22 13:13:22 -07:00
makefs.8 makefs.8: Clarify that makefs-generated zpools always have the same GUID 2024-11-19 21:18:38 +00:00
makefs.c makefs: Make it possible to silence warnings about duplicate paths 2024-01-19 19:50:56 -05:00
makefs.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
msdos.c usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
msdos.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
mtree.c makefs: Make it possible to silence warnings about duplicate paths 2024-01-19 19:50:56 -05:00
walk.c makefs: Remove dead code in inode_type() 2025-01-07 14:32:20 +00:00
zfs.c makefs: Record a larger TXG number in the uberblock 2024-10-14 13:14:37 +00:00