Skip to content

Commit

Permalink
Preliminary support for GCC 11.1 (Fedora 34) [R. Belmont]
Browse files Browse the repository at this point in the history
  • Loading branch information
rb6502 committed May 20, 2021
1 parent 78fe4f9 commit 52e9177
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/genie.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 52e9177

Please sign in to comment.