Skip to content

server: fixing naming conflict res_error in server-models.cpp#17679

Merged
ngxson merged 1 commit intoggml-org:masterfrom
w169q169:fix_bug
Dec 2, 2025
Merged

server: fixing naming conflict res_error in server-models.cpp#17679
ngxson merged 1 commit intoggml-org:masterfrom
w169q169:fix_bug

Conversation

@w169q169
Copy link
Contributor

@w169q169 w169q169 commented Dec 2, 2025

Fix naming conflict with res_error from resolv.h (used by httplib).
This is related to PR #17243
The issue persists in the latest commit, so this PR addresses it.

Copy link
Member

@taronaeo taronaeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renaming res_error to res_err is the fix here? Am I missing something?

Edit: Nvm I got it, its a naming conflict.

@taronaeo taronaeo linked an issue Dec 2, 2025 that may be closed by this pull request
@ngxson ngxson merged commit fd3abe8 into ggml-org:master Dec 2, 2025
61 of 66 checks passed
Anico2 added a commit to Anico2/llama.cpp that referenced this pull request Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compile bug: redefinition of 'res_error' as different kind of symbol

3 participants