Can't compile streamdev/streamdevcvs with gcc4.0.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> 



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux