summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/gcc.lua
diff options
context:
space:
mode:
authorJonathan Poelen <[email protected]>2020-11-14 03:13:44 +0100
committerJonathan Poelen <[email protected]>2020-11-14 03:14:31 +0100
commitcb310f3595525dd90bcb41d608c7a02e5f00e242 (patch)
tree542d4d5c19262874478143d844bc8f1aee30d188 /xmake/modules/core/tools/gcc.lua
parent312521468d7fb068d7527a2efb33335073bfea0b (diff)
-W4 implies -Wall and -Wextra with gcc and clang
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
-rw-r--r--xmake/modules/core/tools/gcc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index 130790a56..9df42a56b 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -53,7 +53,7 @@ function init(self)
["-W1"] = "-Wall"
, ["-W2"] = "-Wall"
, ["-W3"] = "-Wall"
- , ["-W4"] = "-Wextra"
+ , ["-W4"] = "-Wall -Wextra"
, ["-Weverything"] = "-Wall -Wextra -Weffc++"
-- strip