Date: Tue, 11 Feb 2025 14:17:58 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 3a98d5701c7f - main - sys: Use gnu17 as the default C standard for the kernel Message-ID: <202502111417.51BEHw86060754@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=3a98d5701c7f3b6e0933ddb0085ea8ec3fd30d25 commit 3a98d5701c7f3b6e0933ddb0085ea8ec3fd30d25 Author: Minsoo Choo <minsoochoo0122@proton.me> AuthorDate: 2024-12-13 03:56:05 +0000 Commit: John Baldwin <jhb@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" || \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502111417.51BEHw86060754>