[vdr] [ANNOUNCE] VDR developer version 1.7.28

Klaus Schmidinger Klaus.Schmidinger at tvdr.de
Sun Jun 3 15:03:18 CEST 2012


On 03.06.2012 14:54, Udo Richter wrote:
>>> timers.c: In constructor ‘cSortedTimers::cSortedTimers()’:
>>> timers.c:832: error: class ‘cSortedTimers’ does not have any field
>> named
>>> ‘cVector’
>>
>> I don't get such an error message here.
>
>
> May be a compiler dependent problem. The attached patch makes it work for me.

> --- a/timers.c	2012-06-03 14:48:59.000000000 +0200
> +++ b/timers.c	2012-06-03 14:49:35.000000000 +0200
> @@ -829,7 +829,7 @@
>  }
>
>  cSortedTimers::cSortedTimers(void)
> -:cVector(Timers.Count())
> +:cVector<const cTimer *>(Timers.Count())
>  {
>    for (const cTimer *Timer = Timers.First(); Timer; Timer = Timers.Next(Timer))
>        Append(Timer);

Makes sense - I wonder why gcc version 4.5.1 20101208 didn't catch this.

@Wolfgang & Stefan: can you confirm that this fixes your problem?

Klaus



More information about the vdr mailing list