[Issue 18957] New: extern(C++) doesn't mangle 'std' correctly on posix systems

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 8 05:21:10 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18957

          Issue ID: 18957
           Summary: extern(C++) doesn't mangle 'std' correctly on posix
                    systems
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: turkeyman at gmail.com

extern (C++, std)
{
  struct test {}
}
extern (C++) void test(ref const(std.test) t) {}

Expect: _Z4testRKNSt4testE
Actual: _Z4testRKN3std4testE

--


More information about the Digitalmars-d-bugs mailing list