Bug 20029 – Wrong MSVC mangling for const class template arguments

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2019-07-05T05:27:31Z
Last change time
2024-12-13T19:04:32Z
Keywords
C++, mangling
Assigned to
No Owner
Creator
Илья Ярошенко
Moved to GitHub: dmd#17915 →

Comments

Comment #0 by ilyayaroshenko — 2019-07-05T05:27:31Z
On Posix systems the mangling is correct. MSVC mangling is not correct (it can't be parsed by demanglers). ------------- module ee; extern(C++): class C {} struct S(T) {} void bar(S!(const C)) {} pragma(msg, bar.mangleof); -------------
Comment #1 by robert.schadek — 2024-12-13T19:04:32Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17915 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB