You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(build): restore C++ include order broken by clang-format include sort
The clang-format enforcement commit ran with SortIncludes: CaseSensitive, which
alphabetically reordered includes and moved jni_helpers.hpp / json_helpers.hpp
ahead of the server-*.h headers that define the `json` alias they depend on. CI
then failed to build jllama with "'json' does not name a type" cascading through
json_helpers.hpp / jni_helpers.hpp / jllama.cpp on the manylinux, Linux aarch64,
Android and C++-test compilers. (A local build masks it — the local toolchain
resolves `json` regardless of include order.)
Set SortIncludes: Never in .clang-format (the project has order-sensitive includes,
documented in CLAUDE.md) and restore the required order — server-*.h + utils.hpp
before the helper headers — in jllama.cpp and the affected C++ test files. Document
the constraint in CLAUDE.md. clang-format --dry-run --Werror stays clean; the
affected targets rebuild and the C++ tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014L2dLbAtwdq7C6a2gFRsQQ
0 commit comments