On 2012-11-28 20:57, Manu wrote:
Well fortunately that hasn't happened yet... That does worry me though. I can't imagine a work-around if that comes up.
std.stdio uses an ugly workaround. It has an extern(C) function which is called from the shared static constructor in stdiobase.d:
https://github.com/D-Programming-Language/phobos/blob/master/std/stdio.d#L2357 https://github.com/D-Programming-Language/phobos/blob/master/std/stdiobase.d -- /Jacob Carlborg
