[vdr] Can't compile streamdev/streamdevcvs with gcc4.0.1
Guy Roussin
guy.roussin at teledetection.fr
Sat Jul 23 11:27:08 CEST 2005
Thank you Udo
With your patch i can now compile (with gcc4.01) and run streamdev-server.
Bye
Guy
Udo Richter a écrit :
> Guy Roussin wrote:
>
>> ./server/livefilter.h:18: warning: ISO C++ forbids declaration of
>> 'cStreamdevLiveStreamer' with no type
>> ./server/livestreamer.h:22: warning: ISO C++ forbids declaration of
>> 'cStreamdevLiveStreamer' with no type
>
>
> My guess:
> In both cases, there is a "friend class cStreamdevLiveStreamer;"
> declaration that seems to act as a forward declaration too, and GCC4
> doesn't accept that any more. Try adding an explicit "class
> cStreamdevLiveStreamer;" forward declaration in front of the two class
> declarations, eg. at livestreamer.h:15 and at livefilter.h:13.
>
> Cheers,
>
> Udo
>
More information about the vdr
mailing list