[vdr] Can't compile streamdev/streamdevcvs with gcc4.0.1

Udo Richter udo_richter at gmx.de
Fri Jul 22 02:03:29 CEST 2005


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