Bug 9220 – module constructor breaks implicit linking with DLL

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2012-12-27T14:41:00Z
Last change time
2013-10-02T04:42:10Z
Keywords
dll
Assigned to
nobody
Creator
andrej.mitrovich

Attachments

IDFilenameSummaryContent-TypeSize
1174dll_bug.ziptest-caseapplication/zip1843

Comments

Comment #0 by andrej.mitrovich — 2012-12-27T14:41:34Z
Created attachment 1174 test-case See attachment. This is similar to Issue 6019.
Comment #1 by code — 2013-08-13T05:05:52Z
Please avoid to hide bug information in attachments if possible.
Comment #2 by andrej.mitrovich — 2013-08-13T05:48:28Z
What do you mean hide?
Comment #3 by code — 2013-08-13T06:49:19Z
Everything is in a zip file which means I have to download and unpack it before I know what this is about. This means less people are going to have a look at this bug. Also the bug information is not searchable.
Comment #4 by andrej.mitrovich — 2013-08-13T11:42:36Z
(In reply to comment #3) > Everything is in a zip file which means I have to download and unpack it before > I know what this is about. This means less people are going to have a look at > this bug. > Also the bug information is not searchable. Well the bug report is simple, it's all in the title. I've zipped the package because it's multiple modules, and it's easier for people to unzip and run rather then to have to manually copy and paste code sections embedded in a single comment. If bugzilla had a "add source files" option, it would be better. (maybe some newer version of bugzilla has this..?)
Comment #5 by code — 2013-10-02T04:38:40Z
The problem is that module constructors are used as ordering constraints for initialization.
Comment #6 by code — 2013-10-02T04:42:10Z
*** This issue has been marked as a duplicate of issue 6019 ***