-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
invalid C++ codegen in --mm:refc
with Thread
/Atomic
/createThread
#24159
Comments
This For this issue though the problem is that we're generating typeinfo when this is an imported C++ type here. Edit: Issue was predicted here Yeah |
fixes nim-lang#24159, refs nim-lang#23761, refs nim-lang#15928, alternative to nim-lang#24166
fixes nim-lang#24159, refs nim-lang#23761, refs nim-lang#15928, alternative to nim-lang#24166
refs #24200 (comment) Workaround for C++ Atomic[T] issues that doesn't require a compiler change. Not tested or documented in case it's not meant to be officially supported, locally tested `tatomics` and #24159 to work with it though, can add these as tests if required.
refs #24200 (comment) Workaround for C++ Atomic[T] issues that doesn't require a compiler change. Not tested or documented in case it's not meant to be officially supported, locally tested `tatomics` and #24159 to work with it though, can add these as tests if required. (cherry picked from commit febc58e)
Description
compile with
nim cpp --mm:refc r.nim
Nim Version
v2.0.8
:version-2-0
:version-2-2
:devel
:Current Output
Expected Output
Known Workarounds
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: