-
-
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
C++ Atomics in union: ::<unnamed union>::<unnamed struct>::field with constructor not allowed in anonymous aggregate #13062
Labels
Comments
Closed
Workaround, use type
PledgePtr {.exportc.} = ptr object
kind: PledgeKind
impl: PledgeImpl |
This was referenced Apr 4, 2020
ringabout
added a commit
to ringabout/Nim
that referenced
this issue
Nov 13, 2020
It works in Nim 1.2.6 and above(with c and cpp backend)
|
PMunch
pushed a commit
to PMunch/Nim
that referenced
this issue
Jan 6, 2021
mildred
pushed a commit
to mildred/Nim
that referenced
this issue
Jan 11, 2021
irdassis
pushed a commit
to irdassis/Nim
that referenced
this issue
Mar 16, 2021
ardek66
pushed a commit
to ardek66/Nim
that referenced
this issue
Mar 26, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following compile with the C backend but not with C++
C++ code
Error:
The text was updated successfully, but these errors were encountered: