summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2026-04-03 17:55:16 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2026-04-03 17:55:16 +0700
commita511e3a4e81abbc71fc2d8617256ac1f3d3210ca (patch)
treee0807e38f757397d7f3bf8cc00cf5711353ec7a4 /scripts
parent724acf9727927692d0f1bc59e2b04b64ed20fc56 (diff)
scripts/genie.lua: updated clangcl build settings to c++20
emu/sound.h: removed unused function declarations
Diffstat (limited to 'scripts')
-rw-r--r--scripts/genie.lua9
1 files changed, 5 insertions, 4 deletions
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