diff options
author | 2018-02-28 21:19:37 +1100 | |
---|---|---|
committer | 2018-02-28 21:19:37 +1100 | |
commit | 910d2267cad32587d3f8fa19ff603e15d2f336cb (patch) | |
tree | 8043cd8c70f7611949ba24bd1bbf564bff951bd5 /scripts/genie.lua | |
parent | 0a365065c39b81628bcb9c938fbbc95920a260ab (diff) |
Start squeezing out the poor-performing parts of the output_manager:
* Turn deprecated declataion warnings on by default and make them non-fatal
* Make output_finder iterable in algorithms and range-based for loops
* Replace a lot of set_something with output_finder
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 6d89686fce8..ad7018ed5c8 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -763,7 +763,7 @@ if (_OPTIONS["SHADOW_CHECK"]=="1") then end -- only show deprecation warnings when enabled -if _OPTIONS["DEPRECATED"]~="1" then +if _OPTIONS["DEPRECATED"]=="0" then buildoptions { "-Wno-deprecated-declarations" } @@ -933,6 +933,7 @@ end "-Wwrite-strings", "-Wno-sign-compare", "-Wno-conversion", + "-Wno-error=deprecated-declarations", } -- warnings only applicable to C compiles buildoptions_c { |