From 1390565fc69be1b2078ca4eefae67a6f5a1d6d9c Mon Sep 17 00:00:00 2001 From: WarmUpTill <19472752+WarmUpTill@users.noreply.github.com> Date: Wed, 12 Aug 2026 21:16:07 +0200 Subject: [PATCH] Disable additional warnings for whisper.cpp --- plugins/speech/CMakeLists.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/plugins/speech/CMakeLists.txt b/plugins/speech/CMakeLists.txt index 91197a62..e6a87b4a 100644 --- a/plugins/speech/CMakeLists.txt +++ b/plugins/speech/CMakeLists.txt @@ -61,9 +61,14 @@ function(_advss_whisper_suppress_werror dir) endif() target_compile_options( ${_target} - PRIVATE $<$:-Wno-error> - $<$:-Wno-error> - $<$:/WX-> $<$:/WX->) + PRIVATE $<$:-Wno-error + -Wno-shorten-64-to-32 + -Wno-ambiguous-macro> + $<$:-Wno-error + -Wno-shorten-64-to-32 + -Wno-ambiguous-macro> + $<$:/WX-> + $<$:/WX->) endforeach() endfunction()