From e17706aec2498338d0e4b852e7872e7b720ee236 Mon Sep 17 00:00:00 2001 From: arbee Date: Sat, 29 Apr 2023 21:46:16 -0400 Subject: Support GCC 13.1 / Fedora 38 [R. Belmont] --- scripts/genie.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/genie.lua b/scripts/genie.lua index 72a163219e0..b2d9a291650 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1104,6 +1104,15 @@ end "-Wno-error=uninitialized", -- netlist } end + if version >= 130000 then + buildoptions_c { + "-Wno-dangling-pointer", + } + buildoptions_cpp { + "-Wno-dangling-reference", + "-Wno-dangling-pointer", + } + end end end -- cgit v1.2.3