www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21345] New: [C++, posix] different mangling between string and


          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 puremagic.com
          Reporter: iamthewilsonator hotmail.com

    extern(C++, `std`) void a(){}
    pragma(msg, a.mangleof);// _ZSt1av
    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.

Oct 27 2020