diff options
| -rw-r--r-- | xmake/modules/core/tools/nvcc.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua index 560145fde..b830e2c65 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -40,10 +40,9 @@ function init(self) self:set("mapflags", { -- warnings - ["-W1"] = "" - , ["-W2"] = "" - , ["-W3"] = "" - , ["-W4"] = "-Wreorder" + ["-W4"] = "-Wreorder" + , ["-Wextra"] = "-Wreorder" + , ["-Weverything"] = "-Wreorder" }) -- init buildmodes |
