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
Hi,
I'm trying to #include , but emscriptens says header not found.
When do you think it will become available ? (clang / LLVM already supports it).
Thanks,
Marco
We include libcxx as part of emscripten, but we only update it for llvm releases. According to system/lib/libcxx/readme.txt we currently include libcxx from llvm 10.x, and it looks like concepts was not included in that release.
So the the first release with concepts will likely be llvm 11. Once that is released we can update our version.
If you really want to out before then you could try copying the header(s) from llvm's libcxx/include/ into emscripten's system/lib/libcxx/include.
llvm has only experimental support for c++20 concepts. And it's quite broken, even in trunk. Lots of ICEs. No short circuit. The header only contains std::same_as;
So even emscripten uses latest llvm, there won't be much difference.
Activity
sbc100 commentedon Jul 6, 2020
We include libcxx as part of emscripten, but we only update it for llvm releases. According to system/lib/libcxx/readme.txt we currently include libcxx from llvm 10.x, and it looks like concepts was not included in that release.
So the the first release with concepts will likely be llvm 11. Once that is released we can update our version.
If you really want to out before then you could try copying the header(s) from llvm's libcxx/include/ into emscripten's system/lib/libcxx/include.
feverzsj commentedon Aug 21, 2020
llvm has only experimental support for c++20 concepts. And it's quite broken, even in trunk. Lots of ICEs. No short circuit. The header only contains std::same_as;
So even emscripten uses latest llvm, there won't be much difference.
sbc100 commentedon Aug 21, 2020
Right, this isn't really something we can or should fix in downstream emscripten I guess.