From 9264abfbaf7d55fe21c88f13bf84441d2f2e485e Mon Sep 17 00:00:00 2001 From: Kawrakow Date: Fri, 5 Dec 2025 14:06:22 +0100 Subject: [PATCH] Fix debug build (#1037) Co-authored-by: Iwan Kawrakow --- ggml/src/ggml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index b82bab36..983c84a8 100644 --- a/ggml/src/ggml.c +++ b/ggml/src/ggml.c @@ -6156,9 +6156,9 @@ struct ggml_tensor * ggml_mul_multi_add( #include #include #include -inline int popcount(uint32_t x) { return __popcnt(x); } +static inline int popcount(uint32_t x) { return __popcnt(x); } #else -inline int popcount(uint32_t x) { return __builtin_popcount(x); } +static inline int popcount(uint32_t x) { return __builtin_popcount(x); } #endif struct ggml_tensor * ggml_hadamard(