summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2020-11-10 13:46:54 +0100
committerJérôme Leclercq <[email protected]>2020-11-10 13:46:54 +0100
commitcf3cd2f2d25376d29e20e87bfd9f4aed31af5568 (patch)
tree77b602489b6dae1f86d3ff37483e39dd4d07c19a /xmake/modules/core/tools/cl.lua
parent6f58d347401697543a16d0a7f93cb5b401908fb0 (diff)
MSVC: Use /W4 when enabling all warnings
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-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 1144023c5..e22554713 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -136,7 +136,7 @@ function nf_warning(self, level)
none = "-W0"
, less = "-W1"
, more = "-W3"
- , all = "-W3" -- = "-Wall" will enable too more warnings
+ , all = "-W4" -- = "-Wall" will enable too more warnings
, everything = "-Wall"
, error = "-WX"
}