www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: wazar.leollone yahoo.com



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: -------
May 13 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10077


Igor Stepanov <wazar.leollone yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



14:07:03 PDT ---
Fixed in pull https://github.com/D-Programming-Language/dmd/pull/2024

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