From a511e3a4e81abbc71fc2d8617256ac1f3d3210ca Mon Sep 17 00:00:00 2001 From: Patrick Mackinlay Date: Fri, 3 Apr 2026 17:55:16 +0700 Subject: scripts/genie.lua: updated clangcl build settings to c++20 emu/sound.h: removed unused function declarations --- scripts/genie.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/genie.lua b/scripts/genie.lua index c5211239e88..fcc4680a56d 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1253,11 +1253,8 @@ configuration { "vs20*" } if _OPTIONS["vs"]==nil then buildoptions { "/bigobj", - "/permissive-", "/utf-8", - "/Zc:enumTypes", "/Zc:preprocessor", - "/Zc:templateScope", } buildoptions { @@ -1294,10 +1291,13 @@ if _OPTIONS["vs"]==nil then buildoptions_cpp { "/Zc:__cplusplus", - "/std:c++20", + "/Zc:enumTypes", + "/Zc:templateScope", + "/Zc:u8EscapeEncoding", } flags { + "Cpp20", "ExtraWarnings", } elseif _OPTIONS["vs"]=="intel-15" then @@ -1360,6 +1360,7 @@ elseif _OPTIONS["vs"]=="clangcl" then end flags { + "Cpp20", -- don't set ExtraWarnings flag (/W4 == -Wall -Wextra); use default (/W3 == -Wall) instead } end -- cgit v1.2.3