From 33f069cac0605b0062a21d0ab0cda998b17139ad Mon Sep 17 00:00:00 2001 From: smf- Date: Wed, 18 May 2022 18:39:43 +0100 Subject: fix for building with clang 14 as asmjit uses | & operators on bools [smf] --- scripts/genie.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/genie.lua b/scripts/genie.lua index 9c02cca4b45..4e615f14f1f 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1063,6 +1063,11 @@ end "-Wno-xor-used-as-pow", -- clang 10.0 complains that expressions like 10 ^ 7 look like exponention } end + if version >= 140000 then + buildoptions { + "-Wno-bitwise-instead-of-logical", -- clang 14.0 complains about &, | on bools in asmjit + } + end else if version < 70000 then print("GCC version 7.0 or later needed") -- cgit v1.2.3