From a8bd687896b419e5af946844bc08138e48613275 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 22 May 2019 00:49:48 +0800 Subject: remove extra warning level --- xmake/modules/core/tools/nvcc.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'xmake/modules/core/tools/nvcc.lua') diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua index 1032c4cbf..12c0b9209 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -72,7 +72,6 @@ function nf_warning(self, level) local maps = { none = "-w" - , extra = "-Wreorder" , everything = "-Wreorder" , error = "-Werror" } @@ -84,7 +83,6 @@ function nf_warning(self, level) , less = "-W1" , more = "-W3" , all = "-W3" -- = "-Wall" will enable too more warnings - , extra = "-W4" , everything = "-Wall" , error = "-WX" } @@ -100,7 +98,6 @@ function nf_warning(self, level) , less = "-Wall" , more = "-Wall" , all = "-Wall" - , extra = "-Wextra" , everything = "-Weverything -Wall -Wextra -Weffc++" , error = "-Werror" } -- cgit v1.3.1