diff options
author | 2016-08-25 14:35:00 +1000 | |
---|---|---|
committer | 2016-08-25 14:35:00 +1000 | |
commit | cfbb88272085e61a30ff03bcc4f23303d5484000 (patch) | |
tree | 4ebd4a04df4ad8a9bb16dfb109633df27096b86b /scripts/genie.lua | |
parent | 3bf7ef43f76d3aa795e0786c64bdaa80ce807734 (diff) | |
parent | 717e1eb9d2f3d4399f1793773b3c48397c728b43 (diff) |
Merge pull request #1314 from ajrhacker/clang_warnings
Change warning flags for Clang build (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 3f6455a5cf8..2488671cc2e 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -958,25 +958,17 @@ end buildoptions { "-Wno-cast-align", "-Wno-tautological-compare", - "-Wno-dynamic-class-memaccess", "-Wno-unused-value", - "-Wno-inline-new-delete", "-Wno-constant-logical-operand", - "-Wno-deprecated-register", + "-Wno-missing-braces", -- clang is not as permissive as GCC about std::array initialization "-fdiagnostics-show-note-include-stack", } if (version >= 30500) then buildoptions { - "-Wno-absolute-value", "-Wno-unknown-warning-option", "-Wno-extern-c-compat", } end - if (version >= 70000) then - buildoptions { - "-Wno-tautological-undefined-compare", - } - end else if (version < 40900) then print("GCC version 4.9 or later needed") |