diff options
author | arbee <rb6502@users.noreply.github.com> | 2021-05-20 13:04:46 -0400 |
---|---|---|
committer | arbee <rb6502@users.noreply.github.com> | 2021-05-20 13:04:46 -0400 |
commit | 52e917793bd4bf9a65cd12e59e5625fcfbd2ab12 (patch) | |
tree | 95260481d7acece94e7b874e9b1a945c8d83dede | |
parent | 78fe4f9702405b118debdfc2224f0a540843dc04 (diff) |
Preliminary support for GCC 11.1 (Fedora 34) [R. Belmont]
-rw-r--r-- | scripts/genie.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index d7c841b4df3..2a50eb8765d 100644 --- a/scripts/genie.lua +++ b/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 |