百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#7373·libgit2

在使用 clang22 为 armv7 ios 构建时触发的 Wincompatible-pointer-types

作者: edo9300创建于 2026年9月13日更新于 2026年9月13日

When building with the combination of clang22, ios 13 sdk, and armv7 target, libgit2 fails to build due to `size_t` being declared as `unsigned long`, and thus being a mismatched type when passed to the various `GIT_XXX_SIZET_OVERFLOW`, `GIT_ERROR_CHECK_ALLOC_ADD`. This build log is for libgit 1.8.5, but the issue is present in the current master branch as well

内容来源: libgit2/libgit2

查看 GitHub 原文在 GitHub 查看讨论