Debugging D shared libraries

Laeeth Isharc via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 19 09:41:47 PDT 2015


On Saturday, 19 September 2015 at 16:34:05 UTC, John Colvin wrote:
> 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.

Aha...  Is there an equivalent in dmd to the global constructor ?



More information about the Digitalmars-d-learn mailing list