diff options
author | 2021-05-27 13:08:37 +1000 | |
---|---|---|
committer | 2021-05-27 13:08:37 +1000 | |
commit | 71d6e6585fcb4ee5df9133c8884c93ca189e9011 (patch) | |
tree | fe00b7f39e0ea9499e2bf0eb16e8369d9dd0ea90 /docs/release/scripts/genie.lua | |
parent | b118cedfc618237ff897ab8063798446b78faa01 (diff) |
**forgot to push all this earlier
Diffstat (limited to 'docs/release/scripts/genie.lua')
-rw-r--r-- | docs/release/scripts/genie.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/release/scripts/genie.lua b/docs/release/scripts/genie.lua index b68ae191860..fcf46b64e43 100644 --- a/docs/release/scripts/genie.lua +++ b/docs/release/scripts/genie.lua @@ -1132,6 +1132,14 @@ end "-Wno-return-local-addr", -- sqlite3.c in GCC 10 } end + if (version >= 110000) then + buildoptions { + "-Wno-nonnull", -- luaengine.cpp lambdas do not need "this" captured but GCC 11.1 erroneously insists + "-Wno-stringop-overread", -- machine/bbc.cpp in GCC 11.1 + "-Wno-misleading-indentation", -- sqlite3.c in GCC 11.1 + "-Wno-maybe-uninitialized" -- expat in GCC 11.1 + } + end end end @@ -1437,6 +1445,7 @@ if _OPTIONS["vs"]=="clangcl" then "-Wno-unused-local-typedef", "-Wno-unused-private-field", "-Wno-unused-variable", + "-Wno-xor-used-as-pow", "-Wno-microsoft-cast", } end |