mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
meson: d3d12: fix build with MinGW GCC 14
Also apply the d3d11 fix since both use the same header. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7658>
This commit is contained in:
parent
f8d6b3d568
commit
4af2121189
2 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,8 @@ else
|
|||
# MinGW 32bits compiler seems to be complaining about redundant-decls
|
||||
# when ComPtr is in use. Let's just disable the warning
|
||||
'-Wno-redundant-decls',
|
||||
# include/directxmath/DirectXMathMatrix.inl:1161:16: error: variable 'aa' set but not used
|
||||
'-Wno-unused-but-set-variable',
|
||||
])
|
||||
endif
|
||||
|
||||
|
|
|
@ -54,6 +54,8 @@ else
|
|||
# MinGW 32bits compiler seems to be complaining about redundant-decls
|
||||
# when ComPtr is in use. Let's just disable the warning
|
||||
'-Wno-redundant-decls',
|
||||
# include/directxmath/DirectXMathMatrix.inl:1161:16: error: variable 'aa' set but not used
|
||||
'-Wno-unused-but-set-variable',
|
||||
])
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue