Files
ik_llama.cpp/github-data/pull_requests/58 - Fix compiler warnings.md
2025-07-23 13:31:53 +02:00

17 lines
657 B
Markdown

### 🐛 [#58](https://github.com/ikawrakow/ik_llama.cpp/pull/58) - Fix compiler warnings
| **Author** | `ikawrakow` |
| :--- | :--- |
| **State** | ❌ **Closed** |
| **Created** | 2024-09-17 |
| **Updated** | 2024-09-17 |
---
#### Description
I got tired of the "ISO C++ forbids anonymous structures" warnings that are due to the way the quants scales are defined in `ggml-common.h`, so fixing it with this PR.
Once at it
* Also added `-Wno-c99-extensions` when building on APPLE to avoid the gazillion warnings I'm getting due to `arm_neon.h`.
* Fixed the warnings in `iqk_quantize.cpp` and added `GGML_ABORT` when an implementation is missing.