August 12, 2018 [Issue 19161] New: Wrong mangle for C++ classes | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19161 Issue ID: 19161 Summary: Wrong mangle for C++ classes Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ilyayaroshenko@gmail.com extern(C++) { class Foo { } void foo(Foo); pragma(msg, foo.mangleof); } mangled to: void __cdecl foo(class Foo * __ptr64) expected (because of common C++ & STL practice): void __cdecl foo(class Foo & __ptr64) -- |
Copyright © 1999-2021 by the D Language Foundation