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.
