diff options
author | Joshua Ashton <joshua@froggi.es> | 2022-03-10 00:37:33 +0300 |
---|---|---|
committer | Philip Rebohle <25567304+doitsujin@users.noreply.github.com> | 2022-03-10 02:47:38 +0300 |
commit | e9b0d5d7162e9f4eabf1ab05c3cf4e82027e016b (patch) | |
tree | 12e9133523b88d696b5be76cc9545a46c1bc2c67 /meson.build | |
parent | 53b9a723acd3e6d26f4c7a2479c5b0a144d71db1 (diff) |
[build] Enable -Wimplicit-fallthrough
I got bit by this in D3D9.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 0e52e6a0..740b3ba1 100644 --- a/meson.build +++ b/meson.build @@ -48,6 +48,10 @@ if not dxvk_is_msvc endif endif +if dxvk_compiler.has_argument('-Wimplicit-fallthrough') + add_project_arguments('-Wimplicit-fallthrough', language: 'cpp') +endif + dxvk_include_path = include_directories('./include') if (cpu_family == 'x86_64') |