mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 23:22:54 +00:00
d3d12: Disable implicit fallthrough checks
There are some missing explicit fallthrough statements in the direct headers Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
6f9f951e83
commit
67b5414c24
2 changed files with 7 additions and 0 deletions
|
@ -58,6 +58,10 @@ else
|
|||
'-Wno-unknown-pragmas',
|
||||
# Various warnings in DirectX-Headers headers
|
||||
'-Wno-switch',
|
||||
# Ignore missing fallthrough in DirectX-Headers headers
|
||||
'-Wimplicit-fallthrough=0',
|
||||
# Ignore definition issues
|
||||
'-Wno-undef',
|
||||
])
|
||||
endif
|
||||
|
||||
|
|
|
@ -62,6 +62,9 @@ else
|
|||
'-Wno-unknown-pragmas',
|
||||
# Various warnings in DirectX-Headers headers
|
||||
'-Wno-switch',
|
||||
# Ignore missing fallthrough in DirectX-Headers headers
|
||||
'-Wimplicit-fallthrough=0',
|
||||
'-Wno-undef'
|
||||
])
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue