diff options
| author | Jérôme Leclercq <[email protected]> | 2020-11-11 15:42:00 +0100 |
|---|---|---|
| committer | Jérôme Leclercq <[email protected]> | 2020-11-11 15:42:00 +0100 |
| commit | 58d160914919331ca121c2648ce72947b816d127 (patch) | |
| tree | def5518155f6f94020a5fdba1c6c08e0dde51f54 | |
| parent | 57e070f435b4d0efb2ab8ad1413b9fe251771c46 (diff) | |
Add missing allextra mapping
| -rw-r--r-- | xmake/modules/core/tools/clang.lua | 1 | ||||
| -rw-r--r-- | xmake/modules/core/tools/nvcc.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/core/tools/tcc.lua | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua index 549bdaae1..457de3b60 100644 --- a/xmake/modules/core/tools/clang.lua +++ b/xmake/modules/core/tools/clang.lua @@ -118,6 +118,7 @@ function nf_warning(self, level) , less = "-Wall" , more = "-Wall" , all = "-Wall" + , allextra = "-Wall -Wextra" , everything = "-Weverything" , error = "-Werror" } diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua index 4bd8706ed..6c55597ac 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -124,9 +124,9 @@ function nf_warning(self, level) , less = "-Wall" , more = "-Wall" , all = "-Wall" + , allextra = "-Wall -Wextra" , everything = "-Weverything -Wall -Wextra -Weffc++" , error = "-Werror" - , extra = "-Wextra" } -- get warning for nvcc diff --git a/xmake/modules/core/tools/tcc.lua b/xmake/modules/core/tools/tcc.lua index 271792ffe..727bc28fb 100644 --- a/xmake/modules/core/tools/tcc.lua +++ b/xmake/modules/core/tools/tcc.lua @@ -78,8 +78,8 @@ function nf_warning(self, level) , less = "-W1" , more = "-W3" , all = "-Wall" - , extra = "-Wunsupported" - , everything = "-Wall -Wunsupported -Wwrite-strings" + , allextra = "-Wall -Wunsupported -Wwrite-strings -Wimplicit-function-declaration" + , everything = "-Wall -Wunsupported -Wwrite-strings -Wimplicit-function-declaration" , error = "-Werror" } return maps[level] |
