Skip to content
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

ggml : suppress unknown pragma 'GCC' on windows #8460

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

danbev
Copy link
Contributor

@danbev danbev commented Jul 12, 2024

This commit adds a macro guard to pragma GCC to avoid the following warning on windows:

C:\llama.cpp\ggml\src\ggml-aarch64.c(17,9): warning C4068:
unknown pragma 'GCC' [C:\lama.cpp\build\ggml\src\ggml.vcxproj]

Is it alright to open pull request for ggml in this repository or is it preferred to do so in the ggml repo?

@github-actions github-actions bot added the ggml changes relating to the ggml tensor library for machine learning label Jul 12, 2024
This commit adds a macro guard to pragma GCC to avoid the following
warning on windows:

```console
C:\llama.cpp\ggml\src\ggml-aarch64.c(17,9): warning C4068:
unknown pragma 'GCC' [C:\lama.cpp\build\ggml\src\ggml.vcxproj]
```
@mofosyne mofosyne added the Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix label Jul 13, 2024
@ggerganov ggerganov merged commit 8fac431 into ggerganov:master Jul 15, 2024
53 checks passed
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Jul 27, 2024
This commit adds a macro guard to pragma GCC to avoid the following
warning on windows:

```console
C:\llama.cpp\ggml\src\ggml-aarch64.c(17,9): warning C4068:
unknown pragma 'GCC' [C:\lama.cpp\build\ggml\src\ggml.vcxproj]
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ggml changes relating to the ggml tensor library for machine learning Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants