summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2020-11-10 14:58:01 +0100
committerJérôme Leclercq <[email protected]>2020-11-10 14:58:01 +0100
commitf1b890bc1717904c4e11d9cff41191e97b7ef612 (patch)
tree52c95feccd6f04155da9c3f93de3a6c3371aee3b /xmake/modules/core/tools/cl.lua
parent979df33ee2e84c77242fe1c07cef3d9a1a3def90 (diff)
Add support for "extra" warning level
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index 1144023c5..8e3df88d7 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -139,6 +139,7 @@ function nf_warning(self, level)
, all = "-W3" -- = "-Wall" will enable too more warnings
, everything = "-Wall"
, error = "-WX"
+ , extra = "-W4"
}
-- make it