diff options
| author | Martin Ridgers <[email protected]> | 2022-02-21 15:37:58 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-02-21 15:37:58 +0100 |
| commit | 3cbc7da1f33142a0fd26e201a36c36abd203f818 (patch) | |
| tree | 22821c62776adbbfc17afaf0713b4de24edcbfe3 /xmake.lua | |
| parent | Added unhandled switch enumerations. (diff) | |
| download | zen-3cbc7da1f33142a0fd26e201a36c36abd203f818.tar.xz zen-3cbc7da1f33142a0fd26e201a36c36abd203f818.zip | |
Align what GCC and Clang allow for switch cases to what MSVC allows
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -68,6 +68,7 @@ if is_os("linux") or is_os("macosx") then add_cxxflags("-Wno-implicit-fallthrough") add_cxxflags("-Wno-missing-field-initializers") add_cxxflags("-Wno-strict-aliasing") + add_cxxflags("-Wno-switch") add_cxxflags("-Wno-unused-lambda-capture") add_cxxflags("-Wno-unused-private-field") add_cxxflags("-Wno-unused-value") |