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:
Edward Hervey 2025-01-06 15:06:58 +01:00 committed by GStreamer Marge Bot
parent 6f9f951e83
commit 67b5414c24
2 changed files with 7 additions and 0 deletions

View file

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

View file

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