druntime investigation troubles

Sean Kelly sean at invisibleduck.org
Fri May 25 19:26:21 PDT 2012


On May 25, 2012, at 7:31 AM, "Steven Schveighoffer" <schveiguy at yahoo.com> wrote:

> On Thu, 24 May 2012 16:40:46 -0400, Sean Kelly <sean at invisibleduck.org> wrote:
> 
>> It's not STI_monitor specifically. STI_anything is a module ctor and STD_anything is a module dtor. Or at least that's my recollection. There are a few places in the DMC runtime that have initializers like this. I think one is somewhere in the floating-point support code.
> 
> oh.  That's.... horrible.
> 
> Yeah, we should eliminate this ASAP.  Is there any reason it has to be done before C's main?

None that I can think of. I bet it's just really old code. 


More information about the Digitalmars-d-learn mailing list