diff options
| author | Jérôme Leclercq <[email protected]> | 2020-11-11 14:07:05 +0100 |
|---|---|---|
| committer | Jérôme Leclercq <[email protected]> | 2020-11-11 14:07:05 +0100 |
| commit | 57e070f435b4d0efb2ab8ad1413b9fe251771c46 (patch) | |
| tree | 3bf2553eab419a47c41b91ec9673ef56528682e3 | |
| parent | a456d7a16ba9a31071d1c8d785df412d68eb88e6 (diff) | |
-W4 corresponds to both -Wall -Wextra in Clang
| -rw-r--r-- | xmake/modules/core/tools/clang_cl.lua | 2 |
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 |
