@PeterSommerlad@mastodon.social
2026-02-09 16:00 UTC
Did anybody successfully use C++ import std; on a mac with G++-15 and cmake 4.2.3 ?
I got as far as a linker error missing std module init and am too much of a cmake newbie to figure out anything working.
#cpp #cppmodules #cppimportstd #cmake
Replies (2)
-
@hiddenalpha@mastodon.social 2026-02-09 17:21
@PeterSommerlad@mastodon.social Maybe just libstdc++ dev not yet installed?
-
@hiddenalpha@mastodon.social 2026-02-10 17:16
@PeterSommerlad@mastodon.social Hmm just curious. My C++ knowledge is a bit dated. I don't know import std; instead i remember using std; or was it use std; ? Edit: Oh indeed. Looks like C++ got some new syntax 🙃 So may ignore my this comment.