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: bypass stale clang++.cfg for macOS std module precompile
When xlings copies LLVM to mcpp's sandbox, clang++.cfg retains
hardcoded absolute paths from the original install (--sysroot and
-isystem pointing to ~/.xlings/... instead of ~/.mcpp/...). These
stale paths cause _CTYPE_A undeclared errors during std module
precompilation.
Fix: on macOS Clang, pass --no-default-config to ignore the stale
cfg, then explicitly provide the correct -isystem (libc++ headers
from the sandbox LLVM root) and --sysroot (active SDK from xcrun).
This produces the same header search behavior as a fresh clang++
invocation with the correct paths.
0 commit comments