From e651a1678d69a095d7411c3863df34c66bbb29ac Mon Sep 17 00:00:00 2001 From: arbee Date: Tue, 1 May 2018 21:34:55 -0400 Subject: begin preliminary GCC 8 support (nw) --- scripts/genie.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scripts/genie.lua') 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 -- cgit v1.2.3-70-g09d2