Skip to content

Conversation

michaelgiba
Copy link
Contributor

The CONTRIBUTING.md file suggests to run ci/run.sh before making any changes. But since that script sets -DLLAMA_FATAL_WARNINGS a warning from tools/mtmd/clip.cpp causes the script to terminate early. This fixes that error so that script can run

@michaelgiba
Copy link
Contributor Author

Warning prior to change:

/home/michaelgiba/code/github/llama.cpp/tools/mtmd/clip.cpp:3475:1: error: control reaches end of non-void function [-Werror=return-type]
3475 | }
| ^

michaelgiba and others added 2 commits August 11, 2025 09:30
Co-authored-by: Diego Devesa <slarengh@gmail.com>
@CISC CISC merged commit b108e42 into ggml-org:master Aug 21, 2025
47 checks passed
qnixsynapse pushed a commit to menloresearch/llama.cpp that referenced this pull request Aug 22, 2025
… issue (ggml-org#15221)

* Fix -Werror=return-type so ci/run.sh can run

* Update tools/mtmd/clip.cpp

Co-authored-by: Diego Devesa <slarengh@gmail.com>

* Remove false now that we have abort

---------

Co-authored-by: Diego Devesa <slarengh@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants