diff options
| author | Jérôme Leclercq <[email protected]> | 2020-11-10 13:47:09 +0100 |
|---|---|---|
| committer | Jérôme Leclercq <[email protected]> | 2020-11-10 13:47:09 +0100 |
| commit | 35f2bce6d454934554f9e97adfa96270e776d56e (patch) | |
| tree | 63168e749b9ce20d8c48f66cd575e8f5662c792e /xmake/modules/core/tools/nvcc.lua | |
| parent | cf3cd2f2d25376d29e20e87bfd9f4aed31af5568 (diff) | |
GCC/Clang: Add -Wextra when enabling all warnings
Diffstat (limited to 'xmake/modules/core/tools/nvcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/nvcc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua index b2284ad05..4ad35522b 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -122,7 +122,7 @@ function nf_warning(self, level) none = "-w" , less = "-Wall" , more = "-Wall" - , all = "-Wall" + , all = "-Wall -Wextra" , everything = "-Weverything -Wall -Wextra -Weffc++" , error = "-Werror" } |
