Bug 18997 – extern(C++) mangling incorrect for wchar_t

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-06-16T19:55:49Z
Last change time
2019-05-26T08:36:43Z
Keywords
C++
Assigned to
No Owner
Creator
Manu
See also
https://issues.dlang.org/show_bug.cgi?id=18958

Comments

Comment #0 by turkeyman — 2018-06-16T19:55:49Z
DMD treats wchar_t like an alias, which leads to incorrect mangling. MSVC mangles as '_W', and posix as 'w'.
Comment #1 by iamthewilsonator — 2019-05-26T08:36:43Z