From 4264fcd1369dadbb774fd681bf9375e2761d5286 Mon Sep 17 00:00:00 2001 From: AJR Date: Fri, 20 Dec 2019 09:28:37 -0500 Subject: Revert "enable clang missing braces warning - it's useful to be able to see when you're initialising a structure or nested array inside an array" This (mostly) reverts commit 6959de07197e623262e614fdd0734007a41eb778. --- scripts/genie.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/genie.lua') diff --git a/scripts/genie.lua b/scripts/genie.lua index 790f9d8bba1..4dce1830d20 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1082,6 +1082,7 @@ end "-Wno-tautological-compare", "-Wno-unused-value", "-Wno-constant-logical-operand", + "-Wno-missing-braces", -- clang is not as permissive as GCC about std::array initialization "-fdiagnostics-show-note-include-stack", } if (version >= 30500) then -- cgit v1.2.3-70-g09d2