[Issue 17975] D produces mangling incompatible with C++
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 9 18:01:41 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=17975
kinke at gmx.net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kinke at gmx.net
--- Comment #1 from kinke at gmx.net ---
Well, when using a proper signature in D (transitive const!), it seems to work
fine:
extern (C++) int foo(pwchar* b, int bs, const(char)* it, const(char)* ite,
const(char)** itr);
=> https://godbolt.org/g/V7eR52
--
More information about the Digitalmars-d-bugs
mailing list