fix for streamdev (CVS-HEAD) and gcc 4.0.X

Message ID 4326C7D1.6080007@fliegl.de
State New
Headers

Commit Message

Deti Fliegl Sept. 13, 2005, 12:36 p.m. UTC
  Hi,

streamdev from CVS does not compile with gcc 4.0.X - (at least on SuSE 
10). There was a missing declaration:



Still some compiler warnings occur but streamdev works.

Deti
  

Comments

Dominique Dumont Sept. 22, 2005, 7:26 p.m. UTC | #1
Deti Fliegl <deti@fliegl.de> writes:

> streamdev from CVS does not compile with gcc 4.0.X - (at least on SuSE 
> 10). There was a missing declaration:

Thanks a bunch :-) Your patch also works on Debian sid.
  

Patch

--- server/livefilter.h~        2005-09-13 11:29:30.000000000 +0200
+++ server/livefilter.h 2005-09-13 11:29:30.000000000 +0200
@@ -11,6 +11,8 @@ 

  #include <vdr/filter.h>

+class cStreamdevLiveStreamer;
+
  class cStreamdevLiveFilter: public cFilter {
         friend class cStreamdevLiveStreamer;