summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/genie.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 8b05e60bb56..727be423d2a 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -1106,11 +1106,11 @@ end
end
if version >= 130000 then
buildoptions_c {
- "-Wno-dangling-pointer",
+ "-Wno-error=dangling-pointer",
}
buildoptions_cpp {
- "-Wno-dangling-reference",
- "-Wno-dangling-pointer",
+ "-Wno-error=dangling-reference",
+ "-Wno-error=dangling-pointer",
"-Wno-xor-used-as-pow",
}
end