← Back to index
|
Original Bugzilla link
Bug 21108 – Wrong mangling for extern(C++, std) (identifier namespace)
Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2020-08-04T04:06:07Z
Last change time
2024-12-13T19:10:32Z
Keywords
C++
Assigned to
No Owner
Creator
Mathias LANG
Moved to GitHub: dmd#19756 →
Comments
Comment #0
by pro.mathias.lang — 2020-08-04T04:06:07Z
Taken from:
https://issues.dlang.org/show_bug.cgi?id=16479#c11
``` extern (C++, std) struct pair(T1, T2) {} extern (C++) void func_20413(pair!(int, float), pair!(float, int)); ``` actual: _Z10func_20413St4pairIifEStS_IfiE expected: _Z10func_20413St4pairIifES_IfiE A C++ string namespace `extern (C++, "std") struct pair(T1, T2) {}` works as expected (testcase from
https://issues.dlang.org/show_bug.cgi?id=20413).
Comment #1
by robert.schadek — 2024-12-13T19:10:32Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/19756
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB