[PR #10563] [MERGED] all: fix cgo compiler warnings on windows #23815

Closed
opened 2026-04-19 17:14:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10563
Author: @jmorganca
Created: 5/4/2025
Status: Merged
Merged: 5/5/2025
Merged by: @dhiltgen

Base: mainHead: jmorganca/windows-warnings


📝 Commits (1)

  • 65dabbf all: fix cgo compiler warnings on windows

📊 Changes

4 files changed (+8 additions, -6 deletions)

View changed files

📝 discover/gpu_info_cudart.c (+4 -4)
📝 discover/gpu_info_nvcuda.c (+2 -2)
📝 llama/llama.go (+1 -0)
📝 ml/backend/ggml/ggml/src/ggml.go (+1 -0)

📄 Description

Fixes a series of warnings when building Ollama on Windows


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/10563 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 5/4/2025 **Status:** ✅ Merged **Merged:** 5/5/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `jmorganca/windows-warnings` --- ### 📝 Commits (1) - [`65dabbf`](https://github.com/ollama/ollama/commit/65dabbf3a79ff3d3af3178d0a3da5b7c34ac961a) all: fix cgo compiler warnings on windows ### 📊 Changes **4 files changed** (+8 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `discover/gpu_info_cudart.c` (+4 -4) 📝 `discover/gpu_info_nvcuda.c` (+2 -2) 📝 `llama/llama.go` (+1 -0) 📝 `ml/backend/ggml/ggml/src/ggml.go` (+1 -0) </details> ### 📄 Description Fixes a series of warnings when building Ollama on Windows --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-19 17:14:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#23815