[Issue 10059] New: export doesn't work for variable declarations
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 10 12:11:48 PDT 2013
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: nobody at puremagic.com
ReportedBy: code at dawg.eu
--- Comment #0 from Martin Nowak <code at dawg.eu> 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: -------
More information about the Digitalmars-d-bugs
mailing list