← Back to index
|
Original Bugzilla link
Bug 10059 – export doesn't work for variable declarations
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2013-05-10T12:11:00Z
Last change time
2013-05-10T22:46:16Z
Assigned to
nobody
Creator
code
Comments
Comment #0
by code — 2013-05-10T12:11:46Z
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
Comment #1
by github-bugzilla — 2013-05-10T20:34:07Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/e99d18065a8b60f7fad70fc1e85f63507be3320a
fix Issue 10059 - export doesn't work for variable declarations
https://github.com/D-Programming-Language/dmd/commit/ccb439c21f586a1bcb32f7a3a3cdf151bc89600d
Merge pull request #2009 from dawgfoto/fix10059 fix Issue 10059 - export doesn't work for variable declarations