<86>Apr 13 07:21:16 userdel[1752889]: delete user 'rooter' <86>Apr 13 07:21:16 userdel[1752889]: removed group 'rooter' owned by 'rooter' <86>Apr 13 07:21:16 userdel[1752889]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 13 07:21:16 groupadd[1752943]: group added to /etc/group: name=rooter, GID=1853 <86>Apr 13 07:21:16 groupadd[1752943]: group added to /etc/gshadow: name=rooter <86>Apr 13 07:21:16 groupadd[1752943]: new group: name=rooter, GID=1853 <86>Apr 13 07:21:16 useradd[1752983]: new user: name=rooter, UID=1853, GID=1853, home=/root, shell=/bin/bash, from=none <86>Apr 13 07:21:16 userdel[1753051]: delete user 'builder' <86>Apr 13 07:21:16 userdel[1753051]: removed group 'builder' owned by 'builder' <86>Apr 13 07:21:16 userdel[1753051]: removed shadow group 'builder' owned by 'builder' <86>Apr 13 07:21:16 groupadd[1753083]: group added to /etc/group: name=builder, GID=1854 <86>Apr 13 07:21:16 groupadd[1753083]: group added to /etc/gshadow: name=builder <86>Apr 13 07:21:16 groupadd[1753083]: new group: name=builder, GID=1854 <86>Apr 13 07:21:16 useradd[1753111]: new user: name=builder, UID=1854, GID=1854, 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>Apr 13 07:21:21 rpmi: libatk-2.52.0-alt1 sisyphus+342903.100.1.1 1710606495 installed <13>Apr 13 07:21:21 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Apr 13 07:21:21 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Apr 13 07:21:21 rpmi: libart_lgpl-2.3.21-alt3 sisyphus+276909.100.1.1 1625271432 installed <13>Apr 13 07:21:21 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781690 installed <13>Apr 13 07:21:21 rpmi: perl-HTTP-Date-6.06-alt1 sisyphus+324527.100.1.1 1688834564 installed <13>Apr 13 07:21:21 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Apr 13 07:21:21 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577559 installed <13>Apr 13 07:21:21 rpmi: libIDL-0.8.14-alt4 sisyphus+277957.100.1.1 1625926346 installed <13>Apr 13 07:21:21 rpmi: libORBit2-2.14.20-alt0.3 sisyphus+278855.100.1.1 1626224391 installed <13>Apr 13 07:21:21 rpmi: xml-utils-1:2.12.5-alt1 sisyphus+342268.100.2.1 1710156418 installed <13>Apr 13 07:21:21 rpmi: libICE-devel-1.1.1-alt1 sisyphus+311428.500.1.1 1670577559 installed <13>Apr 13 07:21:21 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526918 installed <13>Apr 13 07:21:21 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Apr 13 07:21:21 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Apr 13 07:21:21 rpmi: perl-libnet-1:3.15-alt1 sisyphus+317310.100.1.1 1679580208 installed <13>Apr 13 07:21:21 rpmi: perl-Compress-Raw-Zlib-2.206-alt1 sisyphus+335067.600.1.1 1700901614 installed <13>Apr 13 07:21:21 rpmi: libpopt-devel-1:1.18-alt1 sisyphus+283609.300.5.1 1630003303 installed <13>Apr 13 07:21:21 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449053 installed <13>Apr 13 07:21:21 rpmi: libicu74-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702422879 installed <13>Apr 13 07:21:21 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Apr 13 07:21:21 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Apr 13 07:21:21 rpmi: shared-mime-info-2.4-alt1 sisyphus+334259.100.1.1 1699787317 installed <13>Apr 13 07:21:21 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Apr 13 07:21:21 rpmi: libXau-devel-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Apr 13 07:21:21 rpmi: libpng-devel-1.6.42-alt2 sisyphus+339555.100.1.1 1706781690 installed <13>Apr 13 07:21:21 rpmi: libgraphite2-devel-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Apr 13 07:21:21 rpmi: icu-utils-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702422879 installed <13>Apr 13 07:21:21 rpmi: libicu-devel-1:7.4.2-alt1 sisyphus+336372.200.1.1 1702422879 installed <13>Apr 13 07:21:21 rpmi: libSM-devel-1.2.4-alt1 sisyphus+312057.200.1.1 1671526918 installed <13>Apr 13 07:21:21 rpmi: rpm-build-gir-0.7.3-alt3.1 sisyphus+319393.100.1.1 1682538783 installed <13>Apr 13 07:21:21 rpmi: libflac12-1.4.3-alt2 sisyphus+343354.100.1.1 1711119065 installed <13>Apr 13 07:21:21 rpmi: perl-File-Listing-6.16-alt1 sisyphus+325783.100.1.1 1690559356 installed <13>Apr 13 07:21:21 rpmi: libart_lgpl-devel-2.3.21-alt3 sisyphus+276909.100.1.1 1625271432 installed <13>Apr 13 07:21:21 rpmi: perl-Try-Tiny-0.31-alt1 sisyphus+290597.100.1.1 1637915507 installed <13>Apr 13 07:21:21 rpmi: perl-Module-Load-0.36-alt1 sisyphus+258992.100.1.1 1601543407 installed <13>Apr 13 07:21:21 rpmi: perl-IO-Socket-IP-0.42-alt1 sisyphus+325815.100.1.2 1690571193 installed <13>Apr 13 07:21:22 rpmi: perl-IO-Compress-Brotli-2:0.004001-alt3 sisyphus+335067.1200.1.1 1700901700 installed <13>Apr 13 07:21:22 rpmi: perl-HTML-Tagset-3.24-alt1 sisyphus+343117.100.1.3 1710883587 installed <13>Apr 13 07:21:22 rpmi: perl-Filter-1.64-alt1 sisyphus+335067.400.1.1 1700901530 installed <13>Apr 13 07:21:22 rpmi: perl-Encode-3.21-alt1 sisyphus+343095.100.1.1 1710875480 installed <13>Apr 13 07:21:22 rpmi: perl-URI-5.27-alt1 sisyphus+340901.100.1.1 1708180683 installed <13>Apr 13 07:21:22 rpmi: perl-HTML-Parser-3.82-alt1 sisyphus+343116.100.1.3 1710883258 installed <13>Apr 13 07:21:22 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Apr 13 07:21:22 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Apr 13 07:21:22 rpmi: perl-IO-HTML-1.004-alt1 sisyphus+258983.100.1.1 1601542619 installed <13>Apr 13 07:21:22 rpmi: perl-Term-ANSIColor-5.01-alt1 sisyphus+244783.100.1.2 1579747505 installed <13>Apr 13 07:21:22 rpmi: perl-Data-Dump-1.25-alt1 sisyphus+276551.100.1.1 1625126880 installed <13>Apr 13 07:21:22 rpmi: perl-Compress-Raw-Bzip2-2.210-alt1 sisyphus+343108.100.1.3 1710881036 installed <13>Apr 13 07:21:22 rpmi: perl-IO-Compress-2.206-alt1 sisyphus+325819.100.1.1 1690563199 installed <13>Apr 13 07:21:22 rpmi: perl-Net-HTTP-6.23-alt1 sisyphus+323470.100.1.1 1687422469 installed <13>Apr 13 07:21:22 rpmi: perl-Clone-0.46-alt1 sisyphus+335067.1100.1.1 1700901674 installed <13>Apr 13 07:21:22 rpmi: perl-HTTP-Message-6.45-alt1 sisyphus+330728.100.1.1 1696162276 installed <13>Apr 13 07:21:22 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Apr 13 07:21:22 rpmi: perl-libwww-6.77-alt1 sisyphus+343120.100.1.2 1710884405 installed <13>Apr 13 07:21:22 rpmi: libtdb-1.4.9-alt1 sisyphus+333513.3240.71.1 1704535489 installed <13>Apr 13 07:21:22 rpmi: libltdl7-2.4.7-alt5 sisyphus+341963.200.3.1 1711659248 installed <13>Apr 13 07:21:22 rpmi: libopus-1.5.1-alt1 sisyphus+342127.200.2.2 1709717984 installed <13>Apr 13 07:21:22 rpmi: libmpg123-1:1.32.6-alt1 sisyphus+344452.200.2.1 1712305496 installed <13>Apr 13 07:21:22 rpmi: liblame-3.100-alt1 sisyphus+276241.100.1.2 1624925655 installed <13>Apr 13 07:21:22 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Apr 13 07:21:22 rpmi: libsndfile-1.1.0-alt1 sisyphus+339776.7300.6.2 1707349197 installed <13>Apr 13 07:21:22 rpmi: sound-theme-freedesktop-0.8-alt1 sisyphus+277010.100.1.2 1625346634 installed <13>Apr 13 07:21:22 rpmi: libdatrie-0.2.13-alt1_7 sisyphus+328221.100.1.1 1693336967 installed <13>Apr 13 07:21:22 rpmi: libthai-0.1.29-alt1_6 sisyphus+328230.100.1.2 1693348044 installed <13>Apr 13 07:21:22 rpmi: libfribidi-1.0.13-alt1 sisyphus+320646.100.1.1 1684307083 installed <13>Apr 13 07:21:22 rpmi: libgtk+2-locales-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Apr 13 07:21:22 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402242 installed <13>Apr 13 07:21:22 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Apr 13 07:21:22 rpmi: libwebp7-1.3.2-alt1 sisyphus+329541.100.1.1 1694676226 installed <13>Apr 13 07:21:22 rpmi: libdeflate-1.20-alt1 sisyphus+343488.100.1.1 1711323986 installed <13>Apr 13 07:21:22 rpmi: libtiff5-4.4.0-alt4 sisyphus+322581.100.1.2 1686180093 installed <13>Apr 13 07:21:22 rpmi: libgdk-pixbuf-locales-2.42.10-alt1 sisyphus+308991.100.1.1 1666721198 installed <13>Apr 13 07:21:22 rpmi: libgamin-fam-0.1.10-alt7 sisyphus+286645.100.1.1 1633691577 installed <13>Apr 13 07:21:22 rpmi: gnome-audio-2.22.2-alt1 sisyphus+276847.100.1.1 1625243226 installed <13>Apr 13 07:21:22 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Apr 13 07:21:22 rpmi: libstdc++13-devel-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 13 07:21:23 rpmi: gcc13-c++-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 13 07:21:23 rpmi: libgamin-0.1.10-alt7 sisyphus+286645.100.1.1 1633691577 installed <13>Apr 13 07:21:23 rpmi: gamin-0.1.10-alt7 sisyphus+286645.100.1.1 1633691577 installed <13>Apr 13 07:21:23 rpmi: libpixman-3:0.43.4-alt2 sisyphus+344164.100.1.1 1711987947 installed <13>Apr 13 07:21:23 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Apr 13 07:21:23 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Apr 13 07:21:23 rpmi: libharfbuzz-8.4.0-alt1 sisyphus+344161.100.1.1 1711987969 installed <13>Apr 13 07:21:23 rpmi: libfreetype-2.13.2-alt1 sisyphus+328677.100.1.1 1693834346 installed <13>Apr 13 07:21:23 rpmi: libfontconfig1-2.14.2-alt8 sisyphus+328444.100.1.1 1693553407 installed <13>Apr 13 07:21:23 rpmi: fontconfig-2.14.2-alt8 sisyphus+328444.100.1.1 1693553407 installed Updating fonts cache: <29>Apr 13 07:21:24 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Apr 13 07:21:24 rpmi: libharfbuzz-icu-8.4.0-alt1 sisyphus+344161.100.1.1 1711987969 installed <13>Apr 13 07:21:24 rpmi: libharfbuzz-gobject-8.4.0-alt1 sisyphus+344161.100.1.1 1711987969 installed <13>Apr 13 07:21:24 rpmi: alsa-ucm-conf-1.2.10-alt2 sisyphus+337619.100.1.1 1704220124 installed <13>Apr 13 07:21:24 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Apr 13 07:21:24 rpmi: libalsa-1:1.2.10-alt2 sisyphus+337619.200.1.1 1704220189 installed <13>Apr 13 07:21:24 rpmi: openldap-common-2.6.7-alt1 sisyphus+343335.200.1.1 1711113916 installed <13>Apr 13 07:21:24 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Apr 13 07:21:24 rpmi: liblmdb-0.9.32-alt1 sisyphus+342426.100.1.1 1710124284 installed <13>Apr 13 07:21:24 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Apr 13 07:21:24 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Apr 13 07:21:24 rpmi: libxslt-1.1.37-alt1 sisyphus+307481.100.1.1 1664360525 installed <13>Apr 13 07:21:24 rpmi: xsltproc-1.1.37-alt1 sisyphus+307481.100.1.1 1664360525 installed <13>Apr 13 07:21:24 rpmi: desktop-file-utils-0.26-alt6 sisyphus+331944.100.1.3 1697550035 installed <13>Apr 13 07:21:24 rpmi: gsettings-desktop-schemas-data-46.0-alt1 sisyphus+343025.100.4.2 1710847127 installed <13>Apr 13 07:21:25 rpmi: libgio-2.80.0-alt2.1 sisyphus+343856.100.1.1 1711642825 installed <13>Apr 13 07:21:25 rpmi: gsettings-desktop-schemas-46.0-alt1 sisyphus+343025.100.4.2 1710847126 installed <13>Apr 13 07:21:25 rpmi: libgdk-pixbuf-2.42.10-alt1 sisyphus+308991.100.1.1 1666721201 installed <13>Apr 13 07:21:25 rpmi: libbonobo-2.32.1-alt5 sisyphus+277998.100.1.3 1625971655 installed <13>Apr 13 07:21:25 rpmi: gtk4-update-icon-cache-4.14.2-alt1 sisyphus+344316.100.1.1 1712176520 installed <13>Apr 13 07:21:25 rpmi: libgstreamer1.0-1.24.2-alt1 sisyphus+307774.100.1.1 1712733718 installed <13>Apr 13 07:21:25 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Apr 13 07:21:25 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Apr 13 07:21:25 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Apr 13 07:21:25 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Apr 13 07:21:25 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Apr 13 07:21:25 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Apr 13 07:21:25 rpmi: ca-certificates-2024.02.24-alt1 sisyphus+341362.100.1.1 1708791001 installed <13>Apr 13 07:21:25 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Apr 13 07:21:25 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Apr 13 07:21:25 rpmi: libcrypto3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982452 installed <13>Apr 13 07:21:25 rpmi: libssl3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982452 installed <86>Apr 13 07:21:25 groupadd[1777165]: group added to /etc/group: name=_keytab, GID=999 <86>Apr 13 07:21:25 groupadd[1777165]: group added to /etc/gshadow: name=_keytab <86>Apr 13 07:21:25 groupadd[1777165]: new group: name=_keytab, GID=999 <13>Apr 13 07:21:25 rpmi: libkrb5-1.21.2-alt2 sisyphus+338902.100.2.1 1706700985 installed <86>Apr 13 07:21:25 groupadd[1777341]: group added to /etc/group: name=sasl, GID=998 <86>Apr 13 07:21:25 groupadd[1777341]: group added to /etc/gshadow: name=sasl <86>Apr 13 07:21:25 groupadd[1777341]: new group: name=sasl, GID=998 <13>Apr 13 07:21:25 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112524 installed <13>Apr 13 07:21:25 rpmi: libldap2-2.6.7-alt1 sisyphus+343335.200.1.1 1711113906 installed <13>Apr 13 07:21:25 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Apr 13 07:21:25 rpmi: python3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Apr 13 07:21:26 rpmi: python3-base-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Apr 13 07:21:26 rpmi: python3-module-packaging-24.0-alt1 sisyphus+342487.100.2.1 1710407438 installed <13>Apr 13 07:21:26 rpmi: glib2-devel-2.80.0-alt2.1 sisyphus+343856.100.1.1 1711642825 installed <13>Apr 13 07:21:26 rpmi: libgio-devel-2.80.0-alt2.1 sisyphus+343856.100.1.1 1711642825 installed <13>Apr 13 07:21:26 rpmi: libgdk-pixbuf-devel-2.42.10-alt1 sisyphus+308991.100.1.1 1666721201 installed <13>Apr 13 07:21:26 rpmi: libIDL-devel-0.8.14-alt4 sisyphus+277957.100.1.1 1625926346 installed <13>Apr 13 07:21:26 rpmi: ORBit2-devel-2.14.20-alt0.3 sisyphus+278855.100.1.1 1626224391 installed <13>Apr 13 07:21:26 rpmi: libbonobo-devel-2.32.1-alt5 sisyphus+277998.100.1.3 1625971655 installed <13>Apr 13 07:21:26 rpmi: libatk-devel-2.52.0-alt1 sisyphus+342903.100.1.1 1710606495 installed <13>Apr 13 07:21:26 rpmi: gtk-builder-convert-2.24.33-alt1 sisyphus+278555.100.1.2 1626252653 installed <13>Apr 13 07:21:26 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Apr 13 07:21:26 rpmi: libsystemd-1:254.10-alt1 sisyphus+343748.100.3.1 1711611802 installed <13>Apr 13 07:21:26 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487513 installed <13>Apr 13 07:21:26 rpmi: libdbus-glib-1:0.110-alt1 sisyphus+278470.100.1.2 1626224718 installed <13>Apr 13 07:21:26 rpmi: libGConf-3.2.6-alt4 sisyphus+307385.100.1.1 1664189858 installed <13>Apr 13 07:21:26 rpmi: libavahi-0.8-alt4 sisyphus+344258.100.1.1 1712133862 installed <13>Apr 13 07:21:26 rpmi: libavahi-glib-0.8-alt4 sisyphus+344258.100.1.1 1712133862 installed <13>Apr 13 07:21:26 rpmi: libcups-2.4.7-alt2 sisyphus+333092.100.1.1 1698654164 installed <13>Apr 13 07:21:26 rpmi: libGConf-devel-3.2.6-alt4 sisyphus+307385.100.1.1 1664189858 installed <13>Apr 13 07:21:26 rpmi: dbus-tools-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487513 installed <86>Apr 13 07:21:26 groupadd[1779234]: group added to /etc/group: name=messagebus, GID=997 <86>Apr 13 07:21:26 groupadd[1779234]: group added to /etc/gshadow: name=messagebus <86>Apr 13 07:21:26 groupadd[1779234]: new group: name=messagebus, GID=997 <86>Apr 13 07:21:26 useradd[1779258]: new user: name=messagebus, UID=999, GID=997, home=/run/dbus, shell=/dev/null, from=none <13>Apr 13 07:21:26 rpmi: dbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487513 installed <13>Apr 13 07:21:26 rpmi: libgnome-keyring-3.12.0-alt3 sisyphus+275102.100.2.1 1624561381 installed <13>Apr 13 07:21:26 rpmi: libpolkit-124-alt1 sisyphus+340067.100.1.1 1707374992 installed <13>Apr 13 07:21:26 rpmi: libX11-locales-3:1.8.8-alt1 sisyphus+343583.100.1.1 1711440719 installed <13>Apr 13 07:21:26 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441073 installed <13>Apr 13 07:21:26 rpmi: libxcb-1.16.1-alt1 sisyphus+343583.500.1.1 1711440989 installed <13>Apr 13 07:21:26 rpmi: libX11-3:1.8.8-alt1 sisyphus+343583.100.1.1 1711440722 installed <13>Apr 13 07:21:26 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436131 installed <13>Apr 13 07:21:26 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441114 installed <13>Apr 13 07:21:26 rpmi: libcairo-1:1.18.0-alt1 sisyphus+330227.100.1.1 1695539082 installed <13>Apr 13 07:21:26 rpmi: libXft-2.3.8-alt1 sisyphus+331490.400.1.1 1697023273 installed <13>Apr 13 07:21:26 rpmi: libpango-1.52.2-alt1 sisyphus+344075.100.1.1 1711911780 installed <13>Apr 13 07:21:26 rpmi: libXfixes-6.0.1-alt1 sisyphus+331490.300.1.1 1697023235 installed <13>Apr 13 07:21:28 rpmi: libxcb-devel-1.16.1-alt1 sisyphus+343583.500.1.1 1711440989 installed <13>Apr 13 07:21:28 rpmi: libX11-devel-3:1.8.8-alt1 sisyphus+343583.100.1.1 1711440722 installed <13>Apr 13 07:21:28 rpmi: libXrender-devel-0.9.11-alt1 sisyphus+308841.100.1.1 1666436131 installed <13>Apr 13 07:21:28 rpmi: libXext-devel-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441114 installed <13>Apr 13 07:21:28 rpmi: libXcursor-1.2.2-alt1 sisyphus+343583.600.1.1 1711441036 installed <13>Apr 13 07:21:28 rpmi: libharfbuzz-cairo-8.4.0-alt1 sisyphus+344161.100.1.1 1711987969 installed <13>Apr 13 07:21:28 rpmi: fontconfig-devel-2.14.2-alt8 sisyphus+328444.100.1.1 1693553407 installed <13>Apr 13 07:21:28 rpmi: libfreetype-devel-2.13.2-alt1 sisyphus+328677.100.1.1 1693834346 installed <13>Apr 13 07:21:28 rpmi: libcairo-devel-1:1.18.0-alt1 sisyphus+330227.100.1.1 1695539082 installed <13>Apr 13 07:21:28 rpmi: libharfbuzz-devel-8.4.0-alt1 sisyphus+344161.100.1.1 1711987969 installed <13>Apr 13 07:21:28 rpmi: libXft-devel-2.3.8-alt1 sisyphus+331490.400.1.1 1697023273 installed <13>Apr 13 07:21:28 rpmi: libpango-devel-1.52.2-alt1 sisyphus+344075.100.1.1 1711911780 installed <13>Apr 13 07:21:28 rpmi: libXi-1.8-alt1 sisyphus+285490.200.1.1 1632124180 installed <13>Apr 13 07:21:28 rpmi: libXinerama-1.1.5-alt1 sisyphus+309287.100.1.1 1667213209 installed <13>Apr 13 07:21:28 rpmi: libXrandr-1.5.4-alt1 sisyphus+330992.100.1.1 1696485401 installed <13>Apr 13 07:21:28 rpmi: dbus-tools-gui-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487513 installed <13>Apr 13 07:21:28 rpmi: GConf-3.2.6-alt4 sisyphus+307385.100.1.1 1664189858 installed <13>Apr 13 07:21:28 rpmi: gnome-vfs-1:2.24.4-alt12 sisyphus+326066.500.1.1 1690716963 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>Apr 13 07:21:28 rpmi: gnome-vfs-devel-1:2.24.4-alt12 sisyphus+326066.500.1.1 1690716963 installed <13>Apr 13 07:21:28 rpmi: libXcomposite-0.4.6-alt1 sisyphus+311188.200.1.1 1670233684 installed <13>Apr 13 07:21:28 rpmi: libXdamage-1.1.6-alt1 sisyphus+311188.300.1.1 1670233713 installed <13>Apr 13 07:21:28 rpmi: libgtk+2-2.24.33-alt1 sisyphus+278555.100.1.2 1626252537 installed <13>Apr 13 07:21:28 rpmi: libglade-2.6.4-alt6 sisyphus+286822.100.2.1 1633968403 installed <13>Apr 13 07:21:28 rpmi: libgtk+2-devel-2.24.33-alt1 sisyphus+278555.100.1.2 1626252537 installed <13>Apr 13 07:21:28 rpmi: libgail-2.24.33-alt1 sisyphus+278555.100.1.2 1626252537 installed <13>Apr 13 07:21:28 rpmi: libgnomecanvas-2.30.3-alt2 sisyphus+278556.100.1.3 1626253826 installed <13>Apr 13 07:21:28 rpmi: libgnomecanvas-devel-2.30.3-alt2 sisyphus+278556.100.1.3 1626253826 installed <13>Apr 13 07:21:29 rpmi: libpulseaudio-17.0-alt2 sisyphus+339257.100.1.1 1706519233 installed <13>Apr 13 07:21:29 rpmi: libcanberra-0.30-alt3 sisyphus+275093.100.2.3 1624562354 installed <13>Apr 13 07:21:29 rpmi: libgnome-2.32.1-alt4 sisyphus+275101.100.2.2 1624564320 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>Apr 13 07:21:29 rpmi: libbonoboui-2.24.5-alt1 sisyphus+278557.100.1.2 1626254340 installed <13>Apr 13 07:21:29 rpmi: libgnome-devel-2.32.1-alt4 sisyphus+275101.100.2.2 1624564320 installed <13>Apr 13 07:21:29 rpmi: libbonoboui-devel-2.24.5-alt1 sisyphus+278557.100.1.2 1626254340 installed <13>Apr 13 07:21:29 rpmi: libgnomeui-2.24.5-alt3 sisyphus+278852.100.1.2 1626301985 installed <13>Apr 13 07:21:29 rpmi: libgnomeui-devel-2.24.5-alt3 sisyphus+278852.100.1.2 1626301985 installed <13>Apr 13 07:21:29 rpmi: libglade-devel-2.6.4-alt6 sisyphus+286822.100.2.1 1633968403 installed <13>Apr 13 07:21:29 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687268227 installed <13>Apr 13 07:21:29 rpmi: perl-XML-Parser-2.47-alt1 sisyphus+337612.100.1.1 1704201438 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.57825 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf gnome-peercast-0.5.4 + echo 'Source #0 (gnome-peercast_0.5.4.orig.tar.bz2):' Source #0 (gnome-peercast_0.5.4.orig.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/gnome-peercast_0.5.4.orig.tar.bz2 + /bin/tar -xf - + cd gnome-peercast-0.5.4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (gnome-peercast-0.5.4.debian.patch):' Patch #0 (gnome-peercast-0.5.4.debian.patch): + /usr/bin/patch -p1 patching file peercast/core/common/servent.cpp patching file peercast/core/common/servent.h patching file peercast/core/common/servhs.cpp + echo 'Patch #1 (gnome-peercast-0.5.4-fix.patch):' Patch #1 (gnome-peercast-0.5.4-fix.patch): + /usr/bin/patch -p0 patching file peercast/core/common/common.h patching file peercast/core/common/html.cpp patching file peercast/core/common/sys.cpp patching file peercast/core/common/servhs.cpp + echo 'Patch #2 (gnome-peercast-0.5.4-alt-DSO.patch):' Patch #2 (gnome-peercast-0.5.4-alt-DSO.patch): + /usr/bin/patch -p2 patching file src/Makefile.in + echo 'Patch #3 (gnome-peercast-0.5.4-alt-gcc8.patch):' Patch #3 (gnome-peercast-0.5.4-alt-gcc8.patch): + /usr/bin/patch -p2 patching file peercast/core/common/stream.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.37943 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_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=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for intltool >= 0.11... 0.35.0 found checking for perl... /usr/bin/perl checking for XML::Parser... ok checking for iconv... /usr/bin/iconv checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for xgettext... /usr/bin/xgettext checking for style of include used by make... GNU checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking dependency style of i586-alt-linux-gcc... none checking for library containing strerror... none required checking for i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to accept ISO C89... (cached) none needed checking dependency style of i586-alt-linux-gcc... (cached) none checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... (cached) pass_all checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for i586-alt-linux-g77... no checking for i586-alt-linux-f77... no checking for i586-alt-linux-xlf... no checking for i586-alt-linux-frt... no checking for i586-alt-linux-pgf77... no checking for i586-alt-linux-cf77... no checking for i586-alt-linux-fort77... no checking for i586-alt-linux-fl32... no checking for i586-alt-linux-af77... no checking for i586-alt-linux-f90... no checking for i586-alt-linux-xlf90... no checking for i586-alt-linux-pgf90... no checking for i586-alt-linux-pghpf... no checking for i586-alt-linux-epcf90... no checking for i586-alt-linux-gfortran... no checking for i586-alt-linux-g95... no checking for i586-alt-linux-f95... no checking for i586-alt-linux-fort... no checking for i586-alt-linux-xlf95... no checking for i586-alt-linux-ifort... no checking for i586-alt-linux-ifc... no checking for i586-alt-linux-efc... no checking for i586-alt-linux-pgf95... no checking for i586-alt-linux-lf95... no checking for i586-alt-linux-ftn... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... failed checking for objdir... .libs checking for i586-alt-linux-ar... no checking for ar... ar checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for i586-alt-linux-strip... no checking for strip... strip checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC checking if i586-alt-linux-gcc PIC flag -fPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... 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 i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC checking if i586-alt-linux-g++ PIC flag -fPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... 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 i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GNOME_PEERCAST... yes checking for gconftool-2... /usr/bin/gconftool-2 Using config source xml:readwrite:/var/cache/gconf/gconf.xml.defaults for schema installation Using $(sysconfdir)/gconf/schemas as install directory for schema files checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... ja configure: creating ./config.status config.status: creating Makefile config.status: creating libpeercast/Makefile config.status: creating src/Makefile config.status: creating pixmaps/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing intltool commands config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands + make -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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o socket.lo `test -f '../peercast/core/common/socket.cpp' || echo './'`../peercast/core/common/socket.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/socket.cpp -fPIC -DPIC -o .libs/socket.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/socket.cpp:24: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o stream.lo `test -f '../peercast/core/common/stream.cpp' || echo './'`../peercast/core/common/stream.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/stream.cpp -fPIC -DPIC -o .libs/stream.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/stream.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o stats.lo `test -f '../peercast/core/common/stats.cpp' || echo './'`../peercast/core/common/stats.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/stats.cpp -fPIC -DPIC -o .libs/stats.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/stats.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o http.lo `test -f '../peercast/core/common/http.cpp' || echo './'`../peercast/core/common/http.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/http.cpp -fPIC -DPIC -o .libs/http.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/http.h:23, from ../peercast/core/common/http.cpp:23: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o inifile.lo `test -f '../peercast/core/common/inifile.cpp' || echo './'`../peercast/core/common/inifile.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/inifile.cpp -fPIC -DPIC -o .libs/inifile.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/inifile.h:23, from ../peercast/core/common/inifile.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o xml.lo `test -f '../peercast/core/common/xml.cpp' || echo './'`../peercast/core/common/xml.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/xml.cpp -fPIC -DPIC -o .libs/xml.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/xml.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o peercast.lo `test -f '../peercast/core/common/peercast.cpp' || echo './'`../peercast/core/common/peercast.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/peercast.cpp -fPIC -DPIC -o .libs/peercast.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sys.lo `test -f '../peercast/core/common/sys.cpp' || echo './'`../peercast/core/common/sys.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/sys.cpp -fPIC -DPIC -o .libs/sys.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/sys.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o usocket.lo `test -f '../peercast/core/unix/usocket.cpp' || echo './'`../peercast/core/unix/usocket.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/unix/usocket.cpp -fPIC -DPIC -o .libs/usocket.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/unix/usocket.h:24, from ../peercast/core/unix/usocket.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o html.lo `test -f '../peercast/core/common/html.cpp' || echo './'`../peercast/core/common/html.cpp mkdir .libs i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/html.cpp -fPIC -DPIC -o .libs/html.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/http.h:23, from ../peercast/core/common/html.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o usys.lo `test -f '../peercast/core/unix/usys.cpp' || echo './'`../peercast/core/unix/usys.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/unix/usys.cpp -fPIC -DPIC -o .libs/usys.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/unix/usys.h:26, from ../peercast/core/unix/usys.cpp:33: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gnutella.lo `test -f '../peercast/core/common/gnutella.cpp' || echo './'`../peercast/core/common/gnutella.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/gnutella.cpp -fPIC -DPIC -o .libs/gnutella.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition ../peercast/core/common/gnutella.cpp:170: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o servhs.lo `test -f '../peercast/core/common/servhs.cpp' || echo './'`../peercast/core/common/servhs.cpp mkdir .libs mkdir: cannot create directory '.libs': File exists i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/servhs.cpp -fPIC -DPIC -o .libs/servhs.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o jis.lo `test -f '../peercast/core/common/jis.cpp' || echo './'`../peercast/core/common/jis.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/jis.cpp -fPIC -DPIC -o .libs/jis.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o servmgr.lo `test -f '../peercast/core/common/servmgr.cpp' || echo './'`../peercast/core/common/servmgr.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/servmgr.cpp -fPIC -DPIC -o .libs/servmgr.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o nsv.lo `test -f '../peercast/core/common/nsv.cpp' || echo './'`../peercast/core/common/nsv.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/nsv.cpp -fPIC -DPIC -o .libs/nsv.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/nsv.h:23, from ../peercast/core/common/nsv.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o mp3.lo `test -f '../peercast/core/common/mp3.cpp' || echo './'`../peercast/core/common/mp3.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/mp3.cpp -fPIC -DPIC -o .libs/mp3.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/mp3.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o icy.lo `test -f '../peercast/core/common/icy.cpp' || echo './'`../peercast/core/common/icy.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/icy.cpp -fPIC -DPIC -o .libs/icy.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/icy.h:22, from ../peercast/core/common/icy.cpp:1: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o servent.lo `test -f '../peercast/core/common/servent.cpp' || echo './'`../peercast/core/common/servent.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/servent.cpp -fPIC -DPIC -o .libs/servent.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 '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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o mms.lo `test -f '../peercast/core/common/mms.cpp' || echo './'`../peercast/core/common/mms.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/mms.cpp -fPIC -DPIC -o .libs/mms.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/mms.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ogg.lo `test -f '../peercast/core/common/ogg.cpp' || echo './'`../peercast/core/common/ogg.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/ogg.cpp -fPIC -DPIC -o .libs/ogg.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/ogg.cpp:20: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 '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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o url.lo `test -f '../peercast/core/common/url.cpp' || echo './'`../peercast/core/common/url.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/url.cpp -fPIC -DPIC -o .libs/url.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/url.h:22, from ../peercast/core/common/url.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o channel.lo `test -f '../peercast/core/common/channel.cpp' || echo './'`../peercast/core/common/channel.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/channel.cpp -fPIC -DPIC -o .libs/channel.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition ../peercast/core/common/channel.cpp:1250: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 i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pcp.lo `test -f '../peercast/core/common/pcp.cpp' || echo './'`../peercast/core/common/pcp.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ../peercast/core/common/pcp.cpp -fPIC -DPIC -o .libs/pcp.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/atom.h:22, from ../peercast/core/common/pcp.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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 i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libpeercast.la -rpath /usr/lib -static usys.lo usocket.lo socket.lo servent.lo servhs.lo servmgr.lo xml.lo stream.lo sys.lo gnutella.lo html.lo channel.lo http.lo inifile.lo peercast.lo stats.lo mms.lo mp3.lo nsv.lo ogg.lo url.lo icy.lo pcp.lo jis.lo ar cru .libs/libpeercast.a .libs/usys.o .libs/usocket.o .libs/socket.o .libs/servent.o .libs/servhs.o .libs/servmgr.o .libs/xml.o .libs/stream.o .libs/sys.o .libs/gnutella.o .libs/html.o .libs/channel.o .libs/http.o .libs/inifile.o .libs/peercast.o .libs/stats.o .libs/mms.o .libs/mp3.o .libs/nsv.o .libs/ogg.o .libs/url.o .libs/icy.o .libs/pcp.o .libs/jis.o 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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o eggtrayicon.o `test -f 'eggtrayicon.cpp' || echo './'`eggtrayicon.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtksocket.h:33, from /usr/include/gtk-2.0/gtk/gtkplug.h:34, from eggtrayicon.h:24, from eggtrayicon.cpp:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o broadcast-dialog.o `test -f 'broadcast-dialog.cpp' || echo './'`broadcast-dialog.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gnome-peercast.o `test -f 'gnome-peercast.cpp' || echo './'`gnome-peercast.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from gnome-peercast.cpp:31: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from main.cpp:31: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o logview.o `test -f 'logview.cpp' || echo './'`logview.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o setting-dialog.o `test -f 'setting-dialog.cpp' || echo './'`setting-dialog.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o callbacks.o `test -f 'callbacks.cpp' || echo './'`callbacks.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o trayicon.o `test -f 'trayicon.cpp' || echo './'`trayicon.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from trayicon.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o utils.o `test -f 'utils.cpp' || echo './'`utils.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o connection-list.o `test -f 'connection-list.cpp' || echo './'`connection-list.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o channel-list.o `test -f 'channel-list.cpp' || echo './'`channel-list.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o chaninfo-dialog.o `test -f 'chaninfo-dialog.cpp' || echo './'`chaninfo-dialog.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214: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' /bin/sh ../libtool --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o gnome-peercast utils.o main.o gnome-peercast.o chaninfo-dialog.o broadcast-dialog.o channel-list.o connection-list.o setting-dialog.o callbacks.o logview.o trayicon.o eggtrayicon.o -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lart_lgpl_2 -lgnomevfs-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -pthread -lORBit-2 -lgthread-2.0 -pthread -lgconf-2 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype ../libpeercast/libpeercast.la -lX11 mkdir .libs i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o gnome-peercast utils.o main.o gnome-peercast.o chaninfo-dialog.o broadcast-dialog.o channel-list.o connection-list.o setting-dialog.o callbacks.o logview.o trayicon.o eggtrayicon.o -pthread -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lart_lgpl_2 -lgnomevfs-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lgconf-2 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype ../libpeercast/.libs/libpeercast.a -lX11 make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' Making all in po make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/po' file=`echo ja | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ja.po make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/po' Making all in pixmaps make[2]: Nothing to be done for 'all'. make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' LC_ALL=C ./intltool-merge -d -u -c ./po/.intltool-merge-cache ./po gnome-peercast.desktop.in gnome-peercast.desktop Generating and caching the translation database Merging translations into gnome-peercast.desktop. make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' LC_ALL=C ./intltool-merge -s -u -c ./po/.intltool-merge-cache ./po gnome-peercast.schemas.in gnome-peercast.schemas Generating and caching the translation database Merging translations into gnome-peercast.schemas. make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.11097 + 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:/bin:/usr/bin:/usr/X11R6/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/lib mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/lib /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p libpeercast.la /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.la /usr/libexec/rpm-build/install -p .libs/libpeercast.lai /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.la /usr/libexec/rpm-build/install -p .libs/libpeercast.a /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.a chmod 644 /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.a ranlib /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.a libtool: install: warning: remember to run `libtool --finish /usr/lib' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' /bin/sh ../mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/bin mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/bin /bin/sh ../libtool --mode=install /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/lib/libpeercast.a + find /usr/src/tmp/gnome-peercast-buildroot -type d '(' -name CVS -o -name .svn -o -name .git -o -name .hg -o -name .bzr -o -name _MTN ')' -print -exec rm -rf '{}' ';' /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/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/lib/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/lib: (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) verify-elf: WARNING: ./usr/bin/gnome-peercast: uses non-LFS functions: fcntl fopen 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.97926 + 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.YrOj4s 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.YEmaVc 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.Bfa26v Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kEpOrD Requires: /lib/ld-linux.so.2, libX11.so.6 >= set:okXgPTzZvKmfPdi2j13zsvJtcuLHpDrbt2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgconf-2.so.4 >= set:mjCZ3aCfhm4BzWMfdGt60, libgdk-x11-2.0.so.0 >= set:njSckg1DSiGG5FeS8ZAdv68iWjcvX2Lxjzyu7BVZH, libgdk_pixbuf-2.0.so.0 >= set:lka381, libglade-2.0.so.0 >= set:jhTbouPrt7, libglib-2.0.so.0 >= set:oiUQSRcvXOc0BHwz41F9pvyWnihGoksEAaGGzUmEFPOHpxZatizqJzUBHMbe08kgKehmGtpgMEBiD9QxlT22Ttxh8YCkE5PFaRIIY, libgnome-2.so.0 >= set:kiOP8CDe, libgnomeui-2.so.0 >= set:nkx6kvnDiYRAlvU1IFsySC4e, libgobject-2.0.so.0 >= set:mi9f0bBtX2Lac5nSLoOmtddKJDCgUSGeYrT1azk5UBB0, libgtk-x11-2.0.so.0 >= set:pijZo8lZ8QhcQ09MJHaPqnXy4v5Hw1HOiAo6sTH56mzB9NvCUw9ZIElWs4YFbXs8U0f0gQGp2YAEZoOuLZ2FT4gQIwVIPz4YRHpD3YfNEZe8aHU7CW405kADdXqTcOxJAv8n1kY7Z2EENUgHDnUdLsBLKjAGCP9QV7xYXB1xMcq9ygJwZ283u9IqysYKtS71ZiZtZaqgmzSENnyFjzNPHZtN9U23Ul6ikjPsCIbRY0eeZLl0LRXVlCl0, libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): GConf2, /bin/sh, /usr/sbin/gconf_install_schema Requires(preun): /bin/sh, /usr/sbin/gconf_uninstall_schema Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rM0Mam 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.nTtg5e find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iAB8SW find-requires: running scripts (debuginfo) Requires: gnome-peercast = 0.5.4-alt3.qa3, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libX11.so.6), debug(libc.so.6), debug(libgcc_s.so.1), debug(libgconf-2.so.4), debug(libgdk-x11-2.0.so.0), debug(libgdk_pixbuf-2.0.so.0), debug(libglade-2.0.so.0), debug(libglib-2.0.so.0), debug(libgnome-2.so.0), debug(libgnomeui-2.so.0), debug(libgobject-2.0.so.0), debug(libgtk-x11-2.0.so.0), debug(libstdc++.so.6) Adding to gnome-peercast-debuginfo a strict dependency on gnome-peercast Wrote: /usr/src/RPM/RPMS/i586/gnome-peercast-0.5.4-alt3.qa3.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/gnome-peercast-debuginfo-0.5.4-alt3.qa3.i586.rpm (w2.lzdio) 23.49user 16.86system 0:20.53elapsed 196%CPU (0avgtext+0avgdata 79460maxresident)k 0inputs+0outputs (0major+1939639minor)pagefaults 0swaps /.out/gnome-peercast-0.5.4-alt3.qa3.i586.rpm: The use of such a license name is ambiguous: GPL /.out/gnome-peercast-debuginfo-0.5.4-alt3.qa3.i586.rpm: The use of such a license name is ambiguous: GPL 3.71user 3.29system 0:41.39elapsed 16%CPU (0avgtext+0avgdata 126680maxresident)k 1008inputs+0outputs (0major+279515minor)pagefaults 0swaps --- gnome-peercast-0.5.4-alt3.qa3.i586.rpm.repo 2019-02-14 07:56:57.000000000 +0000 +++ gnome-peercast-0.5.4-alt3.qa3.i586.rpm.hasher 2024-04-13 07:21:54.071275793 +0000 @@ -84,16 +84,18 @@ Requires: libc.so.6(GLIBC_2.2) +Requires: libc.so.6(GLIBC_2.28) Requires: libc.so.6(GLIBC_2.3.4) +Requires: libc.so.6(GLIBC_2.34) +Requires: libc.so.6(GLIBC_2.38) Requires: libc.so.6(GLIBC_2.4) Requires: libgcc_s.so.1(GCC_3.0) -Requires: libgconf-2.so.4 >= set:miIXvVZFkheto68bywzWUD6rD1 -Requires: libgdk-x11-2.0.so.0 >= set:njq96L17Ewjr9lRyk7rAvGVP0hivyVrnUdsqkQXEcZL5 +Requires: libgcc_s.so.1(GCC_3.3.1) +Requires: libgconf-2.so.4 >= set:mjCZ3aCfhm4BzWMfdGt60 +Requires: libgdk-x11-2.0.so.0 >= set:njSckg1DSiGG5FeS8ZAdv68iWjcvX2Lxjzyu7BVZH Requires: libgdk_pixbuf-2.0.so.0 >= set:lka381 Requires: libglade-2.0.so.0 >= set:jhTbouPrt7 -Requires: libglib-2.0.so.0 >= set:oiUQSRcvhqMa63wlq1F9pvyWnihGoksEAaGGzUmEFPOv5vizqJzUBHMbe08kgKehmGtpgMEBiD9QxlQ2e6xMrixmcDGkPOO3 +Requires: libglib-2.0.so.0 >= set:oiUQSRcvXOc0BHwz41F9pvyWnihGoksEAaGGzUmEFPOHpxZatizqJzUBHMbe08kgKehmGtpgMEBiD9QxlT22Ttxh8YCkE5PFaRIIY Requires: libgnome-2.so.0 >= set:kiOP8CDe -Requires: libgnomeui-2.so.0 >= set:njx6kvnD3jL1cepR7u0raDEoj2DP40 -Requires: libgobject-2.0.so.0 >= set:mh9fwzuw2kSnWUOKaIybXncMmtddKSjfV9Y8dmRxvX6EcilMbb1 -Requires: libgtk-x11-2.0.so.0 >= set:pijZo8lZ8QhcQ09MJHaPqnXy4v5Hw1HOiiKYwDxXuJMMqIc9ZjjsMAv6JiDzMIiSZmKPxw3Y0MLrqyDd1uikZJg0IkXJniL9ceYtxE9DBWpZviRz4Yq5NCpSVgH6NkZhqLzom9AlQ8eCtye1g15ZbQ6xInXCheIBYndDXW0EUfW5kQosERPbYCnKOnT5bB2LyIq8YcivBiINYpYVExYXB1xMcq9yaFkysTngmUQyDoJC8LUCCdRpv4UbZtZaqgmzSENnyFjzNPHZtN9U23Ul6ikjPsCIbRY0eeZLl0LRXVlCl0 -Requires: libpthread.so.0(GLIBC_2.0) -Requires: libpthread.so.0(GLIBC_2.1) +Requires: libgnomeui-2.so.0 >= set:nkx6kvnDiYRAlvU1IFsySC4e +Requires: libgobject-2.0.so.0 >= set:mi9f0bBtX2Lac5nSLoOmtddKJDCgUSGeYrT1azk5UBB0 +Requires: libgtk-x11-2.0.so.0 >= set:pijZo8lZ8QhcQ09MJHaPqnXy4v5Hw1HOiAo6sTH56mzB9NvCUw9ZIElWs4YFbXs8U0f0gQGp2YAEZoOuLZ2FT4gQIwVIPz4YRHpD3YfNEZe8aHU7CW405kADdXqTcOxJAv8n1kY7Z2EENUgHDnUdLsBLKjAGCP9QV7xYXB1xMcq9ygJwZ283u9IqysYKtS71ZiZtZaqgmzSENnyFjzNPHZtN9U23Ul6ikjPsCIbRY0eeZLl0LRXVlCl0 Requires: libstdc++.so.6(CXXABI_1.3) @@ -108,3 +110,3 @@ File: /etc/gconf/schemas/gnome-peercast.schemas 100644 root:root 793dbee6b113be06a0b9459aa88a57d7 -File: /usr/bin/gnome-peercast 100755 root:root cc6e203e44d6c39eaa82a1039bf4a064 +File: /usr/bin/gnome-peercast 100755 root:root 5abc191c29ca4b53c84c2b70aa927cd5 File: /usr/share/applications/gnome-peercast.desktop 100644 root:root 35f02070ec0d82bbbf0af1253fbbb0db @@ -179,4 +181,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: d003ae5505ef4ad8dea53ae8a646a23fc11f858b00e99b929b987a720389943f52abca99f9a44b1295cab7c7730836091ddbb7571315a2dc8d9075844974e028 +RPMIdentity: 86a1a16959240daf5d24f6bebeefc375fdc270f84d182b24a7e6846177c3a835d7308af28ebc0d071c6c9a47250f89e72e38b7b3ee788d85611e7cc812069755 --- gnome-peercast-debuginfo-0.5.4-alt3.qa3.i586.rpm.repo 2019-02-14 07:56:57.000000000 +0000 +++ gnome-peercast-debuginfo-0.5.4-alt3.qa3.i586.rpm.hasher 2024-04-13 07:21:54.165277702 +0000 @@ -1,6 +1,7 @@ -/usr/lib/debug/.build-id/e7 40755 root:root -/usr/lib/debug/.build-id/e7/908fd9e2dc993d1c78b767a4cc2443b8d8a1f6 120777 root:root ../../../../bin/gnome-peercast -/usr/lib/debug/.build-id/e7/908fd9e2dc993d1c78b767a4cc2443b8d8a1f6.debug 120777 root:root ../../usr/bin/gnome-peercast.debug +/usr/lib/debug/.build-id/a3 40755 root:root +/usr/lib/debug/.build-id/a3/14732d3c5f449e2f5f9b01490127661b02c253 120777 root:root ../../../../bin/gnome-peercast +/usr/lib/debug/.build-id/a3/14732d3c5f449e2f5f9b01490127661b02c253.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: debug(libgtk-x11-2.0.so.0) -Requires: debug(libpthread.so.0) Requires: debug(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/e7 40755 root:root -File: /usr/lib/debug/.build-id/e7/908fd9e2dc993d1c78b767a4cc2443b8d8a1f6 120777 root:root ../../../../bin/gnome-peercast -File: /usr/lib/debug/.build-id/e7/908fd9e2dc993d1c78b767a4cc2443b8d8a1f6.debug 120777 root:root ../../usr/bin/gnome-peercast.debug -File: /usr/lib/debug/usr/bin/gnome-peercast.debug 100644 root:root 740d1c48468845c8ef8a22a52b8052c6 +File: /usr/lib/debug/.build-id/a3 40755 root:root +File: /usr/lib/debug/.build-id/a3/14732d3c5f449e2f5f9b01490127661b02c253 120777 root:root ../../../../bin/gnome-peercast +File: /usr/lib/debug/.build-id/a3/14732d3c5f449e2f5f9b01490127661b02c253.debug 120777 root:root ../../usr/bin/gnome-peercast.debug +File: /usr/lib/debug/usr/bin/gnome-peercast.debug 100644 root:root d6a10bdf4f8b36b619ec14eb48045b65 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: 96da9182c1bcac01ca483745c8aeaa7973bfcb6ca8d95e5e700cad809ba1d0aa3420f957f8a7cb6d64270c629ee15d7c7640614db61b99a444ca58261351b8bb +RPMIdentity: 1422a832ddf27232301a41cdf9bc0f82a74cfe146eb19eb8fdda5e1a982f4c45784b6859c950ad67da96b2d2852dfca35976d40a1590e98e1860dff9a981b1c6