← Back to index
|
Original Bugzilla link
Bug 18890 – extern(C++) mangles all destructors the same
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-05-21T03:49:14Z
Last change time
2018-05-22T02:13:59Z
Keywords
C++, industry
Assigned to
No Owner
Creator
Manu
Comments
Comment #0
by turkeyman — 2018-05-21T03:49:14Z
When a class has __dtor and __xdtor, only __xdtor should be mangled extern(C++). Currently all DtorDeclaration's are mangled the same, which is bad.
Comment #1
by github-bugzilla — 2018-05-22T02:13:58Z
Commits pushed to master at
https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/9c43dbd58da19aebe5fff53bc1b800b0a1842cce
Fix issue 18890 - extern(C++) mangles all destructors the same
https://github.com/dlang/dmd/commit/bc650a0a46e7f9dbdd9e2c615e07c6d6615c098c
Merge pull request #8274 from TurkeyMan/xdtor_mangle Fix issue 18890 - extern(C++) mangles all destructors the same merged-on-behalf-of: David Nadlinger <
[email protected]
>