[Issue 7030] New: const method mangling of extern(C++) structs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 29 08:31:00 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=7030

           Summary: const method mangling of extern(C++) structs
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dawg at dawgfoto.de


--- Comment #0 from dawg at dawgfoto.de 2011-11-29 08:29:58 PST ---
extern(C++)
{
    struct S
    {
        void foo(int) const;
    }
}
pragma(msg, S.foo.mangleof);

// On POSIX
// prints   : _ZN1S3fooEi
// should be: _ZNK1S3fooEi
---

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list