diff options
| author | Jérôme Leclercq <[email protected]> | 2020-11-10 14:49:29 +0100 |
|---|---|---|
| committer | Jérôme Leclercq <[email protected]> | 2020-11-10 14:49:29 +0100 |
| commit | 979df33ee2e84c77242fe1c07cef3d9a1a3def90 (patch) | |
| tree | 75160b3407b691ec5baed61fd04a53ffe3a4694a /xmake/plugins/project/cmake/cmakelists.lua | |
| parent | 292971507ffb3e6667616dddd7a0a79e8c5e7c8f (diff) | |
Revert "GCC/Clang: Add -Wextra when enabling all warnings"
This reverts commit 35f2bce6d454934554f9e97adfa96270e776d56e.
Diffstat (limited to 'xmake/plugins/project/cmake/cmakelists.lua')
| -rw-r--r-- | xmake/plugins/project/cmake/cmakelists.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua index 1ede8b10f..fe8a66871 100644 --- a/xmake/plugins/project/cmake/cmakelists.lua +++ b/xmake/plugins/project/cmake/cmakelists.lua @@ -277,7 +277,7 @@ function _add_target_warnings(cmakelists, target) none = "-w" , less = "-Wall" , more = "-Wall" - , all = "-Wall -Wextra" + , all = "-Wall" , error = "-Werror" } local flags_msvc = |
