[Issue 15505] extern(C++) array parameter mangling gains surprise const
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jul 2 09:53:44 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=15505
Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |C++
Hardware|x86_64 |All
Severity|enhancement |normal
--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
Only occurs when targeting the MS toolchain (-m64 / -m32mscoff).
-m32mscoff:
mangled: ?f@@YAXQAY03H at Z
demangled: void __cdecl f(int (* const)[4])
-m64:
mangled: ?f@@YAXQEAY03H at Z
demangled: void __cdecl f(int (* __ptr64 const)[4])
--
More information about the Digitalmars-d-bugs
mailing list