"No stack address"

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Apr 16 16:26:45 PDT 2012


On 4/17/12, Somedude <lovelydear at mailmetrash.com> wrote:
> But running the exe crashes immediately at execution with "unauthorized
> instruction". Why ?

That's the old exectuable leftover from the previous compile. RDMD
generates the exe in a temporary folder with a random name and runs it
immediately. Because the main function doesn't do anything (RDMD
provides an empty one via --main), the app exited immediately.

> And how do I execute the unit test ?

rdmd -unittest --main test.d


More information about the Digitalmars-d-learn mailing list