[Issue 17747] extern(C) shared static module constructor should be called in betterC programs
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Wed Sep 13 15:53:24 UTC 2017
    
    
  
https://issues.dlang.org/show_bug.cgi?id=17747
Steven Schveighoffer <schveiguy at yahoo.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com
           Severity|blocker                     |enhancement
--- Comment #6 from Steven Schveighoffer <schveiguy at yahoo.com> ---
How is the order determined? D static ctors are written assuming the import
graph can be used to deduce a valid ordering of calls.
If this were to be implemented, an extern(C) static ctor would have a
completely different meaning. I would be against this.
In any case, this is an enhancement, not a blocker.
--
    
    
More information about the Digitalmars-d-bugs
mailing list