The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=3a98d5701c7f3b6e0933ddb0085ea8ec3fd30d25

commit 3a98d5701c7f3b6e0933ddb0085ea8ec3fd30d25
Author:     Minsoo Choo <minsoochoo0...@proton.me>
AuthorDate: 2024-12-13 03:56:05 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2025-02-11 14:17:01 +0000

    sys: Use gnu17 as the default C standard for the kernel
    
    Reviewed by:    jhb
    Differential Revision:  https://reviews.freebsd.org/D43239
---
 sys/conf/kern.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 5d07a1d9ad3c..78a160e73cde 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -367,7 +367,7 @@ PHONY_NOTMAIN = afterdepend afterinstall all beforedepend 
beforeinstall \
 .PHONY: ${PHONY_NOTMAIN}
 .NOTMAIN: ${PHONY_NOTMAIN}
 
-CSTD?=         gnu99
+CSTD?=         gnu17
 
 # c99/gnu99 is the minimum C standard version supported for kernel build
 .if ${CSTD} == "k&r" || ${CSTD} == "c89" || ${CSTD} == "c90" || \

Reply via email to