[Issue 19953] extern(C++) const ref to static array incorrectly adds const to the mangle name
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 11 19:18:43 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19953
kinke at gmx.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|x86 |All
OS|Windows |All
--- Comment #2 from kinke at gmx.net ---
Related issue for Linux x64:
C++: short test27(const int (&)[6][291])
_Z6test27RA6_A291_Ki
D: extern(C++) short test27(ref const int[291][6])
_Z6test27RKA6_KA291_Ki
Note that the C++ mangling of `const(int[291][6])` and `const(int)[291][6]` is
identical for both MSVC and Itanium (and that's fine IMO).
--
More information about the Digitalmars-d-bugs
mailing list