Debugging D shared libraries

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 19 09:34:03 PDT 2015


On Saturday, 19 September 2015 at 16:25:28 UTC, Laeeth Isharc 
wrote:
> On Saturday, 19 September 2015 at 12:21:02 UTC, ponce wrote:
>> [...]
>
> What is the difference between shared static this and the 
> global constructor ?  Russell, if you use shared static this 
> for dmd does it work ?  Laeeth.

IIRC shared static this is only called by the runtime, so 
obviously you can't use it to initialise the runtime itself.


More information about the Digitalmars-d-learn mailing list