From 3f37f4fcbf16f8bd3659f68c24dd2ecc4af59155 Mon Sep 17 00:00:00 2001 From: WarmUpTill <19472752+WarmUpTill@users.noreply.github.com> Date: Tue, 29 Sep 2026 20:48:43 +0200 Subject: [PATCH] Disable warnings for whisper.cpp --- plugins/speech/CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/speech/CMakeLists.txt b/plugins/speech/CMakeLists.txt index e6a87b4a..0d56947a 100644 --- a/plugins/speech/CMakeLists.txt +++ b/plugins/speech/CMakeLists.txt @@ -63,10 +63,16 @@ function(_advss_whisper_suppress_werror dir) ${_target} PRIVATE $<$:-Wno-error -Wno-shorten-64-to-32 - -Wno-ambiguous-macro> + -Wno-ambiguous-macro + -Wno-unused-parameter + -Wno-unreachable-code + -Wno-unguarded-availability-new> $<$:-Wno-error -Wno-shorten-64-to-32 - -Wno-ambiguous-macro> + -Wno-ambiguous-macro + -Wno-unused-parameter + -Wno-unreachable-code + -Wno-unguarded-availability-new> $<$:/WX-> $<$:/WX->) endforeach()