summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-12-20 09:28:37 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-12-20 09:29:27 -0500
commit4264fcd1369dadbb774fd681bf9375e2761d5286 (patch)
tree52688595458d9c21c1e1ef884d1707e68c48f5e3 /scripts/genie.lua
parenta3e5c8c156d85590d62a7c1616346f16d515e2c4 (diff)
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.
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua1
1 files changed, 1 insertions, 0 deletions
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