Package: gnome-peercast
Version: 0.4.1-1
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 attached.


> Automatic build of gnome-peercast_0.4.1-1 on em64t by sbuild/amd64 1.106
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core 
> -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX 
> -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" 
> -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" 
> -DGLADE_DIR=\""/usr/share/gnome-peercast"\" 
> -DICON_DIR=\""/usr/share/pixmaps"\" 
> -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\"  -DORBIT2=1 -pthread -DXTHREADS 
> -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 
> -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 
> -I/usr/include/libart-2.0 -I/usr/include/gconf/2 
> -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 
> -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 
> -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 
> -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include 
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/X11R6/include 
> -I/usr/include/libxml2 -I/usr/include/libglade-2.0      -g -O2 -MT main.o -MD 
> -MP -MF ".deps/main.Tpo" \
>         -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \
>       then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
>       else rm -f ".deps/main.Tpo"; exit 1; \
>       fi
> ../peercast/core/common/sys.h:190: warning: 'class Sys' has virtual functions 
> but non-virtual destructor
> ../peercast/core/common/sys.h: In constructor 'WLock::WLock()':
> ../peercast/core/common/sys.h:374: warning: missing braces around initializer 
> for 'char [4]'
> ../peercast/core/common/stream.h: At global scope:
> ../peercast/core/common/stream.h:34: warning: 'class Stream' has virtual 
> functions but non-virtual destructor
> ../peercast/core/common/stream.h: In constructor 'Stream::Stream()':
> ../peercast/core/common/stream.h:213: warning: 'Stream::lastUpdate' will be 
> initialized after
> ../peercast/core/common/stream.h:207: warning:   'unsigned char 
> Stream::bitsBuffer'
> ../peercast/core/common/stream.h:36: warning:   when initialized here
> ../peercast/core/common/stream.h: In member function 'short int 
> Stream::readShort()':
> ../peercast/core/common/stream.h:100: warning: statement has no effect
> ../peercast/core/common/stream.h: In member function 'long int 
> Stream::readLong()':
> ../peercast/core/common/stream.h:107: warning: statement has no effect
> ../peercast/core/common/stream.h: In member function 'int 
> Stream::readInt24()':
> ../peercast/core/common/stream.h:124: warning: statement has no effect
> ../peercast/core/common/stream.h:125: warning: no return statement in 
> function returning non-void
> ../peercast/core/common/stream.h: In member function 'void 
> Stream::writeShort(short int)':
> ../peercast/core/common/stream.h:165: warning: statement has no effect
> ../peercast/core/common/stream.h: In member function 'void 
> Stream::writeLong(long int)':
> ../peercast/core/common/stream.h:170: warning: statement has no effect
> ../peercast/core/common/stream.h: At global scope:
> ../peercast/core/common/stream.h:220: warning: 'class FileStream' has virtual 
> functions but non-virtual destructor
> ../peercast/core/common/stream.h:245: warning: 'class MemoryStream' has 
> virtual functions but non-virtual destructor
> ../peercast/core/common/stream.h:336: warning: 'class IndirectStream' has 
> virtual functions but non-virtual destructor
> ../peercast/core/common/gnutella.h:252: warning: 'class GnuStream' has 
> virtual functions but non-virtual destructor
> ../peercast/core/common/asf.h:68: warning: missing braces around initializer 
> for 'unsigned char [8]'
> ../peercast/core/common/asf.h:70: warning: missing braces around initializer 
> for 'unsigned char [8]'
> ../peercast/core/common/asf.h:72: warning: missing braces around initializer 
> for 'unsigned char [8]'
> ../peercast/core/common/asf.h:74: warning: missing braces around initializer 
> for 'unsigned char [8]'
> ../peercast/core/common/asf.h:77: warning: missing braces around initializer 
> for 'unsigned char [8]'
> ../peercast/core/common/asf.h:79: warning: missing braces around initializer 
> for 'unsigned char [8]'
> ../peercast/core/common/asf.h:82: warning: missing braces around initializer 
> for 'unsigned char [8]'
> ../peercast/core/common/asf.h: In member function 'const char* 
> ASFStream::getTypeName()':
> ../peercast/core/common/asf.h:208: warning: enumeration value 'T_UNKNOWN' not 
> handled in switch
> ../peercast/core/common/cstream.h: At global scope:
> ../peercast/core/common/cstream.h:120: warning: 'class ChannelStream' has 
> virtual functions but non-virtual destructor
> ../peercast/core/common/cstream.h: In constructor 
> 'ChannelStream::ChannelStream()':
> ../peercast/core/common/cstream.h:143: warning: 'ChannelStream::numListeners' 
> will be initialized after
> ../peercast/core/common/cstream.h:142: warning:   'int 
> ChannelStream::numRelays'
> ../peercast/core/common/cstream.h:122: warning:   when initialized here
> ../peercast/core/common/channel.h: At global scope:
> ../peercast/core/common/channel.h:291: warning: 'class RawStream' has virtual 
> functions but non-virtual destructor
> ../peercast/core/common/channel.h:301: warning: 'class PeercastStream' has 
> virtual functions but non-virtual destructor
> ../peercast/core/common/channel.h:310: warning: 'class ChannelSource' has 
> virtual functions but non-virtual destructor
> ../peercast/core/common/channel.h:319: warning: 'class PeercastSource' has 
> virtual functions but non-virtual destructor
> ../peercast/core/common/channel.h: In member function 'void 
> PlayList::read(Stream&)':
> ../peercast/core/common/channel.h:666: warning: enumeration value 'T_NONE' 
> not handled in switch
> ../peercast/core/common/channel.h:666: warning: enumeration value 'T_RAM' not 
> handled in switch
> ../peercast/core/common/channel.h: In member function 'void 
> PlayList::write(Stream&)':
> ../peercast/core/common/channel.h:677: warning: enumeration value 'T_NONE' 
> not handled in switch
> ../peercast/core/common/socket.h: At global scope:
> ../peercast/core/common/socket.h:31: warning: 'class ClientSocket' has 
> virtual functions but non-virtual destructor
> ../peercast/core/common/http.h:157: warning: 'class HTTP' has virtual 
> functions but non-virtual destructor
> ../peercast/core/common/rtsp.h:27: warning: 'class RTSP' has virtual 
> functions but non-virtual destructor
> ../peercast/core/common/pcp.h:208: warning: 'class PCPStream' has virtual 
> functions but non-virtual destructor
> ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()':
> ../peercast/core/common/servmgr.h:44: warning: 'BCID::next' will be 
> initialized after
> ../peercast/core/common/servmgr.h:43: warning:   'bool BCID::valid'
> ../peercast/core/common/servmgr.h:35: warning:   when initialized here
> ../peercast/core/unix/usys.h: At global scope:
> ../peercast/core/unix/usys.h:31: warning: 'class USys' has virtual functions 
> but non-virtual destructor
> ../peercast/core/common/peercast.h:22: warning: 'class PeercastInstance' has 
> virtual functions but non-virtual destructor
> ../peercast/core/common/peercast.h:64: warning: 'class PeercastApplication' 
> has virtual functions but non-virtual destructor
> gnome-peercast.h:68: error: extra qualification 'GnomePeercastApp::' on 
> member 'getWidget'
> gnome-peercast.h:44: warning: 'class GnomePeercastApp' has virtual functions 
> but non-virtual destructor
> main.cpp:35: warning: 'class MyPeercastInst' has virtual functions but 
> non-virtual destructor
> ../peercast/core/common/gnutella.h:42: warning: 'GNU_PEERCONN' defined but 
> not used
> ../peercast/core/common/gnutella.h:43: warning: 'GNU_CONNECT' defined but not 
> used
> ../peercast/core/common/gnutella.h:44: warning: 'GNU_OK' defined but not used
> ../peercast/core/common/gnutella.h:45: warning: 'PCX_PCP_CONNECT' defined but 
> not used
> ../peercast/core/common/gnutella.h:47: warning: 'PCX_HS_OS' defined but not 
> used
> ../peercast/core/common/gnutella.h:48: warning: 'PCX_HS_DL' defined but not 
> used
> ../peercast/core/common/gnutella.h:49: warning: 'PCX_HS_ID' defined but not 
> used
> ../peercast/core/common/gnutella.h:50: warning: 'PCX_HS_CHANNELID' defined 
> but not used
> ../peercast/core/common/gnutella.h:51: warning: 'PCX_HS_NETWORKID' defined 
> but not used
> ../peercast/core/common/gnutella.h:52: warning: 'PCX_HS_MSG' defined but not 
> used
> ../peercast/core/common/gnutella.h:53: warning: 'PCX_HS_SUBNET' defined but 
> not used
> ../peercast/core/common/gnutella.h:54: warning: 'PCX_HS_FULLHIT' defined but 
> not used
> ../peercast/core/common/gnutella.h:55: warning: 'PCX_HS_MINBCTTL' defined but 
> not used
> ../peercast/core/common/gnutella.h:56: warning: 'PCX_HS_MAXBCTTL' defined but 
> not used
> ../peercast/core/common/gnutella.h:57: warning: 'PCX_HS_RELAYBC' defined but 
> not used
> ../peercast/core/common/gnutella.h:58: warning: 'PCX_HS_PRIORITY' defined but 
> not used
> ../peercast/core/common/gnutella.h:59: warning: 'PCX_HS_FLOWCTL' defined but 
> not used
> ../peercast/core/common/gnutella.h:60: warning: 'PCX_HS_PCP' defined but not 
> used
> ../peercast/core/common/gnutella.h:61: warning: 'PCX_HS_PINGME' defined but 
> not used
> ../peercast/core/common/gnutella.h:62: warning: 'PCX_HS_PORT' defined but not 
> used
> ../peercast/core/common/gnutella.h:63: warning: 'PCX_HS_REMOTEIP' defined but 
> not used
> ../peercast/core/common/gnutella.h:64: warning: 'PCX_HS_POS' defined but not 
> used
> ../peercast/core/common/gnutella.h:65: warning: 'PCX_HS_SESSIONID' defined 
> but not used
> ../peercast/core/common/gnutella.h:68: warning: 'PCX_OS_WIN32' defined but 
> not used
> ../peercast/core/common/gnutella.h:70: warning: 'PCX_OS_MACOSX' defined but 
> not used
> ../peercast/core/common/gnutella.h:71: warning: 'PCX_OS_WINAMP2' defined but 
> not used
> ../peercast/core/common/gnutella.h:72: warning: 'PCX_OS_ACTIVEX' defined but 
> not used
> ../peercast/core/common/gnutella.h:74: warning: 'PCX_DL_URL' defined but not 
> used
> ../peercast/core/common/gnutella.h:77: warning: 'PCX_OLDAGENT' defined but 
> not used
> ../peercast/core/common/gnutella.h:86: warning: 'MIN_ROOTVER' defined but not 
> used
> ../peercast/core/common/gnutella.h:88: warning: 'MIN_CONNECTVER' defined but 
> not used
> ../peercast/core/common/gnutella.h:91: warning: 'ICY_OK' defined but not used
> ../peercast/core/common/http.h:34: warning: 'HTTP_SC_OK' defined but not used
> ../peercast/core/common/http.h:35: warning: 'HTTP_SC_NOTFOUND' defined but 
> not used
> ../peercast/core/common/http.h:36: warning: 'HTTP_SC_UNAVAILABLE' defined but 
> not used
> ../peercast/core/common/http.h:37: warning: 'HTTP_SC_UNAUTHORIZED' defined 
> but not used
> ../peercast/core/common/http.h:38: warning: 'HTTP_SC_FOUND' defined but not 
> used
> ../peercast/core/common/http.h:39: warning: 'HTTP_SC_BADREQUEST' defined but 
> not used
> ../peercast/core/common/http.h:40: warning: 'HTTP_SC_FORBIDDEN' defined but 
> not used
> ../peercast/core/common/http.h:41: warning: 'HTTP_SC_SWITCH' defined but not 
> used
> ../peercast/core/common/http.h:43: warning: 'RTSP_SC_OK' defined but not used
> ../peercast/core/common/http.h:46: warning: 'HTTP_PROTO1' defined but not used
> ../peercast/core/common/http.h:47: warning: 'RTSP_PROTO1' defined but not used
> ../peercast/core/common/http.h:49: warning: 'HTTP_HS_SERVER' defined but not 
> used
> ../peercast/core/common/http.h:50: warning: 'HTTP_HS_AGENT' defined but not 
> used
> ../peercast/core/common/http.h:51: warning: 'HTTP_HS_CONTENT' defined but not 
> used
> ../peercast/core/common/http.h:52: warning: 'HTTP_HS_CACHE' defined but not 
> used
> ../peercast/core/common/http.h:53: warning: 'HTTP_HS_CONNECTION' defined but 
> not used
> ../peercast/core/common/http.h:54: warning: 'HTTP_HS_SETCOOKIE' defined but 
> not used
> ../peercast/core/common/http.h:55: warning: 'HTTP_HS_COOKIE' defined but not 
> used
> ../peercast/core/common/http.h:56: warning: 'HTTP_HS_HOST' defined but not 
> used
> ../peercast/core/common/http.h:57: warning: 'HTTP_HS_ACCEPT' defined but not 
> used
> ../peercast/core/common/http.h:58: warning: 'HTTP_HS_LENGTH' defined but not 
> used
> ../peercast/core/common/http.h:60: warning: 'MIME_MP3' defined but not used
> ../peercast/core/common/http.h:61: warning: 'MIME_XMP3' defined but not used
> ../peercast/core/common/http.h:62: warning: 'MIME_OGG' defined but not used
> ../peercast/core/common/http.h:63: warning: 'MIME_XOGG' defined but not used
> ../peercast/core/common/http.h:64: warning: 'MIME_MOV' defined but not used
> ../peercast/core/common/http.h:65: warning: 'MIME_MPG' defined but not used
> ../peercast/core/common/http.h:66: warning: 'MIME_NSV' defined but not used
> ../peercast/core/common/http.h:67: warning: 'MIME_ASF' defined but not used
> ../peercast/core/common/http.h:68: warning: 'MIME_ASX' defined but not used
> ../peercast/core/common/http.h:69: warning: 'MIME_MMS' defined but not used
> ../peercast/core/common/http.h:71: warning: 'MIME_RAM' defined but not used
> ../peercast/core/common/http.h:74: warning: 'MIME_WMA' defined but not used
> ../peercast/core/common/http.h:75: warning: 'MIME_WMV' defined but not used
> ../peercast/core/common/http.h:77: warning: 'MIME_HTML' defined but not used
> ../peercast/core/common/http.h:78: warning: 'MIME_XML' defined but not used
> ../peercast/core/common/http.h:79: warning: 'MIME_CSS' defined but not used
> ../peercast/core/common/http.h:80: warning: 'MIME_TEXT' defined but not used
> ../peercast/core/common/http.h:81: warning: 'MIME_PLS' defined but not used
> ../peercast/core/common/http.h:82: warning: 'MIME_XPLS' defined but not used
> ../peercast/core/common/http.h:83: warning: 'MIME_XSCPLS' defined but not used
> ../peercast/core/common/http.h:84: warning: 'MIME_SDP' defined but not used
> ../peercast/core/common/http.h:85: warning: 'MIME_M3U' defined but not used
> ../peercast/core/common/http.h:86: warning: 'MIME_MPEGURL' defined but not 
> used
> ../peercast/core/common/http.h:87: warning: 'MIME_XM3U' defined but not used
> ../peercast/core/common/http.h:88: warning: 'MIME_XPEERCAST' defined but not 
> used
> ../peercast/core/common/http.h:89: warning: 'MIME_XPCP' defined but not used
> ../peercast/core/common/http.h:90: warning: 'MIME_RAW' defined but not used
> ../peercast/core/common/http.h:91: warning: 'MIME_JPEG' defined but not used
> ../peercast/core/common/http.h:92: warning: 'MIME_GIF' defined but not used
> ../peercast/core/common/http.h:93: warning: 'MIME_PNG' defined but not used
> ../peercast/core/common/version2.h:28: warning: 'PCP_FORCE_YP' defined but 
> not used
> ../peercast/core/common/version2.h:36: warning: 'PCX_AGENT' defined but not 
> used
> ../peercast/core/common/version2.h:37: warning: 'PCX_AGENTJP' defined but not 
> used
> ../peercast/core/common/version2.h:38: warning: 'PCX_VERSTRING' defined but 
> not used
> make[3]: *** [main.o] Error 1
> make[3]: Leaving directory `/build/tbm/gnome-peercast-0.4.1/src'


--- ./src/gnome-peercast.h~     2006-03-22 03:06:53.000000000 +0000
+++ ./src/gnome-peercast.h      2006-03-22 03:06:57.000000000 +0000
@@ -65,7 +65,7 @@
        void setConfigInt (const gchar *, gint);
        void setConfigBool (const gchar *, gboolean);
        
-       GtkWidget *GnomePeercastApp::getWidget (const gchar *);
+       GtkWidget *getWidget (const gchar *);
        
        GtkWidget *window;
        ChannelList *cl;

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

Reply via email to