summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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