https://issues.dlang.org/show_bug.cgi?id=22489
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dlang Bot <[email protected]> --- dlang/dmd pull request #13895 "Fix 22489 - dtoh: Handle custom mangling for functions (and globals)" was merged into master: - 0a2409ecb346f0fd3158c895574da755a8da3f1c by MoonlightSentinel: Fix 22489 - dtoh: Handle custom mangling for functions (and globals) Explicit mangling provided via `pragma(mangle, "..")` cannot be mapped to C++. For `extern(C)` function it's possible to emulate the behavior by replacing the identifier with the custom mangling. This doesn't work for `extern(C++)` functions, so they are ignored. The same rationale + solution applies to global variables with custom mangling. https://github.com/dlang/dmd/pull/13895 --
