summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2020-11-11 14:07:05 +0100
committerJérôme Leclercq <[email protected]>2020-11-11 14:07:05 +0100
commit57e070f435b4d0efb2ab8ad1413b9fe251771c46 (patch)
tree3bf2553eab419a47c41b91ec9673ef56528682e3
parenta456d7a16ba9a31071d1c8d785df412d68eb88e6 (diff)
-W4 corresponds to both -Wall -Wextra in Clang
-rw-r--r--xmake/modules/core/tools/clang_cl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/clang_cl.lua b/xmake/modules/core/tools/clang_cl.lua
index 8ee58f23e..4125ab2a0 100644
--- a/xmake/modules/core/tools/clang_cl.lua
+++ b/xmake/modules/core/tools/clang_cl.lua
@@ -33,7 +33,7 @@ function init(self)
["-W1"] = "-Wall"
, ["-W2"] = "-Wall"
, ["-W3"] = "-Wall"
- , ["-W4"] = "-Wextra"
+ , ["-W4"] = "-Wall -Wextra"
, ["-Weverything"] = "-Wall -Wextra -Weffc++"
-- language