summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-11-03 23:10:17 +0800
committerruki <[email protected]>2022-11-03 13:02:08 +0800
commitf95014b8e8c6e32471cf8bfa97988519dac25950 (patch)
tree4570c9ac24c4748d148930ba228b16052f76c943
parent60b8a7e7b06b4f964c07a8e784832883c3073a83 (diff)
improve warnings for cl
-rw-r--r--xmake/modules/core/tools/cl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index 7905668a9..7cce576ae 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -145,7 +145,7 @@ end
function nf_warning(self, level)
local maps =
{
- none = "-W0"
+ none = "-w"
, less = "-W1"
, more = "-W3"
, all = "-W3" -- = "-Wall" will enable too more warnings