Warnings with Xine Plugin and vdr-1.3.27

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

 



Hi,

C.Y.M wrote:

> There are a few new warnings when building the Xine plugin with vdr-1.3.27.
> 
> ccache g++ -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE
> -DPLUGIN_NAME_I18N='"xine"' -DFIFO_DIR=\"/tmp/vdr-xine\" `xine-config --cflags`
>  -I../../../include -I../DVB/include xine.c
> ccache g++ -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE
> -DPLUGIN_NAME_I18N='"xine"' -DFIFO_DIR=\"/tmp/vdr-xine\" `xine-config --cflags`
>  -I../../../include -I../DVB/include xineDevice.c
> In file included from xineDevice.c:8:
> ../../../include/vdr/osd.h:280: warning: `virtual void cOsd::DrawBitmap(int,
>    int, const cBitmap&, unsigned int, unsigned int, bool)' was hidden
> xineOsd.h:49: warning:   by `virtual void PluginXine::cXineOsd::DrawBitmap(int,
>    int, const cBitmap&, unsigned int, unsigned int)'
> ccache g++ -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE
> -DPLUGIN_NAME_I18N='"xine"' -DFIFO_DIR=\"/tmp/vdr-xine\" `xine-config --cflags`
>  -I../../../include -I../DVB/include xineLib.c
> In file included from xineLib.c:7:
> ../../../include/vdr/osd.h:280: warning: `virtual void cOsd::DrawBitmap(int,
>    int, const cBitmap&, unsigned int, unsigned int, bool)' was hidden
> xineOsd.h:49: warning:   by `virtual void PluginXine::cXineOsd::DrawBitmap(int,
>    int, const cBitmap&, unsigned int, unsigned int)'
> ccache g++ -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE
> -DPLUGIN_NAME_I18N='"xine"' -DFIFO_DIR=\"/tmp/vdr-xine\" `xine-config --cflags`
>  -I../../../include -I../DVB/include xineOsd.c
> In file included from xineOsd.c:4:
> ../../../include/vdr/osd.h:280: warning: `virtual void cOsd::DrawBitmap(int,
>    int, const cBitmap&, unsigned int, unsigned int, bool)' was hidden
> xineOsd.h:49: warning:   by `virtual void PluginXine::cXineOsd::DrawBitmap(int,
>    int, const cBitmap&, unsigned int, unsigned int)'

I'm sorry that I cannot supply a patch already (and I don't know when 
this will happen due to beeing busy with other things).

Just have a look into osd.h and adapt the signature of the functions in 
xineOsd.h. They just delegate the work to the original functions, so it 
is ok to just pass the additional parameters.

Bye.
-- 
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@xxxxxx


[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