summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author balr0g <balrog032@gmail.com>2015-06-07 10:20:43 -0400
committer balr0g <balrog032@gmail.com>2015-06-07 12:02:20 -0400
commit72794f8ff1c1e79bd0350bb52fb3757bdf04d004 (patch)
tree32c106a98cb62a31a7c4a6110d69b24bf4eefe7b /scripts/genie.lua
parent05a79d2e2011ec9efe711019b796634ef8d0cfb0 (diff)
Use attribute unused for inlined new/delete. (nw)
This is still not compliant code, and will probably break with LTO, but is a cleaner fix for the warning. Using this attribute also ensures that the linker doesn't remove the code.
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index bdd97f427c5..7a591db050b 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -923,7 +923,6 @@ end
end
if (version >= 30400) then
buildoptions {
- "-Wno-inline-new-delete",
"-Wno-constant-logical-operand",
}
end