[build] Enable -Wimplicit-fallthrough

I got bit by this in D3D9.
This commit is contained in:
Joshua Ashton 2022-03-09 21:37:33 +00:00 committed by Philip Rebohle
parent 53b9a723ac
commit e9b0d5d716
1 changed files with 4 additions and 0 deletions

View File

@ -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')