summaryrefslogtreecommitdiffstats
path: root/docs/release/scripts/genie.lua
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2018-03-28 12:33:19 +1100
committer Robbbert <Robbbert@users.noreply.github.com>2018-03-28 12:33:19 +1100
commit08f806096d2c383b1c08a7384414e93d95b3e4a9 (patch)
treea62b0e342fd1549b4753b2effcbf7e2ec6218746 /docs/release/scripts/genie.lua
parentbb3a9f91a33420859e27e2116d53b7be0aae0928 (diff)
0.196 Release filestag196
Diffstat (limited to 'docs/release/scripts/genie.lua')
-rw-r--r--docs/release/scripts/genie.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/release/scripts/genie.lua b/docs/release/scripts/genie.lua
index 6d89686fce8..ad7018ed5c8 100644
--- a/docs/release/scripts/genie.lua
+++ b/docs/release/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 {