Debugging D shared libraries
    John Colvin via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Sat Sep 19 09:33:00 PDT 2015
    
    
  
On Saturday, 19 September 2015 at 16:15:45 UTC, Russel Winder 
wrote:
> Sadly the:
>
>  pragma(LDC_global_crt_ctor, 0)
>     void initRuntime() {
>       import core.runtime: Runtime;
>       Runtime.initialize();
>    }
>
> will not compile under DMD :-(
version(LDC){ /* ... */ }
not that it helps make things work correctly, but at least 
they'll compile :)
    
    
More information about the Digitalmars-d-learn
mailing list