[Issue 13742] undefined reference to __coverage

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Apr 13 07:49:10 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=13742

--- Comment #3 from Martin Nowak <code at dawg.eu> ---
(In reply to jiki from comment #2)
> I hit this on Windows.
> Reduced test case is here.

Also confirmed for linux.
A temporary workaround for your case is to only generate a single object file.

dmd -cov -g -c -oftmp.o test.d f.d
dmd -cov -g -main tmp.o

Hope that also works on Windows.

--


More information about the Digitalmars-d-bugs mailing list