[Issue 21345] New: [C++, posix] different mangling between string and non-string namespace in "std"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 28 05:05:23 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21345
Issue ID: 21345
Summary: [C++,posix] different mangling between string and
non-string namespace in "std"
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: iamthewilsonator at hotmail.com
version(UseString)
{
extern(C++, `std`) void a(){}
pragma(msg, a.mangleof);// _ZSt1av
}
else
{
extern(C++, std) void a(){}
pragma(msg, a.mangleof);// _ZNSt1bEv
}
Not sure which one is the correct one, but they should both be the same.
--
More information about the Digitalmars-d-bugs
mailing list