From 4e337734f72ecd26a6b5f6fbbd033fd1345e1b9e Mon Sep 17 00:00:00 2001 From: feos Date: Sat, 3 Apr 2021 21:00:51 +0300 Subject: [PATCH] Fix vs2019_clang build --- scripts/genie.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/genie.lua b/scripts/genie.lua index eb6beb565e9..b68ae191860 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -490,15 +490,13 @@ language "C++" flags { "StaticRuntime", + "Cpp17", } configuration { "vs20*" } buildoptions { "/bigobj", } - buildoptions_cpp { - "/std:c++17", - } flags { "ExtraWarnings", } @@ -1439,6 +1437,7 @@ if _OPTIONS["vs"]=="clangcl" then "-Wno-unused-local-typedef", "-Wno-unused-private-field", "-Wno-unused-variable", + "-Wno-microsoft-cast", } end