On Sunday, 16 March 2014 at 10:15:00 UTC, Andrej Mitrovic wrote:
It can't work, because main could be stored in a pre-built object or
static library that's passed to DMD.

Hmm I really should consider making a DIP for a deferred CTFE block. Could really come in handy for a situation like this. In the format of if -main specified use e.g. -version=D_Main to remove the call to _Dmain symbol. Removes the whole linker issue altogether.

Reply via email to