[Issue 17359] C++ Interfacing: function with 'static' array parameter cannot be linked (x64)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 10 05:38:03 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=17359
--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
To get the same results in C++ and D:
C++:
void cppFunc(float (&color)[3]) { }
D:
extern(C++) void cppFunc(ref float[3] color) { }
Both mangle to:
?cppFunc@@YAXAAY02M at Z
--
More information about the Digitalmars-d-bugs
mailing list