Skip to content

ci : Fix -Werror=return-type in clip.cpp so ci/run.sh can run without issue #15221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

michaelgiba
Copy link

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
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 | }
| ^

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.

3 participants