From 5c77c122ff98915a9ac0efa6b939ce0dfdf02100 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 21 Mar 2020 22:45:30 +0800 Subject: update warn flags for clang-cl --- xmake/modules/core/tools/clang_cl.lua | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/xmake/modules/core/tools/clang_cl.lua b/xmake/modules/core/tools/clang_cl.lua index 68b568f1a..5eb2c7421 100644 --- a/xmake/modules/core/tools/clang_cl.lua +++ b/xmake/modules/core/tools/clang_cl.lua @@ -101,24 +101,6 @@ function nf_optimize(self, level) return maps[level] end --- make the warning flag -function nf_warning(self, level) - - -- the maps - local maps = - { - none = "-w" - , less = "-Wall" - , more = "-Wall" - , all = "-Wall" - , everything = "-Wall -Wextra -Weffc++" - , error = "-Werror" - } - - -- make it - return maps[level] -end - -- make the language flag function nf_language(self, stdname) -- cgit v1.3.1