Michal Minich wrote:
On Wed, 11 Aug 2010 17:34:20 -0400, Sean Kelly wrote:
Michal Minich Wrote:
On Wed, 11 Aug 2010 16:29:40 +0000, Michal Minich wrote:
Module constructor is not called when it is placed in imported
module, and WinMain is used.
Are there some changes to runtime initialization, or it is a bug? (in
that case I will submit it).
There were some changes and I must have missed updating rt_init().
Please submit a bug. What you'll likely see is shared static ctors
being called but not thread-specific (ie. non-shared) static ctors
called for the main thread.
bug report:
http://d.puremagic.com/issues/show_bug.cgi?id=4622
Fixed:
http://www.dsource.org/projects/druntime/changeset/368