[vdr] Compile warning fix for xine-0.7.7 and vdr-1.3.44

C.Y.M syphir at syphir.sytes.net
Fri Mar 3 23:21:30 CET 2006


Reinhard Nissl wrote:
> Hi,
> 
> Darren Salt wrote:
> 
>> I demand that C.Y.M may or may not have written...
>>
>>> I noticed some warnings when compiling xine-0.7.7 and vdr-1.3.44. 
>>> Here is
>>> a patch.
>>
>> I'm *not* seeing these warnings. Which version of g++, what options? (I'm
>> using g++ 4.0.3 20060212 (Debian 4.0.2-9); I've tried -Wall -Wextra.)
> 
> Well, it is reported on my system with
> 
>     gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
> 
> and
> 
>     -O0 -g3 -Wall -Woverloaded-virtual -Wformat=2 -Wextra
> 
> but, I didn't find it among the various "unused parameter" messages of
> VDR's header files.
> 

I am using gcc-3.4.

The warnings look like this:

../../../include/vdr/osd.h:284: warning: `virtual void cOsd::DrawBitmap(int,
int, const cBitmap&, tColor, tColor, bool, bool)' was hidden

It has to do with the new transparency DrawBitmap function added to VDR.

Best Regards,




More information about the vdr mailing list