[Issue 18953] Win32: extern(C++) struct destructor not called correctly through runtime

2018-06-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18953 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/3a4707b4b15743ff4a068fe5ac6b983b6ce042c4 fix issue 18953 - extern(C++) struct destructor not called

[Issue 18953] Win32: extern(C++) struct destructor not called correctly through runtime

2018-06-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18953 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18953] Win32: extern(C++) struct destructor not called correctly through runtime

2018-06-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18953 --- Comment #4 from Rainer Schuetze --- I added a test for this in some iteration, but it seemed it failed/crashed on Linux, so I removed it immediately to not complicate the PR. I'll open a new PR with a test case... --

[Issue 18953] Win32: extern(C++) struct destructor not called correctly through runtime

2018-06-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18953 Manu changed: What|Removed |Added Keywords||C++, industry --

[Issue 18953] Win32: extern(C++) struct destructor not called correctly through runtime

2018-06-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18953 --- Comment #3 from Manu --- Was this fixed by your last merged patch? --

[Issue 18953] Win32: extern(C++) struct destructor not called correctly through runtime

2018-06-07 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18953 Manu changed: What|Removed |Added CC||turkey...@gmail.com

[Issue 18953] Win32: extern(C++) struct destructor not called correctly through runtime

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18953 --- Comment #1 from Rainer Schuetze --- Probalby happens because TypeInfo_Struct.destroy doesn't use the expected __thiscall calling convention: https://github.com/dlang/druntime/blob/master/src/object.d#L2010 --