Bug#356176: FTBFS with G++ 4.1: extra qualification

Martin Michlmayr tbm at cyrius.com
Fri Mar 10 07:07:19 UTC 2006


Package: vdr-plugin-mp3
Version: 0.9.14-2
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of vdr-plugin-mp3_0.9.14-2 on bigsur by sbuild/mips 1.80
...
> g++ -O2 -fPIC -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DVDRVERSNUM=10339 -DHAVE_SNDFILE -DHAVE_VORBISFILE -DWITH_OSS -I/usr/include/vdr/include -I/usr/include/include decoder.c
> data.h:37: warning: 'class cScanDir' has virtual functions but non-virtual destructor
> decoder-ogg.h:52: error: extra qualification 'cOggFile::' on member 'Seek'
> make[1]: *** [decoder.o] Error 1


--- ./decoder-ogg.h~	2006-03-10 07:05:22.000000000 +0000
+++ ./decoder-ogg.h	2006-03-10 07:05:27.000000000 +0000
@@ -49,7 +49,7 @@
   ~cOggFile();
   bool Open(bool log=true);
   void Close(void);
-  long long cOggFile::Seek(long long posMs=0, bool relativ=false);
+  long long Seek(long long posMs=0, bool relativ=false);
   int Stream(short *buffer, int samples);
   bool CanSeek(void) { return canSeek; }
   long long IndexMs(void);

-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the pkg-vdr-dvb-devel mailing list