-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Zig compiles C++ jthread with errors #22989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It's not available because we're currently on LLVM 19 and libc++ only gained (non-experimental) I'll close this issue because there isn't really anything in particular for us to do here; the support will come automatically with #22780. |
be sorry |
If you have the latest GCC (mine is 14) you can use libstdc++ instead of libc++. (Sometimes it can also solve ABI incompatibility issue if other libraries use libstc++. #18300) Because the library is on your machine, it's not portable if you don't write a more complex build script, but it might solve the problem for now.
|
Thank you, I am also studying this plan |
Oops, I see. Hmmm... Have you tried this? Or:
|
Solved it! It's really amazing... |
Zig Version
0.13.0
Steps to Reproduce and Observed Behavior
I found an error when compiling a C++project using jthread
So I wrote a small demo
Found the following error message
My environment is
Expected Behavior
Normal compilation
The text was updated successfully, but these errors were encountered: