[Issue 20716] Wrong code/ABI for extern(C++) interface method that returns non-POD

2020-08-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20716 Walter Bright changed: What|Removed |Added Keywords||backend CC|

[Issue 20716] Wrong code/ABI for extern(C++) interface method that returns non-POD

2020-09-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20716 --- Comment #2 from Walter Bright --- Curiously, this works on Windows. --

[Issue 20716] Wrong code/ABI for extern(C++) interface method that returns non-POD

2020-09-07 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20716 --- Comment #3 from Walter Bright --- The problem here is the "adjustor thunk" generated does not take into account the size of the hidden pointer parameter, and winds up adjusting the hidden pointer rather than the `this` pointer. --

[Issue 20716] Wrong code/ABI for extern(C++) interface method that returns non-POD

2020-09-07 Thread d-bugmail--- via Digitalmars-d-bugs
--- @WalterBright created dlang/dmd pull request #11703 "fix Issue 20716 - Wrong code/ABI for extern(C++) interface method tha…" fixing this issue: - fix Issue 20716 - Wrong code/ABI for extern(C++) interface method that returns non-POD https://github.com/dlang/dmd/pull/11703 --

[Issue 20716] Wrong code/ABI for extern(C++) interface method that returns non-POD

2020-11-08 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #5 from Dlang Bot --- dlang/dmd pull request #11703 "fix Issue 20716 - Wrong code/ABI for extern(C++) interface method tha…" was merged into master: - 9ad79f65edba40925c4f4d92c5603fb5711cd85a by Walter Bright: fix Issue 20716 - Wrong code/ABI fo

[Issue 20716] Wrong code/ABI for extern(C++) interface method that returns non-POD

2020-03-31 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20716 Илья Ярошенко changed: What|Removed |Added Keywords||C++, wrong-code --- Comment #1 from Илья Яро