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
$ mcpp build
Resolving toolchain
Resolved gcc@16.1.0 → @mcpp/registry/data/xpkgs/xim-x-gcc/16.1.0/bin/g++
Compiling M3Lib v0.1.0 (.)
error: build failed
In module imported at /home/skyler/Dev/M3Lib/m3/detail/alignment_traits.cppm:5:1:
std: error: language dialect differs 'C++23', expected 'C++26/contracts'
std: error: failed to read compiled module: Bad file data
std: note: compiled module file is 'gcm.cache/std.gcm'
std: fatal error: returning to the gate for a mechanical issue
compilation terminated.
In module imported at /home/skyler/Dev/M3Lib/m3/detail/concepts.cppm:7:1:
std: error: language dialect differs 'C++23', expected 'C++26/contracts'
std: error: failed to read compiled module: Bad file data
std: note: compiled module file is 'gcm.cache/std.gcm'
std: fatal error: returning to the gate for a mechanical issue
compilation terminated.
Activity
Sunrisepeak commentedon Jun 1, 2026
改功能已经支持, 使用
xlings update mcpp -y更新到最新版本(0.0.42)即可使用具体文档
https://github.com/mcpp-community/mcpp/blob/main/docs/05-mcpp-toml.md#23-build--%E6%9E%84%E5%BB%BA%E9%85%8D%E7%BD%AE
Sunrisepeak commentedon Jun 6, 2026
该问题已经解决, 如果还有问题可以reopen