From 57e070f435b4d0efb2ab8ad1413b9fe251771c46 Mon Sep 17 00:00:00 2001 From: Jérôme Leclercq Date: Wed, 11 Nov 2020 14:07:05 +0100 Subject: -W4 corresponds to both -Wall -Wextra in Clang --- xmake/modules/core/tools/clang_cl.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1