From 12e22af382bb80a0ae18f97daf92e3a60d6122eb Mon Sep 17 00:00:00 2001 From: Dylan Conway Date: Tue, 21 Oct 2025 16:25:29 -0700 Subject: [PATCH] set C_STANDARD to 17 (#23928) ### What does this PR do? msvc doesn't support c23 yet ### How did you verify your code works? --------- Co-authored-by: Marko Vejnovic --- cmake/targets/BuildBun.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/targets/BuildBun.cmake b/cmake/targets/BuildBun.cmake index c31c8a4de5..113c61fbff 100644 --- a/cmake/targets/BuildBun.cmake +++ b/cmake/targets/BuildBun.cmake @@ -819,7 +819,7 @@ set_target_properties(${bun} PROPERTIES CXX_STANDARD_REQUIRED YES CXX_EXTENSIONS YES CXX_VISIBILITY_PRESET hidden - C_STANDARD 23 + C_STANDARD 17 # Cannot uprev to C23 because MSVC doesn't have support. C_STANDARD_REQUIRED YES VISIBILITY_INLINES_HIDDEN YES )