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
This sounds like a libc++ issue? What happens if you try to use this feature with emscripten today? Perhaps the upcoming change to upgrade libc++ to LLVM 19 will fix this: #22994 ?
@sbc100
Thanks for the replies! I've realised this was because I hadn't properly enabled c++20.
Once enabling c++20 though, I run into the error here, hence not useable: #22305
Activity
[-]c++20 std::source_location[/-][+]c++20 std::source_location support request[/+]sbc100 commentedon Dec 31, 2024
This sounds like a libc++ issue? What happens if you try to use this feature with emscripten today? Perhaps the upcoming change to upgrade libc++ to LLVM 19 will fix this: #22994 ?
hsdk123 commentedon Jan 1, 2025
A compiler error that the header
source_locationdoesn't exist.sbc100 commentedon Jan 2, 2025
Seems to work for me:
Can you share the full command line you are using? And also the version of emscripten you are using?
hsdk123 commentedon Jan 25, 2025
@sbc100
Thanks for the replies! I've realised this was because I hadn't properly enabled c++20.
Once enabling c++20 though, I run into the error here, hence not useable:
#22305
sbc100 commentedon Jan 25, 2025
OK, sounds like we can close this in as duplicate of #22305?