December 06, 2005
Derek Parnell wrote:
> On Tue, 06 Dec 2005 07:52:45 +0100, Ivan Senji wrote:
>>>   main LR ivan_set : works
>>>   LR main ivan_set : works     main ivan_set LR : fails
>>>   ivan_set main LR : fails
>>>   LR ivan_set main : works
>>>   ivan_set lr main : fails
>>>
>>
>>Thanks, i get it.
> 
> 
> In fact, if main.d has a main() function, it works in all cases.
> 

But it doesn't to me.
Have yout tried:
dmd main ivan_set LR -cov
dmd ivan_set main LR -cov
dmd ivan_set lr main -cov

I got so crazy removing stuff from these 3 files that in the end i also removed main, but main isn't the problem, the problem is it doesn't work with -cov with some orders of files.
December 06, 2005
On Tue, 06 Dec 2005 08:38:21 +0100, Ivan Senji wrote:

> Derek Parnell wrote:
>> On Tue, 06 Dec 2005 07:52:45 +0100, Ivan Senji wrote:
>>>>   main LR ivan_set : works
>>>>   LR main ivan_set : works
>>>>   main ivan_set LR : fails
>>>>   ivan_set main LR : fails
>>>>   LR ivan_set main : works
>>>>   ivan_set lr main : fails
>>>>
>>>
>>>Thanks, i get it.
>> 
>> In fact, if main.d has a main() function, it works in all cases.
>> 
> 
> But it doesn't to me.
> Have yout tried:
> dmd main ivan_set LR -cov
> dmd ivan_set main LR -cov
> dmd ivan_set lr main -cov
> 
> I got so crazy removing stuff from these 3 files that in the end i also removed main, but main isn't the problem, the problem is it doesn't work with -cov with some orders of files.

LOL ... stupid me ... I forgot the '-cov' switch when testing ... Sorry.

-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"A learning experience is one of those things that says,
 'You know that thing you just did? Don't do that.'" - D.N. Adams
6/12/2005 6:59:17 PM
December 06, 2005
There's a bug posting from a while back noting similar behaviour for "circular dependencies" ~ compiled one way the executable runs, whilst compiling in a different order causes that error message to show up. Wierd.

- Kris

"Ivan Senji" <ivan.senji_REMOVE_@_THIS__gmail.com> wrote in message news:dn3f5e$7p0$1@digitaldaemon.com...
> Derek Parnell wrote:
>> On Tue, 06 Dec 2005 07:52:45 +0100, Ivan Senji wrote:
>>>>   main LR ivan_set : works
>>>>   LR main ivan_set : works   main ivan_set LR : fails
>>>>   ivan_set main LR : fails
>>>>   LR ivan_set main : works
>>>>   ivan_set lr main : fails
>>>>
>>>
>>>Thanks, i get it.
>>
>>
>> In fact, if main.d has a main() function, it works in all cases.
>>
>
> But it doesn't to me.
> Have yout tried:
> dmd main ivan_set LR -cov
> dmd ivan_set main LR -cov
> dmd ivan_set lr main -cov
>
> I got so crazy removing stuff from these 3 files that in the end i also removed main, but main isn't the problem, the problem is it doesn't work with -cov with some orders of files.


December 06, 2005
Kris wrote:
> There's a bug posting from a while back noting similar behaviour for "circular dependencies" ~ compiled one way the executable runs, whilst compiling in a different order causes that error message to show up. Wierd.
> 

I know, that one has been more or less around forever :), but what is interesting is that in this case -cov causes it, and everything works fine without it.
1 2
Next ›   Last »