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
{{ message }}
Repository navigation
[bug] defines 值含空格时未转义,命令行被拆散(-DX="long long" → 孤立 long 参数) #234
Activity
fix(flags): shell-quote only define-values, pass raw/link flags verbatim
Sunrisepeak commentedon Jul 18, 2026
✅ 已在 mcpp 0.0.97 修复(PR #236,
b71d93c+3340e3c,簇 A)。defines = ["T=long long"]等含空格定义值现按 shell 引号保护,-DT=long long保持单个参数不被拆散。实现要点(经多平台 CI 打磨定案):
join_flags只对-D//D定义值(唯一"含空格属于单 token"的通道)加引号;原始描述符 flag(如-include foo.h=两 token)与 mcpp 生成的已转义链接 flag(rpath$ORIGIN)逐字透传——避免盲目引号误伤交叉构建与共享库运行期。验证:单测
NinjaBackend.QuotesFlagValueWithSpace+RawMultiTokenFlagIsNotQuoted+LinkFlagsAreNotReQuoted+ e2e116。fix: [build].defines is a BuildInputs member, and [build] stops swall…
fix: fold [build].defines into cflags/cxxflags before P1689 scan (#297)
macOS 27: the std module builds; the -D compatibility rule; host-shap…
One reading of a compile-flag element, the databases list what the co…