]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml : suppress Windows compiler warnings (whisper/3075)
authorDaniel Bevenius <redacted>
Tue, 29 Apr 2025 13:47:55 +0000 (15:47 +0200)
committerGeorgi Gerganov <redacted>
Thu, 1 May 2025 17:15:34 +0000 (20:15 +0300)
commitb5769d92b4510c77691ad9e3f8b643c2ba202e53
tree5153e7869a7f62200d8c2f7b46abb5ab38a40007
parent8936784f7a1ec4f91637d04b77fdc90ec36ebac9
ggml : suppress Windows compiler warnings (whisper/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.
ggml/CMakeLists.txt