]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml : suppress Windows compiler warnings (#3075)
authorDaniel Bevenius <redacted>
Tue, 29 Apr 2025 13:47:55 +0000 (15:47 +0200)
committerGitHub <redacted>
Tue, 29 Apr 2025 13:47:55 +0000 (15:47 +0200)
commit55d73a13f5b29ad78de1b7f382a0bc8da8c052ef
tree8f80ccb34e9ec26f17781ef17651d137ee190bbe
parent2e30e6df59c994b9aef7b751e57e8429d05365ae
ggml : suppress Windows compiler warnings (#3075)

* whisper: suppress Windows compiler warnings

This commit disables compiler warnings on window using MSVC.

The motivation for these changes is that some compilers generate
warnings for these conversion, for example Windows MSVC, and
there are quite a few of them. This makes it a little difficult to
spot new warnings that may be introduced and also can be difficult
for users/embedders of ggml where these warnings are hard to separate
from their own warnings.

* squash! whisper: suppress Windows compiler warnings

Move ggml related warnings into ggml. This commit also fixes the
indentation and adds a missing whitespace to the if statement.
CMakeLists.txt
ggml/CMakeLists.txt