[Issue 10077] New: add pragma(mangle, "...") to override symbol mangle.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 13 14:05:49 PDT 2013


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

           Summary: add pragma(mangle, "...") to override symbol mangle.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: wazar.leollone at yahoo.com


--- Comment #0 from Igor Stepanov <wazar.leollone at yahoo.com> 2013-05-13 14:05:49 PDT ---
Usage:

pragma(mangle, "__TEST__") extern int test; //test.mangleof == "__TEST__"
pragma(mangle, "__FOO__") int foo()
{
  return 0;
} //foo.mangleof == "__FOO__"

-- 
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