mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-06-27 12:05:03 +00:00
build : fix and ignore MSVC warnings (#1889)
This commit is contained in:
committed by
GitHub
parent
3d01122610
commit
9cbf50c041
@ -4,6 +4,10 @@
|
||||
|
||||
#include <ctime>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4244 4267) // possible loss of data
|
||||
#endif
|
||||
|
||||
int main(int argc, char ** argv) {
|
||||
gpt_params params;
|
||||
|
||||
|
Reference in New Issue
Block a user