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
Error in system/lib/libcxx/include/optional when _LIBCPP_STD_VER < 20 #21382
Emscripten uses the libc++ headers from the latest stable llvm release. That means we are currently including the libc++ headers from llvm 17. Its likely that this issue is an upstream issue with llvm 17. Is there some way you could try building that library with libc++-17 to confirm this?
Emscripten uses the libc++ headers from the latest stable llvm release. That means we are currently including the libc++ headers from llvm 17. Its likely that this issue is an upstream issue with llvm 17. Is there some way you could try building that library with libc++-17 to confirm this?
Thanks for your response. I compiled the same project using emscripten version 3.1.41 which uses libc++ headers from llvm 16 and it could build the project without introducing any errors. So, this seems to be an issue related to headers from llvm 17.
Activity
sbc100 commentedon Feb 21, 2024
Emscripten uses the libc++ headers from the latest stable llvm release. That means we are currently including the libc++ headers from llvm 17. Its likely that this issue is an upstream issue with llvm 17. Is there some way you could try building that library with libc++-17 to confirm this?
SaraBaradaran commentedon Mar 24, 2024
Thanks for your response. I compiled the same project using emscripten version 3.1.41 which uses libc++ headers from llvm 16 and it could build the project without introducing any errors. So, this seems to be an issue related to headers from llvm 17.
sbc100 commentedon Mar 25, 2024
Let see if this bug is fixed when we update the llvm headers: #21530