<86>Oct 18 16:39:28 userdel[3136617]: delete user 'rooter' <86>Oct 18 16:39:28 userdel[3136617]: removed group 'rooter' owned by 'rooter' <86>Oct 18 16:39:28 userdel[3136617]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 18 16:39:28 groupadd[3136670]: group added to /etc/group: name=rooter, GID=1823 <86>Oct 18 16:39:28 groupadd[3136670]: group added to /etc/gshadow: name=rooter <86>Oct 18 16:39:28 groupadd[3136670]: new group: name=rooter, GID=1823 <86>Oct 18 16:39:28 useradd[3136744]: new user: name=rooter, UID=1823, GID=1823, home=/root, shell=/bin/bash, from=none <86>Oct 18 16:39:28 userdel[3136833]: delete user 'builder' <86>Oct 18 16:39:28 userdel[3136833]: removed group 'builder' owned by 'builder' <86>Oct 18 16:39:28 userdel[3136833]: removed shadow group 'builder' owned by 'builder' <86>Oct 18 16:39:28 groupadd[3136898]: group added to /etc/group: name=builder, GID=1824 <86>Oct 18 16:39:28 groupadd[3136898]: group added to /etc/gshadow: name=builder <86>Oct 18 16:39:28 groupadd[3136898]: new group: name=builder, GID=1824 <86>Oct 18 16:39:28 useradd[3136952]: new user: name=builder, UID=1824, GID=1824, home=/usr/src, shell=/bin/bash, from=none /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>Oct 18 16:39:32 rpmi: libatk-2.54.0-alt1 sisyphus+357735.600.3.1 1726642126 installed <13>Oct 18 16:39:32 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Oct 18 16:39:32 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>Oct 18 16:39:32 rpmi: libart_lgpl-2.3.21-alt3 sisyphus+276909.100.1.1 1625271431 installed <13>Oct 18 16:39:32 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Oct 18 16:39:32 rpmi: perl-HTTP-Date-6.06-alt1 sisyphus+324527.100.1.1 1688834564 installed <13>Oct 18 16:39:32 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626058929 installed <13>Oct 18 16:39:32 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577555 installed <13>Oct 18 16:39:32 rpmi: libIDL-0.8.14-alt4 sisyphus+277957.100.1.1 1625926356 installed <13>Oct 18 16:39:32 rpmi: libORBit2-2.14.20-alt0.3 sisyphus+278855.100.1.1 1626224376 installed <13>Oct 18 16:39:32 rpmi: xml-utils-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333686 installed <13>Oct 18 16:39:32 rpmi: libICE-devel-1.1.1-alt1 sisyphus+311428.500.1.1 1670577555 installed <13>Oct 18 16:39:32 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526916 installed <13>Oct 18 16:39:32 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751601 installed <13>Oct 18 16:39:32 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Oct 18 16:39:32 rpmi: perl-libnet-1:3.15-alt1 sisyphus+317310.100.1.1 1679580208 installed <13>Oct 18 16:39:32 rpmi: perl-Compress-Raw-Zlib-2.206-alt1 sisyphus+335067.600.1.1 1700901499 installed <13>Oct 18 16:39:32 rpmi: libpopt-devel-1:1.18-alt1 sisyphus+283609.300.5.1 1630003299 installed <13>Oct 18 16:39:32 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Oct 18 16:39:32 rpmi: libicu74-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702423005 installed <13>Oct 18 16:39:32 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Oct 18 16:39:32 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Oct 18 16:39:33 rpmi: shared-mime-info-2.4-alt1 sisyphus+334259.100.1.1 1699787316 installed <13>Oct 18 16:39:33 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Oct 18 16:39:33 rpmi: libXau-devel-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Oct 18 16:39:33 rpmi: libpng-devel-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Oct 18 16:39:33 rpmi: libgraphite2-devel-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Oct 18 16:39:33 rpmi: icu-utils-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702423005 installed <13>Oct 18 16:39:33 rpmi: libicu-devel-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702423005 installed <13>Oct 18 16:39:33 rpmi: libSM-devel-1.2.4-alt1 sisyphus+312057.200.1.1 1671526916 installed <13>Oct 18 16:39:33 rpmi: rpm-build-gir-0.7.3-alt3.1 sisyphus+319393.100.1.1 1682538783 installed <13>Oct 18 16:39:33 rpmi: libflac12-1.4.3-alt2 sisyphus+343354.100.1.1 1711118098 installed <13>Oct 18 16:39:33 rpmi: perl-File-Listing-6.16-alt1 sisyphus+325783.100.1.1 1690559356 installed <13>Oct 18 16:39:33 rpmi: libart_lgpl-devel-2.3.21-alt3 sisyphus+276909.100.1.1 1625271431 installed <13>Oct 18 16:39:33 rpmi: perl-Try-Tiny-0.31-alt1 sisyphus+290597.100.1.1 1637915507 installed <13>Oct 18 16:39:33 rpmi: perl-Module-Load-0.36-alt1 sisyphus+258992.100.1.1 1601543407 installed <13>Oct 18 16:39:33 rpmi: perl-IO-Socket-IP-0.42-alt1 sisyphus+325815.100.1.2 1690571193 installed <13>Oct 18 16:39:33 rpmi: perl-IO-Compress-Brotli-2:0.004001-alt3 sisyphus+335067.1200.1.1 1700901589 installed <13>Oct 18 16:39:33 rpmi: perl-HTML-Tagset-3.24-alt1 sisyphus+343117.100.1.3 1710883587 installed <13>Oct 18 16:39:33 rpmi: perl-Filter-1.64-alt1 sisyphus+335067.400.1.1 1700901412 installed <13>Oct 18 16:39:33 rpmi: perl-Encode-3.21-alt1 sisyphus+343095.100.1.1 1710875477 installed <13>Oct 18 16:39:33 rpmi: perl-URI-5.27-alt1 sisyphus+340901.100.1.1 1708180683 installed <13>Oct 18 16:39:33 rpmi: perl-HTML-Parser-3.82-alt1 sisyphus+343116.100.1.3 1710883258 installed <13>Oct 18 16:39:33 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Oct 18 16:39:33 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Oct 18 16:39:33 rpmi: perl-IO-HTML-1.004-alt1 sisyphus+258983.100.1.1 1601542619 installed <13>Oct 18 16:39:33 rpmi: perl-Term-ANSIColor-5.01-alt1 sisyphus+244783.100.1.2 1579747505 installed <13>Oct 18 16:39:33 rpmi: perl-Data-Dump-1.25-alt1 sisyphus+276551.100.1.1 1625126880 installed <13>Oct 18 16:39:33 rpmi: perl-Compress-Raw-Bzip2-2.210-alt1 sisyphus+343108.100.1.3 1710881036 installed <13>Oct 18 16:39:33 rpmi: perl-IO-Compress-2.206-alt1 sisyphus+325819.100.1.1 1690563199 installed <13>Oct 18 16:39:33 rpmi: perl-Net-HTTP-6.23-alt1 sisyphus+323470.100.1.1 1687422469 installed <13>Oct 18 16:39:33 rpmi: perl-Clone-0.46-alt1 sisyphus+335067.1100.1.1 1700901562 installed <13>Oct 18 16:39:33 rpmi: perl-HTTP-Message-6.45-alt1 sisyphus+330728.100.1.1 1696162276 installed <13>Oct 18 16:39:33 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Oct 18 16:39:33 rpmi: perl-libwww-6.77-alt1 sisyphus+343120.100.1.2 1710884405 installed <13>Oct 18 16:39:33 rpmi: libtdb-1.4.10-alt1 sisyphus+342425.100.8.1 1714748986 installed <13>Oct 18 16:39:33 rpmi: libltdl7-2.4.7-alt5 sisyphus+341963.200.3.1 1711659208 installed <13>Oct 18 16:39:33 rpmi: libopus-1.5.2-alt1 sisyphus+347834.100.1.1 1715455356 installed <13>Oct 18 16:39:33 rpmi: libmpg123-1:1.32.7-alt1 sisyphus+354663.100.1.1 1723095997 installed <13>Oct 18 16:39:33 rpmi: liblame-3.100-alt1 sisyphus+346342.200.2.2 1716474674 installed <13>Oct 18 16:39:33 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Oct 18 16:39:33 rpmi: libsndfile-1.1.0-alt1 sisyphus+339776.7300.6.2 1707350065 installed <13>Oct 18 16:39:33 rpmi: sound-theme-freedesktop-0.8-alt1 sisyphus+277010.100.1.2 1625346634 installed <13>Oct 18 16:39:33 rpmi: libdatrie-0.2.13-alt1_7 sisyphus+328221.100.1.1 1693336966 installed <13>Oct 18 16:39:33 rpmi: libthai-0.1.29-alt1_6 sisyphus+328230.100.1.2 1693348044 installed <13>Oct 18 16:39:33 rpmi: libfribidi-1.0.16-alt1 sisyphus+358393.100.1.1 1727333692 installed <13>Oct 18 16:39:33 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Oct 18 16:39:33 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402241 installed <13>Oct 18 16:39:33 rpmi: icon-theme-hicolor-0.18-alt1 sisyphus+349610.100.1.1 1716831669 installed <13>Oct 18 16:39:33 rpmi: libwebp7-1.4.0-alt1 sisyphus+345159.200.1.1 1713168663 installed <13>Oct 18 16:39:33 rpmi: libdeflate-1.22-alt1 sisyphus+359192.100.1.1 1728330316 installed <13>Oct 18 16:39:33 rpmi: libtiff5-4.4.0-alt4 sisyphus+322581.100.1.2 1686180089 installed <13>Oct 18 16:39:33 rpmi: libgdk-pixbuf-locales-2.42.12-alt1 sisyphus+348142.100.1.1 1715791856 installed <13>Oct 18 16:39:33 rpmi: libgamin-fam-0.1.10-alt7 sisyphus+346213.200.2.1 1716364233 installed <13>Oct 18 16:39:33 rpmi: gnome-audio-2.22.2-alt1 sisyphus+276847.100.1.1 1625243226 installed <13>Oct 18 16:39:33 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Oct 18 16:39:34 rpmi: libstdc++14-devel-14.2.1-alt1 icarus+359818.100.1.1 1729089654 installed <13>Oct 18 16:39:34 rpmi: gcc14-c++-14.2.1-alt1 icarus+359818.100.1.1 1729089654 installed <13>Oct 18 16:39:34 rpmi: libgamin-0.1.10-alt7 sisyphus+346213.200.2.1 1716364233 installed <13>Oct 18 16:39:34 rpmi: gamin-0.1.10-alt7 sisyphus+346213.200.2.1 1716364233 installed <13>Oct 18 16:39:34 rpmi: libpixman-3:0.43.4-alt2 sisyphus+344164.100.1.1 1711987977 installed <13>Oct 18 16:39:34 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Oct 18 16:39:34 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Oct 18 16:39:34 rpmi: libharfbuzz-10.0.1-alt1 sisyphus+358317.100.1.1 1727257731 installed <13>Oct 18 16:39:34 rpmi: libfreetype-2.13.3-alt1 sisyphus+355656.100.1.1 1724221064 installed <13>Oct 18 16:39:34 rpmi: libfontconfig1-2.15.0-alt1 sisyphus+355771.100.2.3 1724337298 installed <13>Oct 18 16:39:34 rpmi: fontconfig-2.15.0-alt1 sisyphus+355771.100.2.3 1724337298 installed Updating fonts cache: <29>Oct 18 16:39:35 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Oct 18 16:39:35 rpmi: libharfbuzz-icu-10.0.1-alt1 sisyphus+358317.100.1.1 1727257731 installed <13>Oct 18 16:39:35 rpmi: libharfbuzz-gobject-10.0.1-alt1 sisyphus+358317.100.1.1 1727257731 installed <13>Oct 18 16:39:35 rpmi: alsa-ucm-conf-1.2.12-alt1 sisyphus+352670.100.1.1 1720712327 installed <13>Oct 18 16:39:35 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Oct 18 16:39:35 rpmi: libalsa-1:1.2.12-alt1 sisyphus+352670.200.1.1 1720712401 installed <13>Oct 18 16:39:35 rpmi: openldap-common-2.6.8-alt1 sisyphus+351621.100.1.1 1719420449 installed <13>Oct 18 16:39:35 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Oct 18 16:39:35 rpmi: liblmdb-0.9.32-alt1 sisyphus+342426.100.1.1 1710124288 installed <13>Oct 18 16:39:35 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Oct 18 16:39:35 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Oct 18 16:39:36 rpmi: libxslt-1.1.39-alt1 sisyphus+349406.100.1.1 1716751806 installed <13>Oct 18 16:39:36 rpmi: xsltproc-1.1.39-alt1 sisyphus+349406.100.1.1 1716751806 installed <13>Oct 18 16:39:36 rpmi: desktop-file-utils-0.26-alt6 sisyphus+331944.100.1.3 1697550026 installed <13>Oct 18 16:39:36 rpmi: gsettings-desktop-schemas-data-47.1-alt1 sisyphus+357735.300.3.1 1726641752 installed <13>Oct 18 16:39:36 rpmi: libgio-2.82.1-alt1 sisyphus+358041.200.1.1 1726905885 installed <13>Oct 18 16:39:36 rpmi: gsettings-desktop-schemas-47.1-alt1 sisyphus+357735.300.3.1 1726641752 installed <13>Oct 18 16:39:36 rpmi: libgdk-pixbuf-2.42.12-alt1 sisyphus+348142.100.1.1 1715791856 installed <13>Oct 18 16:39:36 rpmi: libbonobo-2.32.1-alt5 sisyphus+277998.100.1.3 1625971644 installed <13>Oct 18 16:39:36 rpmi: gtk4-update-icon-cache-4.16.3-alt1 sisyphus+359083.100.1.1 1728106873 installed <13>Oct 18 16:39:36 rpmi: libgstreamer1.0-1.24.8-alt1 sisyphus+357916.100.1.1 1726778698 installed <13>Oct 18 16:39:36 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Oct 18 16:39:36 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Oct 18 16:39:36 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Oct 18 16:39:36 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Oct 18 16:39:36 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Oct 18 16:39:36 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Oct 18 16:39:36 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Oct 18 16:39:36 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Oct 18 16:39:36 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Oct 18 16:39:36 rpmi: libcrypto3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388416 installed <13>Oct 18 16:39:36 rpmi: libssl3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388416 installed <86>Oct 18 16:39:36 groupadd[3176855]: group added to /etc/group: name=_keytab, GID=999 <86>Oct 18 16:39:36 groupadd[3176855]: group added to /etc/gshadow: name=_keytab <86>Oct 18 16:39:36 groupadd[3176855]: new group: name=_keytab, GID=999 <13>Oct 18 16:39:36 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735141 installed <86>Oct 18 16:39:36 groupadd[3177053]: group added to /etc/group: name=sasl, GID=998 <86>Oct 18 16:39:36 groupadd[3177053]: group added to /etc/gshadow: name=sasl <86>Oct 18 16:39:36 groupadd[3177053]: new group: name=sasl, GID=998 <13>Oct 18 16:39:36 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed <13>Oct 18 16:39:36 rpmi: libldap2-2.6.8-alt1 sisyphus+351621.100.1.1 1719420449 installed <13>Oct 18 16:39:36 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Oct 18 16:39:36 rpmi: python3-3.12.7-alt1 sisyphus+358796.100.1.1 1727844808 installed <13>Oct 18 16:39:37 rpmi: python3-base-3.12.7-alt1 sisyphus+358796.100.1.1 1727844808 installed <13>Oct 18 16:39:37 rpmi: glib2-devel-2.82.1-alt1 sisyphus+358041.200.1.1 1726905885 installed <13>Oct 18 16:39:37 rpmi: libgio-devel-2.82.1-alt1 sisyphus+358041.200.1.1 1726905885 installed <13>Oct 18 16:39:37 rpmi: libgdk-pixbuf-devel-2.42.12-alt1 sisyphus+348142.100.1.1 1715791856 installed <13>Oct 18 16:39:37 rpmi: libIDL-devel-0.8.14-alt4 sisyphus+277957.100.1.1 1625926356 installed <13>Oct 18 16:39:37 rpmi: ORBit2-devel-2.14.20-alt0.3 sisyphus+278855.100.1.1 1626224376 installed <13>Oct 18 16:39:37 rpmi: libbonobo-devel-2.32.1-alt5 sisyphus+277998.100.1.3 1625971644 installed <13>Oct 18 16:39:37 rpmi: libatk-devel-2.54.0-alt1 sisyphus+357735.600.3.1 1726642126 installed <13>Oct 18 16:39:37 rpmi: gtk-builder-convert-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Oct 18 16:39:37 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Oct 18 16:39:37 rpmi: libsystemd-1:255.13-alt1 sisyphus+359453.100.2.1 1728651180 installed <13>Oct 18 16:39:37 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487401 installed <13>Oct 18 16:39:37 rpmi: libdbus-glib-1:0.110-alt1 sisyphus+278470.100.1.2 1626224690 installed <13>Oct 18 16:39:37 rpmi: libGConf-3.2.6-alt4 sisyphus+346002.100.2.1 1716202565 installed <13>Oct 18 16:39:37 rpmi: libavahi-0.8-alt4 sisyphus+344258.100.1.1 1712133856 installed <13>Oct 18 16:39:37 rpmi: libavahi-glib-0.8-alt4 sisyphus+344258.100.1.1 1712133856 installed <13>Oct 18 16:39:37 rpmi: libcups-2.4.11-alt1 sisyphus+359120.200.2.1 1728202635 installed <13>Oct 18 16:39:37 rpmi: libGConf-devel-3.2.6-alt4 sisyphus+346002.100.2.1 1716202565 installed <13>Oct 18 16:39:37 rpmi: dbus-tools-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487401 installed <86>Oct 18 16:39:37 groupadd[3179355]: group added to /etc/group: name=messagebus, GID=997 <86>Oct 18 16:39:37 groupadd[3179355]: group added to /etc/gshadow: name=messagebus <86>Oct 18 16:39:37 groupadd[3179355]: new group: name=messagebus, GID=997 <86>Oct 18 16:39:37 useradd[3179379]: new user: name=messagebus, UID=999, GID=997, home=/run/dbus, shell=/dev/null, from=none <13>Oct 18 16:39:37 rpmi: dbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487401 installed <13>Oct 18 16:39:37 rpmi: libgnome-keyring-3.12.0-alt3 sisyphus+275102.100.2.1 1624561375 installed <13>Oct 18 16:39:37 rpmi: libpolkit-124-alt3 sisyphus+351454.100.1.1 1719236630 installed <13>Oct 18 16:39:37 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Oct 18 16:39:37 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441061 installed <13>Oct 18 16:39:37 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Oct 18 16:39:37 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Oct 18 16:39:37 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>Oct 18 16:39:37 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>Oct 18 16:39:37 rpmi: libcairo-1:1.18.2-alt1 sisyphus+357195.100.1.1 1725948391 installed <13>Oct 18 16:39:37 rpmi: libXft-2.3.8-alt1 sisyphus+331490.400.1.1 1697023269 installed <13>Oct 18 16:39:37 rpmi: libpango-1.54.0-alt1 sisyphus+350796.200.1.1 1718041393 installed <13>Oct 18 16:39:37 rpmi: libXfixes-6.0.1-alt1 sisyphus+331490.300.1.1 1697023233 installed <13>Oct 18 16:39:38 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Oct 18 16:39:38 rpmi: libX11-devel-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Oct 18 16:39:38 rpmi: libXrender-devel-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>Oct 18 16:39:38 rpmi: libXext-devel-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>Oct 18 16:39:38 rpmi: libXcursor-1.2.2-alt1 sisyphus+343583.600.1.1 1711441025 installed <13>Oct 18 16:39:38 rpmi: libharfbuzz-cairo-10.0.1-alt1 sisyphus+358317.100.1.1 1727257731 installed <13>Oct 18 16:39:38 rpmi: fontconfig-devel-2.15.0-alt1 sisyphus+355771.100.2.3 1724337298 installed <13>Oct 18 16:39:38 rpmi: libfreetype-devel-2.13.3-alt1 sisyphus+355656.100.1.1 1724221064 installed <13>Oct 18 16:39:38 rpmi: libcairo-devel-1:1.18.2-alt1 sisyphus+357195.100.1.1 1725948391 installed <13>Oct 18 16:39:38 rpmi: libharfbuzz-devel-10.0.1-alt1 sisyphus+358317.100.1.1 1727257731 installed <13>Oct 18 16:39:38 rpmi: libXft-devel-2.3.8-alt1 sisyphus+331490.400.1.1 1697023269 installed <13>Oct 18 16:39:38 rpmi: libpango-devel-1.54.0-alt1 sisyphus+350796.200.1.1 1718041393 installed <13>Oct 18 16:39:38 rpmi: libXi-1.8-alt1 sisyphus+285490.200.1.1 1632124174 installed <13>Oct 18 16:39:38 rpmi: libXinerama-1.1.5-alt1 sisyphus+309287.100.1.1 1667213208 installed <13>Oct 18 16:39:38 rpmi: libXrandr-1.5.4-alt1 sisyphus+330992.100.1.1 1696485400 installed <13>Oct 18 16:39:38 rpmi: dbus-tools-gui-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487401 installed <13>Oct 18 16:39:38 rpmi: GConf-3.2.6-alt4 sisyphus+346002.100.2.1 1716202565 installed <13>Oct 18 16:39:39 rpmi: gnome-vfs-1:2.24.4-alt12 sisyphus+346252.200.2.1 1716416519 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>Oct 18 16:39:39 rpmi: gnome-vfs-devel-1:2.24.4-alt12 sisyphus+346252.200.2.1 1716416519 installed <13>Oct 18 16:39:39 rpmi: libXcomposite-0.4.6-alt1 sisyphus+311188.200.1.1 1670233682 installed <13>Oct 18 16:39:39 rpmi: libXdamage-1.1.6-alt1 sisyphus+311188.300.1.1 1670233711 installed <13>Oct 18 16:39:39 rpmi: libgtk+2-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Oct 18 16:39:39 rpmi: libglade-2.6.4-alt6 sisyphus+286822.100.2.1 1633968398 installed <13>Oct 18 16:39:39 rpmi: libgtk+2-devel-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Oct 18 16:39:39 rpmi: libgail-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Oct 18 16:39:39 rpmi: libgnomecanvas-2.30.3-alt2 sisyphus+278556.100.1.3 1626253822 installed <13>Oct 18 16:39:39 rpmi: libgnomecanvas-devel-2.30.3-alt2 sisyphus+278556.100.1.3 1626253822 installed <13>Oct 18 16:39:39 rpmi: libpulseaudio-17.0-alt2 sisyphus+339257.100.1.1 1706519226 installed <13>Oct 18 16:39:39 rpmi: libcanberra-0.30-alt3 sisyphus+275093.100.2.3 1624562350 installed <13>Oct 18 16:39:39 rpmi: libgnome-2.32.1-alt4 sisyphus+275101.100.2.2 1624564313 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>Oct 18 16:39:39 rpmi: libbonoboui-2.24.5-alt1 sisyphus+278557.100.1.2 1626254327 installed <13>Oct 18 16:39:39 rpmi: libgnome-devel-2.32.1-alt4 sisyphus+275101.100.2.2 1624564313 installed <13>Oct 18 16:39:39 rpmi: libbonoboui-devel-2.24.5-alt1 sisyphus+278557.100.1.2 1626254327 installed <13>Oct 18 16:39:39 rpmi: libgnomeui-2.24.5-alt3 sisyphus+278852.100.1.2 1626301958 installed <13>Oct 18 16:39:39 rpmi: libgnomeui-devel-2.24.5-alt3 sisyphus+278852.100.1.2 1626301958 installed <13>Oct 18 16:39:39 rpmi: libglade-devel-2.6.4-alt6 sisyphus+286822.100.2.1 1633968398 installed <13>Oct 18 16:39:39 rpmi: gcc-c++-14-alt1 icarus+359818.400.1.1 1729097861 installed <13>Oct 18 16:39:39 rpmi: perl-XML-Parser-2.47-alt1 sisyphus+337612.100.1.1 1704201438 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/gnome-peercast-0.5.4-alt3.qa3.nosrc.rpm (w1.gzdio) Installing gnome-peercast-0.5.4-alt3.qa3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.53751 + 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): + /usr/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.53751 + 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 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + 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_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --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... /usr/bin/ginstall -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 x86_64-alt-linux-gcc... x86_64-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking dependency style of x86_64-alt-linux-gcc... none checking for library containing strerror... none required checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes checking for x86_64-alt-linux-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-alt-linux-gcc... (cached) none checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for x86_64-alt-linux-gcc option to accept ANSI C... none needed checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by x86_64-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... x86_64-alt-linux-g++ -E checking for x86_64-alt-linux-g77... no checking for x86_64-alt-linux-f77... no checking for x86_64-alt-linux-xlf... no checking for x86_64-alt-linux-frt... no checking for x86_64-alt-linux-pgf77... no checking for x86_64-alt-linux-cf77... no checking for x86_64-alt-linux-fort77... no checking for x86_64-alt-linux-fl32... no checking for x86_64-alt-linux-af77... no checking for x86_64-alt-linux-f90... no checking for x86_64-alt-linux-xlf90... no checking for x86_64-alt-linux-pgf90... no checking for x86_64-alt-linux-pghpf... no checking for x86_64-alt-linux-epcf90... no checking for x86_64-alt-linux-gfortran... no checking for x86_64-alt-linux-g95... no checking for x86_64-alt-linux-f95... no checking for x86_64-alt-linux-fort... no checking for x86_64-alt-linux-xlf95... no checking for x86_64-alt-linux-ifort... no checking for x86_64-alt-linux-ifc... no checking for x86_64-alt-linux-efc... no checking for x86_64-alt-linux-pgf95... no checking for x86_64-alt-linux-lf95... no checking for x86_64-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 x86_64-alt-linux-gcc object... failed checking for objdir... .libs checking for x86_64-alt-linux-ar... no checking for ar... ar checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for x86_64-alt-linux-strip... no checking for strip... strip checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... cat: '/etc/ld.so.conf.d/*.conf': No such file or directory 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 x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC checking if x86_64-alt-linux-g++ PIC flag -fPIC works... yes checking if x86_64-alt-linux-g++ static flag -static works... no checking if x86_64-alt-linux-g++ supports -c -o file.o... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... cat: '/etc/ld.so.conf.d/*.conf': No such file or directory 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 x86_64-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 -j16 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 x86_64-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 -flto=auto -c -o socket.lo `test -f '../peercast/core/common/socket.cpp' || echo './'`../peercast/core/common/socket.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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 x86_64-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 -flto=auto -c -o stats.lo `test -f '../peercast/core/common/stats.cpp' || echo './'`../peercast/core/common/stats.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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:33: 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:33: 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:33: 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 x86_64-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 -flto=auto -c -o http.lo `test -f '../peercast/core/common/http.cpp' || echo './'`../peercast/core/common/http.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ ../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 x86_64-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 -flto=auto -c -o stream.lo `test -f '../peercast/core/common/stream.cpp' || echo './'`../peercast/core/common/stream.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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:32: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 179 | writeChar(code & 0x3F | 0x80); | ~~~~~^~~~~~ ../peercast/core/common/stream.cpp:184:35: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 184 | writeChar(code>>6 & 0x3F | 0x80); | ~~~~~~~~^~~~~~ ../peercast/core/common/stream.cpp:185:32: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 185 | writeChar(code & 0x3F | 0x80); | ~~~~~^~~~~~ ../peercast/core/common/stream.cpp:190:36: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 190 | writeChar(code>>12 & 0x3F | 0x80); | ~~~~~~~~~^~~~~~ ../peercast/core/common/stream.cpp:191:35: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 191 | writeChar(code>>6 & 0x3F | 0x80); | ~~~~~~~~^~~~~~ ../peercast/core/common/stream.cpp:192:32: 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 x86_64-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 -flto=auto -c -o usys.lo `test -f '../peercast/core/unix/usys.cpp' || echo './'`../peercast/core/unix/usys.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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 x86_64-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 -flto=auto -c -o peercast.lo `test -f '../peercast/core/common/peercast.cpp' || echo './'`../peercast/core/common/peercast.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from ../peercast/core/common/servent.h:29: ../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: ../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 x86_64-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 -flto=auto -c -o inifile.lo `test -f '../peercast/core/common/inifile.cpp' || echo './'`../peercast/core/common/inifile.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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:24: 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 x86_64-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 -flto=auto -c -o usocket.lo `test -f '../peercast/core/unix/usocket.cpp' || echo './'`../peercast/core/unix/usocket.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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:21: 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:68: 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:16: 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 x86_64-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 -flto=auto -c -o xml.lo `test -f '../peercast/core/common/xml.cpp' || echo './'`../peercast/core/common/xml.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/xml.cpp: In member function 'void XML::Node::setBinaryContent(void*, int)': ../peercast/core/common/xml.cpp:89:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 89 | register char *ap = contData; | ^~ ../peercast/core/common/xml.cpp:91:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 91 | for(register int i=0; i') | ^~ ../peercast/core/common/xml.cpp:429:25: 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 x86_64-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 -flto=auto -c -o sys.lo `test -f '../peercast/core/common/sys.cpp' || echo './'`../peercast/core/common/sys.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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:9: 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:18: 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:25: 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:25: note: in expansion of macro 'isSJIS' 417 | else if(isSJIS(c,d)) // shift_jis | ^~~~~~ ../peercast/core/common/sys.cpp:434:33: 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:18: 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:18: 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:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 533 | while (c = *p++) | ~~^~~~~~ ../peercast/core/common/sys.cpp:541:33: 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:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 564 | while (c = *in++) | ~~^~~~~~~ ../peercast/core/common/sys.cpp:572:33: 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:18: 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:18: 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(TYPE)': ../peercast/core/common/sys.cpp:653:24: warning: enumeration value 'T_UNICODE' not handled in switch [-Wswitch] 653 | switch (type) | ^ ../peercast/core/common/sys.cpp:653:24: warning: enumeration value 'T_UNICODESAFE' not handled in switch [-Wswitch] ../peercast/core/common/sys.cpp:674:24: 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 x86_64-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 -flto=auto -c -o html.lo `test -f '../peercast/core/common/html.cpp' || echo './'`../peercast/core/common/html.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:17: 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"; | ^~~~~~~~~~~~ ../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 x86_64-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 -flto=auto -c -o gnutella.lo `test -f '../peercast/core/common/gnutella.cpp' || echo './'`../peercast/core/common/gnutella.cpp mkdir .libs x86_64-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 -flto=auto -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:23: 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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: 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:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:53: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 392 | int ip,port,cnt,total; | ^~~ ../peercast/core/common/gnutella.cpp:392:57: warning: variable 'total' set but not used [-Wunused-but-set-variable] 392 | int ip,port,cnt,total; | ^~~~~ ../peercast/core/common/gnutella.cpp:440:39: warning: unused variable 'spd' [-Wunused-variable] 440 | short spd = data.readShort(); | ^~~ ../peercast/core/common/gnutella.cpp:498:37: 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:21: warning: variable 'index' set but not used [-Wunused-but-set-variable] 613 | int index,bitrate,listeners; | ^~~~~ ../peercast/core/common/gnutella.cpp:613:27: warning: variable 'bitrate' set but not used [-Wunused-but-set-variable] 613 | int index,bitrate,listeners; | ^~~~~~~ ../peercast/core/common/gnutella.cpp:599:13: warning: unused variable 'spd' [-Wunused-variable] 599 | int spd = data.readLong(); // speed/broadcast | ^~~ ../peercast/core/common/gnutella.cpp:682:13: warning: unused variable 'vendor' [-Wunused-variable] 682 | int vendor = data.readLong(); // vendor ID | ^~~~~~ ../peercast/core/common/gnutella.cpp:696:13: warning: variable 'maxPreviewTime' set but not used [-Wunused-but-set-variable] 696 | int maxPreviewTime=0; | ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.cpp:730:14: 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: ../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"; | ^~~~~~~~~~ ../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 x86_64-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 -flto=auto -c -o servhs.lo `test -f '../peercast/core/common/servhs.cpp' || echo './'`../peercast/core/common/servhs.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: 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:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:23: 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:21: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 601 | while (http.nextHeader()); | ^~~~~ ../peercast/core/common/servhs.cpp:602:25: 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:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 701 | if (cmpCGIarg(cmd,"cmd=","redirect")) | ^~~~~~ ../peercast/core/common/servhs.cpp:701:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 701 | if (cmpCGIarg(cmd,"cmd=","redirect")) | ^~~~~~~~~~ ../peercast/core/common/servhs.cpp:725:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 725 | if (cmpCGIarg(cmd,"cmd=","viewxml")) | ^~~~~~ ../peercast/core/common/servhs.cpp:725:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 725 | if (cmpCGIarg(cmd,"cmd=","viewxml")) | ^~~~~~~~~ ../peercast/core/common/servhs.cpp:730:49: 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:56: 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:49: 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:56: 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:49: 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:56: 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:49: 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:56: 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:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 754 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:771:49: 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:56: 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:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 777 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:809:49: 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:56: 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:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 824 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1031:49: 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:56: 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:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1038 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1080:49: 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:56: 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:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1084 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1097:49: 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:56: 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:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1100 | bool stayConnected=hasCGIarg(cmd,"relay"); | ^~~~~~~ ../peercast/core/common/servhs.cpp:1110:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1110 | if (cmpCGIarg(cmd,tmp,"1")) | ^~~ ../peercast/core/common/servhs.cpp:1129:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1129 | if (hasCGIarg(cmd,"relay")) | ^~~~~~~ ../peercast/core/common/servhs.cpp:1127:45: warning: unused variable 'findArg' [-Wunused-variable] 1127 | const char *findArg = getCGIarg(cmd,"keywords="); | ^~~~~~~ ../peercast/core/common/servhs.cpp:1135:49: 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:56: 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:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1138 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1154:49: 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:56: 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:49: 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:56: 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:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1173 | if (cmpCGIarg(cmd,tmp,"1")) | ^~~ ../peercast/core/common/servhs.cpp:1175:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1175 | if (hasCGIarg(cmd,"stop")) | ^~~~~~ ../peercast/core/common/servhs.cpp:1183:49: 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:56: 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:49: 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:56: 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:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1191 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1205:49: 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:56: 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:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1209 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1222:49: 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:56: 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:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1226 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1248:49: 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:56: 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:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1252 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1279:49: 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:56: 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:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1284 | while (cmd=nextCGIarg(cmd,curr,arg)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1300:49: 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:56: 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:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1302 | jumpArg = "/"; | ^~~ ../peercast/core/common/servhs.cpp:1305:49: 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:56: 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:49: 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:56: 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:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1326 | while (cp=nextCGIarg(cp,curr,arg)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1340:75: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1340 | while (cmd=nextCGIarg(cmd,curr,arg)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1377:51: 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: ../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: ../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"; | ^~~~~~~~~~~~ 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 x86_64-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 -flto=auto -c -o mp3.lo `test -f '../peercast/core/common/mp3.cpp' || echo './'`../peercast/core/common/mp3.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/channel.h:24: ../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 x86_64-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 -flto=auto -c -o jis.lo `test -f '../peercast/core/common/jis.cpp' || echo './'`../peercast/core/common/jis.cpp x86_64-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 -flto=auto -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 x86_64-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 -flto=auto -c -o servmgr.lo `test -f '../peercast/core/common/servmgr.cpp' || echo './'`../peercast/core/common/servmgr.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: 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:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:17: warning: 'AtomStream::io' will be initialized after [-Wreorder] 205 | Stream &io; | ^~ ../peercast/core/common/atom.h:204:17: warning: 'int AtomStream::numChildren' [-Wreorder] 204 | int numChildren,numData; | ^~~~~~~~~~~ ../peercast/core/common/atom.h:30:9: 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:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 490 | if (cnt == id) | ^~ ../peercast/core/common/servmgr.cpp:492:25: 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:17: 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(FW_STATE)': ../peercast/core/common/servmgr.cpp:827:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 827 | str = "ON"; | ^~~~ ../peercast/core/common/servmgr.cpp:830:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 830 | str = "OFF"; | ^~~~~ ../peercast/core/common/servmgr.cpp:834:39: 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:38: 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:28: 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:22: warning: unused variable 'lastPasvFind' [-Wunused-variable] 1853 | unsigned int lastPasvFind=0; | ^~~~~~~~~~~~ ../peercast/core/common/servmgr.cpp:1854:22: warning: unused variable 'lastBroadcast' [-Wunused-variable] 1854 | unsigned int lastBroadcast=0; | ^~~~~~~~~~~~~ ../peercast/core/common/servmgr.cpp:1860:22: warning: unused variable 'lastBWcheck' [-Wunused-variable] 1860 | unsigned int lastBWcheck=0; | ^~~~~~~~~~~ ../peercast/core/common/servmgr.cpp:1861:22: warning: unused variable 'bytesIn' [-Wunused-variable] 1861 | unsigned int bytesIn=0,bytesOut=0; | ^~~~~~~ ../peercast/core/common/servmgr.cpp:1861:32: 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:22: 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: ../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: ../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 x86_64-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 -flto=auto -c -o nsv.lo `test -f '../peercast/core/common/nsv.cpp' || echo './'`../peercast/core/common/nsv.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ In file included from ../peercast/core/common/channel.h:24: ../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 x86_64-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 -flto=auto -c -o mms.lo `test -f '../peercast/core/common/mms.cpp' || echo './'`../peercast/core/common/mms.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: 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:54: warning: unused variable 'dpHi' [-Wunused-variable] 139 | unsigned int dpHi = data.readLong(); | ^~~~ ../peercast/core/common/mms.cpp:132:32: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 132 | switch (obj.type) | ^ ../peercast/core/common/mms.cpp:132:32: warning: enumeration value 'T_HEAD_OBJECT' not handled in switch [-Wswitch] ../peercast/core/common/mms.cpp:132:32: warning: enumeration value 'T_DATA_OBJECT' not handled in switch [-Wswitch] In file included from ../peercast/core/common/channel.h:24: ../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 x86_64-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 -flto=auto -c -o icy.lo `test -f '../peercast/core/common/icy.cpp' || echo './'`../peercast/core/common/icy.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: 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:17: 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:17: 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: ../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 x86_64-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 -flto=auto -c -o ogg.lo `test -f '../peercast/core/common/ogg.cpp' || echo './'`../peercast/core/common/ogg.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: 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:22: warning: 'OggSubStream::serialNo' will be initialized after [-Wreorder] 86 | unsigned int serialNo; | ^~~~~~~~ ../peercast/core/common/ogg.h:82:17: warning: 'int OggSubStream::bitrate' [-Wreorder] 82 | int bitrate; | ^~~~~~~ ../peercast/core/common/ogg.h:51:9: 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:13: warning: unused variable 'verMaj' [-Wunused-variable] 211 | int verMaj = in.readBits(8); | ^~~~~~ ../peercast/core/common/ogg.cpp:212:13: warning: unused variable 'verMin' [-Wunused-variable] 212 | int verMin = in.readBits(8); | ^~~~~~ ../peercast/core/common/ogg.cpp:213:13: 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:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 331 | if (l > sizeof(argBuf)) | ~~^~~~~~~~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24: ../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 x86_64-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 -flto=auto -c -o url.lo `test -f '../peercast/core/common/url.cpp' || echo './'`../peercast/core/common/url.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: 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:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:33: 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:32: warning: variable 'name' set but not used [-Wunused-but-set-variable] 166 | String name = ch->info.name; | ^~~~ ../peercast/core/common/url.cpp:278:25: 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:17: 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:17: 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:17: 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: ../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 x86_64-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 -flto=auto -c -o servent.lo `test -f '../peercast/core/common/servent.cpp' || echo './'`../peercast/core/common/servent.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: 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:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:17: warning: 'AtomStream::io' will be initialized after [-Wreorder] 205 | Stream &io; | ^~ ../peercast/core/common/atom.h:204:17: warning: 'int AtomStream::numChildren' [-Wreorder] 204 | int numChildren,numData; | ^~~~~~~~~~~ ../peercast/core/common/atom.h:30:9: 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:17: 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:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | "LISTENING", | ^~~~~~~~~~~ ../peercast/core/common/servent.cpp:51:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | "TIMEOUT", | ^~~~~~~~~ ../peercast/core/common/servent.cpp:52:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | "REFUSED", | ^~~~~~~~~ ../peercast/core/common/servent.cpp:53:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | "VERIFIED", | ^~~~~~~~~~ ../peercast/core/common/servent.cpp:54:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | "ERROR", | ^~~~~~~ ../peercast/core/common/servent.cpp:55:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | "WAIT", | ^~~~~~ ../peercast/core/common/servent.cpp:56:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | "FREE" | ^~~~~~ ../peercast/core/common/servent.cpp:62:17: 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:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | "RELAY", | ^~~~~~~ ../peercast/core/common/servent.cpp:66:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | "DIRECT", | ^~~~~~~~ ../peercast/core/common/servent.cpp:67:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | "COUT", | ^~~~~~ ../peercast/core/common/servent.cpp:68:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | "CIN", | ^~~~~ ../peercast/core/common/servent.cpp:69:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | "PGNU" | ^~~~~~ ../peercast/core/common/servent.h: In constructor 'Servent::Servent(int)': ../peercast/core/common/servent.h:276:40: warning: 'Servent::outPacketsPri' will be initialized after [-Wreorder] 276 | GnuPacketBuffer outPacketsNorm,outPacketsPri; | ^~~~~~~~~~~~~ ../peercast/core/common/servent.h:276:25: 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) | ^~~~~~~ ../peercast/core/common/servent.h:276:25: warning: 'Servent::outPacketsNorm' will be initialized after [-Wreorder] 276 | GnuPacketBuffer outPacketsNorm,outPacketsPri; | ^~~~~~~~~~~~~~ ../peercast/core/common/servent.h:244:25: 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:17: 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:17: 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:17: 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:13: 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:17: 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:40: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 1117 | switch (chanInfo.contentType) | ^ ../peercast/core/common/servent.cpp:1117:40: warning: enumeration value 'T_RAW' not handled in switch [-Wswitch] ../peercast/core/common/servent.cpp:1117:40: warning: enumeration value 'T_OGM' not handled in switch [-Wswitch] ../peercast/core/common/servent.cpp:1117:40: 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:39: warning: enumeration value 'R_PROCESS' not handled in switch [-Wswitch] 1281 | switch(ret) | ^ ../peercast/core/common/servent.cpp:1351:33: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 1351 | if (lpt > packetTimeoutSecs) | ~~~~^~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servent.cpp:1362:25: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 1362 | if (lpt > abortTimeoutSecs) | ~~~~^~~~~~~~~~~~~~~~~~ ../peercast/core/common/servent.cpp:1244:22: warning: unused variable 'currBytes' [-Wunused-variable] 1244 | unsigned int currBytes=0; | ^~~~~~~~~ ../peercast/core/common/servent.cpp:1245:22: warning: unused variable 'lastWait' [-Wunused-variable] 1245 | unsigned int lastWait=0; | ^~~~~~~~ ../peercast/core/common/servent.cpp: In static member function 'static void Servent::handshakeOutgoingPCP(AtomStream&, Host&, GnuID&, String&, bool)': ../peercast/core/common/servent.cpp:1547:13: warning: variable 'version' set but not used [-Wunused-but-set-variable] 1547 | int version=0; | ^~~~~~~ ../peercast/core/common/servent.cpp: In static member function 'static int Servent::outgoingProc(ThreadInfo*)': ../peercast/core/common/servent.cpp:2097:41: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 2097 | delete sv->sock; | ^~~~~~~~~~~~~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::processStream(bool, ChanInfo&)': ../peercast/core/common/servent.cpp:2186:22: warning: variable 'host' set but not used [-Wunused-but-set-variable] 2186 | Host host = sock->host; | ^~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::sendRawMetaChannel(int)': ../peercast/core/common/servent.cpp:2451:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 2451 | if ((interval > sizeof(buf)) || (interval < 1)) | ~~~~~~~~~^~~~~~~~~~~~~ ../peercast/core/common/servent.cpp:2521:118: warning: embedded '\0' in format [-Wformat-contains-nul] 2521 | sprintf(tmp,"StreamTitle='%s';StreamUrl='%s';\0",title.cstr(),url.cstr()); | ^~ ../peercast/core/common/servent.cpp: In member function 'void Servent::sendPeercastChannel()': ../peercast/core/common/servent.cpp:2566:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2566 | sock->writeTag("PCST"); | ^~~~~~ ../peercast/core/common/servent.cpp:2588:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2588 | sock->writeTag("SYNC"); | ^~~~~~ 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:17: 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: ../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: ../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 x86_64-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 -flto=auto -c -o channel.lo `test -f '../peercast/core/common/channel.cpp' || echo './'`../peercast/core/common/channel.cpp x86_64-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 -flto=auto -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:29: warning: multi-character character constant [-Wmultichar] 1250 | if (in.readTag() != 'PCST') | ^~~~~~ ../peercast/core/common/channel.cpp:1385:35: warning: multi-character character constant [-Wmultichar] 1385 | case T_HEAD: tp = 'HEAD'; break; | ^~~~~~ ../peercast/core/common/channel.cpp:1386:35: warning: multi-character character constant [-Wmultichar] 1386 | case T_META: tp = 'META'; break; | ^~~~~~ ../peercast/core/common/channel.cpp:1387:35: warning: multi-character character constant [-Wmultichar] 1387 | case T_DATA: tp = 'DATA'; break; | ^~~~~~ ../peercast/core/common/channel.cpp:1405:22: warning: multi-character character constant [-Wmultichar] 1405 | case 'HEAD': type = T_HEAD; break; | ^~~~~~ ../peercast/core/common/channel.cpp:1406:22: warning: multi-character character constant [-Wmultichar] 1406 | case 'DATA': type = T_DATA; break; | ^~~~~~ ../peercast/core/common/channel.cpp:1407:22: 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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: 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:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:17: warning: 'AtomStream::io' will be initialized after [-Wreorder] 205 | Stream &io; | ^~ ../peercast/core/common/atom.h:204:17: warning: 'int AtomStream::numChildren' [-Wreorder] 204 | int numChildren,numData; | ^~~~~~~~~~~ ../peercast/core/common/atom.h:30:9: 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:22: warning: 'OggSubStream::serialNo' will be initialized after [-Wreorder] 86 | unsigned int serialNo; | ^~~~~~~~ ../peercast/core/common/ogg.h:82:17: warning: 'int OggSubStream::bitrate' [-Wreorder] 82 | int bitrate; | ^~~~~~~ ../peercast/core/common/ogg.h:51:9: warning: when initialized here [-Wreorder] 51 | OggSubStream() | ^~~~~~~~~~~~ ../peercast/core/common/channel.cpp: At global scope: ../peercast/core/common/channel.cpp:51:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | "NONE", | ^~~~~~ ../peercast/core/common/channel.cpp:52:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | "PEERCAST", | ^~~~~~~~~~ ../peercast/core/common/channel.cpp:53:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 53 | "SHOUTCAST", | ^~~~~~~~~~~ ../peercast/core/common/channel.cpp:54:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 54 | "ICECAST", | ^~~~~~~~~ ../peercast/core/common/channel.cpp:55:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | "URL" | ^~~~~ ../peercast/core/common/channel.cpp:60:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 60 | "NONE", | ^~~~~~ ../peercast/core/common/channel.cpp:61:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | "WAIT", | ^~~~~~ ../peercast/core/common/channel.cpp:62:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 62 | "CONNECT", | ^~~~~~~~~ ../peercast/core/common/channel.cpp:63:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | "REQUEST", | ^~~~~~~~~ ../peercast/core/common/channel.cpp:64:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | "CLOSE", | ^~~~~~~ ../peercast/core/common/channel.cpp:65:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 65 | "RECEIVE", | ^~~~~~~~~ ../peercast/core/common/channel.cpp:66:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | "BROADCAST", | ^~~~~~~~~~~ ../peercast/core/common/channel.cpp:67:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | "ABORT", | ^~~~~~~ ../peercast/core/common/channel.cpp:68:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | "SEARCH", | ^~~~~~~~ ../peercast/core/common/channel.cpp:69:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | "NOHOSTS", | ^~~~~~~~~ ../peercast/core/common/channel.cpp:70:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | "IDLE", | ^~~~~~ ../peercast/core/common/channel.cpp:71:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 71 | "ERROR", | ^~~~~~~ ../peercast/core/common/channel.cpp:72:9: 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:17: 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:17: 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:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 591 | char *type = ""; | ^~ ../peercast/core/common/channel.cpp:593:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 593 | type = "(tracker)"; | ^~~~~~~~~~~ ../peercast/core/common/channel.cpp:595:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 595 | type = "(YP)"; | ^~~~~~ ../peercast/core/common/channel.cpp:676:33: 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:33: 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:30: 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:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 1270 | switch(pack.type) | ^ ../peercast/core/common/channel.cpp:1270:23: warning: enumeration value 'T_PCP' not handled in switch [-Wswitch] ../peercast/core/common/channel.cpp:1270:23: 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:16: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 1383 | switch (type) | ^ ../peercast/core/common/channel.cpp:1383:16: warning: enumeration value 'T_PCP' not handled in switch [-Wswitch] ../peercast/core/common/channel.cpp:1383:16: 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:43: 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:70: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2865 | if (ch->dead || ((ctime-ch->time) > timeout) && (clearTrackers || (!clearTrackers & !ch->tracker))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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:17: 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: ../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"; | ^~~~~~~~~~~~ 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 x86_64-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 -flto=auto -c -o pcp.lo `test -f '../peercast/core/common/pcp.cpp' || echo './'`../peercast/core/common/pcp.cpp x86_64-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 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ ../peercast/core/common/atom.h: In constructor 'AtomStream::AtomStream(Stream&)': ../peercast/core/common/atom.h:205:17: warning: 'AtomStream::io' will be initialized after [-Wreorder] 205 | Stream &io; | ^~ ../peercast/core/common/atom.h:204:17: warning: 'int AtomStream::numChildren' [-Wreorder] 204 | int numChildren,numData; | ^~~~~~~~~~~ ../peercast/core/common/atom.h:30:9: 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:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: 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:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:101: 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:14: 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:17: 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: ../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: ../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=link x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -o libpeercast.la -rpath /usr/lib64 -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 ar: `u' modifier ignored since `D' is the default (see `U') 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' x86_64-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/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/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/pango-1.0 -I/usr/include/harfbuzz -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/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:731:3: note: declared here 731 | } GTypeDebugFlags GOBJECT_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' x86_64-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/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/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/pango-1.0 -I/usr/include/harfbuzz -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/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: 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:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:731:3: note: declared here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from utils.h:31: /usr/include/glib-2.0/glib/gtypes.h:578:26: note: declared here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ 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:28: /usr/include/glib-2.0/gobject/gparam.h:204:33: note: declared here 204 | typedef struct _GParameter GParameter GOBJECT_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: /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:45: /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /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); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | 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:25: warning: variable 'cd' set but not used [-Wunused-but-set-variable] 47 | ChaninfoDialog *cd; | ^~ In file included from gnome-peercast.h: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: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:17: 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: ../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: ../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' x86_64-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/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/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/pango-1.0 -I/usr/include/harfbuzz -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/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: 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:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:731:3: note: declared here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:578:26: note: declared here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5: /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:28: /usr/include/glib-2.0/gobject/gparam.h:204:33: note: declared here 204 | typedef struct _GParameter GParameter GOBJECT_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:45: /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /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); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ main.cpp: In function 'int main(gint, gchar**)': main.cpp:109:23: warning: variable 'program' set but not used [-Wunused-but-set-variable] 109 | GnomeProgram *program; | ^~~~~~~ main.cpp:114:23: 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:17: 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: ../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' x86_64-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/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/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/pango-1.0 -I/usr/include/harfbuzz -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/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:731:3: note: declared here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:578:26: note: declared here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5: /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:28: /usr/include/glib-2.0/gobject/gparam.h:204:33: note: declared here 204 | typedef struct _GParameter GParameter GOBJECT_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:45: /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /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); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | 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: ../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:17: 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: ../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: ../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' x86_64-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/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/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/pango-1.0 -I/usr/include/harfbuzz -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/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:731:3: note: declared here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:578:26: note: declared here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5: /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:28: /usr/include/glib-2.0/gobject/gparam.h:204:33: note: declared here 204 | typedef struct _GParameter GParameter GOBJECT_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: /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:45: /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /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); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | 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: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ In file included from ../peercast/core/common/servent.h:29: ../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: ../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: ../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:17: 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' x86_64-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/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/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/pango-1.0 -I/usr/include/harfbuzz -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/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:731:3: note: declared here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from utils.h:31: /usr/include/glib-2.0/glib/gtypes.h:578:26: note: declared here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ 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:28: /usr/include/glib-2.0/gobject/gparam.h:204:33: note: declared here 204 | typedef struct _GParameter GParameter GOBJECT_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h: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: ../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' x86_64-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/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/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/pango-1.0 -I/usr/include/harfbuzz -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/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:731:3: note: declared here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from utils.h:31: /usr/include/glib-2.0/glib/gtypes.h:578:26: note: declared here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ 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:28: /usr/include/glib-2.0/gobject/gparam.h:204:33: note: declared here 204 | typedef struct _GParameter GParameter GOBJECT_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:45: /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /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); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ connection-list.cpp: In constructor 'ConnectionList::ConnectionList(GtkWidget*)': connection-list.cpp:213:21: 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: ../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:17: 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: ../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: ../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' x86_64-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/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/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/pango-1.0 -I/usr/include/harfbuzz -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/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:731:3: note: declared here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from utils.h:31: /usr/include/glib-2.0/glib/gtypes.h:578:26: note: declared here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ 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:28: /usr/include/glib-2.0/gobject/gparam.h:204:33: note: declared here 204 | typedef struct _GParameter GParameter GOBJECT_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: /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:45: /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /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); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ channel-list.cpp: In constructor 'ChannelList::ChannelList(GtkWidget*, GtkWindow*)': channel-list.cpp:466:21: 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:25: warning: variable 'cd' set but not used [-Wunused-but-set-variable] 612 | ChaninfoDialog *cd; | ^~ In file included from gnome-peercast.h: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: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:17: 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: ../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: ../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' x86_64-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/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/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/pango-1.0 -I/usr/include/harfbuzz -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/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:731:3: note: declared here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:578:26: note: declared here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5: /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:28: /usr/include/glib-2.0/gobject/gparam.h:204:33: note: declared here 204 | typedef struct _GParameter GParameter GOBJECT_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: /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:45: /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /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); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | 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: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: warning: when initialized here [-Wreorder] 35 | BCID() | ^~~~ callbacks.cpp: In function 'void menu_new_cb(GtkMenuItem*, gpointer)': callbacks.cpp:54:27: 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:24: warning: variable 'sd' set but not used [-Wunused-but-set-variable] 101 | SettingDialog *sd; | ^~ In file included from ../peercast/core/common/servent.h:29: ../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: ../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: ../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:17: 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' x86_64-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/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/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/pango-1.0 -I/usr/include/harfbuzz -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/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:731:3: note: declared here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:578:26: note: declared here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/libgnome-2.0/libgnome/libgnome.h:29, from /usr/include/libgnomeui-2.0/gnome.h:5: /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:28: /usr/include/glib-2.0/gobject/gparam.h:204:33: note: declared here 204 | typedef struct _GParameter GParameter GOBJECT_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:45: /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /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); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from gnome-peercast.h:31: ../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:17: 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: ../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: ../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' x86_64-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/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/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/pango-1.0 -I/usr/include/harfbuzz -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/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: 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: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 677 | switch (type) | ^ ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:731:3: note: declared here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from utils.h:31: /usr/include/glib-2.0/glib/gtypes.h:578:26: note: declared here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ 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:28: /usr/include/glib-2.0/gobject/gparam.h:204:33: note: declared here 204 | typedef struct _GParameter GParameter GOBJECT_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:45: /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /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); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ In file included from gnome-peercast.h:31: ../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:17: 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: ../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: ../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' x86_64-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/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/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/pango-1.0 -I/usr/include/harfbuzz -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/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:22: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] 214 | unsigned int lastUpdate; | ^~~~~~~~~~ ../peercast/core/common/stream.h:208:23: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] 208 | unsigned char bitsBuffer; | ^~~~~~~~~~ ../peercast/core/common/stream.h:36:9: 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:31: 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:31: 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:31: 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:31: 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:31: warning: statement has no effect [-Wunused-value] 171 | CHECK_ENDIAN4(v); | ~^~ In file included from ../peercast/core/common/channel.h:26: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:23: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] 208 | switch(type) | ^ In file included from ../peercast/core/common/channel.h:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:25: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] 143 | int numListeners; | ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:25: warning: 'int ChannelStream::numRelays' [-Wreorder] 142 | int numRelays; | ^~~~~~~~~ ../peercast/core/common/cstream.h:122:9: warning: when initialized here [-Wreorder] 122 | ChannelStream() | ^~~~~~~~~~~~~ ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:32: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] 666 | switch (type) | ^ ../peercast/core/common/channel.h:666:32: 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:24: 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:18: warning: 'BCID::next' will be initialized after [-Wreorder] 44 | BCID *next; | ^~~~ ../peercast/core/common/servmgr.h:43:17: warning: 'bool BCID::valid' [-Wreorder] 43 | bool valid; | ^~~~~ ../peercast/core/common/servmgr.h:35:9: 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:45, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/gconf/2/gconf/gconf-client.h:24: /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /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); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | typedef gint32 GTime GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~ /usr/include/gconf/2/gconf/gconf-value.h:153:69: warning: 'GTime' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 153 | GTime mod_time); | ^ /usr/include/glib-2.0/glib/gdate.h:41:17: note: declared here 41 | 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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31: /usr/include/glib-2.0/gobject/gtype.h:731:3: note: declared here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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: /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:34, from /usr/include/glib-2.0/glib.h:32: /usr/include/glib-2.0/glib/gtypes.h:578:26: note: declared here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ 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:28: /usr/include/glib-2.0/gobject/gparam.h:204:33: note: declared here 204 | typedef struct _GParameter GParameter GOBJECT_DEPRECATED_TYPE_IN_2_54; | ^~~~~~~~~~ gnome-peercast.cpp: In member function 'void GnomePeercastApp::infoInit()': gnome-peercast.cpp:277:21: 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:401:41: warning: 'GThread* g_thread_create(GThreadFunc, gpointer, gboolean, GError**)' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 401 | thread = g_thread_create((GThreadFunc)&logview->appendLog_s, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 402 | ls, FALSE, &e); | ~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:115: /usr/include/glib-2.0/glib/deprecated/gthread.h:102:10: note: declared here 102 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ gnome-peercast.cpp:393:17: warning: unused variable 'logstr' [-Wunused-variable] 393 | gchar * logstr; | ^~~~~~ gnome-peercast.cpp:395:18: 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: ../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:17: 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: ../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 x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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.24480 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd gnome-peercast-0.5.4 + make 'INSTALL=/usr/libexec/rpm-build/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/lib64 mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/lib64 /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p libpeercast.la /usr/src/tmp/gnome-peercast-buildroot/usr/lib64/libpeercast.la /usr/libexec/rpm-build/install -p .libs/libpeercast.lai /usr/src/tmp/gnome-peercast-buildroot/usr/lib64/libpeercast.la /usr/libexec/rpm-build/install -p .libs/libpeercast.a /usr/src/tmp/gnome-peercast-buildroot/usr/lib64/libpeercast.a chmod 644 /usr/src/tmp/gnome-peercast-buildroot/usr/lib64/libpeercast.a ranlib /usr/src/tmp/gnome-peercast-buildroot/usr/lib64/libpeercast.a libtool: install: warning: remember to run `libtool --finish /usr/lib64' 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 /usr/libexec/rpm-build/install -p gnome-peercast /usr/src/tmp/gnome-peercast-buildroot/usr/bin/gnome-peercast /usr/libexec/rpm-build/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 /usr/libexec/rpm-build/install -p -m 644 gnome-peercast.glade /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/gnome-peercast.glade /usr/libexec/rpm-build/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 \ /usr/libexec/rpm-build/install -p -m 644 $lang.gmo $dir/gnome-peercast.mo; \ echo "installing $lang.gmo as $dir/gnome-peercast.mo"; \ else \ /usr/libexec/rpm-build/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 \ /usr/libexec/rpm-build/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 \ /usr/libexec/rpm-build/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 /usr/libexec/rpm-build/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 /usr/libexec/rpm-build/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 /usr/libexec/rpm-build/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 /usr/libexec/rpm-build/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/lib64/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/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 /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 + : + 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/lib64/libpeercast.la' Verifying and fixing files in /usr/src/tmp/gnome-peercast-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /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/lib64: (from :0) 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) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/gnome-peercast-buildroot Processing files: gnome-peercast-0.5.4-alt3.qa3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.55372 + 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.Sq3ZKe find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rQ9ySf find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,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.ht4P8u Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nV8hCE Requires: /lib64/ld-linux-x86-64.so.2, libX11.so.6()(64bit) >= set:okXgPTzZvKmfPdi2j13zsvJtcuLHpDrbt2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.38)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.3.1)(64bit), libgconf-2.so.4()(64bit) >= set:mjCZ3aCfhm4BzWMfdGt60, libgdk-x11-2.0.so.0()(64bit) >= set:njSckg1DSiGG5FeS8ZAdv68iWjcvX2Lxjzyu7BVZH, libgdk_pixbuf-2.0.so.0()(64bit) >= set:lka381, libglade-2.0.so.0()(64bit) >= set:jhTbouPrt7, libglib-2.0.so.0()(64bit) >= set:oiUQSRcvXOc0BHwz41F9pvyWnihGoksEAaGGzUmEFPOHpxZatizqJzUBHMbe08kgKehmGtpgMEBiD9QxlT22Ttxh8YCkE5PFaRIIY, libgnome-2.so.0()(64bit) >= set:kiOP8CDe, libgnomeui-2.so.0()(64bit) >= set:nkx6kvnDiYRAlvU1IFsySC4e, libgobject-2.0.so.0()(64bit) >= set:mi9f0bBtX2Lac5nSLoOmtddKJDCgUSGeYrT1azk5UBB0, libgtk-x11-2.0.so.0()(64bit) >= set:pijZo8lZ8QhcQ09MJHaPqnXy4v5Hw1HOiAo6sTH56mzB9NvCUw9ZIElWs4YFbXs8U0f0gQGp2YAEZoOuLZ2FT4gQIwVIPz4YRHpD3YfNEZe8aHU7CW405kADdXqTcOxJAv8n1kY7Z2EENUgHDnUdLsBLKjAGCP9QV7xYXB1xMcq9ygJwZ283u9IqysYKtS71ZiZtZaqgmzSENnyFjzNPHZtN9U23Ul6ikjPsCIbRY0eeZLl0LRXVlCl0, libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), 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.4V1D6B 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.AZtM84 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kLicp5 find-requires: running scripts (debuginfo) Requires: gnome-peercast = 0.5.4-alt3.qa3, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libX11.so.6), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libgconf-2.so.4), debug64(libgdk-x11-2.0.so.0), debug64(libgdk_pixbuf-2.0.so.0), debug64(libglade-2.0.so.0), debug64(libglib-2.0.so.0), debug64(libgnome-2.so.0), debug64(libgnomeui-2.so.0), debug64(libgobject-2.0.so.0), debug64(libgtk-x11-2.0.so.0), debug64(libstdc++.so.6) Adding to gnome-peercast-debuginfo a strict dependency on gnome-peercast Wrote: /usr/src/RPM/RPMS/x86_64/gnome-peercast-0.5.4-alt3.qa3.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/gnome-peercast-debuginfo-0.5.4-alt3.qa3.x86_64.rpm (w2.lzdio) 21.00user 10.81system 0:17.31elapsed 183%CPU (0avgtext+0avgdata 109408maxresident)k 0inputs+0outputs (0major+2027065minor)pagefaults 0swaps /.out/gnome-peercast-0.5.4-alt3.qa3.x86_64.rpm: The use of such a license name is ambiguous: GPL /.out/gnome-peercast-debuginfo-0.5.4-alt3.qa3.x86_64.rpm: The use of such a license name is ambiguous: GPL 4.20user 3.07system 0:36.37elapsed 19%CPU (0avgtext+0avgdata 136268maxresident)k 14376inputs+0outputs (0major+271343minor)pagefaults 0swaps --- gnome-peercast-0.5.4-alt3.qa3.x86_64.rpm.repo 2019-02-14 07:56:53.000000000 +0000 +++ gnome-peercast-0.5.4-alt3.qa3.x86_64.rpm.hasher 2024-10-18 16:40:00.831752711 +0000 @@ -83,16 +83,17 @@ Requires: libc.so.6(GLIBC_2.3.4)(64bit) +Requires: libc.so.6(GLIBC_2.34)(64bit) +Requires: libc.so.6(GLIBC_2.38)(64bit) Requires: libc.so.6(GLIBC_2.4)(64bit) Requires: libgcc_s.so.1(GCC_3.0)(64bit) -Requires: libgconf-2.so.4()(64bit) >= set:miIXvVZFkheto68bywzWUD6rD1 -Requires: libgdk-x11-2.0.so.0()(64bit) >= set:njq96L17Ewjr9lRyk7rAvGVP0hivyVrnUdsqkQXEcZL5 +Requires: libgcc_s.so.1(GCC_3.3.1)(64bit) +Requires: libgconf-2.so.4()(64bit) >= set:mjCZ3aCfhm4BzWMfdGt60 +Requires: libgdk-x11-2.0.so.0()(64bit) >= set:njSckg1DSiGG5FeS8ZAdv68iWjcvX2Lxjzyu7BVZH Requires: libgdk_pixbuf-2.0.so.0()(64bit) >= set:lka381 Requires: libglade-2.0.so.0()(64bit) >= set:jhTbouPrt7 -Requires: libglib-2.0.so.0()(64bit) >= set:oiUQSRcvhqMa63wlq1F9pvyWnihGoksEAaGGzUmEFPOv5vizqJzUBHMbe08kgKehmGtpgMEBiD9QxlQ2e6xMrixmcDGkPOO3 +Requires: libglib-2.0.so.0()(64bit) >= set:oiUQSRcvXOc0BHwz41F9pvyWnihGoksEAaGGzUmEFPOHpxZatizqJzUBHMbe08kgKehmGtpgMEBiD9QxlT22Ttxh8YCkE5PFaRIIY Requires: libgnome-2.so.0()(64bit) >= set:kiOP8CDe -Requires: libgnomeui-2.so.0()(64bit) >= set:njx6kvnD3jL1cepR7u0raDEoj2DP40 -Requires: libgobject-2.0.so.0()(64bit) >= set:mh9fwzuw2kSnWUOKaIybXncMmtddKSjfV9Y8dmRxvX6EcilMbb1 -Requires: libgtk-x11-2.0.so.0()(64bit) >= set:pijZo8lZ8QhcQ09MJHaPqnXy4v5Hw1HOiiKYwDxXuJMMqIc9ZjjsMAv6JiDzMIiSZmKPxw3Y0MLrqyDd1uikZJg0IkXJniL9ceYtxE9DBWpZviRz4Yq5NCpSVgH6NkZhqLzom9AlQ8eCtye1g15ZbQ6xInXCheIBYndDXW0EUfW5kQosERPbYCnKOnT5bB2LyIq8YcivBiINYpYVExYXB1xMcq9yaFkysTngmUQyDoJC8LUCCdRpv4UbZtZaqgmzSENnyFjzNPHZtN9U23Ul6ikjPsCIbRY0eeZLl0LRXVlCl0 -Requires: libpthread.so.0(GLIBC_2.2.5)(64bit) +Requires: libgnomeui-2.so.0()(64bit) >= set:nkx6kvnDiYRAlvU1IFsySC4e +Requires: libgobject-2.0.so.0()(64bit) >= set:mi9f0bBtX2Lac5nSLoOmtddKJDCgUSGeYrT1azk5UBB0 +Requires: libgtk-x11-2.0.so.0()(64bit) >= set:pijZo8lZ8QhcQ09MJHaPqnXy4v5Hw1HOiAo6sTH56mzB9NvCUw9ZIElWs4YFbXs8U0f0gQGp2YAEZoOuLZ2FT4gQIwVIPz4YRHpD3YfNEZe8aHU7CW405kADdXqTcOxJAv8n1kY7Z2EENUgHDnUdLsBLKjAGCP9QV7xYXB1xMcq9ygJwZ283u9IqysYKtS71ZiZtZaqgmzSENnyFjzNPHZtN9U23Ul6ikjPsCIbRY0eeZLl0LRXVlCl0 Requires: libstdc++.so.6(CXXABI_1.3)(64bit) -Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit) Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit) @@ -105,3 +106,3 @@ File: /etc/gconf/schemas/gnome-peercast.schemas 100644 root:root 793dbee6b113be06a0b9459aa88a57d7 -File: /usr/bin/gnome-peercast 100755 root:root 6c6866d57859ba478a99caad166c2ed2 +File: /usr/bin/gnome-peercast 100755 root:root 4a36ca0a78e2aa9af11152a0f1808d6f File: /usr/share/applications/gnome-peercast.desktop 100644 root:root 35f02070ec0d82bbbf0af1253fbbb0db @@ -176,4 +177,4 @@ File: /usr/share/gnome-peercast/small-logo.png 100644 root:root edc08247547a95c7ed0a5c659d5fb8d8 -File: /usr/share/locale/ja/LC_MESSAGES/gnome-peercast.mo 100644 root:root b849f29e4eee872d215b8c4efb3af5ac +File: /usr/share/locale/ja/LC_MESSAGES/gnome-peercast.mo 100644 root:root ca064f886c05e3b63be80d19bedbc95e File: /usr/share/pixmaps/peercast.png 100644 root:root 6eb5fc27fd16f14b015fb6986fb14724 -RPMIdentity: c5798c54dd1557a3bb78bfc7266e2c01b38efef96c53489c0ca55a72007d1138b84b46a1718a7df3acde1b383b3bbc46fd0e2275708491df3f46fd02f43508fa +RPMIdentity: 34771ff97ebd0e2cdca5586d94b41039cf121a9e8322dad7550b737492e2364bee5f003d2f3d878d041f68d7dd7b397661fb6e6a22cd6f7df35e6144ea5b9e0a --- gnome-peercast-debuginfo-0.5.4-alt3.qa3.x86_64.rpm.repo 2019-02-14 07:56:53.000000000 +0000 +++ gnome-peercast-debuginfo-0.5.4-alt3.qa3.x86_64.rpm.hasher 2024-10-18 16:40:00.893753542 +0000 @@ -1,6 +1,7 @@ -/usr/lib/debug/.build-id/51 40755 root:root -/usr/lib/debug/.build-id/51/04feea0d280132fe540a7e66fa2a4de1da0c76 120777 root:root ../../../../bin/gnome-peercast -/usr/lib/debug/.build-id/51/04feea0d280132fe540a7e66fa2a4de1da0c76.debug 120777 root:root ../../usr/bin/gnome-peercast.debug +/usr/lib/debug/.build-id/4b 40755 root:root +/usr/lib/debug/.build-id/4b/0d3bb0ab099be51a808fd90b0dd87dc7387c73 120777 root:root ../../../../bin/gnome-peercast +/usr/lib/debug/.build-id/4b/0d3bb0ab099be51a808fd90b0dd87dc7387c73.debug 120777 root:root ../../usr/bin/gnome-peercast.debug /usr/lib/debug/usr/bin/gnome-peercast.debug 100644 root:root /usr/src/debug/gnome-peercast-0.5.4 40755 root:root +/usr/src/debug/gnome-peercast-0.5.4/libpeercast 40755 root:root /usr/src/debug/gnome-peercast-0.5.4/peercast 40755 root:root @@ -66,2 +67,3 @@ /usr/src/debug/gnome-peercast-0.5.4/src/callbacks.cpp 100644 root:root +/usr/src/debug/gnome-peercast-0.5.4/src/callbacks.h 100644 root:root /usr/src/debug/gnome-peercast-0.5.4/src/chaninfo-dialog.cpp 100644 root:root @@ -98,3 +100,2 @@ Requires: debug64(libgtk-x11-2.0.so.0) -Requires: debug64(libpthread.so.0) Requires: debug64(libstdc++.so.6) @@ -103,7 +104,8 @@ Provides: gnome-peercast-debuginfo = 0.5.4-alt3.qa3:sisyphus+221433.100.2.1 -File: /usr/lib/debug/.build-id/51 40755 root:root -File: /usr/lib/debug/.build-id/51/04feea0d280132fe540a7e66fa2a4de1da0c76 120777 root:root ../../../../bin/gnome-peercast -File: /usr/lib/debug/.build-id/51/04feea0d280132fe540a7e66fa2a4de1da0c76.debug 120777 root:root ../../usr/bin/gnome-peercast.debug -File: /usr/lib/debug/usr/bin/gnome-peercast.debug 100644 root:root 788b5d279146b096ae85c9ce744c8029 +File: /usr/lib/debug/.build-id/4b 40755 root:root +File: /usr/lib/debug/.build-id/4b/0d3bb0ab099be51a808fd90b0dd87dc7387c73 120777 root:root ../../../../bin/gnome-peercast +File: /usr/lib/debug/.build-id/4b/0d3bb0ab099be51a808fd90b0dd87dc7387c73.debug 120777 root:root ../../usr/bin/gnome-peercast.debug +File: /usr/lib/debug/usr/bin/gnome-peercast.debug 100644 root:root aaa1af060aa63d995503747ab4081438 File: /usr/src/debug/gnome-peercast-0.5.4 40755 root:root +File: /usr/src/debug/gnome-peercast-0.5.4/libpeercast 40755 root:root File: /usr/src/debug/gnome-peercast-0.5.4/peercast 40755 root:root @@ -169,2 +171,3 @@ File: /usr/src/debug/gnome-peercast-0.5.4/src/callbacks.cpp 100644 root:root f4f9db3d49860d266742d9e6db8a4af9 +File: /usr/src/debug/gnome-peercast-0.5.4/src/callbacks.h 100644 root:root ea89f023636c1545a1a48892b0a2116d File: /usr/src/debug/gnome-peercast-0.5.4/src/chaninfo-dialog.cpp 100644 root:root 8896aa65078b47fb0be0c33201298bfc @@ -188,2 +191,2 @@ File: /usr/src/debug/gnome-peercast-0.5.4/src/utils.h 100644 root:root 087b78553248494d7690e8bd4bf05e5a -RPMIdentity: 1c1c810a4d0ebba8328cd37fc9bcd14964ce2f09ebc678e5945f78fc4ef393deca454aa33232ce167d38e944f662c432362f1d64b6038bdeb73424e1f45a8a26 +RPMIdentity: c6eb0001b8eab25aaf21c231129f2ff18001441f0bbafb40cf9874f15f8518677db3f36110df77d8e73e03a9a3575a55d1bdf82a0452c440d68c33e8cdb03646