[Issue 668] Use of *.di files breaks the order of static module	construction
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Apr 25 00:20:14 PDT 2007
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=668
kamm at incasoftware.de changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kamm at incasoftware.de
------- Comment #2 from kamm at incasoftware.de  2007-04-25 02:20 -------
Indeed, when you change lib.di to show the existance of a static constructor:
lib.di
---
// D import file generated from 'lib.d'
bool initialized;
static this();
---
Then it'll work as expected. Confirmed on dmd 1.013.
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list