diff options
author | 2018-05-01 21:34:55 -0400 | |
---|---|---|
committer | 2018-05-01 21:34:55 -0400 | |
commit | e651a1678d69a095d7411c3863df34c66bbb29ac (patch) | |
tree | 32d8c8bcb2832905430ed96fb0d2dc21314aedb1 /scripts/genie.lua | |
parent | b5fabb52ebfe691bd725db3666577e4c1224c5ca (diff) |
begin preliminary GCC 8 support (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 0ba4314884e..1e232c1187c 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1035,6 +1035,13 @@ end -- array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds) "-Wno-array-bounds", } + if (version >= 80000) then + buildoptions { + "-Wno-format-overflow", -- try machine/bfm_sc45_helper.cpp in GCC 8.0.1, among others + "-Wno-class-memaccess", -- many instances in ImGui and BGFX + "-Wno-stringop-truncation", -- ImGui again + } + end end end |