<86>Mar 9 12:17:25 userdel[2789200]: delete user 'rooter' <86>Mar 9 12:17:25 userdel[2789200]: removed group 'rooter' owned by 'rooter' <86>Mar 9 12:17:25 groupadd[2789205]: group added to /etc/group: name=rooter, GID=567 <86>Mar 9 12:17:25 groupadd[2789205]: group added to /etc/gshadow: name=rooter <86>Mar 9 12:17:25 groupadd[2789205]: new group: name=rooter, GID=567 <86>Mar 9 12:17:25 useradd[2789209]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Mar 9 12:17:25 userdel[2789216]: delete user 'builder' <86>Mar 9 12:17:25 groupadd[2789221]: group added to /etc/group: name=builder, GID=568 <86>Mar 9 12:17:25 groupadd[2789221]: group added to /etc/gshadow: name=builder <86>Mar 9 12:17:25 groupadd[2789221]: new group: name=builder, GID=568 <86>Mar 9 12:17:25 useradd[2789225]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/gnome-peercast-0.5.4-alt3.qa3.src.rpm: The use of such a license name is ambiguous: GPL warning: Macro %gconf2_install not found warning: Macro %gconf2_uninstall not found <13>Mar 9 12:17:28 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Mar 9 12:17:28 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Mar 9 12:17:28 rpmi: perl-HTTP-Date-6.04-alt1 sisyphus+241046.100.1.1 1574192946 installed <13>Mar 9 12:17:28 rpmi: libart_lgpl-2.3.21-alt3 1303721925 installed <13>Mar 9 12:17:28 rpmi: libglvnd-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 9 12:17:28 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Mar 9 12:17:28 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Mar 9 12:17:28 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Mar 9 12:17:28 rpmi: libogg-1.3.4-alt1 sisyphus+247109.100.1.1 1582849994 installed <13>Mar 9 12:17:28 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Mar 9 12:17:28 rpmi: libIDL-0.8.14-alt4 1449145676 installed <13>Mar 9 12:17:28 rpmi: libORBit2-2.14.20-alt0.3 sisyphus+227121.100.1.1 1555161154 installed <13>Mar 9 12:17:28 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Mar 9 12:17:28 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Mar 9 12:17:28 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Mar 9 12:17:28 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Mar 9 12:17:28 rpmi: perl-Compress-Raw-Zlib-2.093-alt1 sisyphus+242766.100.1.1 1576089368 installed <13>Mar 9 12:17:28 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Mar 9 12:17:28 rpmi: libpopt-devel-1:1.16-alt1 1500322986 installed <13>Mar 9 12:17:28 rpmi: libwayland-server-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Mar 9 12:17:29 rpmi: libicu65-1:6.5.1-alt1 sisyphus+238768.100.16.1 1571427455 installed <13>Mar 9 12:17:29 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648241 installed <13>Mar 9 12:17:29 rpmi: libharfbuzz-2.6.4-alt1 sisyphus+240033.100.1.1 1572506773 installed <13>Mar 9 12:17:29 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276356 installed <13>Mar 9 12:17:29 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598726 installed Updating fonts cache: <29>Mar 9 12:17:30 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Mar 9 12:17:30 rpmi: xml-utils-1:2.9.10-alt3 sisyphus+243434.100.1.1 1577103645 installed <13>Mar 9 12:17:30 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Mar 9 12:17:30 rpmi: python-base-2.7.17-alt3 sisyphus+240580.60.5.1 1573516905 installed <13>Mar 9 12:17:30 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Mar 9 12:17:30 rpmi: shared-mime-info-1.15-alt1 sisyphus+240378.100.1.1 1573073800 installed <13>Mar 9 12:17:30 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Mar 9 12:17:30 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Mar 9 12:17:30 rpmi: libharfbuzz-icu-2.6.4-alt1 sisyphus+240033.100.1.1 1572506773 installed <13>Mar 9 12:17:30 rpmi: libgraphite2-devel-1.3.13-alt2 sisyphus+226799.100.1.1 1554648241 installed <13>Mar 9 12:17:30 rpmi: icu-utils-1:6.5.1-alt1 sisyphus+238768.100.16.1 1571427455 installed <13>Mar 9 12:17:30 rpmi: libicu-devel-1:6.5.1-alt1 sisyphus+238768.100.16.1 1571427455 installed <13>Mar 9 12:17:30 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Mar 9 12:17:30 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Mar 9 12:17:30 rpmi: libjasper-2.0.16-alt1 sisyphus+231386.100.1.1 1559568070 installed <13>Mar 9 12:17:30 rpmi: libflac8-1.3.3-alt1 sisyphus+247112.100.1.1 1582855667 installed <13>Mar 9 12:17:30 rpmi: libOpenGL-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 9 12:17:30 rpmi: libGLES-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 9 12:17:30 rpmi: libart_lgpl-devel-2.3.21-alt3 1303721925 installed <13>Mar 9 12:17:30 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Mar 9 12:17:30 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Mar 9 12:17:30 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Mar 9 12:17:30 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Mar 9 12:17:30 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343389 installed <13>Mar 9 12:17:30 rpmi: perl-Encode-3.02-alt1 sisyphus+246833.100.1.1 1582544004 installed <13>Mar 9 12:17:30 rpmi: perl-URI-1.76-alt1 sisyphus+220243.100.1.1 1548863244 installed <13>Mar 9 12:17:30 rpmi: perl-HTML-Parser-3.72-alt1.2 sisyphus+219907.600.1.1 1548343581 installed <13>Mar 9 12:17:30 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Mar 9 12:17:30 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Mar 9 12:17:30 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Mar 9 12:17:30 rpmi: perl-Term-ANSIColor-5.01-alt1 sisyphus+244783.100.1.2 1579747505 installed <13>Mar 9 12:17:30 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Mar 9 12:17:30 rpmi: perl-Compress-Raw-Bzip2-2.093-alt1 sisyphus+242765.100.1.1 1576089363 installed <13>Mar 9 12:17:30 rpmi: perl-IO-Compress-2.093-alt1 sisyphus+243543.100.1.1 1577294382 installed <13>Mar 9 12:17:30 rpmi: perl-HTTP-Message-6.22-alt1 sisyphus+246933.100.1.1 1582638146 installed <13>Mar 9 12:17:30 rpmi: perl-HTTP-Cookies-6.08-alt1 sisyphus+242242.100.1.1 1575454022 installed <13>Mar 9 12:17:30 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Mar 9 12:17:30 rpmi: perl-Net-HTTP-6.19-alt1 sisyphus+229756.100.1.1 1558454558 installed <13>Mar 9 12:17:30 rpmi: perl-libwww-6.43-alt1 sisyphus+241824.100.1.3 1574885081 installed <13>Mar 9 12:17:31 rpmi: libtdb-1.4.3-alt1 sisyphus+245511.300.7.1 1581302811 installed <13>Mar 9 12:17:31 rpmi: libltdl7-2.4.6-alt1 sisyphus+226971.100.2.1 1554906368 installed <13>Mar 9 12:17:31 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Mar 9 12:17:31 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Mar 9 12:17:31 rpmi: sound-theme-freedesktop-0.8-alt1 1402011605 installed <13>Mar 9 12:17:31 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Mar 9 12:17:31 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Mar 9 12:17:31 rpmi: libfribidi-1.0.8-alt1 sisyphus+243018.200.3.3 1576821924 installed <13>Mar 9 12:17:31 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013870 installed <13>Mar 9 12:17:31 rpmi: libgtk+2-locales-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Mar 9 12:17:31 rpmi: libatk-locales-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Mar 9 12:17:31 rpmi: libatk-2.34.1-alt1 sisyphus+237956.700.4.2 1569332796 installed <13>Mar 9 12:17:31 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Mar 9 12:17:31 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Mar 9 12:17:31 rpmi: libwayland-client-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Mar 9 12:17:31 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Mar 9 12:17:31 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599774 installed <13>Mar 9 12:17:31 rpmi: libgbm-4:20.0.0-alt1 sisyphus+246678.100.1.1 1582201624 installed <13>Mar 9 12:17:31 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Mar 9 12:17:31 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410873 installed <13>Mar 9 12:17:31 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Mar 9 12:17:31 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed <13>Mar 9 12:17:31 rpmi: libgdk-pixbuf-locales-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Mar 9 12:17:31 rpmi: libgamin-fam-0.1.10-alt5.2.qa2 sisyphus+222532.100.1.1 1550876647 installed <13>Mar 9 12:17:31 rpmi: gnome-audio-2.22.2-alt1 1210873043 installed <13>Mar 9 12:17:31 rpmi: gcc-c++-common-1.4.24-alt3 sisyphus+243033.100.1.1 1576462403 installed <13>Mar 9 12:17:31 rpmi: libstdc++9-devel-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Mar 9 12:17:32 rpmi: gcc9-c++-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Mar 9 12:17:32 rpmi: libgamin-0.1.10-alt5.2.qa2 sisyphus+222532.100.1.1 1550876647 installed <13>Mar 9 12:17:32 rpmi: gamin-0.1.10-alt5.2.qa2 sisyphus+222532.100.1.1 1550876647 installed <13>Mar 9 12:17:32 rpmi: alsa-ucm-conf-1.2.2-alt1 sisyphus+246761.200.1.1 1582270179 installed <13>Mar 9 12:17:32 rpmi: alsa-topology-conf-1.2.2-alt1 sisyphus+246761.100.1.1 1582270157 installed <13>Mar 9 12:17:32 rpmi: libalsa-1:1.2.2-alt1 sisyphus+246761.300.1.1 1582270238 installed <13>Mar 9 12:17:32 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Mar 9 12:17:32 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Mar 9 12:17:32 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Mar 9 12:17:33 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Mar 9 12:17:33 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Mar 9 12:17:33 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Mar 9 12:17:33 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Mar 9 12:17:33 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Mar 9 12:17:33 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Mar 9 12:17:34 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Mar 9 12:17:34 rpmi: libX11-devel-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Mar 9 12:17:34 rpmi: libXrender-devel-0.9.8-alt1 1371312112 installed <13>Mar 9 12:17:34 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Mar 9 12:17:34 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Mar 9 12:17:34 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Mar 9 12:17:34 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Mar 9 12:17:34 rpmi: libGLX-mesa-4:20.0.0-alt1 sisyphus+246678.100.1.1 1582201624 installed <13>Mar 9 12:17:34 rpmi: libEGL-mesa-4:20.0.0-alt1 sisyphus+246678.100.1.1 1582201624 installed <13>Mar 9 12:17:34 rpmi: libEGL-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 9 12:17:34 rpmi: libGLX-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 9 12:17:34 rpmi: libGL-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 9 12:17:34 rpmi: libglvnd-devel-7:1.3.0-alt1 sisyphus+246627.100.1.1 1582101173 installed <13>Mar 9 12:17:34 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Mar 9 12:17:34 rpmi: libpango-1.44.7-alt1 sisyphus+239731.100.1.1 1571986949 installed <13>Mar 9 12:17:34 rpmi: libEGL-devel-4:20.0.0-alt1 sisyphus+246678.100.1.1 1582201624 installed <13>Mar 9 12:17:34 rpmi: libGL-devel-4:20.0.0-alt1 sisyphus+246678.100.1.1 1582201624 installed <13>Mar 9 12:17:34 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>Mar 9 12:17:34 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Mar 9 12:17:34 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949137 installed <13>Mar 9 12:17:34 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Mar 9 12:17:34 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Mar 9 12:17:34 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Mar 9 12:17:34 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Mar 9 12:17:34 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Mar 9 12:17:34 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 9 12:17:34 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 9 12:17:34 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Mar 9 12:17:34 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Mar 9 12:17:34 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Mar 9 12:17:34 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Mar 9 12:17:34 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <86>Mar 9 12:17:34 groupadd[2793583]: group added to /etc/group: name=_keytab, GID=499 <86>Mar 9 12:17:34 groupadd[2793583]: group added to /etc/gshadow: name=_keytab <86>Mar 9 12:17:34 groupadd[2793583]: new group: name=_keytab, GID=499 <13>Mar 9 12:17:34 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Mar 9 12:17:35 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Mar 9 12:17:35 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Mar 9 12:17:35 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Mar 9 12:17:35 rpmi: glib2-devel-2.62.4-alt1 sisyphus+243311.100.1.3 1576855800 installed <13>Mar 9 12:17:35 rpmi: libharfbuzz-devel-2.6.4-alt1 sisyphus+240033.100.1.1 1572506773 installed <13>Mar 9 12:17:36 rpmi: libfreetype-devel-2.10.1-alt1 sisyphus+237471.100.1.1 1568276356 installed <13>Mar 9 12:17:36 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus+226691.100.2.2 1554598726 installed <13>Mar 9 12:17:36 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Mar 9 12:17:36 rpmi: libXft-devel-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Mar 9 12:17:36 rpmi: libpango-devel-1.44.7-alt1 sisyphus+239731.100.1.1 1571986949 installed <13>Mar 9 12:17:36 rpmi: libIDL-devel-0.8.14-alt4 1449145676 installed <13>Mar 9 12:17:36 rpmi: ORBit2-devel-2.14.20-alt0.3 sisyphus+227121.100.1.1 1555161154 installed <13>Mar 9 12:17:36 rpmi: libatk-devel-2.34.1-alt1 sisyphus+237956.700.4.2 1569332796 installed <86>Mar 9 12:17:36 groupadd[2794633]: group added to /etc/group: name=sasl, GID=498 <86>Mar 9 12:17:36 groupadd[2794633]: group added to /etc/gshadow: name=sasl <86>Mar 9 12:17:36 groupadd[2794633]: new group: name=sasl, GID=498 <13>Mar 9 12:17:36 rpmi: libsasl2-3-2.1.27-alt2 sisyphus+228101.100.1.1 1556139863 installed <13>Mar 9 12:17:36 rpmi: libldap-2.4.48-alt3 sisyphus+238816.100.1.1 1570449022 installed <13>Mar 9 12:17:36 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Mar 9 12:17:36 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Mar 9 12:17:36 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 9 12:17:36 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 9 12:17:36 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 9 12:17:36 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 9 12:17:36 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 9 12:17:36 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 9 12:17:36 rpmi: python-modules-xml-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 9 12:17:36 rpmi: gtk-builder-convert-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Mar 9 12:17:36 rpmi: gsettings-desktop-schemas-data-3.34.0-alt1 sisyphus+237956.300.4.2 1569331130 installed <13>Mar 9 12:17:36 rpmi: libgio-2.62.4-alt1 sisyphus+243311.100.1.3 1576855800 installed <13>Mar 9 12:17:36 rpmi: gsettings-desktop-schemas-3.34.0-alt1 sisyphus+237956.300.4.2 1569331192 installed <13>Mar 9 12:17:36 rpmi: libgdk-pixbuf-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Mar 9 12:17:36 rpmi: libbonobo-2.32.1-alt5 sisyphus+227129.100.1.1 1555228199 installed <13>Mar 9 12:17:36 rpmi: libbonobo-devel-2.32.1-alt5 sisyphus+227129.100.1.1 1555228199 installed <13>Mar 9 12:17:36 rpmi: libgio-devel-2.62.4-alt1 sisyphus+243311.100.1.3 1576855800 installed <13>Mar 9 12:17:36 rpmi: gtk-update-icon-cache-3.24.13-alt1 sisyphus+241862.100.1.1 1574928027 installed <13>Mar 9 12:17:36 rpmi: libgdk-pixbuf-xlib-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Mar 9 12:17:36 rpmi: libgdk-pixbuf-devel-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Mar 9 12:17:36 rpmi: libgstreamer1.0-1.16.2-alt1 sisyphus+242248.100.2.1 1575475168 installed <13>Mar 9 12:17:36 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Mar 9 12:17:36 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Mar 9 12:17:36 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Mar 9 12:17:36 rpmi: libsystemd-1:244.3-alt2 sisyphus+246535.200.2.1 1581950464 installed <13>Mar 9 12:17:36 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Mar 9 12:17:36 rpmi: libdbus-glib-1:0.106-alt1 1454672854 installed <13>Mar 9 12:17:36 rpmi: libGConf-3.2.6-alt3 1455932638 installed <13>Mar 9 12:17:36 rpmi: libavahi-0.7-alt1 sisyphus+237493.100.1.1 1568299481 installed <13>Mar 9 12:17:36 rpmi: libavahi-glib-0.7-alt1 sisyphus+237493.100.1.1 1568299481 installed <13>Mar 9 12:17:36 rpmi: libcups-2.2.12-alt4 sisyphus+242884.100.1.1 1576235865 installed <13>Mar 9 12:17:37 rpmi: libgtk+2-2.24.32-alt3 sisyphus+227306.100.1.3 1555646092 installed <13>Mar 9 12:17:37 rpmi: libgtk+2-devel-2.24.32-alt3 sisyphus+227306.100.1.3 1555646092 installed <13>Mar 9 12:17:37 rpmi: libglade-2.6.4-alt5.qa1 1366416177 installed <13>Mar 9 12:17:37 rpmi: libgail-2.24.32-alt3 sisyphus+227306.100.1.3 1555646092 installed <13>Mar 9 12:17:37 rpmi: libgnomecanvas-2.30.3-alt2 1297296491 installed <13>Mar 9 12:17:37 rpmi: libgail-devel-2.24.32-alt3 sisyphus+227306.100.1.3 1555646092 installed <13>Mar 9 12:17:37 rpmi: libgnomecanvas-devel-2.30.3-alt2 1297296491 installed <13>Mar 9 12:17:37 rpmi: libGConf-devel-3.2.6-alt3 1455932638 installed <13>Mar 9 12:17:37 rpmi: dbus-tools-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <86>Mar 9 12:17:37 groupadd[2794853]: group added to /etc/group: name=messagebus, GID=497 <86>Mar 9 12:17:37 groupadd[2794853]: group added to /etc/gshadow: name=messagebus <86>Mar 9 12:17:37 groupadd[2794853]: new group: name=messagebus, GID=497 <86>Mar 9 12:17:37 useradd[2794857]: new user: name=messagebus, UID=499, GID=497, home=/run/dbus, shell=/dev/null <13>Mar 9 12:17:37 rpmi: dbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Mar 9 12:17:37 rpmi: dbus-tools-gui-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Mar 9 12:17:37 rpmi: libpulseaudio-13.0-alt3 sisyphus+242188.100.1.1 1575382773 installed <13>Mar 9 12:17:37 rpmi: libcanberra-0.30-alt3 1509034818 installed <13>Mar 9 12:17:37 rpmi: libgnome-keyring-3.12.0-alt3 sisyphus.213077.100 1537112307 installed <13>Mar 9 12:17:37 rpmi: libpolkit-0.116-alt2 sisyphus+242835.100.1.1 1576161160 installed <13>Mar 9 12:17:37 rpmi: libxslt-1.1.34-alt1 sisyphus+240826.100.1.1 1573801860 installed <13>Mar 9 12:17:37 rpmi: xsltproc-1.1.34-alt1 sisyphus+240826.100.1.1 1573801860 installed <13>Mar 9 12:17:37 rpmi: GConf-3.2.6-alt3 1455932638 installed <13>Mar 9 12:17:37 rpmi: gnome-vfs-1:2.24.4-alt12 1535487541 installed killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) <13>Mar 9 12:17:37 rpmi: libgnome-2.32.1-alt4 1511716844 installed killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) <13>Mar 9 12:17:38 rpmi: libbonoboui-2.24.5-alt1 1301936248 installed <13>Mar 9 12:17:38 rpmi: libgnome-devel-2.32.1-alt4 1511716844 installed <13>Mar 9 12:17:38 rpmi: libbonoboui-devel-2.24.5-alt1 1301936248 installed <13>Mar 9 12:17:38 rpmi: libgnomeui-2.24.5-alt3 1519545623 installed <13>Mar 9 12:17:38 rpmi: gnome-vfs-devel-1:2.24.4-alt12 1535487541 installed <13>Mar 9 12:17:38 rpmi: libgnomeui-devel-2.24.5-alt3 1519545623 installed <13>Mar 9 12:17:38 rpmi: libglade-devel-2.6.4-alt5.qa1 1366416177 installed <13>Mar 9 12:17:38 rpmi: gcc-c++-9-alt1 sisyphus+239632.300.3.1 1571788297 installed <13>Mar 9 12:17:38 rpmi: perl-XML-Parser-2.44-alt2.2 sisyphus+219907.1300.1.1 1548343835 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/gnome-peercast-0.5.4-alt3.qa3.nosrc.rpm Installing gnome-peercast-0.5.4-alt3.qa3.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.18482 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf gnome-peercast-0.5.4 + echo 'Source #0 (gnome-peercast_0.5.4.orig.tar.bz2):' Source #0 (gnome-peercast_0.5.4.orig.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/gnome-peercast_0.5.4.orig.tar.bz2 + /bin/tar -xf - + cd gnome-peercast-0.5.4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (gnome-peercast-0.5.4.debian.patch):' Patch #0 (gnome-peercast-0.5.4.debian.patch): + /usr/bin/patch -p1 patching file peercast/core/common/servent.cpp patching file peercast/core/common/servent.h patching file peercast/core/common/servhs.cpp + echo 'Patch #1 (gnome-peercast-0.5.4-fix.patch):' Patch #1 (gnome-peercast-0.5.4-fix.patch): + /usr/bin/patch -p0 patching file peercast/core/common/common.h patching file peercast/core/common/html.cpp patching file peercast/core/common/sys.cpp patching file peercast/core/common/servhs.cpp + echo 'Patch #2 (gnome-peercast-0.5.4-alt-DSO.patch):' Patch #2 (gnome-peercast-0.5.4-alt-DSO.patch): + /usr/bin/patch -p2 patching file src/Makefile.in + echo 'Patch #3 (gnome-peercast-0.5.4-alt-gcc8.patch):' Patch #3 (gnome-peercast-0.5.4-alt-gcc8.patch): + /usr/bin/patch -p2 patching file peercast/core/common/stream.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.18482 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gnome-peercast-0.5.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for intltool >= 0.11... 0.35.0 found checking for perl... /usr/bin/perl checking for XML::Parser... ok checking for iconv... /usr/bin/iconv checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for xgettext... /usr/bin/xgettext checking for style of include used by make... GNU checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking dependency style of i586-alt-linux-gcc... none checking for library containing strerror... none required checking for i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to accept ISO C89... (cached) none needed checking dependency style of i586-alt-linux-gcc... (cached) none checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... (cached) pass_all checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for i586-alt-linux-g77... no checking for i586-alt-linux-f77... no checking for i586-alt-linux-xlf... no checking for i586-alt-linux-frt... no checking for i586-alt-linux-pgf77... no checking for i586-alt-linux-cf77... no checking for i586-alt-linux-fort77... no checking for i586-alt-linux-fl32... no checking for i586-alt-linux-af77... no checking for i586-alt-linux-f90... no checking for i586-alt-linux-xlf90... no checking for i586-alt-linux-pgf90... no checking for i586-alt-linux-pghpf... no checking for i586-alt-linux-epcf90... no checking for i586-alt-linux-gfortran... no checking for i586-alt-linux-g95... no checking for i586-alt-linux-f95... no checking for i586-alt-linux-fort... no checking for i586-alt-linux-xlf95... no checking for i586-alt-linux-ifort... no checking for i586-alt-linux-ifc... no checking for i586-alt-linux-efc... no checking for i586-alt-linux-pgf95... no checking for i586-alt-linux-lf95... no checking for i586-alt-linux-ftn... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for objdir... .libs checking for i586-alt-linux-ar... no checking for ar... ar checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for i586-alt-linux-strip... no checking for strip... strip checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC checking if i586-alt-linux-gcc PIC flag -fPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC checking if i586-alt-linux-g++ PIC flag -fPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes checking what language compliance flags to pass to the C compiler... checking for i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GNOME_PEERCAST... yes checking for gconftool-2... /usr/bin/gconftool-2 Using config source xml:readwrite:/var/cache/gconf/gconf.xml.defaults for schema installation Using $(sysconfdir)/gconf/schemas as install directory for schema files checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... ja configure: creating ./config.status config.status: creating Makefile config.status: creating libpeercast/Makefile config.status: creating src/Makefile config.status: creating pixmaps/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing intltool commands config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands + make -j8 make: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make all-recursive make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Making all in libpeercast make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o socket.lo `test -f '../peercast/core/common/socket.cpp' || echo './'`../peercast/core/common/socket.cpp mkdir .libs i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/socket.cpp -fPIC -DPIC -o .libs/socket.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/socket.cpp:24: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o usys.lo `test -f '../peercast/core/unix/usys.cpp' || echo './'`../peercast/core/unix/usys.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/unix/usys.cpp -fPIC -DPIC -o .libs/usys.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/unix/usys.h:26, from ../peercast/core/unix/usys.cpp:33: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o stream.lo `test -f '../peercast/core/common/stream.cpp' || echo './'`../peercast/core/common/stream.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/stream.cpp -fPIC -DPIC -o .libs/stream.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/stream.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.cpp: In member function 'int Stream::writeUTF8(unsigned int)': ../peercast/core/common/stream.cpp:179:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 179 | writeChar(code & 0x3F | 0x80); | ~~~~~^~~~~~ ../peercast/core/common/stream.cpp:184:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 184 | writeChar(code>>6 & 0x3F | 0x80); | ~~~~~~~~^~~~~~ ../peercast/core/common/stream.cpp:185:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 185 | writeChar(code & 0x3F | 0x80); | ~~~~~^~~~~~ ../peercast/core/common/stream.cpp:190:22: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 190 | writeChar(code>>12 & 0x3F | 0x80); | ~~~~~~~~~^~~~~~ ../peercast/core/common/stream.cpp:191:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 191 | writeChar(code>>6 & 0x3F | 0x80); | ~~~~~~~~^~~~~~ ../peercast/core/common/stream.cpp:192:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 192 | writeChar(code & 0x3F | 0x80); | ~~~~~^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xml.lo `test -f '../peercast/core/common/xml.cpp' || echo './'`../peercast/core/common/xml.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/xml.cpp -fPIC -DPIC -o .libs/xml.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/xml.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/xml.cpp: In member function 'void XML::Node::setAttributes(const char*)': ../peercast/core/common/xml.cpp:140:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 140 | while (c=attrData[i++]) | ~^~~~~~~~~~~~~~ ../peercast/core/common/xml.cpp: In member function 'void XML::read(Stream&)': ../peercast/core/common/xml.cpp:426:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 426 | if (c == '>') | ^~ ../peercast/core/common/xml.cpp:429:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 429 | if (tp >= BUFFER_LEN) | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o usocket.lo `test -f '../peercast/core/unix/usocket.cpp' || echo './'`../peercast/core/unix/usocket.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/unix/usocket.cpp -fPIC -DPIC -o .libs/usocket.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/unix/usocket.h:24, from ../peercast/core/unix/usocket.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/unix/usocket.cpp: In member function 'virtual void UClientSocket::open(Host&)': ../peercast/core/unix/usocket.cpp:162:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 162 | if (sockNum == INVALID_SOCKET) | ^ ../peercast/core/unix/usocket.cpp: In member function 'virtual void UClientSocket::bind(Host&)': ../peercast/core/unix/usocket.cpp:370:61: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 370 | if ((sockNum = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP)) == -1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../peercast/core/unix/usocket.cpp: In member function 'virtual bool UClientSocket::readReady()': ../peercast/core/unix/usocket.cpp:460:9: warning: unused variable 'write_fds' [-Wunused-variable] 460 | fd_set write_fds; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o html.lo `test -f '../peercast/core/common/html.cpp' || echo './'`../peercast/core/common/html.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/html.cpp -fPIC -DPIC -o .libs/html.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/http.h:23, from ../peercast/core/common/html.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/html.cpp:28: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/html.cpp:28: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/html.cpp:28: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/html.cpp:28: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from ../peercast/core/common/html.cpp:31: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/html.cpp:27: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/html.cpp:25: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o http.lo `test -f '../peercast/core/common/http.cpp' || echo './'`../peercast/core/common/http.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/http.cpp -fPIC -DPIC -o .libs/http.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/http.h:23, from ../peercast/core/common/http.cpp:23: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/http.cpp:23: ../peercast/core/common/http.h: At global scope: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o inifile.lo `test -f '../peercast/core/common/inifile.cpp' || echo './'`../peercast/core/common/inifile.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/inifile.cpp -fPIC -DPIC -o .libs/inifile.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/inifile.h:23, from ../peercast/core/common/inifile.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/inifile.cpp: In member function 'char* IniFile::getStrValue()': ../peercast/core/common/inifile.cpp:117:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | return ""; | ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sys.lo `test -f '../peercast/core/common/sys.cpp' || echo './'`../peercast/core/common/sys.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/sys.cpp -fPIC -DPIC -o .libs/sys.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/sys.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/sys.cpp: In static member function 'static int String::base64WordToChars(char*, const char*)': ../peercast/core/common/sys.cpp:364:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 364 | else | ^~~~ ../peercast/core/common/sys.cpp:367:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 367 | return out-start; | ^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::UNKNOWN2UNICODE(const char*, bool)': ../peercast/core/common/sys.cpp:395:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 395 | while (c = *in++) | ~~^~~~~~~ ../peercast/core/common/sys.cpp:32:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 32 | #define isSJIS(a,b) ((a >= 0x81 && a <= 0x9f || a >= 0xe0 && a<=0xfc) && (b >= 0x40 && b <= 0x7e || b >= 0x80 && b<=0xfc)) | ^ ../peercast/core/common/sys.cpp:417:11: note: in expansion of macro 'isSJIS' 417 | else if(isSJIS(c,d)) // shift_jis | ^~~~~~ ../peercast/core/common/sys.cpp:32:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 32 | #define isSJIS(a,b) ((a >= 0x81 && a <= 0x9f || a >= 0xe0 && a<=0xfc) && (b >= 0x40 && b <= 0x7e || b >= 0x80 && b<=0xfc)) | ^ ../peercast/core/common/sys.cpp:417:11: note: in expansion of macro 'isSJIS' 417 | else if(isSJIS(c,d)) // shift_jis | ^~~~~~ ../peercast/core/common/sys.cpp:434:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 434 | while (c=*in++) | ~^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::ASCII2HTML(const char*)': ../peercast/core/common/sys.cpp:485:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 485 | while (c = *p++) | ~~^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::ASCII2ESC(const char*, bool)': ../peercast/core/common/sys.cpp:508:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 508 | while (c = *p++) | ~~^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::HTML2ASCII(const char*)': ../peercast/core/common/sys.cpp:533:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 533 | while (c = *p++) | ~~^~~~~~ ../peercast/core/common/sys.cpp:541:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 541 | while (c=*p++) | ~^~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::HTML2UNICODE(const char*)': ../peercast/core/common/sys.cpp:564:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 564 | while (c = *in++) | ~~^~~~~~~ ../peercast/core/common/sys.cpp:572:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 572 | while (c=*in++) | ~^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::ESC2ASCII(const char*)': ../peercast/core/common/sys.cpp:598:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 598 | while (c = *p++) | ~~^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::ASCII2META(const char*, bool)': ../peercast/core/common/sys.cpp:626:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 626 | while (c = *p++) | ~~^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::convertTo(String::TYPE)': ../peercast/core/common/sys.cpp:653:10: warning: enumeration value 'T_UNICODE' not handled in switch [-Wswitch] 653 | switch (type) | ^ ../peercast/core/common/sys.cpp:653:10: warning: enumeration value 'T_UNICODESAFE' not handled in switch [-Wswitch] ../peercast/core/common/sys.cpp:674:10: warning: enumeration value 'T_BASE64' not handled in switch [-Wswitch] 674 | switch (t) | ^ ../peercast/core/common/sys.cpp: At global scope: ../peercast/core/common/sys.cpp:115:14: warning: 'char* util_base64_decode(char*)' defined but not used [-Wunused-function] 115 | static char *util_base64_decode(char *input) | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/sys.cpp:54:13: warning: 'base64table' defined but not used [-Wunused-variable] 54 | static char base64table[64] = { | ^~~~~~~~~~~ In file included from ../peercast/core/common/sys.cpp:26: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o stats.lo `test -f '../peercast/core/common/stats.cpp' || echo './'`../peercast/core/common/stats.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/stats.cpp -fPIC -DPIC -o .libs/stats.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/stats.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stats.cpp: In member function 'bool Stats::writeVariable(Stream&, const String&)': ../peercast/core/common/stats.cpp:82:19: warning: format '%f' expects argument of type 'double', but argument 3 has type 'unsigned int' [-Wformat=] 82 | sprintf(buf,"%.1f",getPerSecond(Stats::NUMPACKETSIN)); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | double unsigned int | %.1d ../peercast/core/common/stats.cpp:84:19: warning: format '%f' expects argument of type 'double', but argument 3 has type 'unsigned int' [-Wformat=] 84 | sprintf(buf,"%.1f",getPerSecond(Stats::NUMPACKETSOUT)); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | double unsigned int | %.1d ../peercast/core/common/stats.cpp:86:19: warning: format '%f' expects argument of type 'double', but argument 3 has type 'unsigned int' [-Wformat=] 86 | sprintf(buf,"%.1f",getPerSecond(Stats::NUMPACKETSOUT)+getPerSecond(Stats::NUMPACKETSIN)); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | double unsigned int | %.1d make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o gnutella.lo `test -f '../peercast/core/common/gnutella.cpp' || echo './'`../peercast/core/common/gnutella.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/gnutella.cpp -fPIC -DPIC -o .libs/gnutella.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition ../peercast/core/common/gnutella.cpp:170:16: warning: multi-character character constant [-Wmultichar] 170 | mem.writeLong('PCST'); // vendor ID | ^~~~~~ In file included from ../peercast/core/common/gnutella.h:24, from ../peercast/core/common/gnutella.cpp:24: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/gnutella.cpp:27: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/gnutella.cpp:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/gnutella.cpp:27: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/gnutella.cpp:28: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ ../peercast/core/common/gnutella.cpp: In member function 'GnuStream::R_TYPE GnuStream::processPacket(GnuPacket&, Servent*, GnuID&)': ../peercast/core/common/gnutella.cpp:392:18: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 392 | int ip,port,cnt,total; | ^~~ ../peercast/core/common/gnutella.cpp:392:22: warning: variable 'total' set but not used [-Wunused-but-set-variable] 392 | int ip,port,cnt,total; | ^~~~~ ../peercast/core/common/gnutella.cpp:440:11: warning: unused variable 'spd' [-Wunused-variable] 440 | short spd = data.readShort(); | ^~~ ../peercast/core/common/gnutella.cpp:498:9: warning: unused variable 'index' [-Wunused-variable] 498 | int index = data.readLong(); | ^~~~~ ../peercast/core/common/gnutella.cpp: In member function 'bool GnuStream::readHit(Stream&, ChanHit&, int, GnuID&)': ../peercast/core/common/gnutella.cpp:613:7: warning: variable 'index' set but not used [-Wunused-but-set-variable] 613 | int index,bitrate,listeners; | ^~~~~ ../peercast/core/common/gnutella.cpp:613:13: warning: variable 'bitrate' set but not used [-Wunused-but-set-variable] 613 | int index,bitrate,listeners; | ^~~~~~~ ../peercast/core/common/gnutella.cpp:599:6: warning: unused variable 'spd' [-Wunused-variable] 599 | int spd = data.readLong(); // speed/broadcast | ^~~ ../peercast/core/common/gnutella.cpp:682:6: warning: unused variable 'vendor' [-Wunused-variable] 682 | int vendor = data.readLong(); // vendor ID | ^~~~~~ ../peercast/core/common/gnutella.cpp:696:6: warning: variable 'maxPreviewTime' set but not used [-Wunused-but-set-variable] 696 | int maxPreviewTime=0; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.cpp:730:7: warning: variable 'isBroadcastHit' set but not used [-Wunused-but-set-variable] 730 | bool isBroadcastHit=false; | ^~~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/gnutella.cpp:27: ../peercast/core/common/http.h: At global scope: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/gnutella.cpp:24: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o servmgr.lo `test -f '../peercast/core/common/servmgr.cpp' || echo './'`../peercast/core/common/servmgr.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/servmgr.cpp -fPIC -DPIC -o .libs/servmgr.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/servmgr.cpp:23: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from ../peercast/core/common/servmgr.cpp:28: ../peercast/core/common/atom.h: In constructor 'AtomStream::AtomStream(Stream&)': ../peercast/core/common/atom.h:205:10: warning: 'AtomStream::io' will be initialized after [-Wreorder] 205 | Stream &io; | ^~ ../peercast/core/common/atom.h:204:6: warning: 'int AtomStream::numChildren' [-Wreorder] 204 | int numChildren,numData; | ^~~~~~~~~~~ ../peercast/core/common/atom.h:30:2: warning: when initialized here [-Wreorder] 30 | AtomStream(Stream &s) : io(s),numChildren(0),numData(0) | ^~~~~~~~~~ ../peercast/core/common/servmgr.cpp: In member function 'Servent* ServMgr::findServentByIndex(int)': ../peercast/core/common/servmgr.cpp:490:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 490 | if (cnt == id) | ^~ ../peercast/core/common/servmgr.cpp:492:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 492 | cnt++; | ^~~ ../peercast/core/common/servmgr.cpp: In member function 'void ServMgr::checkFirewall()': ../peercast/core/common/servmgr.cpp:814:10: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 814 | delete sock; | ^~~~ ../peercast/core/common/servmgr.cpp: In member function 'void ServMgr::setFirewall(ServMgr::FW_STATE)': ../peercast/core/common/servmgr.cpp:827:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 827 | str = "ON"; | ^~~~ ../peercast/core/common/servmgr.cpp:830:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 830 | str = "OFF"; | ^~~~~ ../peercast/core/common/servmgr.cpp:834:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 834 | str = "UNKNOWN"; | ^~~~~~~~~ ../peercast/core/common/servmgr.cpp: In member function 'void ServMgr::loadSettings(const char*)': ../peercast/core/common/servmgr.cpp:1395:10: warning: unused variable 'firewalled' [-Wunused-variable] 1395 | bool firewalled=false; | ^~~~~~~~~~ ../peercast/core/common/servmgr.cpp: In member function 'void ServMgr::procConnectArgs(char*, ChanInfo&)': ../peercast/core/common/servmgr.cpp:1597:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1597 | while (args=nextCGIarg(args,curr,arg)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servmgr.cpp: In static member function 'static int ServMgr::idleProc(ThreadInfo*)': ../peercast/core/common/servmgr.cpp:1853:15: warning: unused variable 'lastPasvFind' [-Wunused-variable] 1853 | unsigned int lastPasvFind=0; | ^~~~~~~~~~~~ ../peercast/core/common/servmgr.cpp:1854:15: warning: unused variable 'lastBroadcast' [-Wunused-variable] 1854 | unsigned int lastBroadcast=0; | ^~~~~~~~~~~~~ ../peercast/core/common/servmgr.cpp:1860:15: warning: unused variable 'lastBWcheck' [-Wunused-variable] 1860 | unsigned int lastBWcheck=0; | ^~~~~~~~~~~ ../peercast/core/common/servmgr.cpp:1861:15: warning: unused variable 'bytesIn' [-Wunused-variable] 1861 | unsigned int bytesIn=0,bytesOut=0; | ^~~~~~~ ../peercast/core/common/servmgr.cpp:1861:25: warning: unused variable 'bytesOut' [-Wunused-variable] 1861 | unsigned int bytesIn=0,bytesOut=0; | ^~~~~~~~ ../peercast/core/common/servmgr.cpp: In static member function 'static int ServMgr::serverProc(ThreadInfo*)': ../peercast/core/common/servmgr.cpp:1956:15: warning: unused variable 'lastLookupTime' [-Wunused-variable] 1956 | unsigned int lastLookupTime=0; | ^~~~~~~~~~~~~~ In file included from ../peercast/core/common/servmgr.cpp:29: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o peercast.lo `test -f '../peercast/core/common/peercast.cpp' || echo './'`../peercast/core/common/peercast.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/peercast.cpp -fPIC -DPIC -o .libs/peercast.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/http.h: At global scope: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o mp3.lo `test -f '../peercast/core/common/mp3.cpp' || echo './'`../peercast/core/common/mp3.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/mp3.cpp -fPIC -DPIC -o .libs/mp3.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/mp3.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/mp3.cpp:19: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/mp3.cpp:19: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/mp3.cpp:19: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/mp3.cpp:19: ../peercast/core/common/gnutella.h: At global scope: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o servent.lo `test -f '../peercast/core/common/servent.cpp' || echo './'`../peercast/core/common/servent.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/servent.cpp -fPIC -DPIC -o .libs/servent.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/servent.cpp:32: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from ../peercast/core/common/servent.cpp:34: ../peercast/core/common/atom.h: In constructor 'AtomStream::AtomStream(Stream&)': ../peercast/core/common/atom.h:205:10: warning: 'AtomStream::io' will be initialized after [-Wreorder] 205 | Stream &io; | ^~ ../peercast/core/common/atom.h:204:6: warning: 'int AtomStream::numChildren' [-Wreorder] 204 | int numChildren,numData; | ^~~~~~~~~~~ ../peercast/core/common/atom.h:30:2: warning: when initialized here [-Wreorder] 30 | AtomStream(Stream &s) : io(s),numChildren(0),numData(0) | ^~~~~~~~~~ ../peercast/core/common/servent.cpp: At global scope: ../peercast/core/common/servent.cpp:44:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | "NONE", | ^~~~~~ ../peercast/core/common/servent.cpp:45:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | "CONNECTING", | ^~~~~~~~~~~~ ../peercast/core/common/servent.cpp:46:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | "PROTOCOL", | ^~~~~~~~~~ ../peercast/core/common/servent.cpp:47:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | "HANDSHAKE", | ^~~~~~~~~~~ ../peercast/core/common/servent.cpp:48:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | "CONNECTED", | ^~~~~~~~~~~ ../peercast/core/common/servent.cpp:49:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | "CLOSING", | ^~~~~~~~~ ../peercast/core/common/servent.cpp:50:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | "LISTENING", | ^~~~~~~~~~~ ../peercast/core/common/servent.cpp:51:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | "TIMEOUT", | ^~~~~~~~~ ../peercast/core/common/servent.cpp:52:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | "REFUSED", | ^~~~~~~~~ ../peercast/core/common/servent.cpp:53:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | "VERIFIED", | ^~~~~~~~~~ ../peercast/core/common/servent.cpp:54:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | "ERROR", | ^~~~~~~ ../peercast/core/common/servent.cpp:55:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | "WAIT", | ^~~~~~ ../peercast/core/common/servent.cpp:56:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | "FREE" | ^~~~~~ ../peercast/core/common/servent.cpp:62:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | "NONE", | ^~~~~~ ../peercast/core/common/servent.cpp:63:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | "INCOMING", | ^~~~~~~~~~ ../peercast/core/common/servent.cpp:64:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | "SERVER", | ^~~~~~~~ ../peercast/core/common/servent.cpp:65:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | "RELAY", | ^~~~~~~ ../peercast/core/common/servent.cpp:66:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | "DIRECT", | ^~~~~~~~ ../peercast/core/common/servent.cpp:67:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | "COUT", | ^~~~~~ ../peercast/core/common/servent.cpp:68:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | "CIN", | ^~~~~ ../peercast/core/common/servent.cpp:69:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | "PGNU" | ^~~~~~ In file included from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/servent.h: In constructor 'Servent::Servent(int)': ../peercast/core/common/servent.h:276:33: warning: 'Servent::outPacketsPri' will be initialized after [-Wreorder] 276 | GnuPacketBuffer outPacketsNorm,outPacketsPri; | ^~~~~~~~~~~~~ ../peercast/core/common/servent.h:276:18: warning: 'GnuPacketBuffer Servent::outPacketsNorm' [-Wreorder] 276 | GnuPacketBuffer outPacketsNorm,outPacketsPri; | ^~~~~~~~~~~~~~ ../peercast/core/common/servent.cpp:96:1: warning: when initialized here [-Wreorder] 96 | Servent::Servent(int index) | ^~~~~~~ In file included from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/servent.h:276:18: warning: 'Servent::outPacketsNorm' will be initialized after [-Wreorder] 276 | GnuPacketBuffer outPacketsNorm,outPacketsPri; | ^~~~~~~~~~~~~~ ../peercast/core/common/servent.h:244:12: warning: 'GnuIDList Servent::seenIDs' [-Wreorder] 244 | GnuIDList seenIDs; | ^~~~~~~ ../peercast/core/common/servent.cpp:96:1: warning: when initialized here [-Wreorder] 96 | Servent::Servent(int index) | ^~~~~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::kill()': ../peercast/core/common/servent.cpp:124:10: warning: deleting object of polymorphic class type 'PCPStream' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 124 | delete pcp; | ^~~ ../peercast/core/common/servent.cpp:131:10: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 131 | delete sock; | ^~~~ ../peercast/core/common/servent.cpp:138:10: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 138 | delete pushSock; | ^~~~~~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::handshakeIn()': ../peercast/core/common/servent.cpp:568:6: warning: variable 'osType' set but not used [-Wunused-but-set-variable] 568 | int osType=0; | ^~~~~~ ../peercast/core/common/servent.cpp: In static member function 'static bool Servent::pingHost(Host&, GnuID&)': ../peercast/core/common/servent.cpp:747:10: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 747 | delete s; | ^ ../peercast/core/common/servent.cpp: In member function 'bool Servent::handshakeStream(ChanInfo&)': ../peercast/core/common/servent.cpp:1117:12: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 1117 | if (nsSwitchNum) | ^ ../peercast/core/common/servent.cpp:1117:12: warning: enumeration value 'T_RAW' not handled in switch [-Wswitch] ../peercast/core/common/servent.cpp:1117:12: warning: enumeration value 'T_OGM' not handled in switch [-Wswitch] ../peercast/core/common/servent.cpp:1117:12: warning: enumeration value 'T_PLS' not handled in switch [-Wswitch] ../peercast/core/common/servent.cpp: In member function 'void Servent::processGnutella()': ../peercast/core/common/servent.cpp:1281:11: warning: enumeration value 'R_PROCESS' not handled in switch [-Wswitch] 1281 | | ^ ../peercast/core/common/servent.cpp:1351:12: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 1351 | | ^ ../peercast/core/common/servent.cpp:1362:11: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 1362 | gnuStream.ping(2); | ~~~~^~~~~~~~~~ ../peercast/core/common/servent.cpp:1244:15: warning: unused variable 'currBytes' [-Wunused-variable] 1244 | switch(ret) | ^ ../peercast/core/common/servent.cpp:1245:15: warning: unused variable 'lastWait' [-Wunused-variable] 1245 | { | ^ ../peercast/core/common/servent.cpp: In static member function 'static void Servent::handshakeOutgoingPCP(AtomStream&, Host&, GnuID&, String&, bool)': ../peercast/core/common/servent.cpp:1547:6: warning: variable 'version' set but not used [-Wunused-but-set-variable] 1547 | | ^ ../peercast/core/common/servent.cpp: In static member function 'static int Servent::outgoingProc(ThreadInfo*)': ../peercast/core/common/servent.cpp:2097:17: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 2097 | sv->sock->writeLine(e.msg); | ^~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::processStream(bool, ChanInfo&)': ../peercast/core/common/servent.cpp:2186:8: warning: variable 'host' set but not used [-Wunused-but-set-variable] 2186 | // ----------------------------------------- | ^~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::sendRawMetaChannel(int)': ../peercast/core/common/servent.cpp:2451:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2451 | p+=rl; | ~~~~~~ ^ ../peercast/core/common/servent.cpp:2521:22: warning: embedded '\0' in format [-Wformat-contains-nul] 2521 | setStatus(S_CONNECTED); | ^~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::sendPeercastChannel()': ../peercast/core/common/servent.cpp:2566:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2566 | { | ^ ../peercast/core/common/servent.cpp:2588:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2588 | setStatus(S_CONNECTED); | ^~~~ In file included from ../peercast/core/common/servent.cpp:36: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o icy.lo `test -f '../peercast/core/common/icy.cpp' || echo './'`../peercast/core/common/icy.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/icy.cpp -fPIC -DPIC -o .libs/icy.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/icy.h:22, from ../peercast/core/common/icy.cpp:1: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/icy.h:22, from ../peercast/core/common/icy.cpp:1: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/icy.h:22, from ../peercast/core/common/icy.cpp:1: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/icy.h:22, from ../peercast/core/common/icy.cpp:1: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/icy.cpp: In member function 'virtual void ICYSource::stream(Channel*)': ../peercast/core/common/icy.cpp:31:14: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 31 | delete ch->sock; | ^~~~ ../peercast/core/common/icy.cpp:36:10: warning: deleting object of abstract class type 'ChannelStream' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 36 | delete source; | ^~~~~~ In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/icy.h:22, from ../peercast/core/common/icy.cpp:1: ../peercast/core/common/gnutella.h: At global scope: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ogg.lo `test -f '../peercast/core/common/ogg.cpp' || echo './'`../peercast/core/common/ogg.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/ogg.cpp -fPIC -DPIC -o .libs/ogg.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/ogg.cpp:20: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/ogg.cpp:20: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/ogg.cpp:20: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/ogg.cpp:20: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/ogg.cpp:21: ../peercast/core/common/ogg.h: In constructor 'OggSubStream::OggSubStream()': ../peercast/core/common/ogg.h:86:15: warning: 'OggSubStream::serialNo' will be initialized after [-Wreorder] 86 | unsigned int serialNo; | ^~~~~~~~ ../peercast/core/common/ogg.h:82:6: warning: 'int OggSubStream::bitrate' [-Wreorder] 82 | int bitrate; | ^~~~~~~ ../peercast/core/common/ogg.h:51:2: warning: when initialized here [-Wreorder] 51 | OggSubStream() | ^~~~~~~~~~~~ ../peercast/core/common/ogg.cpp: In member function 'void OggTheoraSubStream::readInfo(Stream&, ChanInfo&)': ../peercast/core/common/ogg.cpp:211:6: warning: unused variable 'verMaj' [-Wunused-variable] 211 | int verMaj = in.readBits(8); | ^~~~~~ ../peercast/core/common/ogg.cpp:212:6: warning: unused variable 'verMin' [-Wunused-variable] 212 | int verMin = in.readBits(8); | ^~~~~~ ../peercast/core/common/ogg.cpp:213:6: warning: unused variable 'verSub' [-Wunused-variable] 213 | int verSub = in.readBits(8); | ^~~~~~ ../peercast/core/common/ogg.cpp: In member function 'void OggVorbisSubStream::readComment(Stream&, ChanInfo&)': ../peercast/core/common/ogg.cpp:331:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 331 | if (l > sizeof(argBuf)) | ~~^~~~~~~~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/ogg.cpp:20: ../peercast/core/common/gnutella.h: At global scope: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o nsv.lo `test -f '../peercast/core/common/nsv.cpp' || echo './'`../peercast/core/common/nsv.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/nsv.cpp -fPIC -DPIC -o .libs/nsv.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/nsv.h:23, from ../peercast/core/common/nsv.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/nsv.h:23, from ../peercast/core/common/nsv.cpp:19: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/nsv.h:23, from ../peercast/core/common/nsv.cpp:19: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/nsv.h:23, from ../peercast/core/common/nsv.cpp:19: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/nsv.h:23, from ../peercast/core/common/nsv.cpp:19: ../peercast/core/common/gnutella.h: At global scope: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o servhs.lo `test -f '../peercast/core/common/servhs.cpp' || echo './'`../peercast/core/common/servhs.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/servhs.cpp -fPIC -DPIC -o .libs/servhs.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/servhs.cpp:24: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ ../peercast/core/common/servhs.cpp: In member function 'void Servent::handshakeHTTP(HTTP&, bool)': ../peercast/core/common/servhs.cpp:303:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 303 | if (ps=strstr(in,"ICE/1.0")) | ~~^~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp: In member function 'bool Servent::handshakeAuth(HTTP&, const char*, bool)': ../peercast/core/common/servhs.cpp:601:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 601 | while (http.nextHeader()); | ^~~~~ ../peercast/core/common/servhs.cpp:602:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 602 | return true; | ^~~~~~ ../peercast/core/common/servhs.cpp: In member function 'void Servent::handshakeCMD(char*)': ../peercast/core/common/servhs.cpp:701:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 701 | if (cmpCGIarg(cmd,"cmd=","redirect")) | ^~~~~~ ../peercast/core/common/servhs.cpp:701:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 701 | if (cmpCGIarg(cmd,"cmd=","redirect")) | ^~~~~~~~~~ ../peercast/core/common/servhs.cpp:725:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 725 | if (cmpCGIarg(cmd,"cmd=","viewxml")) | ^~~~~~ ../peercast/core/common/servhs.cpp:725:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 725 | if (cmpCGIarg(cmd,"cmd=","viewxml")) | ^~~~~~~~~ ../peercast/core/common/servhs.cpp:730:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 730 | }else if (cmpCGIarg(cmd,"cmd=","clearlog")) | ^~~~~~ ../peercast/core/common/servhs.cpp:730:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 730 | }else if (cmpCGIarg(cmd,"cmd=","clearlog")) | ^~~~~~~~~~ ../peercast/core/common/servhs.cpp:736:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 736 | }else if (cmpCGIarg(cmd,"cmd=","save")) | ^~~~~~ ../peercast/core/common/servhs.cpp:736:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 736 | }else if (cmpCGIarg(cmd,"cmd=","save")) | ^~~~~~ ../peercast/core/common/servhs.cpp:743:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 743 | }else if (cmpCGIarg(cmd,"cmd=","reg")) | ^~~~~~ ../peercast/core/common/servhs.cpp:743:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 743 | }else if (cmpCGIarg(cmd,"cmd=","reg")) | ^~~~~ ../peercast/core/common/servhs.cpp:749:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 749 | }else if (cmpCGIarg(cmd,"cmd=","edit_bcid")) | ^~~~~~ ../peercast/core/common/servhs.cpp:749:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 749 | }else if (cmpCGIarg(cmd,"cmd=","edit_bcid")) | ^~~~~~~~~~~ ../peercast/core/common/servhs.cpp:754:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 754 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:771:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 771 | }else if (cmpCGIarg(cmd,"cmd=","add_bcid")) | ^~~~~~ ../peercast/core/common/servhs.cpp:771:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 771 | }else if (cmpCGIarg(cmd,"cmd=","add_bcid")) | ^~~~~~~~~~ ../peercast/core/common/servhs.cpp:777:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 777 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:809:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 809 | }else if (cmpCGIarg(cmd,"cmd=","apply")) | ^~~~~~ ../peercast/core/common/servhs.cpp:809:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 809 | }else if (cmpCGIarg(cmd,"cmd=","apply")) | ^~~~~~~ ../peercast/core/common/servhs.cpp:824:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 824 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1031:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1031 | }else if (cmpCGIarg(cmd,"cmd=","fetch")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1031:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1031 | }else if (cmpCGIarg(cmd,"cmd=","fetch")) | ^~~~~~~ ../peercast/core/common/servhs.cpp:1038:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1038 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1080:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1080 | }else if (cmpCGIarg(cmd,"cmd=","stopserv")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1080:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1080 | }else if (cmpCGIarg(cmd,"cmd=","stopserv")) | ^~~~~~~~~~ ../peercast/core/common/servhs.cpp:1084:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1084 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1097:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1097 | }else if (cmpCGIarg(cmd,"cmd=","hitlist")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1097:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1097 | }else if (cmpCGIarg(cmd,"cmd=","hitlist")) | ^~~~~~~~~ ../peercast/core/common/servhs.cpp:1100:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1100 | bool stayConnected=hasCGIarg(cmd,"relay"); | ^~~~~~~ ../peercast/core/common/servhs.cpp:1110:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1110 | if (cmpCGIarg(cmd,tmp,"1")) | ^~~ ../peercast/core/common/servhs.cpp:1129:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1129 | if (hasCGIarg(cmd,"relay")) | ^~~~~~~ ../peercast/core/common/servhs.cpp:1127:17: warning: unused variable 'findArg' [-Wunused-variable] 1127 | const char *findArg = getCGIarg(cmd,"keywords="); | ^~~~~~~ ../peercast/core/common/servhs.cpp:1135:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1135 | }else if (cmpCGIarg(cmd,"cmd=","clear")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1135:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1135 | }else if (cmpCGIarg(cmd,"cmd=","clear")) | ^~~~~~~ ../peercast/core/common/servhs.cpp:1138:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1138 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1154:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1154 | }else if (cmpCGIarg(cmd,"cmd=","upgrade")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1154:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1154 | }else if (cmpCGIarg(cmd,"cmd=","upgrade")) | ^~~~~~~~~ ../peercast/core/common/servhs.cpp:1165:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1165 | }else if (cmpCGIarg(cmd,"cmd=","connect")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1165:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1165 | }else if (cmpCGIarg(cmd,"cmd=","connect")) | ^~~~~~~~~ ../peercast/core/common/servhs.cpp:1173:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1173 | if (cmpCGIarg(cmd,tmp,"1")) | ^~~ ../peercast/core/common/servhs.cpp:1175:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1175 | if (hasCGIarg(cmd,"stop")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1183:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1183 | }else if (cmpCGIarg(cmd,"cmd=","shutdown")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1183:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1183 | }else if (cmpCGIarg(cmd,"cmd=","shutdown")) | ^~~~~~~~~~ ../peercast/core/common/servhs.cpp:1187:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1187 | }else if (cmpCGIarg(cmd,"cmd=","stop")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1187:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1187 | }else if (cmpCGIarg(cmd,"cmd=","stop")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1191:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1191 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1205:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1205 | }else if (cmpCGIarg(cmd,"cmd=","bump")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1205:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1205 | }else if (cmpCGIarg(cmd,"cmd=","bump")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1209:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1209 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1222:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1222 | }else if (cmpCGIarg(cmd,"cmd=","keep")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1222:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1222 | }else if (cmpCGIarg(cmd,"cmd=","keep")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1226:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1226 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1248:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1248 | }else if (cmpCGIarg(cmd,"cmd=","relay")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1248:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1248 | }else if (cmpCGIarg(cmd,"cmd=","relay")) | ^~~~~~~ ../peercast/core/common/servhs.cpp:1252:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1252 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1279:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1279 | }else if (cmpCGIarg(cmd,"net=","add")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1279:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1279 | }else if (cmpCGIarg(cmd,"net=","add")) | ^~~~~ ../peercast/core/common/servhs.cpp:1284:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1284 | while (cmd=nextCGIarg(cmd,curr,arg)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1300:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1300 | }else if (cmpCGIarg(cmd,"cmd=","logout")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1300:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1300 | }else if (cmpCGIarg(cmd,"cmd=","logout")) | ^~~~~~~~ ../peercast/core/common/servhs.cpp:1302:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1302 | jumpArg = "/"; | ^~~ ../peercast/core/common/servhs.cpp:1305:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1305 | }else if (cmpCGIarg(cmd,"cmd=","login")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1305:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1305 | }else if (cmpCGIarg(cmd,"cmd=","login")) | ^~~~~~~ ../peercast/core/common/servhs.cpp:1323:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1323 | }else if (cmpCGIarg(cmd,"cmd=","setmeta")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1323:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1323 | }else if (cmpCGIarg(cmd,"cmd=","setmeta")) | ^~~~~~~~~ ../peercast/core/common/servhs.cpp:1326:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1326 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1340:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1340 | while (cmd=nextCGIarg(cmd,curr,arg)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1377:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1377 | jumpArg = "/"; | ^~~ In file included from ../peercast/core/common/servhs.cpp:29: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ ../peercast/core/common/servhs.cpp: In member function 'void Servent::handshakeCMD(char*)': ../peercast/core/common/servhs.cpp:1381:25: warning: '/index.html' directive writing 11 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1381 | sprintf(jumpStr,"/%s/index.html",servMgr->htmlPath); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 13 and 140 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1367:29: warning: '/relayinfo.html?id=' directive writing 19 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1367 | sprintf(jumpStr,"/%s/relayinfo.html?id=%s",servMgr->htmlPath,idstr); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 21 and 211 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1275:25: warning: '/relays.html' directive writing 12 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1275 | sprintf(jumpStr,"/%s/relays.html",servMgr->htmlPath); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 141 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1245:25: warning: '/relays.html' directive writing 12 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1245 | sprintf(jumpStr,"/%s/relays.html",servMgr->htmlPath); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 141 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1219:25: warning: '/relays.html' directive writing 12 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1219 | sprintf(jumpStr,"/%s/relays.html",servMgr->htmlPath); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 141 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1202:25: warning: '/relays.html' directive writing 12 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1202 | sprintf(jumpStr,"/%s/relays.html",servMgr->htmlPath); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 141 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1180:25: warning: '/connections.html' directive writing 17 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1180 | sprintf(jumpStr,"/%s/connections.html",servMgr->htmlPath); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 19 and 146 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1158:47: warning: '%s' directive writing up to 127 bytes into a region of size 104 [-Wformat-overflow=] 1158 | sprintf(jumpStr,"/admin?cmd=redirect&url=%s",servMgr->downloadURL); | ^~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 25 and 152 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1151:25: warning: '/index.html' directive writing 11 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1151 | sprintf(jumpStr,"/%s/index.html",servMgr->htmlPath); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 13 and 140 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1132:26: warning: '/relays.html' directive writing 12 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1132 | sprintf(jumpStr,"/%s/relays.html",servMgr->htmlPath); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 141 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1093:25: warning: '/connections.html' directive writing 17 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1093 | sprintf(jumpStr,"/%s/connections.html",servMgr->htmlPath); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 19 and 146 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1077:25: warning: '/relays.html' directive writing 12 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1077 | sprintf(jumpStr,"/%s/relays.html",servMgr->htmlPath); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 141 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1016:26: warning: '/settings.html' directive writing 14 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1016 | sprintf(jumpStr,"/%s/settings.html",servMgr->htmlPath); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 16 and 143 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:994:33: warning: '%s' directive writing up to 127 bytes into a region of size between 57 and 120 [-Wformat-overflow=] 994 | sprintf(jumpStr,"http://%s/%s/settings.html",ipstr,servMgr->htmlPath); | ^~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 23 and 213 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:804:26: warning: '/bcid.html' directive writing 10 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 804 | sprintf(jumpStr,"/%s/bcid.html",servMgr->htmlPath); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 12 and 139 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:768:25: warning: '/bcid.html' directive writing 10 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 768 | sprintf(jumpStr,"/%s/bcid.html",servMgr->htmlPath); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 12 and 139 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:747:59: warning: '%s' directive writing up to 127 bytes into a region of size 91 [-Wformat-overflow=] 747 | sprintf(jumpStr,"http://www.peercast.org/register/?id=%s",idstr); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 38 and 165 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:741:25: warning: '/settings.html' directive writing 14 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 741 | sprintf(jumpStr,"/%s/settings.html",servMgr->htmlPath); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 16 and 143 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:733:25: warning: '/viewlog.html' directive writing 13 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 733 | sprintf(jumpStr,"/%s/viewlog.html",servMgr->htmlPath); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 15 and 142 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o jis.lo `test -f '../peercast/core/common/jis.cpp' || echo './'`../peercast/core/common/jis.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/jis.cpp -fPIC -DPIC -o .libs/jis.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o mms.lo `test -f '../peercast/core/common/mms.cpp' || echo './'`../peercast/core/common/mms.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/mms.cpp -fPIC -DPIC -o .libs/mms.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/mms.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/mms.cpp:19: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/mms.cpp:19: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/mms.cpp:19: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/mms.cpp: In function 'ASFInfo parseASFHeader(Stream&)': ../peercast/core/common/mms.cpp:139:19: warning: unused variable 'dpHi' [-Wunused-variable] 139 | unsigned int dpHi = data.readLong(); | ^~~~ ../peercast/core/common/mms.cpp:132:11: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 132 | switch (obj.type) | ^ ../peercast/core/common/mms.cpp:132:11: warning: enumeration value 'T_HEAD_OBJECT' not handled in switch [-Wswitch] ../peercast/core/common/mms.cpp:132:11: warning: enumeration value 'T_DATA_OBJECT' not handled in switch [-Wswitch] In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/mms.cpp:19: ../peercast/core/common/gnutella.h: At global scope: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o pcp.lo `test -f '../peercast/core/common/pcp.cpp' || echo './'`../peercast/core/common/pcp.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/pcp.cpp -fPIC -DPIC -o .libs/pcp.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/atom.h:22, from ../peercast/core/common/pcp.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/pcp.cpp:19: ../peercast/core/common/atom.h: In constructor 'AtomStream::AtomStream(Stream&)': ../peercast/core/common/atom.h:205:10: warning: 'AtomStream::io' will be initialized after [-Wreorder] 205 | Stream &io; | ^~ ../peercast/core/common/atom.h:204:6: warning: 'int AtomStream::numChildren' [-Wreorder] 204 | int numChildren,numData; | ^~~~~~~~~~~ ../peercast/core/common/atom.h:30:2: warning: when initialized here [-Wreorder] 30 | AtomStream(Stream &s) : io(s),numChildren(0),numData(0) | ^~~~~~~~~~ In file included from ../peercast/core/common/pcp.h:26, from ../peercast/core/common/pcp.cpp:20: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/pcp.cpp:21: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/pcp.cpp:21: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/pcp.cpp:21: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ ../peercast/core/common/pcp.cpp: In member function 'void PCPStream::readPushAtoms(AtomStream&, int, BroadcastState&)': ../peercast/core/common/pcp.cpp:204:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 204 | if (ch->isBroadcasting() || !ch->isFull() && !servMgr->relaysFull() && ch->info.id.isSame(chanID)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/pcp.cpp: In member function 'void PCPStream::readHostAtoms(AtomStream&, int, BroadcastState&)': ../peercast/core/common/pcp.cpp:386:7: warning: unused variable 'busy' [-Wunused-variable] 386 | bool busy=false; | ^~~~ In file included from ../peercast/core/common/pcp.cpp:22: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:36:20: warning: 'PCX_AGENT' defined but not used [-Wunused-variable] 36 | static const char *PCX_AGENT = "PeerCast/0.1217"; | ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/pcp.cpp:21: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/pcp.cpp:21: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o url.lo `test -f '../peercast/core/common/url.cpp' || echo './'`../peercast/core/common/url.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/url.cpp -fPIC -DPIC -o .libs/url.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/url.h:22, from ../peercast/core/common/url.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/url.h:22, from ../peercast/core/common/url.cpp:19: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/url.h:22, from ../peercast/core/common/url.cpp:19: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/url.h:22, from ../peercast/core/common/url.cpp:19: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/url.cpp:23: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ ../peercast/core/common/url.cpp: In member function 'String URLSource::streamURL(Channel*, const char*)': ../peercast/core/common/url.cpp:216:12: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 216 | delete inputSocket; | ^~~~~~~~~~~ ../peercast/core/common/url.cpp:166:11: warning: variable 'name' set but not used [-Wunused-but-set-variable] 166 | String name = ch->info.name; | ^~~~ ../peercast/core/common/url.cpp:278:11: warning: deleting object of abstract class type 'Stream' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 278 | delete inputStream; | ^~~~~~~~~~~ ../peercast/core/common/url.cpp:336:10: warning: deleting object of abstract class type 'Stream' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 336 | delete inputStream; | ^~~~~~~~~~~ ../peercast/core/common/url.cpp:341:10: warning: deleting object of abstract class type 'ChannelStream' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 341 | delete source; | ^~~~~~ In file included from ../peercast/core/common/url.cpp:25: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/url.cpp:21: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/url.h:22, from ../peercast/core/common/url.cpp:19: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o channel.lo `test -f '../peercast/core/common/channel.cpp' || echo './'`../peercast/core/common/channel.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/channel.cpp -fPIC -DPIC -o .libs/channel.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition ../peercast/core/common/channel.cpp:1250:22: warning: multi-character character constant [-Wmultichar] 1250 | if (in.readTag() != 'PCST') | ^~~~~~ ../peercast/core/common/channel.cpp:1385:21: warning: multi-character character constant [-Wmultichar] 1385 | case T_HEAD: tp = 'HEAD'; break; | ^~~~~~ ../peercast/core/common/channel.cpp:1386:21: warning: multi-character character constant [-Wmultichar] 1386 | case T_META: tp = 'META'; break; | ^~~~~~ ../peercast/core/common/channel.cpp:1387:21: warning: multi-character character constant [-Wmultichar] 1387 | case T_DATA: tp = 'DATA'; break; | ^~~~~~ ../peercast/core/common/channel.cpp:1405:8: warning: multi-character character constant [-Wmultichar] 1405 | case 'HEAD': type = T_HEAD; break; | ^~~~~~ ../peercast/core/common/channel.cpp:1406:8: warning: multi-character character constant [-Wmultichar] 1406 | case 'DATA': type = T_DATA; break; | ^~~~~~ ../peercast/core/common/channel.cpp:1407:8: warning: multi-character character constant [-Wmultichar] 1407 | case 'META': type = T_META; break; | ^~~~~~ In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/channel.cpp:26: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/channel.cpp:27: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/channel.cpp:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/channel.cpp:27: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/channel.cpp:30: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from ../peercast/core/common/channel.cpp:35: ../peercast/core/common/atom.h: In constructor 'AtomStream::AtomStream(Stream&)': ../peercast/core/common/atom.h:205:10: warning: 'AtomStream::io' will be initialized after [-Wreorder] 205 | Stream &io; | ^~ ../peercast/core/common/atom.h:204:6: warning: 'int AtomStream::numChildren' [-Wreorder] 204 | int numChildren,numData; | ^~~~~~~~~~~ ../peercast/core/common/atom.h:30:2: warning: when initialized here [-Wreorder] 30 | AtomStream(Stream &s) : io(s),numChildren(0),numData(0) | ^~~~~~~~~~ In file included from ../peercast/core/common/channel.cpp:39: ../peercast/core/common/ogg.h: In constructor 'OggSubStream::OggSubStream()': ../peercast/core/common/ogg.h:86:15: warning: 'OggSubStream::serialNo' will be initialized after [-Wreorder] 86 | unsigned int serialNo; | ^~~~~~~~ ../peercast/core/common/ogg.h:82:6: warning: 'int OggSubStream::bitrate' [-Wreorder] 82 | int bitrate; | ^~~~~~~ ../peercast/core/common/ogg.h:51:2: warning: when initialized here [-Wreorder] 51 | OggSubStream() | ^~~~~~~~~~~~ ../peercast/core/common/channel.cpp: At global scope: ../peercast/core/common/channel.cpp:51:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | "NONE", | ^~~~~~ ../peercast/core/common/channel.cpp:52:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | "PEERCAST", | ^~~~~~~~~~ ../peercast/core/common/channel.cpp:53:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | "SHOUTCAST", | ^~~~~~~~~~~ ../peercast/core/common/channel.cpp:54:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | "ICECAST", | ^~~~~~~~~ ../peercast/core/common/channel.cpp:55:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | "URL" | ^~~~~ ../peercast/core/common/channel.cpp:60:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | "NONE", | ^~~~~~ ../peercast/core/common/channel.cpp:61:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | "WAIT", | ^~~~~~ ../peercast/core/common/channel.cpp:62:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | "CONNECT", | ^~~~~~~~~ ../peercast/core/common/channel.cpp:63:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | "REQUEST", | ^~~~~~~~~ ../peercast/core/common/channel.cpp:64:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | "CLOSE", | ^~~~~~~ ../peercast/core/common/channel.cpp:65:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | "RECEIVE", | ^~~~~~~~~ ../peercast/core/common/channel.cpp:66:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | "BROADCAST", | ^~~~~~~~~~~ ../peercast/core/common/channel.cpp:67:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | "ABORT", | ^~~~~~~ ../peercast/core/common/channel.cpp:68:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | "SEARCH", | ^~~~~~~~ ../peercast/core/common/channel.cpp:69:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | "NOHOSTS", | ^~~~~~~~~ ../peercast/core/common/channel.cpp:70:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | "IDLE", | ^~~~~~ ../peercast/core/common/channel.cpp:71:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | "ERROR", | ^~~~~~~ ../peercast/core/common/channel.cpp:72:2: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | "NOTFOUND" | ^~~~~~~~~~ ../peercast/core/common/channel.cpp: In member function 'void Channel::endThread()': ../peercast/core/common/channel.cpp:103:10: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 103 | delete pushSock; | ^~~~~~~~ ../peercast/core/common/channel.cpp:115:3: warning: statement has no effect [-Wunused-value] 115 | sourceData; | ^~~~~~~~~~ ../peercast/core/common/channel.cpp: In member function 'virtual void PeercastSource::stream(Channel*)': ../peercast/core/common/channel.cpp:591:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 591 | char *type = ""; | ^~ ../peercast/core/common/channel.cpp:593:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 593 | type = "(tracker)"; | ^~~~~~~~~~~ ../peercast/core/common/channel.cpp:595:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 595 | type = "(YP)"; | ^~~~~~ ../peercast/core/common/channel.cpp:676:12: warning: deleting object of abstract class type 'ChannelStream' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 676 | delete cs; | ^~ ../peercast/core/common/channel.cpp:682:16: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 682 | delete ch->sock; | ^~~~ ../peercast/core/common/channel.cpp:582:9: warning: unused variable 'isTrusted' [-Wunused-variable] 582 | bool isTrusted = ch->sourceHost.tracker | ch->sourceHost.yp; | ^~~~~~~~~ ../peercast/core/common/channel.cpp: In member function 'virtual int PeercastStream::readPacket(Stream&, Channel*)': ../peercast/core/common/channel.cpp:1270:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 1270 | switch(pack.type) | ^ ../peercast/core/common/channel.cpp:1270:9: warning: enumeration value 'T_PCP' not handled in switch [-Wswitch] ../peercast/core/common/channel.cpp:1270:9: warning: enumeration value 'T_ALL' not handled in switch [-Wswitch] ../peercast/core/common/channel.cpp: In member function 'void ChanPacket::writePeercast(Stream&)': ../peercast/core/common/channel.cpp:1383:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 1383 | switch (type) | ^ ../peercast/core/common/channel.cpp:1383:9: warning: enumeration value 'T_PCP' not handled in switch [-Wswitch] ../peercast/core/common/channel.cpp:1383:9: warning: enumeration value 'T_ALL' not handled in switch [-Wswitch] ../peercast/core/common/channel.cpp: In member function 'int ChanMgr::pickHits(ChanHitSearch&)': ../peercast/core/common/channel.cpp:2243:15: warning: statement has no effect [-Wunused-value] 2243 | chl->info.id; | ~~~~~~~~~~^~ ../peercast/core/common/channel.cpp: In member function 'int ChanHitList::clearDeadHits(unsigned int, bool)': ../peercast/core/common/channel.cpp:2865:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2865 | continue; | ^ ../peercast/core/common/channel.cpp: At global scope: ../peercast/core/common/channel.cpp:737:13: warning: 'void copyStr(char*, char*, int)' defined but not used [-Wunused-function] 737 | static void copyStr(char *to,char *from,int max) | ^~~~~~~ In file included from ../peercast/core/common/channel.cpp:46: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:36:20: warning: 'PCX_AGENT' defined but not used [-Wunused-variable] 36 | static const char *PCX_AGENT = "PeerCast/0.1217"; | ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/channel.cpp:29: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/channel.cpp:27: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ ../peercast/core/common/channel.cpp: In member function 'void PlayList::addChannel(const char*, ChanInfo&)': ../peercast/core/common/channel.cpp:3816:21: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 3816 | | ^ In file included from /usr/include/stdio.h:867, from ../peercast/core/common/common.h:22, from ../peercast/core/common/channel.cpp:25: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 264) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o libpeercast.la -rpath /usr/lib -static usys.lo usocket.lo socket.lo servent.lo servhs.lo servmgr.lo xml.lo stream.lo sys.lo gnutella.lo html.lo channel.lo http.lo inifile.lo peercast.lo stats.lo mms.lo mp3.lo nsv.lo ogg.lo url.lo icy.lo pcp.lo jis.lo ar cru .libs/libpeercast.a .libs/usys.o .libs/usocket.o .libs/socket.o .libs/servent.o .libs/servhs.o .libs/servmgr.o .libs/xml.o .libs/stream.o .libs/sys.o .libs/gnutella.o .libs/html.o .libs/channel.o .libs/http.o .libs/inifile.o .libs/peercast.o .libs/stats.o .libs/mms.o .libs/mp3.o .libs/nsv.o .libs/ogg.o .libs/url.o .libs/icy.o .libs/pcp.o .libs/jis.o ranlib .libs/libpeercast.a creating libpeercast.la (cd .libs && rm -f libpeercast.la && ln -s ../libpeercast.la libpeercast.la) make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o connection-list.o `test -f 'connection-list.cpp' || echo './'`connection-list.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from connection-list.cpp:36: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from connection-list.cpp:36: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from connection-list.cpp:36: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 59 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 60 | void (*__gtk_reserved2); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] 61 | void (*__gtk_reserved3); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] 62 | void (*__gtk_reserved4); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] 63 | void (*__gtk_reserved5); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] 64 | void (*__gtk_reserved6); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] 65 | void (*__gtk_reserved7); | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from connection-list.cpp:36: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from utils.h:31, from connection-list.cpp:36: /usr/include/glib-2.0/glib/gtypes.h:549:26: note: declared here 549 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from connection-list.cpp:36: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 76 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 77 | void (*__gtk_reserved2); | ^ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5, from connection-list.h:30, from connection-list.cpp:37: /usr/include/libgnome-2.0/libgnome/gnome-program.h:246:61: warning: 'GParameter' is deprecated [-Wdeprecated-declarations] 246 | guint nparams, GParameter *params); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from connection-list.cpp:36: /usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here 194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from connection-list.cpp:38: /usr/include/gconf/2/gconf/gconf-value.h:139:10: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 139 | GTime mod_time; /* time of the modification */ | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:43, from utils.h:31, from connection-list.cpp:36: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from connection-list.cpp:38: /usr/include/gconf/2/gconf/gconf-value.h:144:62: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 144 | GTime gconf_meta_info_mod_time (GConfMetaInfo *gcmi); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from utils.h:31, from connection-list.cpp:36: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from connection-list.cpp:38: /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from utils.h:31, from connection-list.cpp:36: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ connection-list.cpp: In constructor 'ConnectionList::ConnectionList(GtkWidget*)': connection-list.cpp:213:14: warning: variable 'timeout_source' set but not used [-Wunused-but-set-variable] 213 | static gint timeout_source = 1; | ^~~~~~~~~~~~~~ In file included from gnome-peercast.h:31, from connection-list.cpp:38: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:36:20: warning: 'PCX_AGENT' defined but not used [-Wunused-variable] 36 | static const char *PCX_AGENT = "PeerCast/0.1217"; | ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o utils.o `test -f 'utils.cpp' || echo './'`utils.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from utils.cpp:29: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libgnomeui-2.0/gnome.h:4, from utils.cpp:32: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from utils.cpp:32: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libgnomeui-2.0/gnome.h:4, from utils.cpp:32: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 59 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 60 | void (*__gtk_reserved2); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] 61 | void (*__gtk_reserved3); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] 62 | void (*__gtk_reserved4); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] 63 | void (*__gtk_reserved5); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] 64 | void (*__gtk_reserved6); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] 65 | void (*__gtk_reserved7); | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from /usr/include/libgnomeui-2.0/gnome.h:4, from utils.cpp:32: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from utils.cpp:32: /usr/include/glib-2.0/glib/gtypes.h:549:26: note: declared here 549 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libgnomeui-2.0/gnome.h:4, from utils.cpp:32: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 76 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 77 | void (*__gtk_reserved2); | ^ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5, from utils.cpp:32: /usr/include/libgnome-2.0/libgnome/gnome-program.h:246:61: warning: 'GParameter' is deprecated [-Wdeprecated-declarations] 246 | guint nparams, GParameter *params); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from utils.cpp:32: /usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here 194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from utils.cpp:36: /usr/include/gconf/2/gconf/gconf-value.h:139:10: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 139 | GTime mod_time; /* time of the modification */ | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from utils.cpp:32: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from utils.cpp:36: /usr/include/gconf/2/gconf/gconf-value.h:144:62: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 144 | GTime gconf_meta_info_mod_time (GConfMetaInfo *gcmi); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from utils.cpp:32: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from utils.cpp:36: /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from utils.cpp:32: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from gnome-peercast.h:31, from utils.cpp:36: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:36:20: warning: 'PCX_AGENT' defined but not used [-Wunused-variable] 36 | static const char *PCX_AGENT = "PeerCast/0.1217"; | ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o gnome-peercast.o `test -f 'gnome-peercast.cpp' || echo './'`gnome-peercast.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from gnome-peercast.cpp:31: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from gnome-peercast.cpp:31: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from gnome-peercast.cpp:31: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from gnome-peercast.cpp:31: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from gnome-peercast.cpp:33: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.cpp:41: /usr/include/gconf/2/gconf/gconf-value.h: At global scope: /usr/include/gconf/2/gconf/gconf-value.h:139:10: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 139 | GTime mod_time; /* time of the modification */ | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gnome-peercast.cpp:41: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.cpp:41: /usr/include/gconf/2/gconf/gconf-value.h:144:62: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 144 | GTime gconf_meta_info_mod_time (GConfMetaInfo *gcmi); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gnome-peercast.cpp:41: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.cpp:41: /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gnome-peercast.cpp:41: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from gnome-peercast.cpp:43: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gnome-peercast.cpp:41: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from gnome-peercast.cpp:43: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 59 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 60 | void (*__gtk_reserved2); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] 61 | void (*__gtk_reserved3); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] 62 | void (*__gtk_reserved4); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] 63 | void (*__gtk_reserved5); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] 64 | void (*__gtk_reserved6); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] 65 | void (*__gtk_reserved7); | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from gnome-peercast.cpp:43: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gnome-peercast.cpp:41: /usr/include/glib-2.0/glib/gtypes.h:549:26: note: declared here 549 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from gnome-peercast.cpp:43: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 76 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 77 | void (*__gtk_reserved2); | ^ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5, from callbacks.h:5, from gnome-peercast.cpp:44: /usr/include/libgnome-2.0/libgnome/gnome-program.h:246:61: warning: 'GParameter' is deprecated [-Wdeprecated-declarations] 246 | guint nparams, GParameter *params); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gnome-peercast.cpp:41: /usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here 194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ gnome-peercast.cpp: In member function 'void GnomePeercastApp::infoInit()': gnome-peercast.cpp:277:14: warning: variable 'timeout_source' set but not used [-Wunused-but-set-variable] 277 | static gint timeout_source = 1; | ^~~~~~~~~~~~~~ gnome-peercast.cpp: In member function 'virtual void GnomePeercastApp::printLog(LogBuffer::TYPE, const char*)': gnome-peercast.cpp:402:20: warning: 'GThread* g_thread_create(GThreadFunc, gpointer, gboolean, GError**)' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 402 | ls, FALSE, &e); | ^ In file included from /usr/include/glib-2.0/glib.h:110, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gnome-peercast.cpp:41: /usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here 100 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ gnome-peercast.cpp:402:20: warning: 'GThread* g_thread_create(GThreadFunc, gpointer, gboolean, GError**)' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 402 | ls, FALSE, &e); | ^ In file included from /usr/include/glib-2.0/glib.h:110, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gnome-peercast.cpp:41: /usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here 100 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ gnome-peercast.cpp:393:10: warning: unused variable 'logstr' [-Wunused-variable] 393 | gchar * logstr; | ^~~~~~ gnome-peercast.cpp:395:11: warning: variable 'thread' set but not used [-Wunused-but-set-variable] 395 | GThread *thread; | ^~~~~~ In file included from gnome-peercast.h:31, from callbacks.h:6, from gnome-peercast.cpp:44: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:36:20: warning: 'PCX_AGENT' defined but not used [-Wunused-variable] 36 | static const char *PCX_AGENT = "PeerCast/0.1217"; | ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from gnome-peercast.cpp:32: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24, from gnome-peercast.cpp:31: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o chaninfo-dialog.o `test -f 'chaninfo-dialog.cpp' || echo './'`chaninfo-dialog.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from chaninfo-dialog.cpp:29: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libgnomeui-2.0/gnome.h:4, from chaninfo-dialog.cpp:32: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from chaninfo-dialog.cpp:32: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libgnomeui-2.0/gnome.h:4, from chaninfo-dialog.cpp:32: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 59 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 60 | void (*__gtk_reserved2); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] 61 | void (*__gtk_reserved3); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] 62 | void (*__gtk_reserved4); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] 63 | void (*__gtk_reserved5); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] 64 | void (*__gtk_reserved6); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] 65 | void (*__gtk_reserved7); | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from /usr/include/libgnomeui-2.0/gnome.h:4, from chaninfo-dialog.cpp:32: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from chaninfo-dialog.cpp:32: /usr/include/glib-2.0/glib/gtypes.h:549:26: note: declared here 549 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libgnomeui-2.0/gnome.h:4, from chaninfo-dialog.cpp:32: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 76 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 77 | void (*__gtk_reserved2); | ^ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5, from chaninfo-dialog.cpp:32: /usr/include/libgnome-2.0/libgnome/gnome-program.h:246:61: warning: 'GParameter' is deprecated [-Wdeprecated-declarations] 246 | guint nparams, GParameter *params); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from chaninfo-dialog.cpp:32: /usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here 194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from chaninfo-dialog.cpp:37: /usr/include/gconf/2/gconf/gconf-value.h:139:10: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 139 | GTime mod_time; /* time of the modification */ | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from chaninfo-dialog.cpp:32: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from chaninfo-dialog.cpp:37: /usr/include/gconf/2/gconf/gconf-value.h:144:62: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 144 | GTime gconf_meta_info_mod_time (GConfMetaInfo *gcmi); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from chaninfo-dialog.cpp:32: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from chaninfo-dialog.cpp:37: /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from chaninfo-dialog.cpp:32: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ chaninfo-dialog.cpp:82:1: warning: 'gboolean update_hit_list(gpointer)' defined but not used [-Wunused-function] 82 | update_hit_list (gpointer data) | ^~~~~~~~~~~~~~~ chaninfo-dialog.cpp:72:1: warning: 'gboolean update_info(gpointer)' defined but not used [-Wunused-function] 72 | update_info (gpointer data) | ^~~~~~~~~~~ In file included from gnome-peercast.h:31, from chaninfo-dialog.cpp:37: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:36:20: warning: 'PCX_AGENT' defined but not used [-Wunused-variable] 36 | static const char *PCX_AGENT = "PeerCast/0.1217"; | ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o broadcast-dialog.o `test -f 'broadcast-dialog.cpp' || echo './'`broadcast-dialog.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from broadcast-dialog.cpp:29: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from broadcast-dialog.cpp:31: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from broadcast-dialog.cpp:31: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from broadcast-dialog.cpp:31: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 59 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 60 | void (*__gtk_reserved2); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] 61 | void (*__gtk_reserved3); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] 62 | void (*__gtk_reserved4); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] 63 | void (*__gtk_reserved5); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] 64 | void (*__gtk_reserved6); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] 65 | void (*__gtk_reserved7); | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from broadcast-dialog.cpp:31: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from utils.h:31, from broadcast-dialog.cpp:31: /usr/include/glib-2.0/glib/gtypes.h:549:26: note: declared here 549 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from broadcast-dialog.cpp:31: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 76 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 77 | void (*__gtk_reserved2); | ^ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5, from broadcast-dialog.h:28, from broadcast-dialog.cpp:32: /usr/include/libgnome-2.0/libgnome/gnome-program.h:246:61: warning: 'GParameter' is deprecated [-Wdeprecated-declarations] 246 | guint nparams, GParameter *params); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from broadcast-dialog.cpp:31: /usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here 194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:69:20: warning: 'PCX_OS_LINUX' defined but not used [-Wunused-variable] 69 | static const char *PCX_OS_LINUX = "Linux"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from main.cpp:31: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from main.cpp:31: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from main.cpp:31: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from main.cpp:31: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from main.cpp:33: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libgnomeui-2.0/gnome.h:4, from main.cpp:41: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from main.cpp:41: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libgnomeui-2.0/gnome.h:4, from main.cpp:41: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 59 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 60 | void (*__gtk_reserved2); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] 61 | void (*__gtk_reserved3); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] 62 | void (*__gtk_reserved4); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] 63 | void (*__gtk_reserved5); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] 64 | void (*__gtk_reserved6); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] 65 | void (*__gtk_reserved7); | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from /usr/include/libgnomeui-2.0/gnome.h:4, from main.cpp:41: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from main.cpp:41: /usr/include/glib-2.0/glib/gtypes.h:549:26: note: declared here 549 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libgnomeui-2.0/gnome.h:4, from main.cpp:41: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 76 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 77 | void (*__gtk_reserved2); | ^ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5, from main.cpp:41: /usr/include/libgnome-2.0/libgnome/gnome-program.h:246:61: warning: 'GParameter' is deprecated [-Wdeprecated-declarations] 246 | guint nparams, GParameter *params); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from main.cpp:41: /usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here 194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from main.cpp:43: /usr/include/gconf/2/gconf/gconf-value.h:139:10: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 139 | GTime mod_time; /* time of the modification */ | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from main.cpp:41: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from main.cpp:43: /usr/include/gconf/2/gconf/gconf-value.h:144:62: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 144 | GTime gconf_meta_info_mod_time (GConfMetaInfo *gcmi); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from main.cpp:41: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from main.cpp:43: /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from main.cpp:41: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ main.cpp: In function 'int main(gint, gchar**)': main.cpp:109:16: warning: variable 'program' set but not used [-Wunused-but-set-variable] 109 | GnomeProgram *program; | ^~~~~~~ main.cpp:114:16: warning: unused variable 'sarray' [-Wunused-variable] 114 | const gchar **sarray = NULL; | ^~~~~~ In file included from gnome-peercast.h:31, from callbacks.h:6, from main.cpp:48: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:36:20: warning: 'PCX_AGENT' defined but not used [-Wunused-variable] 36 | static const char *PCX_AGENT = "PeerCast/0.1217"; | ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from main.cpp:32: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24, from main.cpp:31: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o eggtrayicon.o `test -f 'eggtrayicon.cpp' || echo './'`eggtrayicon.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtksocket.h:33, from /usr/include/gtk-2.0/gtk/gtkplug.h:34, from eggtrayicon.h:24, from eggtrayicon.cpp:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtkwidget.h:34, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtksocket.h:33, from /usr/include/gtk-2.0/gtk/gtkplug.h:34, from eggtrayicon.h:24, from eggtrayicon.cpp:24: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ eggtrayicon.cpp: In function 'GdkFilterReturn egg_tray_icon_manager_filter(GdkXEvent*, GdkEvent*, gpointer)': eggtrayicon.cpp:212:30: warning: comparison of integer expressions of different signedness: 'long int' and 'Atom' {aka 'long unsigned int'} [-Wsign-compare] 212 | xev->xclient.data.l[1] == icon->selection_atom) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o channel-list.o `test -f 'channel-list.cpp' || echo './'`channel-list.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from channel-list.cpp:38: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from channel-list.cpp:38: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from channel-list.cpp:38: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 59 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 60 | void (*__gtk_reserved2); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] 61 | void (*__gtk_reserved3); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] 62 | void (*__gtk_reserved4); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] 63 | void (*__gtk_reserved5); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] 64 | void (*__gtk_reserved6); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] 65 | void (*__gtk_reserved7); | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from channel-list.cpp:38: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from utils.h:31, from channel-list.cpp:38: /usr/include/glib-2.0/glib/gtypes.h:549:26: note: declared here 549 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from channel-list.cpp:38: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 76 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 77 | void (*__gtk_reserved2); | ^ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5, from callbacks.h:5, from channel-list.cpp:39: /usr/include/libgnome-2.0/libgnome/gnome-program.h:246:61: warning: 'GParameter' is deprecated [-Wdeprecated-declarations] 246 | guint nparams, GParameter *params); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from channel-list.cpp:38: /usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here 194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from callbacks.h:6, from channel-list.cpp:39: /usr/include/gconf/2/gconf/gconf-value.h:139:10: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 139 | GTime mod_time; /* time of the modification */ | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:43, from utils.h:31, from channel-list.cpp:38: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from callbacks.h:6, from channel-list.cpp:39: /usr/include/gconf/2/gconf/gconf-value.h:144:62: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 144 | GTime gconf_meta_info_mod_time (GConfMetaInfo *gcmi); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from utils.h:31, from channel-list.cpp:38: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from callbacks.h:6, from channel-list.cpp:39: /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from utils.h:31, from channel-list.cpp:38: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ channel-list.cpp: In constructor 'ChannelList::ChannelList(GtkWidget*, GtkWindow*)': channel-list.cpp:466:14: warning: variable 'timeout_source' set but not used [-Wunused-but-set-variable] 466 | static gint timeout_source = 1; | ^~~~~~~~~~~~~~ channel-list.cpp: In member function 'void ChannelList::infoSelected()': channel-list.cpp:612:18: warning: variable 'cd' set but not used [-Wunused-but-set-variable] 612 | ChaninfoDialog *cd; | ^~ In file included from gnome-peercast.h:31, from callbacks.h:6, from channel-list.cpp:39: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:36:20: warning: 'PCX_AGENT' defined but not used [-Wunused-variable] 36 | static const char *PCX_AGENT = "PeerCast/0.1217"; | ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o logview.o `test -f 'logview.cpp' || echo './'`logview.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 59 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 60 | void (*__gtk_reserved2); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] 61 | void (*__gtk_reserved3); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] 62 | void (*__gtk_reserved4); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] 63 | void (*__gtk_reserved5); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] 64 | void (*__gtk_reserved6); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] 65 | void (*__gtk_reserved7); | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/glib-2.0/glib/gtypes.h:549:26: note: declared here 549 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 76 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 77 | void (*__gtk_reserved2); | ^ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/libgnome-2.0/libgnome/gnome-program.h:246:61: warning: 'GParameter' is deprecated [-Wdeprecated-declarations] 246 | guint nparams, GParameter *params); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here 194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from logview.cpp:30: /usr/include/gconf/2/gconf/gconf-value.h:139:10: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 139 | GTime mod_time; /* time of the modification */ | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from logview.cpp:30: /usr/include/gconf/2/gconf/gconf-value.h:144:62: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 144 | GTime gconf_meta_info_mod_time (GConfMetaInfo *gcmi); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from logview.cpp:30: /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/http.h: At global scope: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ In file included from gnome-peercast.h:31, from logview.cpp:30: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:36:20: warning: 'PCX_AGENT' defined but not used [-Wunused-variable] 36 | static const char *PCX_AGENT = "PeerCast/0.1217"; | ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o callbacks.o `test -f 'callbacks.cpp' || echo './'`callbacks.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 59 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 60 | void (*__gtk_reserved2); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] 61 | void (*__gtk_reserved3); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] 62 | void (*__gtk_reserved4); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] 63 | void (*__gtk_reserved5); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] 64 | void (*__gtk_reserved6); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] 65 | void (*__gtk_reserved7); | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/glib-2.0/glib/gtypes.h:549:26: note: declared here 549 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 76 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 77 | void (*__gtk_reserved2); | ^ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/libgnome-2.0/libgnome/gnome-program.h:246:61: warning: 'GParameter' is deprecated [-Wdeprecated-declarations] 246 | guint nparams, GParameter *params); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here 194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from callbacks.cpp:30: /usr/include/gconf/2/gconf/gconf-value.h:139:10: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 139 | GTime mod_time; /* time of the modification */ | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from callbacks.cpp:30: /usr/include/gconf/2/gconf/gconf-value.h:144:62: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 144 | GTime gconf_meta_info_mod_time (GConfMetaInfo *gcmi); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from callbacks.cpp:30: /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ callbacks.cpp: In function 'void menu_new_cb(GtkMenuItem*, gpointer)': callbacks.cpp:54:20: warning: variable 'bd' set but not used [-Wunused-but-set-variable] 54 | BroadcastDialog * bd; | ^~ callbacks.cpp: In function 'void menu_pref_cb(GtkToolButton*, gpointer)': callbacks.cpp:101:17: warning: variable 'sd' set but not used [-Wunused-but-set-variable] 101 | SettingDialog *sd; | ^~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/http.h: At global scope: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ In file included from gnome-peercast.h:31, from callbacks.cpp:30: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:36:20: warning: 'PCX_AGENT' defined but not used [-Wunused-variable] 36 | static const char *PCX_AGENT = "PeerCast/0.1217"; | ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o trayicon.o `test -f 'trayicon.cpp' || echo './'`trayicon.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from trayicon.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from trayicon.cpp:29: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from trayicon.cpp:29: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from trayicon.cpp:29: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from utils.h:28, from trayicon.cpp:31: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from trayicon.cpp:31: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from trayicon.cpp:31: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from trayicon.cpp:31: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 59 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 60 | void (*__gtk_reserved2); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] 61 | void (*__gtk_reserved3); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] 62 | void (*__gtk_reserved4); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] 63 | void (*__gtk_reserved5); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] 64 | void (*__gtk_reserved6); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] 65 | void (*__gtk_reserved7); | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from trayicon.cpp:31: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from utils.h:31, from trayicon.cpp:31: /usr/include/glib-2.0/glib/gtypes.h:549:26: note: declared here 549 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from trayicon.cpp:31: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 76 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 77 | void (*__gtk_reserved2); | ^ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5, from callbacks.h:5, from trayicon.cpp:32: /usr/include/libgnome-2.0/libgnome/gnome-program.h:246:61: warning: 'GParameter' is deprecated [-Wdeprecated-declarations] 246 | guint nparams, GParameter *params); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from trayicon.cpp:31: /usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here 194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from callbacks.h:6, from trayicon.cpp:32: /usr/include/gconf/2/gconf/gconf-value.h:139:10: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 139 | GTime mod_time; /* time of the modification */ | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:43, from utils.h:31, from trayicon.cpp:31: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from callbacks.h:6, from trayicon.cpp:32: /usr/include/gconf/2/gconf/gconf-value.h:144:62: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 144 | GTime gconf_meta_info_mod_time (GConfMetaInfo *gcmi); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from utils.h:31, from trayicon.cpp:31: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from callbacks.h:6, from trayicon.cpp:32: /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from utils.h:31, from trayicon.cpp:31: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ trayicon.cpp: In static member function 'static void TrayIcon::info_cb(GtkWidget*, Channel*)': trayicon.cpp:47:18: warning: variable 'cd' set but not used [-Wunused-but-set-variable] 47 | ChaninfoDialog *cd; | ^~ In file included from gnome-peercast.h:31, from callbacks.h:6, from trayicon.cpp:32: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:36:20: warning: 'PCX_AGENT' defined but not used [-Wunused-variable] 36 | static const char *PCX_AGENT = "PeerCast/0.1217"; | ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from trayicon.cpp:31: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24, from trayicon.cpp:29: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o setting-dialog.o `test -f 'setting-dialog.cpp' || echo './'`setting-dialog.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] 36 | Stream() | ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] 100 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] 107 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] 124 | CHECK_ENDIAN3(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166:17: warning: statement has no effect [-Wunused-value] 166 | CHECK_ENDIAN2(v); | ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:171:17: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from setting-dialog.cpp:31: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At global scope: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from setting-dialog.cpp:31: /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from setting-dialog.cpp:31: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 59 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 60 | void (*__gtk_reserved2); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] 61 | void (*__gtk_reserved3); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] 62 | void (*__gtk_reserved4); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] 63 | void (*__gtk_reserved5); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] 64 | void (*__gtk_reserved6); | ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] 65 | void (*__gtk_reserved7); | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from setting-dialog.cpp:31: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from utils.h:31, from setting-dialog.cpp:31: /usr/include/glib-2.0/glib/gtypes.h:549:26: note: declared here 549 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from setting-dialog.cpp:31: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] 76 | void (*__gtk_reserved1); | ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] 77 | void (*__gtk_reserved2); | ^ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5, from setting-dialog.h:28, from setting-dialog.cpp:32: /usr/include/libgnome-2.0/libgnome/gnome-program.h:246:61: warning: 'GParameter' is deprecated [-Wdeprecated-declarations] 246 | guint nparams, GParameter *params); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from setting-dialog.cpp:31: /usr/include/glib-2.0/gobject/gparam.h:194:28: note: declared here 194 | typedef struct _GParameter GParameter GLIB_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from setting-dialog.cpp:33: /usr/include/gconf/2/gconf/gconf-value.h:139:10: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 139 | GTime mod_time; /* time of the modification */ | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:43, from utils.h:31, from setting-dialog.cpp:31: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from setting-dialog.cpp:33: /usr/include/gconf/2/gconf/gconf-value.h:144:62: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 144 | GTime gconf_meta_info_mod_time (GConfMetaInfo *gcmi); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from utils.h:31, from setting-dialog.cpp:31: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26, from /usr/include/gconf/2/gconf/gconf.h:27, from /usr/include/gconf/2/gconf/gconf-client.h:25, from gnome-peercast.h:29, from setting-dialog.cpp:33: /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ In file included from /usr/include/glib-2.0/glib.h:43, from utils.h:31, from setting-dialog.cpp:31: /usr/include/glib-2.0/glib/gdate.h:48:17: note: declared here 48 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from gnome-peercast.h:31, from setting-dialog.cpp:33: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] 38 | static const char *PCX_VERSTRING = "v0.1217"; | ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 37 | static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; | ^~~~~~~~~~~ ../peercast/core/common/version2.h:36:20: warning: 'PCX_AGENT' defined but not used [-Wunused-variable] 36 | static const char *PCX_AGENT = "PeerCast/0.1217"; | ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 28 | static bool PCP_FORCE_YP = false; | ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] 93 | static const char *MIME_PNG = "image/png"; | ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] 92 | static const char *MIME_GIF = "image/gif"; | ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] 91 | static const char *MIME_JPEG = "image/jpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] 90 | static const char *MIME_RAW = "application/binary"; | ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 89 | static const char *MIME_XPCP = "application/x-peercast-pcp"; | ^~~~~~~~~ ../peercast/core/common/http.h:88:20: warning: 'MIME_XPEERCAST' defined but not used [-Wunused-variable] 88 | static const char *MIME_XPEERCAST = "application/x-peercast"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] 87 | static const char *MIME_XM3U = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] 86 | static const char *MIME_MPEGURL = "audio/mpegurl"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] 85 | static const char *MIME_M3U = "audio/m3u"; | ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] 84 | static const char *MIME_SDP = "application/sdp"; | ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] 83 | static const char *MIME_XSCPLS = "audio/x-scpls"; | ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] 82 | static const char *MIME_XPLS = "audio/x-mpegurl"; | ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] 81 | static const char *MIME_PLS = "audio/mpegurl"; | ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] 80 | static const char *MIME_TEXT = "text/plain"; | ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] 79 | static const char *MIME_CSS = "text/css"; | ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] 78 | static const char *MIME_XML = "text/xml"; | ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] 77 | static const char *MIME_HTML = "text/html"; | ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 75 | static const char *MIME_WMV = "video/x-ms-wmv"; | ^~~~~~~~ ../peercast/core/common/http.h:74:20: warning: 'MIME_WMA' defined but not used [-Wunused-variable] 74 | static const char *MIME_WMA = "audio/x-ms-wma"; | ^~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 71 | static const char *MIME_RAM = "audio/x-pn-realaudio"; | ^~~~~~~~ ../peercast/core/common/http.h:69:20: warning: 'MIME_MMS' defined but not used [-Wunused-variable] 69 | static const char *MIME_MMS = "application/x-mms-framed"; | ^~~~~~~~ ../peercast/core/common/http.h:68:20: warning: 'MIME_ASX' defined but not used [-Wunused-variable] 68 | static const char *MIME_ASX = "video/x-ms-asf"; // same as ASF | ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 67 | static const char *MIME_ASF = "video/x-ms-asf"; | ^~~~~~~~ ../peercast/core/common/http.h:66:20: warning: 'MIME_NSV' defined but not used [-Wunused-variable] 66 | static const char *MIME_NSV = "video/nsv"; | ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] 65 | static const char *MIME_MPG = "video/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] 64 | static const char *MIME_MOV = "video/quicktime"; | ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] 63 | static const char *MIME_XOGG = "application/x-ogg"; | ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] 62 | static const char *MIME_OGG = "application/ogg"; | ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 61 | static const char *MIME_XMP3 = "audio/x-mpeg"; | ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] 60 | static const char *MIME_MP3 = "audio/mpeg"; | ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 58 | static const char *HTTP_HS_LENGTH = "Content-Length:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:57:20: warning: 'HTTP_HS_ACCEPT' defined but not used [-Wunused-variable] 57 | static const char *HTTP_HS_ACCEPT = "Accept:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] 56 | static const char *HTTP_HS_HOST = "Host:"; | ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] 55 | static const char *HTTP_HS_COOKIE = "Cookie:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 54 | static const char *HTTP_HS_SETCOOKIE = "Set-Cookie:"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:53:20: warning: 'HTTP_HS_CONNECTION' defined but not used [-Wunused-variable] 53 | static const char *HTTP_HS_CONNECTION = "Connection:"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 52 | static const char *HTTP_HS_CACHE = "Cache-Control:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:51:20: warning: 'HTTP_HS_CONTENT' defined but not used [-Wunused-variable] 51 | static const char *HTTP_HS_CONTENT = "Content-Type:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 50 | static const char *HTTP_HS_AGENT = "User-Agent:"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:49:20: warning: 'HTTP_HS_SERVER' defined but not used [-Wunused-variable] 49 | static const char *HTTP_HS_SERVER = "Server:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] 47 | static const char *RTSP_PROTO1 = "RTSP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] 46 | static const char *HTTP_PROTO1 = "HTTP/1."; | ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 43 | static const char *RTSP_SC_OK = "RTSP/1.0 200 OK"; | ^~~~~~~~~~ ../peercast/core/common/http.h:41:20: warning: 'HTTP_SC_SWITCH' defined but not used [-Wunused-variable] 41 | static const char *HTTP_SC_SWITCH = "HTTP/1.0 101 Switch protocols"; | ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:40:20: warning: 'HTTP_SC_FORBIDDEN' defined but not used [-Wunused-variable] 40 | static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; | ^~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:39:20: warning: 'HTTP_SC_BADREQUEST' defined but not used [-Wunused-variable] 39 | static const char *HTTP_SC_BADREQUEST = "HTTP/1.0 400 Bad Request"; | ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:38:20: warning: 'HTTP_SC_FOUND' defined but not used [-Wunused-variable] 38 | static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; | ^~~~~~~~~~~~~ ../peercast/core/common/http.h:37:20: warning: 'HTTP_SC_UNAUTHORIZED' defined but not used [-Wunused-variable] 37 | static const char *HTTP_SC_UNAUTHORIZED = "HTTP/1.0 401 Unauthorized"; | ^~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:36:20: warning: 'HTTP_SC_UNAVAILABLE' defined but not used [-Wunused-variable] 36 | static const char *HTTP_SC_UNAVAILABLE = "HTTP/1.0 503 Service Unavailable"; | ^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:35:20: warning: 'HTTP_SC_NOTFOUND' defined but not used [-Wunused-variable] 35 | static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:34:20: warning: 'HTTP_SC_OK' defined but not used [-Wunused-variable] 34 | static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] 91 | static const char *ICY_OK = "ICY 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] 88 | static const char *MIN_CONNECTVER = "0.119D"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] 86 | static const char *MIN_ROOTVER = "0.119E"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 77 | static const char *PCX_OLDAGENT = "PeerCast/0.119E"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:74:20: warning: 'PCX_DL_URL' defined but not used [-Wunused-variable] 74 | static const char *PCX_DL_URL = "http://www.peercast.org/download.php"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 72 | static const char *PCX_OS_ACTIVEX = "Win32-ActiveX"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:71:20: warning: 'PCX_OS_WINAMP2' defined but not used [-Wunused-variable] 71 | static const char *PCX_OS_WINAMP2 = "Win32-WinAmp2"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:70:20: warning: 'PCX_OS_MACOSX' defined but not used [-Wunused-variable] 70 | static const char *PCX_OS_MACOSX = "Apple-OSX"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] 68 | static const char *PCX_OS_WIN32 = "Win32"; | ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 65 | static const char *PCX_HS_SESSIONID = "x-peercast-sessionid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:64:20: warning: 'PCX_HS_POS' defined but not used [-Wunused-variable] 64 | static const char *PCX_HS_POS = "x-peercast-pos:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:63:20: warning: 'PCX_HS_REMOTEIP' defined but not used [-Wunused-variable] 63 | static const char *PCX_HS_REMOTEIP = "x-peercast-remoteip:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:62:20: warning: 'PCX_HS_PORT' defined but not used [-Wunused-variable] 62 | static const char *PCX_HS_PORT = "x-peercast-port:"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:61:20: warning: 'PCX_HS_PINGME' defined but not used [-Wunused-variable] 61 | static const char *PCX_HS_PINGME = "x-peercast-pingme:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:60:20: warning: 'PCX_HS_PCP' defined but not used [-Wunused-variable] 60 | static const char *PCX_HS_PCP = "x-peercast-pcp:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:59:20: warning: 'PCX_HS_FLOWCTL' defined but not used [-Wunused-variable] 59 | static const char *PCX_HS_FLOWCTL = "x-peercast-flowctl:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:58:20: warning: 'PCX_HS_PRIORITY' defined but not used [-Wunused-variable] 58 | static const char *PCX_HS_PRIORITY = "x-peercast-priority:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:57:20: warning: 'PCX_HS_RELAYBC' defined but not used [-Wunused-variable] 57 | static const char *PCX_HS_RELAYBC = "x-peercast-relaybc:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:56:20: warning: 'PCX_HS_MAXBCTTL' defined but not used [-Wunused-variable] 56 | static const char *PCX_HS_MAXBCTTL = "x-peercast-maxbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:55:20: warning: 'PCX_HS_MINBCTTL' defined but not used [-Wunused-variable] 55 | static const char *PCX_HS_MINBCTTL = "x-peercast-minbcttl:"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:54:20: warning: 'PCX_HS_FULLHIT' defined but not used [-Wunused-variable] 54 | static const char *PCX_HS_FULLHIT = "x-peercast-fullhit:"; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:53:20: warning: 'PCX_HS_SUBNET' defined but not used [-Wunused-variable] 53 | static const char *PCX_HS_SUBNET = "x-peercast-subnet:"; | ^~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:52:20: warning: 'PCX_HS_MSG' defined but not used [-Wunused-variable] 52 | static const char *PCX_HS_MSG = "x-peercast-msg:"; | ^~~~~~~~~~ ../peercast/core/common/gnutella.h:51:20: warning: 'PCX_HS_NETWORKID' defined but not used [-Wunused-variable] 51 | static const char *PCX_HS_NETWORKID = "x-peercast-networkid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:50:20: warning: 'PCX_HS_CHANNELID' defined but not used [-Wunused-variable] 50 | static const char *PCX_HS_CHANNELID = "x-peercast-channelid:"; | ^~~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:49:20: warning: 'PCX_HS_ID' defined but not used [-Wunused-variable] 49 | static const char *PCX_HS_ID = "x-peercast-id:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:48:20: warning: 'PCX_HS_DL' defined but not used [-Wunused-variable] 48 | static const char *PCX_HS_DL = "x-peercast-download:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:47:20: warning: 'PCX_HS_OS' defined but not used [-Wunused-variable] 47 | static const char *PCX_HS_OS = "x-peercast-os:"; | ^~~~~~~~~ ../peercast/core/common/gnutella.h:45:20: warning: 'PCX_PCP_CONNECT' defined but not used [-Wunused-variable] 45 | static const char *PCX_PCP_CONNECT = "pcp"; | ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 44 | static const char *GNU_OK = "GNUTELLA/0.6 200 OK"; | ^~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] 43 | static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; | ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:42:20: warning: 'GNU_PEERCONN' defined but not used [-Wunused-variable] 42 | static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' /bin/sh ../libtool --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o gnome-peercast utils.o main.o gnome-peercast.o chaninfo-dialog.o broadcast-dialog.o channel-list.o connection-list.o setting-dialog.o callbacks.o logview.o trayicon.o eggtrayicon.o -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lart_lgpl_2 -lgnomevfs-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -pthread -lORBit-2 -lgthread-2.0 -pthread -lgconf-2 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype ../libpeercast/libpeercast.la -lX11 mkdir .libs i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o gnome-peercast utils.o main.o gnome-peercast.o chaninfo-dialog.o broadcast-dialog.o channel-list.o connection-list.o setting-dialog.o callbacks.o logview.o trayicon.o eggtrayicon.o -pthread -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lart_lgpl_2 -lgnomevfs-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lgconf-2 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype ../libpeercast/.libs/libpeercast.a -lX11 make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' Making all in po make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/po' file=`echo ja | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ja.po make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/po' Making all in pixmaps make[2]: Nothing to be done for 'all'. make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' LC_ALL=C ./intltool-merge -d -u -c ./po/.intltool-merge-cache ./po gnome-peercast.desktop.in gnome-peercast.desktop Generating and caching the translation database Merging translations into gnome-peercast.desktop. make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' LC_ALL=C ./intltool-merge -s -u -c ./po/.intltool-merge-cache ./po gnome-peercast.schemas.in gnome-peercast.schemas Generating and caching the translation database Merging translations into gnome-peercast.schemas. make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.59500 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/gnome-peercast-buildroot + : + /bin/rm -rf -- /usr/src/tmp/gnome-peercast-buildroot + cd gnome-peercast-0.5.4 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/gnome-peercast-buildroot make: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Making install in libpeercast make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/lib mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/lib /bin/sh ../libtool --mode=install /bin/install -p libpeercast.la /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.la /bin/install -p .libs/libpeercast.lai /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.la /bin/install -p .libs/libpeercast.a /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.a chmod 644 /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.a ranlib /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.a libtool: install: warning: remember to run `libtool --finish /usr/lib' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' /bin/sh ../mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/bin mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/bin /bin/sh ../libtool --mode=install /bin/install -p gnome-peercast /usr/src/tmp/gnome-peercast-buildroot/usr/bin/gnome-peercast /bin/install -p gnome-peercast /usr/src/tmp/gnome-peercast-buildroot/usr/bin/gnome-peercast /bin/sh ../mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast /bin/install -p -m 644 gnome-peercast.glade /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/gnome-peercast.glade /bin/install -p -m 644 setting-dialog.glade /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/setting-dialog.glade make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' Making install in po make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/po' /usr/src/RPM/BUILD/gnome-peercast-0.5.4/install-sh -d /usr/src/tmp/gnome-peercast-buildroot/usr/share/locale if test -n ""; then \ linguas=""; \ else \ linguas="ja"; \ fi; \ for lang in $linguas; do \ dir=/usr/src/tmp/gnome-peercast-buildroot/usr/share/locale/$lang/LC_MESSAGES; \ /usr/src/RPM/BUILD/gnome-peercast-0.5.4/install-sh -d $dir; \ if test -r $lang.gmo; then \ /bin/install -p -m 644 $lang.gmo $dir/gnome-peercast.mo; \ echo "installing $lang.gmo as $dir/gnome-peercast.mo"; \ else \ /bin/install -p -m 644 ./$lang.gmo $dir/gnome-peercast.mo; \ echo "installing ./$lang.gmo as" \ "$dir/gnome-peercast.mo"; \ fi; \ if test -r $lang.gmo.m; then \ /bin/install -p -m 644 $lang.gmo.m $dir/gnome-peercast.mo.m; \ echo "installing $lang.gmo.m as $dir/gnome-peercast.mo.m"; \ else \ if test -r ./$lang.gmo.m ; then \ /bin/install -p -m 644 ./$lang.gmo.m \ $dir/gnome-peercast.mo.m; \ echo "installing ./$lang.gmo.m as" \ "$dir/gnome-peercast.mo.m"; \ else \ true; \ fi; \ fi; \ done installing ja.gmo as /usr/src/tmp/gnome-peercast-buildroot/usr/share/locale/ja/LC_MESSAGES/gnome-peercast.mo make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/po' Making install in pixmaps make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/pixmaps' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/pixmaps' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/share/pixmaps mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/share/pixmaps /bin/install -p -m 644 peercast.png /usr/src/tmp/gnome-peercast-buildroot/usr/share/pixmaps/peercast.png /bin/sh ../mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast /bin/install -p -m 644 small-logo.png /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/small-logo.png make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/pixmaps' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/pixmaps' make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ./mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/share/applications mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/share/applications /bin/install -p -m 644 gnome-peercast.desktop /usr/src/tmp/gnome-peercast-buildroot/usr/share/applications/gnome-peercast.desktop /bin/sh ./mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast cp -r peercast/ui/html \ /usr/src/tmp/gnome-peercast-buildroot//usr/share/gnome-peercast /bin/sh ./mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/etc/gconf/schemas mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/etc/gconf/schemas /bin/install -p -m 644 gnome-peercast.schemas /usr/src/tmp/gnome-peercast-buildroot/etc/gconf/schemas/gnome-peercast.schemas make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' + /usr/lib/rpm/find-lang gnome-peercast + rm -f /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.a + find /usr/src/tmp/gnome-peercast-buildroot -type d '(' -name CVS -o -name .svn -o -name .git -o -name .hg -o -name .bzr -o -name _MTN ')' -print -exec rm -rf '{}' ';' /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/de/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/de/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/de/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/de/.svn': No such file or directory + : + find . -type d '(' -name CVS -o -name .svn -o -name .git -o -name .hg -o -name .bzr -o -name _MTN ')' -print -exec rm -rf '{}' ';' ./peercast/ui/html/ja/images/.svn find: './peercast/ui/html/ja/images/.svn': No such file or directory ./peercast/ui/html/ja/.svn find: './peercast/ui/html/ja/.svn': No such file or directory ./peercast/ui/html/fr/images/.svn find: './peercast/ui/html/fr/images/.svn': No such file or directory ./peercast/ui/html/fr/.svn find: './peercast/ui/html/fr/.svn': No such file or directory ./peercast/ui/html/en/images/.svn find: './peercast/ui/html/en/images/.svn': No such file or directory ./peercast/ui/html/en/.svn find: './peercast/ui/html/en/.svn': No such file or directory ./peercast/ui/html/de/images/.svn find: './peercast/ui/html/de/images/.svn': No such file or directory ./peercast/ui/html/de/.svn find: './peercast/ui/html/de/.svn': No such file or directory ./peercast/ui/html/.svn find: './peercast/ui/html/.svn': No such file or directory ./peercast/ui/.svn find: './peercast/ui/.svn': No such file or directory ./peercast/core/unix/.svn find: './peercast/core/unix/.svn': No such file or directory ./peercast/core/common/.svn find: './peercast/core/common/.svn': No such file or directory ./peercast/core/.svn find: './peercast/core/.svn': No such file or directory ./peercast/.svn find: './peercast/.svn': No such file or directory ./debian/.svn find: './debian/.svn': No such file or directory ./data/.svn find: './data/.svn': No such file or directory + : + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/gnome-peercast-buildroot (auto) removed './usr/lib/libpeercast.la' Verifying and fixing files in /usr/src/tmp/gnome-peercast-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/share/applications/gnome-peercast.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 8c7 < Icon=peercast.png --- > Icon=peercast 11c10 < Categories=Application;Network --- > Categories=Network; Checking contents of files in /usr/src/tmp/gnome-peercast-buildroot/ (default) Compressing files in /usr/src/tmp/gnome-peercast-buildroot (auto) Adjusting library links in /usr/src/tmp/gnome-peercast-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/gnome-peercast-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/gnome-peercast: uses non-LFS functions: fcntl fopen Hardlinking identical .pyc and .pyo files Processing files: gnome-peercast-0.5.4-alt3.qa3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.59874 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gnome-peercast-0.5.4 + DOCDIR=/usr/src/tmp/gnome-peercast-buildroot/usr/share/doc/gnome-peercast-0.5.4 + export DOCDIR + rm -rf /usr/src/tmp/gnome-peercast-buildroot/usr/share/doc/gnome-peercast-0.5.4 + /bin/mkdir -p /usr/src/tmp/gnome-peercast-buildroot/usr/share/doc/gnome-peercast-0.5.4 + cp -prL README ChangeLog AUTHORS /usr/src/tmp/gnome-peercast-buildroot/usr/share/doc/gnome-peercast-0.5.4 + chmod -R go-w /usr/src/tmp/gnome-peercast-buildroot/usr/share/doc/gnome-peercast-0.5.4 + chmod -R a+rX /usr/src/tmp/gnome-peercast-buildroot/usr/share/doc/gnome-peercast-0.5.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YcqLn5 find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WU9Fh6 find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Decn43 Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NgkUa4 Requires: /lib/ld-linux.so.2, libX11.so.6 >= set:okXgPTzZvKmfPdi2j13zsvJtcuLHpDrbt2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libgcc_s.so.1(GCC_3.0), libgconf-2.so.4 >= set:miIXvVZFkheto68bywzWUD6rD1, libgdk-x11-2.0.so.0 >= set:njq96L17Ewjr9lRyk7rAvGVP0hivyVrnUdsqkQXEcZL5, libgdk_pixbuf-2.0.so.0 >= set:lka381, libglade-2.0.so.0 >= set:jhTbouPrt7, libglib-2.0.so.0 >= set:oiUQSRcvhqMa63wlq1F9pvyWnihGoksEAaGGzUmEFPOv5vizqJzUBHMbe08kgKehmGtpgMEBiD9QxlQ2e6xMrixmcDGkPOO3, libgnome-2.so.0 >= set:kiOP8CDe, libgnomeui-2.so.0 >= set:njx6kvnD3jL1cepR7u0raDEoj2DP40, libgobject-2.0.so.0 >= set:mh9fwzuw2kSnWUOKaIybXncMmtddKSjfV9Y8dmRxvX6EcilMbb1, libgtk-x11-2.0.so.0 >= set:pijZo8lZ8QhcQ09MJHaPqnXy4v5Hw1HOiiKYwDxXuJMMqIc9ZjjsMAv6JiDzMIiSZmKPxw3Y0MLrqyDd1uikZJg0IkXJniL9ceYtxE9DBWpZviRz4Yq5NCpSVgH6NkZhqLzom9AlQ8eCtye1g15ZbQ6xInXCheIBYndDXW0EUfW5kQosERPbYCnKOnT5bB2LyIq8YcivBiINYpYVExYXB1xMcq9yaFkysTngmUQyDoJC8LUCCdRpv4UbZtZaqgmzSENnyFjzNPHZtN9U23Ul6ikjPsCIbRY0eeZLl0LRXVlCl0, libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): GConf2, /bin/sh, /usr/sbin/gconf_install_schema Requires(preun): /bin/sh, /usr/sbin/gconf_uninstall_schema Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5k6zz4 Creating gnome-peercast-debuginfo package Processing files: gnome-peercast-debuginfo-0.5.4-alt3.qa3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.puWuj3 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PItXZ2 find-requires: running scripts (debuginfo) Requires: gnome-peercast = 0.5.4-alt3.qa3, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libX11.so.6), debug(libc.so.6), debug(libgcc_s.so.1), debug(libgconf-2.so.4), debug(libgdk-x11-2.0.so.0), debug(libgdk_pixbuf-2.0.so.0), debug(libglade-2.0.so.0), debug(libglib-2.0.so.0), debug(libgnome-2.so.0), debug(libgnomeui-2.so.0), debug(libgobject-2.0.so.0), debug(libgtk-x11-2.0.so.0), debug(libpthread.so.0), debug(libstdc++.so.6) Adding to gnome-peercast-debuginfo a strict dependency on gnome-peercast Wrote: /usr/src/RPM/RPMS/i586/gnome-peercast-0.5.4-alt3.qa3.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/gnome-peercast-debuginfo-0.5.4-alt3.qa3.i586.rpm 27.52user 4.52system 0:25.33elapsed 126%CPU (0avgtext+0avgdata 80352maxresident)k 0inputs+0outputs (0major+1786280minor)pagefaults 0swaps /.out/gnome-peercast-0.5.4-alt3.qa3.i586.rpm: The use of such a license name is ambiguous: GPL /.out/gnome-peercast-debuginfo-0.5.4-alt3.qa3.i586.rpm: The use of such a license name is ambiguous: GPL 40.64user 8.19system 0:44.37elapsed 110%CPU (0avgtext+0avgdata 108604maxresident)k 0inputs+0outputs (0major+2235827minor)pagefaults 0swaps --- gnome-peercast-0.5.4-alt3.qa3.i586.rpm.repo 2019-02-14 07:56:57.000000000 +0000 +++ gnome-peercast-0.5.4-alt3.qa3.i586.rpm.hasher 2020-03-09 12:18:08.082367185 +0000 @@ -84,4 +84,6 @@ Requires: libc.so.6(GLIBC_2.2) +Requires: libc.so.6(GLIBC_2.28) Requires: libc.so.6(GLIBC_2.3.4) Requires: libc.so.6(GLIBC_2.4) +Requires: libc.so.6(GLIBC_2.7) Requires: libgcc_s.so.1(GCC_3.0)