Thread overview
anyone able to use '-cov' at all on non-trivial project? (link error ....)
Apr 27, 2009
%u
Apr 27, 2009
bearophile
Apr 30, 2009
David Ferenczi
April 27, 2009
Hi,

I just wonder if anyone able to use '-cov' at all on non-trivial project?

On small files, it works. But when I try to compile with '-cov' on a sizable project, I have the following link error:

all.o:(.data+0x1464): undefined reference to `_D3std1c6stdlib12__ModuleInfoZ'
all.o:(.data+0x14bc): undefined reference to `_D3std1c6stdlib12__ModuleInfoZ'
all.o:(.data+0x14e0): undefined reference to `_D3std1c6stdlib12__ModuleInfoZ'
all.o:(.data+0x150c): undefined reference to `_D3std1c6string12__ModuleInfoZ'
all.o:(.data+0x1528): undefined reference to `_D3std1c6string12__ModuleInfoZ'

Anyone one know how to fix this?

Thanks.
April 27, 2009
%u:
> I just wonder if anyone able to use '-cov' at all on non-trivial project?

I think in D1 it currently doesn't work with bigger programs... I have said this last time more than one year ago, with no answers received. The problem is that I was unable to create a small bug case to offer for bugzilla, so it's not much useful. If you are able to reduce your code to the smaller that causes the problem, and then to show such code, the situation may be fixed.

Bye,
bearophile
April 30, 2009
bearophile wrote:

> %u:
>> I just wonder if anyone able to use '-cov' at all on non-trivial project?
> 
> I think in D1 it currently doesn't work with bigger programs... I have said this last time more than one year ago, with no answers received. The problem is that I was unable to create a small bug case to offer for bugzilla, so it's not much useful. If you are able to reduce your code to the smaller that causes the problem, and then to show such code, the situation may be fixed.
> 
> Bye,
> bearophile

See issue #888 in Bugzilla. http://d.puremagic.com/issues/show_bug.cgi?id=888

Regards,
David