summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2018-05-01 21:34:55 -0400
committer arbee <rb6502@users.noreply.github.com>2018-05-01 21:34:55 -0400
commite651a1678d69a095d7411c3863df34c66bbb29ac (patch)
tree32d8c8bcb2832905430ed96fb0d2dc21314aedb1 /scripts/genie.lua
parentb5fabb52ebfe691bd725db3666577e4c1224c5ca (diff)
begin preliminary GCC 8 support (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua7
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