Just-run-the-unittests

Rikki Cattermole alphaglosined at gmail.com
Sun Mar 16 05:57:02 PDT 2014


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.


More information about the Digitalmars-d-learn mailing list