[Issue 17868] add pragma(crt_con/destructor[, priority])

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 4 07:16:09 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17868

Rainer Schuetze <r.sagitario at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario at gmx.de

--- Comment #4 from Rainer Schuetze <r.sagitario at gmx.de> ---
I guess these construction/destruction mechanisms are a special case of putting
function pointers into specific sections of the data segment. I'd prefer to not
implement the special case, but the more general
https://issues.dlang.org/show_bug.cgi?id=16300

This enables "system programming" by not adding every special case to the
compiler as it is done so far.

--


More information about the Digitalmars-d-bugs mailing list