https://issues.dlang.org/show_bug.cgi?id=22489
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Dlang Bot <[email protected]> --- @MoonlightSentinel created dlang/dmd pull request #13895 "Fix 22489 - dtoh: Handle custom mangling for functions (and globals)" fixing this issue: - 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 --
