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

           Summary: export doesn't work for variable declarations
           Product: D
           Version: D2
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Martin Nowak <[email protected]> 2013-05-10 12:11:46 PDT ---
export __gshared int foo = 0;

dmd -c bug.d

The compiler creates no export directive in the object file.

NB:
http://stackoverflow.com/questions/8869031/how-to-export-a-variable-from-a-dll-when-compiling-the-d2-language-with-dmd

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

Reply via email to