[Issue 17035] extern(C) and extern(C++) module ctor/dtor should behave like the C init/fini functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 19 05:06:31 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=17035
Mathias LANG <pro.mathias.lang at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |pro.mathias.lang at gmail.com
Resolution|--- |DUPLICATE
--- Comment #3 from Mathias LANG <pro.mathias.lang at gmail.com> ---
We now have `pragma(crt_constructor)` and `pragma(crt_destructor)`, which cover
this use case. So the feature is here, just with a different syntax. Marking as
duplicate of the issue that was fixed (although it was filed 1 year after).
*** This issue has been marked as a duplicate of issue 17868 ***
--
More information about the Digitalmars-d-bugs
mailing list