aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2022-02-04 11:26:33 +0100
committerMartin Ridgers <[email protected]>2022-02-04 11:26:33 +0100
commit58342e8277577bcfd8a029382e569f3ef6335ed0 (patch)
tree6953c8324bc1469a4bd66d079ef099839bd636bc /xmake.lua
parentClose connection if HTTP header parsing failed (diff)
downloadzen-58342e8277577bcfd8a029382e569f3ef6335ed0.tar.xz
zen-58342e8277577bcfd8a029382e569f3ef6335ed0.zip
Disabled unused lambda-capture/local-variable warnings to lessen maintenance cost
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index be01b9fb6..4d9b4e4b7 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -68,8 +68,10 @@ if is_os("linux") or is_os("macosx") then
add_cxxflags("-Wno-implicit-fallthrough")
add_cxxflags("-Wno-missing-field-initializers")
add_cxxflags("-Wno-strict-aliasing")
+ add_cxxflags("-Wno-unused-lambda-capture")
add_cxxflags("-Wno-unused-private-field")
add_cxxflags("-Wno-unused-value")
+ add_cxxflags("-Wno-unused-variable")
end
-- Turn use of undefined cpp macros into errors