Prepare for deprecations in OBS 31

See https://github.com/obsproject/obs-studio/pull/11164
This commit is contained in:
WarmUpTill
2024-08-25 12:49:13 +02:00
committed by WarmUpTill
parent c1ac9bb890
commit 354880ad52
5 changed files with 27 additions and 8 deletions

View File

@@ -26,12 +26,8 @@ if(OS_WINDOWS)
else()
target_compile_options(
libremidi
PUBLIC -Wno-error=conversion
-Wno-error=unused-result
-Wno-error=shadow
-Wno-error=unused-parameter
-Wno-error=unused-variable
-Wno-error=deprecated-declarations
PUBLIC -Wno-error=conversion -Wno-error=unused-result -Wno-error=shadow
-Wno-error=unused-parameter -Wno-error=unused-variable
-Wno-error=sign-compare)
if(OS_MACOS)
target_compile_options(libremidi PUBLIC -Wno-error=vla-extension)