[Issue 18100] crt_constructor not allow to init immutable
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 23 12:13:14 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=18100
--- Comment #7 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Iain Buclaw from comment #6)
> This has got nothing to do with "betterC", whatever that means.
Actually, this is all about betterC. betterC means no druntime, which means no
static ctor/dtor.
pragma(crt_constructor) was added as a way to hook the C library's static
constructor system when you don't have druntime.
But your larger point was correct.
--
More information about the Digitalmars-d-bugs
mailing list