ggml : ignore more msvc warnings (ggml/906)

This commit is contained in:
Borislav Stanimirov 2024-08-07 10:00:56 +03:00 committed by Georgi Gerganov
parent 5b33ea1ee7
commit f93d49ab1e
No known key found for this signature in database
GPG key ID: BF970631944C16B7
2 changed files with 5 additions and 0 deletions

View file

@ -16,6 +16,8 @@
#if defined(__GNUC__)
#pragma GCC diagnostic ignored "-Woverlength-strings"
#elif defined(_MSC_VER)
#pragma warning(disable: 4244 4267) // possible loss of data
#endif
#define UNUSED GGML_UNUSED