diff options
author | 2021-04-28 20:19:31 +1000 | |
---|---|---|
committer | 2021-04-28 20:19:31 +1000 | |
commit | 557a6c5e583794af3c5dd8d6f6824e60ef7cbfa2 (patch) | |
tree | 676b5e65ade895c95b3b5de3901539eebe808d6a /docs/release/scripts/genie.lua | |
parent | 3593491a9013163e0b42cde336f0ec3237e45dbc (diff) |
0.231 filestag231
Diffstat (limited to 'docs/release/scripts/genie.lua')
-rw-r--r-- | docs/release/scripts/genie.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/release/scripts/genie.lua b/docs/release/scripts/genie.lua index 6655832ac59..b68ae191860 100644 --- a/docs/release/scripts/genie.lua +++ b/docs/release/scripts/genie.lua @@ -490,15 +490,13 @@ language "C++" flags { "StaticRuntime", + "Cpp17", } configuration { "vs20*" } buildoptions { "/bigobj", } - buildoptions_cpp { - "/std:c++17", - } flags { "ExtraWarnings", } @@ -1091,6 +1089,12 @@ end "-Wno-unknown-warning-option", "-Wno-unused-value", } + if (version < 70000) or ((version < 100001) and (_OPTIONS["targetos"] == 'macosx')) then + buildoptions { -- clang 6.0 complains that [[maybe_unused]] is ignored for static data members + "-Wno-error=ignored-attributes", + "-Wno-error=unused-const-variable", + } + end if ((version >= 100000) and (_OPTIONS["targetos"] ~= 'macosx')) or (version >= 120000) then buildoptions { "-Wno-xor-used-as-pow", -- clang 10.0 complains that expressions like 10 ^ 7 look like exponention @@ -1433,6 +1437,7 @@ if _OPTIONS["vs"]=="clangcl" then "-Wno-unused-local-typedef", "-Wno-unused-private-field", "-Wno-unused-variable", + "-Wno-microsoft-cast", } end |