]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama : suppress unref var in Windows MSVC (#8150)
authorDaniel Bevenius <redacted>
Thu, 4 Jul 2024 10:50:57 +0000 (12:50 +0200)
committerGitHub <redacted>
Thu, 4 Jul 2024 10:50:57 +0000 (13:50 +0300)
commit402d6feffa0572d1c7a957901b6d1702bd188484
tree5b7f638474842af64134f7070ab346ef10c8c245
parent20fc3804bfb727074bc270b6eacb60af8d0bf7d4
llama : suppress unref var in Windows MSVC (#8150)

* llama : suppress unref var in Windows MSVC

This commit suppresses two warnings that are currently generated for
src/llama.cpp when building on Windows MSVC

```console
C:\llama.cpp\src\llama.cpp(14349,45): warning C4101: 'ex':
unreferenced local variable [C:\llama.cpp\build\src\llama.vcxproj]
C:\llama.cpp\src\llama.cpp(19285,44): warning C4101: 'e':
unreferenced local variable [C:\llama.cpp\build\src\llama.vcxproj]
```

* Update src/llama.cpp

---------

Co-authored-by: Georgi Gerganov <redacted>
src/llama.cpp