<86>Dec 18 08:12:47 userdel[43498]: delete user 'rooter' <86>Dec 18 08:12:47 groupadd[43511]: group added to /etc/group: name=rooter, GID=609 <86>Dec 18 08:12:47 groupadd[43511]: group added to /etc/gshadow: name=rooter <86>Dec 18 08:12:47 groupadd[43511]: new group: name=rooter, GID=609 <86>Dec 18 08:12:47 useradd[43525]: new user: name=rooter, UID=609, GID=609, home=/root, shell=/bin/bash <86>Dec 18 08:12:47 userdel[43559]: delete user 'builder' <86>Dec 18 08:12:47 userdel[43559]: removed group 'builder' owned by 'builder' <86>Dec 18 08:12:47 userdel[43559]: removed shadow group 'builder' owned by 'builder' <86>Dec 18 08:12:47 groupadd[43572]: group added to /etc/group: name=builder, GID=610 <86>Dec 18 08:12:47 groupadd[43572]: group added to /etc/gshadow: name=builder <86>Dec 18 08:12:47 groupadd[43572]: new group: name=builder, GID=610 <86>Dec 18 08:12:47 useradd[43589]: new user: name=builder, UID=610, GID=610, home=/usr/src, shell=/bin/bash warning: Macro %gconf2_install not found warning: Macro %gconf2_uninstall not found <13>Dec 18 08:12:51 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Dec 18 08:12:51 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Dec 18 08:12:51 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Dec 18 08:12:51 rpmi: libart_lgpl-2.3.21-alt3 1303721925 installed <13>Dec 18 08:12:51 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Dec 18 08:12:51 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Dec 18 08:12:51 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Dec 18 08:12:51 rpmi: libogg-1.3.3-alt1 sisyphus.217914.100 1545006091 installed <13>Dec 18 08:12:51 rpmi: libjpeg-2:1.5.1-alt1 1498218318 installed <13>Dec 18 08:12:51 rpmi: libpng16-1.6.35-alt1 sisyphus.214397.100 1539159349 installed <13>Dec 18 08:12:51 rpmi: libIDL-0.8.14-alt4 1449145676 installed <13>Dec 18 08:12:51 rpmi: libORBit2-2.14.20-alt0.2 1518020801 installed <13>Dec 18 08:12:51 rpmi: libvorbis-1.3.6-alt1 1528307812 installed <13>Dec 18 08:12:51 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Dec 18 08:12:51 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed <13>Dec 18 08:12:51 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Dec 18 08:12:51 rpmi: perl-Compress-Raw-Zlib-2.081-alt1 1523236573 installed <13>Dec 18 08:12:51 rpmi: zlib-devel-1.2.11-alt1 sisyphus.217171.100 1543710737 installed <13>Dec 18 08:12:51 rpmi: libpopt-devel-1:1.16-alt1 1500322986 installed <13>Dec 18 08:12:51 rpmi: libwayland-server-1.16.0-alt1 1535614871 installed <13>Dec 18 08:12:52 rpmi: libicu63-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Dec 18 08:12:52 rpmi: libgraphite2-1.3.12-alt2.1 sisyphus.215942.100 1540990757 installed <13>Dec 18 08:12:52 rpmi: libharfbuzz-2.1.3-alt1 sisyphus.216837.100 1543085735 installed <13>Dec 18 08:12:52 rpmi: libfreetype-2.9.1-alt1.S1 1530781053 installed <13>Dec 18 08:12:52 rpmi: fontconfig-2.13.1-alt1 sisyphus.215917.100 1540973886 installed Updating fonts cache: <29>Dec 18 08:12:53 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Dec 18 08:12:53 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1.1 1525115767 installed <13>Dec 18 08:12:53 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Dec 18 08:12:53 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Dec 18 08:12:53 rpmi: shared-mime-info-1.10-alt1.1 1530525599 installed <13>Dec 18 08:12:53 rpmi: libXau-devel-1.0.8-alt1 1369565808 installed <13>Dec 18 08:12:53 rpmi: rpm-build-gir-0.7.2-alt4 1534675014 installed <13>Dec 18 08:12:53 rpmi: libharfbuzz-icu-2.1.3-alt1 sisyphus.216837.100 1543085735 installed <13>Dec 18 08:12:53 rpmi: libgraphite2-devel-1.3.12-alt2.1 sisyphus.215942.100 1540990757 installed <13>Dec 18 08:12:53 rpmi: icu-utils-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Dec 18 08:12:53 rpmi: libicu-devel-1:6.3.1-alt1 sisyphus.215328.100 1540049988 installed <13>Dec 18 08:12:53 rpmi: libSM-devel-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Dec 18 08:12:53 rpmi: libjasper-2.0.14-alt1 1530105217 installed <13>Dec 18 08:12:53 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Dec 18 08:12:53 rpmi: libflac8-1.3.2-alt1 1507623955 installed <13>Dec 18 08:12:53 rpmi: libOpenGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Dec 18 08:12:53 rpmi: libGLES-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Dec 18 08:12:53 rpmi: libart_lgpl-devel-2.3.21-alt3 1303721925 installed <13>Dec 18 08:12:53 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Dec 18 08:12:53 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Dec 18 08:12:53 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Dec 18 08:12:53 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Dec 18 08:12:53 rpmi: perl-Filter-1.59-alt1 1533737242 installed <13>Dec 18 08:12:53 rpmi: perl-Encode-2.98-alt1 1525447819 installed <13>Dec 18 08:12:53 rpmi: perl-URI-1.74-alt1 1525446424 installed <13>Dec 18 08:12:53 rpmi: perl-HTML-Parser-3.72-alt1.1.1 1513340808 installed <13>Dec 18 08:12:53 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Dec 18 08:12:53 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Dec 18 08:12:53 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Dec 18 08:12:53 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Dec 18 08:12:53 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Dec 18 08:12:53 rpmi: perl-Compress-Raw-Bzip2-2.081-alt1 1523236188 installed <13>Dec 18 08:12:53 rpmi: perl-IO-Compress-2.081-alt1 1523237108 installed <13>Dec 18 08:12:53 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed <13>Dec 18 08:12:53 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed <13>Dec 18 08:12:53 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Dec 18 08:12:53 rpmi: perl-Net-HTTP-6.18-alt1 1526560501 installed <13>Dec 18 08:12:53 rpmi: perl-libwww-6.36-alt1 sisyphus.215515.100 1540400896 installed <13>Dec 18 08:12:53 rpmi: libpng15-1.5.28-alt2 1497966749 installed <13>Dec 18 08:12:53 rpmi: libpng15-devel-1.5.28-alt2 1497966749 installed <13>Dec 18 08:12:53 rpmi: libtdb-1.3.16-alt2 sisyphus.217010.100 1543607080 installed <13>Dec 18 08:12:53 rpmi: libltdl7-2.4.2-alt7 sisyphus.216946.100 1543650637 installed <13>Dec 18 08:12:53 rpmi: libalsa-1:1.1.7-alt1 sisyphus.215150.100 1539797658 installed <13>Dec 18 08:12:53 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Dec 18 08:12:53 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Dec 18 08:12:54 rpmi: sound-theme-freedesktop-0.8-alt1 1402011605 installed <13>Dec 18 08:12:54 rpmi: libgtk+2-locales-2.24.32-alt2 1518699309 installed <13>Dec 18 08:12:54 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Dec 18 08:12:54 rpmi: libthai-0.1.28-alt1_1 sisyphus.214516.100 1539257851 installed <13>Dec 18 08:12:54 rpmi: libfribidi-1.0.5-alt1 1532424345 installed <13>Dec 18 08:12:54 rpmi: libpixman-3:0.34.0-alt1 1480491657 installed <13>Dec 18 08:12:54 rpmi: libatk-locales-2.30.0-alt1 sisyphus.212779.100 1536768328 installed <13>Dec 18 08:12:54 rpmi: libatk-2.30.0-alt1 sisyphus.212779.100 1536768334 installed <13>Dec 18 08:12:54 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Dec 18 08:12:54 rpmi: libxshmfence-1.2-alt2 1518613552 installed <13>Dec 18 08:12:54 rpmi: libwayland-client-1.16.0-alt1 1535614871 installed <13>Dec 18 08:12:54 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Dec 18 08:12:54 rpmi: libdrm-1:2.4.96-alt1 sisyphus.215486.100 1540374027 installed <13>Dec 18 08:12:54 rpmi: libgbm-4:18.3.1-alt1 sisyphus.217710.100 1544601480 installed <13>Dec 18 08:12:54 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Dec 18 08:12:54 rpmi: libgdk-pixbuf-locales-2.38.0-alt2 sisyphus.213523.100 1537685512 installed <13>Dec 18 08:12:54 rpmi: libgamin-fam-0.1.10-alt5.2.qa2 sisyphus.214755.100 1539568987 installed <13>Dec 18 08:12:54 rpmi: gnome-audio-2.22.2-alt1 1210873043 installed <13>Dec 18 08:12:54 rpmi: gcc-c++-common-1.4.22-alt1 1519183788 installed <13>Dec 18 08:12:54 rpmi: libstdc++8-devel-8.2.1-alt1 sisyphus.214000.20 1542662379 installed <13>Dec 18 08:12:55 rpmi: gcc8-c++-8.2.1-alt1 sisyphus.214000.20 1542662379 installed <13>Dec 18 08:12:55 rpmi: libgamin-0.1.10-alt5.2.qa2 sisyphus.214755.100 1539568987 installed <13>Dec 18 08:12:55 rpmi: gamin-0.1.10-alt5.2.qa2 sisyphus.214755.100 1539568987 installed <13>Dec 18 08:12:55 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Dec 18 08:12:55 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Dec 18 08:12:55 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Dec 18 08:12:55 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Dec 18 08:12:55 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Dec 18 08:12:55 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Dec 18 08:12:55 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022162 installed <13>Dec 18 08:12:55 rpmi: libXft-2.3.2-alt1 1409902660 installed <13>Dec 18 08:12:55 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Dec 18 08:12:57 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Dec 18 08:12:57 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Dec 18 08:12:57 rpmi: libXrender-devel-0.9.8-alt1 1371312112 installed <13>Dec 18 08:12:57 rpmi: libXext-devel-1.3.3-alt1 1409902959 installed <13>Dec 18 08:12:57 rpmi: libXcursor-1.1.15-alt1.S1 1512373366 installed <13>Dec 18 08:12:57 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Dec 18 08:12:57 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Dec 18 08:12:57 rpmi: libGLX-mesa-4:18.3.1-alt1 sisyphus.217710.100 1544601480 installed <13>Dec 18 08:12:57 rpmi: libEGL-mesa-4:18.3.1-alt1 sisyphus.217710.100 1544601480 installed <13>Dec 18 08:12:57 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Dec 18 08:12:57 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Dec 18 08:12:57 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Dec 18 08:12:57 rpmi: libcairo-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Dec 18 08:12:57 rpmi: libpango-1.42.4-alt1 1534787259 installed <13>Dec 18 08:12:57 rpmi: libglvnd-devel-7:1.1.0-alt3 sisyphus.215982.100 1541498632 installed <13>Dec 18 08:12:57 rpmi: libEGL-devel-4:18.3.1-alt1 sisyphus.217710.100 1544601480 installed <13>Dec 18 08:12:57 rpmi: libGL-devel-4:18.3.1-alt1 sisyphus.217710.100 1544601480 installed <13>Dec 18 08:12:57 rpmi: libXi-1.7.9-alt1.S1 1515755342 installed <13>Dec 18 08:12:57 rpmi: libXinerama-1.1.3-alt2 1527671619 installed <13>Dec 18 08:12:57 rpmi: libXcomposite-0.4.3-alt3 1297306936 installed <13>Dec 18 08:12:57 rpmi: libverto-0.3.0-alt1_5 1525957714 installed <13>Dec 18 08:12:57 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <13>Dec 18 08:12:57 rpmi: libcom_err-1.44.3-alt1 1532134732 installed <13>Dec 18 08:12:57 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Dec 18 08:12:57 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Dec 18 08:12:57 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Dec 18 08:12:57 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Dec 18 08:12:57 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Dec 18 08:12:57 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Dec 18 08:12:57 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Dec 18 08:12:57 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Dec 18 08:12:57 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <86>Dec 18 08:12:57 groupadd[79929]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 18 08:12:57 groupadd[79929]: group added to /etc/gshadow: name=_keytab <86>Dec 18 08:12:57 groupadd[79929]: new group: name=_keytab, GID=499 <13>Dec 18 08:12:57 rpmi: libkrb5-1.16.2-alt2 sisyphus.216877.200 1543483297 installed <13>Dec 18 08:12:57 rpmi: libpython3-3.6.5-alt1.1 1535734576 installed <13>Dec 18 08:12:57 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Dec 18 08:12:57 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Dec 18 08:12:57 rpmi: python3-3.6.5-alt1.1 1535734576 installed <13>Dec 18 08:12:58 rpmi: python3-base-3.6.5-alt1.1 1535734576 installed <13>Dec 18 08:12:58 rpmi: glib2-devel-2.58.1-alt3 sisyphus.214034.100 1538601697 installed <13>Dec 18 08:12:58 rpmi: libIDL-devel-0.8.14-alt4 1449145676 installed <13>Dec 18 08:12:58 rpmi: ORBit2-devel-2.14.20-alt0.2 1518020801 installed <13>Dec 18 08:12:58 rpmi: libharfbuzz-devel-2.1.3-alt1 sisyphus.216837.100 1543085735 installed <13>Dec 18 08:12:58 rpmi: libfreetype-devel-2.9.1-alt1.S1 1530781053 installed <13>Dec 18 08:12:58 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus.215917.100 1540973886 installed <13>Dec 18 08:12:58 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus.215566.100 1540457683 installed <13>Dec 18 08:12:58 rpmi: libXft-devel-2.3.2-alt1 1409902660 installed <13>Dec 18 08:12:58 rpmi: libpango-devel-1.42.4-alt1 1534787259 installed <13>Dec 18 08:12:58 rpmi: libatk-devel-2.30.0-alt1 sisyphus.212779.100 1536768334 installed <86>Dec 18 08:12:58 groupadd[82898]: group added to /etc/group: name=sasl, GID=498 <86>Dec 18 08:12:58 groupadd[82898]: group added to /etc/gshadow: name=sasl <86>Dec 18 08:12:58 groupadd[82898]: new group: name=sasl, GID=498 <13>Dec 18 08:12:58 rpmi: libsasl2-3-2.1.27-alt0.2 1535660695 installed <13>Dec 18 08:12:58 rpmi: libldap-2.4.46-alt1 1535562135 installed <13>Dec 18 08:12:58 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Dec 18 08:12:58 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Dec 18 08:12:58 rpmi: python-modules-encodings-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 18 08:12:58 rpmi: python-modules-compiler-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 18 08:12:58 rpmi: python-modules-email-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 18 08:12:58 rpmi: python-modules-unittest-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 18 08:12:58 rpmi: python-modules-nis-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 18 08:12:59 rpmi: python-modules-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 18 08:12:59 rpmi: python-modules-xml-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Dec 18 08:12:59 rpmi: gtk-builder-convert-2.24.32-alt2 1518699309 installed <13>Dec 18 08:12:59 rpmi: gsettings-desktop-schemas-data-3.28.1-alt1 sisyphus.212587.100 1536082062 installed <13>Dec 18 08:12:59 rpmi: libgio-2.58.1-alt3 sisyphus.214034.100 1538601697 installed <13>Dec 18 08:12:59 rpmi: gsettings-desktop-schemas-3.28.1-alt1 sisyphus.212587.100 1536082066 installed <13>Dec 18 08:12:59 rpmi: libgdk-pixbuf-2.38.0-alt2 sisyphus.213523.100 1537685557 installed <13>Dec 18 08:12:59 rpmi: libbonobo-2.32.1-alt4 1383711183 installed <13>Dec 18 08:12:59 rpmi: libbonobo-devel-2.32.1-alt4 1383711183 installed <13>Dec 18 08:12:59 rpmi: libgio-devel-2.58.1-alt3 sisyphus.214034.100 1538601697 installed <13>Dec 18 08:12:59 rpmi: gtk-update-icon-cache-3.24.1-alt1 sisyphus.213271.100 1537346078 installed <13>Dec 18 08:12:59 rpmi: libgdk-pixbuf-xlib-2.38.0-alt2 sisyphus.213523.100 1537685557 installed <13>Dec 18 08:12:59 rpmi: libgdk-pixbuf-devel-2.38.0-alt2 sisyphus.213523.100 1537685557 installed <13>Dec 18 08:12:59 rpmi: libgstreamer1.0-1.14.4-alt1 sisyphus.214120.2200 1538778557 installed <13>Dec 18 08:12:59 rpmi: liblz4-1:1.8.3-alt1 sisyphus.213737.100 1538009686 installed <13>Dec 18 08:12:59 rpmi: libgpg-error-1.31-alt1.S1 1529015802 installed <13>Dec 18 08:12:59 rpmi: libgcrypt20-1.8.3-alt3 sisyphus.214019.140 1538990448 installed <13>Dec 18 08:12:59 rpmi: libsystemd-1:239-alt3 sisyphus.215710.300 1540765641 installed <13>Dec 18 08:12:59 rpmi: libdbus-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <13>Dec 18 08:12:59 rpmi: libdbus-glib-1:0.106-alt1 1454672854 installed <13>Dec 18 08:12:59 rpmi: libGConf-3.2.6-alt3 1455932638 installed <13>Dec 18 08:12:59 rpmi: libavahi-0.6.32-alt1 1500485702 installed <13>Dec 18 08:12:59 rpmi: dbus-tools-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <86>Dec 18 08:12:59 groupadd[84720]: group added to /etc/group: name=messagebus, GID=497 <86>Dec 18 08:12:59 groupadd[84720]: group added to /etc/gshadow: name=messagebus <86>Dec 18 08:12:59 groupadd[84720]: new group: name=messagebus, GID=497 <86>Dec 18 08:12:59 useradd[84730]: new user: name=messagebus, UID=499, GID=497, home=/run/dbus, shell=/dev/null <13>Dec 18 08:12:59 rpmi: dbus-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <13>Dec 18 08:12:59 rpmi: dbus-tools-gui-1.12.12-alt1 sisyphus.217336.100 1544000923 installed <13>Dec 18 08:12:59 rpmi: libavahi-glib-0.6.32-alt1 1500485702 installed <13>Dec 18 08:12:59 rpmi: libcups-2.2.6-alt1 1510070343 installed <13>Dec 18 08:12:59 rpmi: libgtk+2-2.24.32-alt2 1518699309 installed <13>Dec 18 08:12:59 rpmi: libgtk+2-devel-2.24.32-alt2 1518699309 installed <13>Dec 18 08:13:00 rpmi: libglade-2.6.4-alt5.qa1 1366416177 installed <13>Dec 18 08:13:00 rpmi: libgail-2.24.32-alt2 1518699309 installed <13>Dec 18 08:13:00 rpmi: libgnomecanvas-2.30.3-alt2 1297296491 installed <13>Dec 18 08:13:00 rpmi: libgail-devel-2.24.32-alt2 1518699309 installed <13>Dec 18 08:13:00 rpmi: libgnomecanvas-devel-2.30.3-alt2 1297296491 installed <13>Dec 18 08:13:00 rpmi: libGConf-devel-3.2.6-alt3 1455932638 installed <13>Dec 18 08:13:00 rpmi: libpulseaudio-12.2-alt1 1535623585 installed <13>Dec 18 08:13:00 rpmi: libcanberra-0.30-alt3 1509034818 installed <13>Dec 18 08:13:00 rpmi: libgnome-keyring-3.12.0-alt3 sisyphus.213077.100 1537112307 installed <13>Dec 18 08:13:00 rpmi: libpolkit-0.115-alt4 sisyphus.217425.100 1544107356 installed <13>Dec 18 08:13:00 rpmi: libxslt-1.1.32-alt2 1517429984 installed <13>Dec 18 08:13:00 rpmi: xsltproc-1.1.32-alt2 1517429984 installed <13>Dec 18 08:13:00 rpmi: GConf-3.2.6-alt3 1455932638 installed <13>Dec 18 08:13:00 rpmi: gnome-vfs-1:2.24.4-alt12 1535487541 installed killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) <13>Dec 18 08:13:00 rpmi: libgnome-2.32.1-alt4 1511716844 installed killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) killall: /proc lacks process entries (not mounted ?) <13>Dec 18 08:13:01 rpmi: libbonoboui-2.24.5-alt1 1301936248 installed <13>Dec 18 08:13:01 rpmi: libgnome-devel-2.32.1-alt4 1511716844 installed <13>Dec 18 08:13:01 rpmi: libbonoboui-devel-2.24.5-alt1 1301936248 installed <13>Dec 18 08:13:01 rpmi: libgnomeui-2.24.5-alt3 1519545623 installed <13>Dec 18 08:13:01 rpmi: gnome-vfs-devel-1:2.24.4-alt12 1535487541 installed <13>Dec 18 08:13:01 rpmi: libgnomeui-devel-2.24.5-alt3 1519545623 installed <13>Dec 18 08:13:01 rpmi: libglade-devel-2.6.4-alt5.qa1 1366416177 installed <13>Dec 18 08:13:01 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664775 installed <13>Dec 18 08:13:01 rpmi: perl-XML-Parser-2.44-alt2.1.1 1513346417 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/gnome-peercast-0.5.4-alt3.qa2.nosrc.rpm Installing gnome-peercast-0.5.4-alt3.qa2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.16513 + 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 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.24771 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gnome-peercast-0.5.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --disable-static checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for intltool >= 0.11... 0.35.0 found checking for perl... /usr/bin/perl checking for XML::Parser... ok checking for iconv... /usr/bin/iconv checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for xgettext... /usr/bin/xgettext checking for style of include used by make... GNU checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking dependency style of i586-alt-linux-gcc... none checking for library containing strerror... none required checking for i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to accept ISO C89... (cached) none needed checking dependency style of i586-alt-linux-gcc... (cached) none checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... (cached) pass_all checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for i586-alt-linux-g77... no checking for i586-alt-linux-f77... no checking for i586-alt-linux-xlf... no checking for i586-alt-linux-frt... no checking for i586-alt-linux-pgf77... no checking for i586-alt-linux-cf77... no checking for i586-alt-linux-fort77... no checking for i586-alt-linux-fl32... no checking for i586-alt-linux-af77... no checking for i586-alt-linux-f90... no checking for i586-alt-linux-xlf90... no checking for i586-alt-linux-pgf90... no checking for i586-alt-linux-pghpf... no checking for i586-alt-linux-epcf90... no checking for i586-alt-linux-gfortran... no checking for i586-alt-linux-g95... no checking for i586-alt-linux-f95... no checking for i586-alt-linux-fort... no checking for i586-alt-linux-xlf95... no checking for i586-alt-linux-ifort... no checking for i586-alt-linux-ifc... no checking for i586-alt-linux-efc... no checking for i586-alt-linux-pgf95... no checking for i586-alt-linux-lf95... no checking for i586-alt-linux-ftn... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for objdir... .libs checking for i586-alt-linux-ar... no checking for ar... ar checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for i586-alt-linux-strip... no checking for strip... strip checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC checking if i586-alt-linux-gcc PIC flag -fPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC checking if i586-alt-linux-g++ PIC flag -fPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes checking what language compliance flags to pass to the C compiler... checking for i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GNOME_PEERCAST... yes checking for gconftool-2... /usr/bin/gconftool-2 Using config source xml:readwrite:/var/cache/gconf/gconf.xml.defaults for schema installation Using $(sysconfdir)/gconf/schemas as install directory for schema files checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... ja configure: creating ./config.status config.status: creating Makefile config.status: creating libpeercast/Makefile config.status: creating src/Makefile config.status: creating pixmaps/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing intltool commands config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands + make -j8 make: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make all-recursive make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Making all in libpeercast make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o socket.lo `test -f '../peercast/core/common/socket.cpp' || echo './'`../peercast/core/common/socket.cpp mkdir .libs i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/socket.cpp -fPIC -DPIC -o .libs/socket.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/socket.cpp:24: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o usocket.lo `test -f '../peercast/core/unix/usocket.cpp' || echo './'`../peercast/core/unix/usocket.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 -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:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/unix/usocket.cpp: In member function 'virtual void UClientSocket::open(Host&)': ../peercast/core/unix/usocket.cpp:162:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (sockNum == INVALID_SOCKET) ^ ../peercast/core/unix/usocket.cpp: In member function 'virtual void UClientSocket::bind(Host&)': ../peercast/core/unix/usocket.cpp:370:61: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ((sockNum = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP)) == -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../peercast/core/unix/usocket.cpp: In member function 'virtual bool UClientSocket::readReady()': ../peercast/core/unix/usocket.cpp:460:9: warning: unused variable 'write_fds' [-Wunused-variable] fd_set write_fds; ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o xml.lo `test -f '../peercast/core/common/xml.cpp' || echo './'`../peercast/core/common/xml.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/xml.cpp -fPIC -DPIC -o .libs/xml.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/xml.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/xml.cpp: In member function 'void XML::Node::setAttributes(const char*)': ../peercast/core/common/xml.cpp:140:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c=attrData[i++]) ~^~~~~~~~~~~~~~ ../peercast/core/common/xml.cpp: In member function 'void XML::read(Stream&)': ../peercast/core/common/xml.cpp:426:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (c == '>') ^~ ../peercast/core/common/xml.cpp:429:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (tp >= BUFFER_LEN) ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o usys.lo `test -f '../peercast/core/unix/usys.cpp' || echo './'`../peercast/core/unix/usys.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/unix/usys.cpp -fPIC -DPIC -o .libs/usys.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/unix/usys.h:26, from ../peercast/core/unix/usys.cpp:33: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o stream.lo `test -f '../peercast/core/common/stream.cpp' || echo './'`../peercast/core/common/stream.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/stream.cpp -fPIC -DPIC -o .libs/stream.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/stream.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.cpp: In member function 'int Stream::writeUTF8(unsigned int)': ../peercast/core/common/stream.cpp:179:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writeChar(code & 0x3F | 0x80); ~~~~~^~~~~~ ../peercast/core/common/stream.cpp:184:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writeChar(code>>6 & 0x3F | 0x80); ~~~~~~~~^~~~~~ ../peercast/core/common/stream.cpp:185:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writeChar(code & 0x3F | 0x80); ~~~~~^~~~~~ ../peercast/core/common/stream.cpp:190:22: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writeChar(code>>12 & 0x3F | 0x80); ~~~~~~~~~^~~~~~ ../peercast/core/common/stream.cpp:191:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writeChar(code>>6 & 0x3F | 0x80); ~~~~~~~~^~~~~~ ../peercast/core/common/stream.cpp:192:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] writeChar(code & 0x3F | 0x80); ~~~~~^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o sys.lo `test -f '../peercast/core/common/sys.cpp' || echo './'`../peercast/core/common/sys.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/sys.cpp -fPIC -DPIC -o .libs/sys.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/sys.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] 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] else ^~~~ ../peercast/core/common/sys.cpp:367:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return out-start; ^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::UNKNOWN2UNICODE(const char*, bool)': ../peercast/core/common/sys.cpp:395:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *in++) ~~^~~~~~~ ../peercast/core/common/sys.cpp:32:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define isSJIS(a,b) ((a >= 0x81 && a <= 0x9f || a >= 0xe0 && a<=0xfc) && (b >= 0x40 && b <= 0x7e || b >= 0x80 && b<=0xfc)) ^ ../peercast/core/common/sys.cpp:417:11: note: in expansion of macro 'isSJIS' else if(isSJIS(c,d)) // shift_jis ^~~~~~ ../peercast/core/common/sys.cpp:32:85: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define isSJIS(a,b) ((a >= 0x81 && a <= 0x9f || a >= 0xe0 && a<=0xfc) && (b >= 0x40 && b <= 0x7e || b >= 0x80 && b<=0xfc)) ^ ../peercast/core/common/sys.cpp:417:11: note: in expansion of macro 'isSJIS' else if(isSJIS(c,d)) // shift_jis ^~~~~~ ../peercast/core/common/sys.cpp:434:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c=*in++) ~^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::ASCII2HTML(const char*)': ../peercast/core/common/sys.cpp:485:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *p++) ~~^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::ASCII2ESC(const char*, bool)': ../peercast/core/common/sys.cpp:508:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *p++) ~~^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::HTML2ASCII(const char*)': ../peercast/core/common/sys.cpp:533:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *p++) ~~^~~~~~ ../peercast/core/common/sys.cpp:541:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c=*p++) ~^~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::HTML2UNICODE(const char*)': ../peercast/core/common/sys.cpp:564:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *in++) ~~^~~~~~~ ../peercast/core/common/sys.cpp:572:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c=*in++) ~^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::ESC2ASCII(const char*)': ../peercast/core/common/sys.cpp:598:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *p++) ~~^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::ASCII2META(const char*, bool)': ../peercast/core/common/sys.cpp:626:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *p++) ~~^~~~~~ ../peercast/core/common/sys.cpp: In member function 'void String::convertTo(String::TYPE)': ../peercast/core/common/sys.cpp:653:10: warning: enumeration value 'T_UNICODE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/sys.cpp:653:10: warning: enumeration value 'T_UNICODESAFE' not handled in switch [-Wswitch] ../peercast/core/common/sys.cpp:674:10: warning: enumeration value 'T_BASE64' not handled in switch [-Wswitch] 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] static char *util_base64_decode(char *input) ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/sys.cpp:54:13: warning: 'base64table' defined but not used [-Wunused-variable] 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] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o http.lo `test -f '../peercast/core/common/http.cpp' || echo './'`../peercast/core/common/http.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/http.cpp -fPIC -DPIC -o .libs/http.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/http.h:23, from ../peercast/core/common/http.cpp:23: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/http.cpp:23: ../peercast/core/common/http.h: At global scope: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o html.lo `test -f '../peercast/core/common/html.cpp' || echo './'`../peercast/core/common/html.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/html.cpp -fPIC -DPIC -o .libs/html.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/http.h:23, from ../peercast/core/common/html.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/html.cpp:28: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/html.cpp:28: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/html.cpp:28: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/html.cpp:28: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] 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] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; ^~~~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 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] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ In file included from ../peercast/core/common/html.cpp:25: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] 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] static const char *HTTP_HS_AGENT = "User-Agent:"; ^~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_NOTFOUND = "HTTP/1.0 404 Not Found"; ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o inifile.lo `test -f '../peercast/core/common/inifile.cpp' || echo './'`../peercast/core/common/inifile.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/inifile.cpp -fPIC -DPIC -o .libs/inifile.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/inifile.h:23, from ../peercast/core/common/inifile.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/inifile.cpp: In member function 'char* IniFile::getStrValue()': ../peercast/core/common/inifile.cpp:117:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o peercast.lo `test -f '../peercast/core/common/peercast.cpp' || echo './'`../peercast/core/common/peercast.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/peercast.cpp -fPIC -DPIC -o .libs/peercast.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/http.h: At global scope: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o servmgr.lo `test -f '../peercast/core/common/servmgr.cpp' || echo './'`../peercast/core/common/servmgr.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/servmgr.cpp -fPIC -DPIC -o .libs/servmgr.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/servmgr.cpp:23: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from ../peercast/core/common/servmgr.cpp:28: ../peercast/core/common/atom.h: In constructor 'AtomStream::AtomStream(Stream&)': ../peercast/core/common/atom.h:205:10: warning: 'AtomStream::io' will be initialized after [-Wreorder] Stream &io; ^~ ../peercast/core/common/atom.h:204:6: warning: 'int AtomStream::numChildren' [-Wreorder] int numChildren,numData; ^~~~~~~~~~~ ../peercast/core/common/atom.h:30:2: warning: when initialized here [-Wreorder] AtomStream(Stream &s) : io(s),numChildren(0),numData(0) ^~~~~~~~~~ ../peercast/core/common/servmgr.cpp: In member function 'Servent* ServMgr::findServentByIndex(int)': ../peercast/core/common/servmgr.cpp:490:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (cnt == id) ^~ ../peercast/core/common/servmgr.cpp:492:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' cnt++; ^~~ ../peercast/core/common/servmgr.cpp: In member function 'void ServMgr::checkFirewall()': ../peercast/core/common/servmgr.cpp:814:10: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete sock; ^~~~ ../peercast/core/common/servmgr.cpp: In member function 'void ServMgr::setFirewall(ServMgr::FW_STATE)': ../peercast/core/common/servmgr.cpp:827:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = "ON"; ^~~~ ../peercast/core/common/servmgr.cpp:830:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = "OFF"; ^~~~~ ../peercast/core/common/servmgr.cpp:834:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] str = "UNKNOWN"; ^~~~~~~~~ ../peercast/core/common/servmgr.cpp: In member function 'void ServMgr::loadSettings(const char*)': ../peercast/core/common/servmgr.cpp:1395:10: warning: unused variable 'firewalled' [-Wunused-variable] bool firewalled=false; ^~~~~~~~~~ ../peercast/core/common/servmgr.cpp: In member function 'void ServMgr::procConnectArgs(char*, ChanInfo&)': ../peercast/core/common/servmgr.cpp:1597:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (args=nextCGIarg(args,curr,arg)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servmgr.cpp: In static member function 'static int ServMgr::idleProc(ThreadInfo*)': ../peercast/core/common/servmgr.cpp:1853:15: warning: unused variable 'lastPasvFind' [-Wunused-variable] unsigned int lastPasvFind=0; ^~~~~~~~~~~~ ../peercast/core/common/servmgr.cpp:1854:15: warning: unused variable 'lastBroadcast' [-Wunused-variable] unsigned int lastBroadcast=0; ^~~~~~~~~~~~~ ../peercast/core/common/servmgr.cpp:1860:15: warning: unused variable 'lastBWcheck' [-Wunused-variable] unsigned int lastBWcheck=0; ^~~~~~~~~~~ ../peercast/core/common/servmgr.cpp:1861:15: warning: unused variable 'bytesIn' [-Wunused-variable] unsigned int bytesIn=0,bytesOut=0; ^~~~~~~ ../peercast/core/common/servmgr.cpp:1861:25: warning: unused variable 'bytesOut' [-Wunused-variable] unsigned int bytesIn=0,bytesOut=0; ^~~~~~~~ ../peercast/core/common/servmgr.cpp: In static member function 'static int ServMgr::serverProc(ThreadInfo*)': ../peercast/core/common/servmgr.cpp:1956:15: warning: unused variable 'lastLookupTime' [-Wunused-variable] 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] static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; ^~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o gnutella.lo `test -f '../peercast/core/common/gnutella.cpp' || echo './'`../peercast/core/common/gnutella.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/gnutella.cpp -fPIC -DPIC -o .libs/gnutella.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition ../peercast/core/common/gnutella.cpp:170:16: warning: multi-character character constant [-Wmultichar] 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:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/gnutella.cpp:27: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/gnutella.cpp:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/gnutella.cpp:27: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/gnutella.cpp:28: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ ../peercast/core/common/gnutella.cpp: In member function 'GnuStream::R_TYPE GnuStream::processPacket(GnuPacket&, Servent*, GnuID&)': ../peercast/core/common/gnutella.cpp:392:18: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int ip,port,cnt,total; ^~~ ../peercast/core/common/gnutella.cpp:392:22: warning: variable 'total' set but not used [-Wunused-but-set-variable] int ip,port,cnt,total; ^~~~~ ../peercast/core/common/gnutella.cpp:440:11: warning: unused variable 'spd' [-Wunused-variable] short spd = data.readShort(); ^~~ ../peercast/core/common/gnutella.cpp:498:9: warning: unused variable 'index' [-Wunused-variable] int index = data.readLong(); ^~~~~ ../peercast/core/common/gnutella.cpp: In member function 'bool GnuStream::readHit(Stream&, ChanHit&, int, GnuID&)': ../peercast/core/common/gnutella.cpp:613:7: warning: variable 'index' set but not used [-Wunused-but-set-variable] int index,bitrate,listeners; ^~~~~ ../peercast/core/common/gnutella.cpp:613:13: warning: variable 'bitrate' set but not used [-Wunused-but-set-variable] int index,bitrate,listeners; ^~~~~~~ ../peercast/core/common/gnutella.cpp:599:6: warning: unused variable 'spd' [-Wunused-variable] int spd = data.readLong(); // speed/broadcast ^~~ ../peercast/core/common/gnutella.cpp:682:6: warning: unused variable 'vendor' [-Wunused-variable] int vendor = data.readLong(); // vendor ID ^~~~~~ ../peercast/core/common/gnutella.cpp:696:6: warning: variable 'maxPreviewTime' set but not used [-Wunused-but-set-variable] int maxPreviewTime=0; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.cpp:730:7: warning: variable 'isBroadcastHit' set but not used [-Wunused-but-set-variable] bool isBroadcastHit=false; ^~~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/gnutella.cpp:27: ../peercast/core/common/http.h: At global scope: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/gnutella.cpp:24: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o stats.lo `test -f '../peercast/core/common/stats.cpp' || echo './'`../peercast/core/common/stats.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/stats.cpp -fPIC -DPIC -o .libs/stats.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/stats.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stats.cpp: In member function 'bool Stats::writeVariable(Stream&, const String&)': ../peercast/core/common/stats.cpp:82:15: warning: format '%f' expects argument of type 'double', but argument 3 has type 'unsigned int' [-Wformat=] sprintf(buf,"%.1f",getPerSecond(Stats::NUMPACKETSIN)); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/stats.cpp:84:15: warning: format '%f' expects argument of type 'double', but argument 3 has type 'unsigned int' [-Wformat=] sprintf(buf,"%.1f",getPerSecond(Stats::NUMPACKETSOUT)); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/stats.cpp:86:15: warning: format '%f' expects argument of type 'double', but argument 3 has type 'unsigned int' [-Wformat=] sprintf(buf,"%.1f",getPerSecond(Stats::NUMPACKETSOUT)+getPerSecond(Stats::NUMPACKETSIN)); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o servhs.lo `test -f '../peercast/core/common/servhs.cpp' || echo './'`../peercast/core/common/servhs.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/servhs.cpp -fPIC -DPIC -o .libs/servhs.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/servhs.cpp:24: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ ../peercast/core/common/servhs.cpp: In member function 'void Servent::handshakeHTTP(HTTP&, bool)': ../peercast/core/common/servhs.cpp:303:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ps=strstr(in,"ICE/1.0")) ~~^~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp: In member function 'bool Servent::handshakeAuth(HTTP&, const char*, bool)': ../peercast/core/common/servhs.cpp:601:7: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while (http.nextHeader()); ^~~~~ ../peercast/core/common/servhs.cpp:602:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' return true; ^~~~~~ ../peercast/core/common/servhs.cpp: In member function 'void Servent::handshakeCMD(char*)': ../peercast/core/common/servhs.cpp:701:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (cmpCGIarg(cmd,"cmd=","redirect")) ^ ../peercast/core/common/servhs.cpp:701:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:725:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (cmpCGIarg(cmd,"cmd=","viewxml")) ^ ../peercast/core/common/servhs.cpp:725:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:730:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","clearlog")) ^ ../peercast/core/common/servhs.cpp:730:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:736:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","save")) ^ ../peercast/core/common/servhs.cpp:736:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:743:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","reg")) ^ ../peercast/core/common/servhs.cpp:743:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:749:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","edit_bcid")) ^ ../peercast/core/common/servhs.cpp:749:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:754:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cp=nextCGIarg(cp,curr,arg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:771:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","add_bcid")) ^ ../peercast/core/common/servhs.cpp:771:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:777:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cp=nextCGIarg(cp,curr,arg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:809:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","apply")) ^ ../peercast/core/common/servhs.cpp:809:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:824:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cp=nextCGIarg(cp,curr,arg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1031:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","fetch")) ^ ../peercast/core/common/servhs.cpp:1031:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1038:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cp=nextCGIarg(cp,curr,arg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1080:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","stopserv")) ^ ../peercast/core/common/servhs.cpp:1080:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1084:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cp=nextCGIarg(cp,curr,arg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1097:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","hitlist")) ^ ../peercast/core/common/servhs.cpp:1097:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1100:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bool stayConnected=hasCGIarg(cmd,"relay"); ^ ../peercast/core/common/servhs.cpp:1110:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (cmpCGIarg(cmd,tmp,"1")) ^ ../peercast/core/common/servhs.cpp:1129:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (hasCGIarg(cmd,"relay")) ^ ../peercast/core/common/servhs.cpp:1127:17: warning: unused variable 'findArg' [-Wunused-variable] const char *findArg = getCGIarg(cmd,"keywords="); ^~~~~~~ ../peercast/core/common/servhs.cpp:1135:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","clear")) ^ ../peercast/core/common/servhs.cpp:1135:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1138:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cp=nextCGIarg(cp,curr,arg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1154:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","upgrade")) ^ ../peercast/core/common/servhs.cpp:1154:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1165:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","connect")) ^ ../peercast/core/common/servhs.cpp:1165:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1173:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (cmpCGIarg(cmd,tmp,"1")) ^ ../peercast/core/common/servhs.cpp:1175:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (hasCGIarg(cmd,"stop")) ^ ../peercast/core/common/servhs.cpp:1183:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","shutdown")) ^ ../peercast/core/common/servhs.cpp:1183:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1187:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","stop")) ^ ../peercast/core/common/servhs.cpp:1187:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1191:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cp=nextCGIarg(cp,curr,arg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1205:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","bump")) ^ ../peercast/core/common/servhs.cpp:1205:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1209:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cp=nextCGIarg(cp,curr,arg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1222:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","keep")) ^ ../peercast/core/common/servhs.cpp:1222:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1226:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cp=nextCGIarg(cp,curr,arg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1248:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","relay")) ^ ../peercast/core/common/servhs.cpp:1248:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1252:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cp=nextCGIarg(cp,curr,arg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1279:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"net=","add")) ^ ../peercast/core/common/servhs.cpp:1279:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1284:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cmd=nextCGIarg(cmd,curr,arg)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1300:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","logout")) ^ ../peercast/core/common/servhs.cpp:1300:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1302:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] jumpArg = "/"; ^~~ ../peercast/core/common/servhs.cpp:1305:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","login")) ^ ../peercast/core/common/servhs.cpp:1305:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1323:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }else if (cmpCGIarg(cmd,"cmd=","setmeta")) ^ ../peercast/core/common/servhs.cpp:1323:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servhs.cpp:1326:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cp=nextCGIarg(cp,curr,arg)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1340:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (cmd=nextCGIarg(cmd,curr,arg)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1377:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 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] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; ^~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:67:20: warning: 'MIME_ASF' defined but not used [-Wunused-variable] 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] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:50:20: warning: 'HTTP_HS_AGENT' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_SC_FORBIDDEN = "HTTP/1.0 403 Forbidden"; ^~~~~~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ ../peercast/core/common/servhs.cpp: In member function 'void Servent::handshakeCMD(char*)': ../peercast/core/common/servhs.cpp:1381:21: warning: '/index.html' directive writing 11 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/index.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 13 and 140 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1367:25: warning: '/relayinfo.html?id=' directive writing 19 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/relayinfo.html?id=%s",servMgr->htmlPath,idstr); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 21 and 211 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1275:21: warning: '/relays.html' directive writing 12 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/relays.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 14 and 141 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1245:21: warning: '/relays.html' directive writing 12 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/relays.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 14 and 141 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1219:21: warning: '/relays.html' directive writing 12 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/relays.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 14 and 141 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1202:21: warning: '/relays.html' directive writing 12 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/relays.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 14 and 141 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1180:21: warning: '/connections.html' directive writing 17 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/connections.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 19 and 146 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1158:22: warning: '%s' directive writing up to 127 bytes into a region of size 104 [-Wformat-overflow=] sprintf(jumpStr,"/admin?cmd=redirect&url=%s",servMgr->downloadURL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 25 and 152 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1151:21: warning: '/index.html' directive writing 11 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/index.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 13 and 140 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1132:22: warning: '/relays.html' directive writing 12 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/relays.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 14 and 141 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1093:21: warning: '/connections.html' directive writing 17 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/connections.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 19 and 146 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1077:21: warning: '/relays.html' directive writing 12 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/relays.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 14 and 141 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:1016:22: warning: '/settings.html' directive writing 14 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/settings.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 16 and 143 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:994:22: warning: '%s' directive writing up to 127 bytes into a region of size between 57 and 120 [-Wformat-overflow=] sprintf(jumpStr,"http://%s/%s/settings.html",ipstr,servMgr->htmlPath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 23 and 213 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:804:22: warning: '/bcid.html' directive writing 10 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/bcid.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 12 and 139 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:768:21: warning: '/bcid.html' directive writing 10 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/bcid.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 12 and 139 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:747:21: warning: '%s' directive writing up to 127 bytes into a region of size 91 [-Wformat-overflow=] sprintf(jumpStr,"http://www.peercast.org/register/?id=%s",idstr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 38 and 165 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:741:21: warning: '/settings.html' directive writing 14 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/settings.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 16 and 143 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/servhs.cpp:733:21: warning: '/viewlog.html' directive writing 13 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf(jumpStr,"/%s/viewlog.html",servMgr->htmlPath); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/socket.h:24, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 15 and 142 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o mp3.lo `test -f '../peercast/core/common/mp3.cpp' || echo './'`../peercast/core/common/mp3.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/mp3.cpp -fPIC -DPIC -o .libs/mp3.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/mp3.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/mp3.cpp:19: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/mp3.cpp:19: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/mp3.cpp:19: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/mp3.cpp:19: ../peercast/core/common/gnutella.h: At global scope: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o nsv.lo `test -f '../peercast/core/common/nsv.cpp' || echo './'`../peercast/core/common/nsv.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/nsv.cpp -fPIC -DPIC -o .libs/nsv.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/nsv.h:23, from ../peercast/core/common/nsv.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/nsv.h:23, from ../peercast/core/common/nsv.cpp:19: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/nsv.h:23, from ../peercast/core/common/nsv.cpp:19: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/nsv.h:23, from ../peercast/core/common/nsv.cpp:19: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/nsv.h:23, from ../peercast/core/common/nsv.cpp:19: ../peercast/core/common/gnutella.h: At global scope: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o mms.lo `test -f '../peercast/core/common/mms.cpp' || echo './'`../peercast/core/common/mms.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/mms.cpp -fPIC -DPIC -o .libs/mms.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/mms.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/mms.cpp:19: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/mms.cpp:19: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/mms.cpp:19: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/mms.cpp: In function 'ASFInfo parseASFHeader(Stream&)': ../peercast/core/common/mms.cpp:139:19: warning: unused variable 'dpHi' [-Wunused-variable] unsigned int dpHi = data.readLong(); ^~~~ ../peercast/core/common/mms.cpp:132:11: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch (obj.type) ^ ../peercast/core/common/mms.cpp:132:11: warning: enumeration value 'T_HEAD_OBJECT' not handled in switch [-Wswitch] ../peercast/core/common/mms.cpp:132:11: warning: enumeration value 'T_DATA_OBJECT' not handled in switch [-Wswitch] In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/mms.cpp:19: ../peercast/core/common/gnutella.h: At global scope: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o icy.lo `test -f '../peercast/core/common/icy.cpp' || echo './'`../peercast/core/common/icy.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/icy.cpp -fPIC -DPIC -o .libs/icy.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/icy.h:22, from ../peercast/core/common/icy.cpp:1: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/icy.h:22, from ../peercast/core/common/icy.cpp:1: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/icy.h:22, from ../peercast/core/common/icy.cpp:1: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/icy.h:22, from ../peercast/core/common/icy.cpp:1: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/icy.cpp: In member function 'virtual void ICYSource::stream(Channel*)': ../peercast/core/common/icy.cpp:31:14: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete ch->sock; ^~~~ ../peercast/core/common/icy.cpp:36:10: warning: deleting object of abstract class type 'ChannelStream' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete source; ^~~~~~ In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/icy.h:22, from ../peercast/core/common/icy.cpp:1: ../peercast/core/common/gnutella.h: At global scope: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o jis.lo `test -f '../peercast/core/common/jis.cpp' || echo './'`../peercast/core/common/jis.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/jis.cpp -fPIC -DPIC -o .libs/jis.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o ogg.lo `test -f '../peercast/core/common/ogg.cpp' || echo './'`../peercast/core/common/ogg.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/ogg.cpp -fPIC -DPIC -o .libs/ogg.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/ogg.cpp:20: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/ogg.cpp:20: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/ogg.cpp:20: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/ogg.cpp:20: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/ogg.cpp:21: ../peercast/core/common/ogg.h: In constructor 'OggSubStream::OggSubStream()': ../peercast/core/common/ogg.h:86:15: warning: 'OggSubStream::serialNo' will be initialized after [-Wreorder] unsigned int serialNo; ^~~~~~~~ ../peercast/core/common/ogg.h:82:6: warning: 'int OggSubStream::bitrate' [-Wreorder] int bitrate; ^~~~~~~ ../peercast/core/common/ogg.h:51:2: warning: when initialized here [-Wreorder] OggSubStream() ^~~~~~~~~~~~ ../peercast/core/common/ogg.cpp: In member function 'void OggTheoraSubStream::readInfo(Stream&, ChanInfo&)': ../peercast/core/common/ogg.cpp:211:6: warning: unused variable 'verMaj' [-Wunused-variable] int verMaj = in.readBits(8); ^~~~~~ ../peercast/core/common/ogg.cpp:212:6: warning: unused variable 'verMin' [-Wunused-variable] int verMin = in.readBits(8); ^~~~~~ ../peercast/core/common/ogg.cpp:213:6: warning: unused variable 'verSub' [-Wunused-variable] int verSub = in.readBits(8); ^~~~~~ ../peercast/core/common/ogg.cpp: In member function 'void OggVorbisSubStream::readComment(Stream&, ChanInfo&)': ../peercast/core/common/ogg.cpp:331:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (l > sizeof(argBuf)) ~~^~~~~~~~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/ogg.cpp:20: ../peercast/core/common/gnutella.h: At global scope: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o url.lo `test -f '../peercast/core/common/url.cpp' || echo './'`../peercast/core/common/url.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/url.cpp -fPIC -DPIC -o .libs/url.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/url.h:22, from ../peercast/core/common/url.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/url.h:22, from ../peercast/core/common/url.cpp:19: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/url.h:22, from ../peercast/core/common/url.cpp:19: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/url.h:22, from ../peercast/core/common/url.cpp:19: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/url.cpp:23: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ ../peercast/core/common/url.cpp: In member function 'String URLSource::streamURL(Channel*, const char*)': ../peercast/core/common/url.cpp:216:12: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete inputSocket; ^~~~~~~~~~~ ../peercast/core/common/url.cpp:166:11: warning: variable 'name' set but not used [-Wunused-but-set-variable] String name = ch->info.name; ^~~~ ../peercast/core/common/url.cpp:278:11: warning: deleting object of abstract class type 'Stream' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete inputStream; ^~~~~~~~~~~ ../peercast/core/common/url.cpp:336:10: warning: deleting object of abstract class type 'Stream' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete inputStream; ^~~~~~~~~~~ ../peercast/core/common/url.cpp:341:10: warning: deleting object of abstract class type 'ChannelStream' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 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] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; ^~~~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 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] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/url.h:22, from ../peercast/core/common/url.cpp:19: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o servent.lo `test -f '../peercast/core/common/servent.cpp' || echo './'`../peercast/core/common/servent.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/servent.cpp -fPIC -DPIC -o .libs/servent.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/servent.cpp:32: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from ../peercast/core/common/servent.cpp:34: ../peercast/core/common/atom.h: In constructor 'AtomStream::AtomStream(Stream&)': ../peercast/core/common/atom.h:205:10: warning: 'AtomStream::io' will be initialized after [-Wreorder] Stream &io; ^~ ../peercast/core/common/atom.h:204:6: warning: 'int AtomStream::numChildren' [-Wreorder] int numChildren,numData; ^~~~~~~~~~~ ../peercast/core/common/atom.h:30:2: warning: when initialized here [-Wreorder] AtomStream(Stream &s) : io(s),numChildren(0),numData(0) ^~~~~~~~~~ ../peercast/core/common/servent.cpp: At global scope: ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:57:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:70:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ ../peercast/core/common/servent.cpp:70:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:70:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:70:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:70:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:70:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:70:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/servent.cpp:70:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/servent.h: In constructor 'Servent::Servent(int)': ../peercast/core/common/servent.h:276:33: warning: 'Servent::outPacketsPri' will be initialized after [-Wreorder] GnuPacketBuffer outPacketsNorm,outPacketsPri; ^~~~~~~~~~~~~ ../peercast/core/common/servent.h:276:18: warning: 'GnuPacketBuffer Servent::outPacketsNorm' [-Wreorder] GnuPacketBuffer outPacketsNorm,outPacketsPri; ^~~~~~~~~~~~~~ ../peercast/core/common/servent.cpp:96:1: warning: when initialized here [-Wreorder] Servent::Servent(int index) ^~~~~~~ In file included from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/servent.h:276:18: warning: 'Servent::outPacketsNorm' will be initialized after [-Wreorder] GnuPacketBuffer outPacketsNorm,outPacketsPri; ^~~~~~~~~~~~~~ ../peercast/core/common/servent.h:244:12: warning: 'GnuIDList Servent::seenIDs' [-Wreorder] GnuIDList seenIDs; ^~~~~~~ ../peercast/core/common/servent.cpp:96:1: warning: when initialized here [-Wreorder] Servent::Servent(int index) ^~~~~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::kill()': ../peercast/core/common/servent.cpp:124:10: warning: deleting object of polymorphic class type 'PCPStream' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete pcp; ^~~ ../peercast/core/common/servent.cpp:131:10: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete sock; ^~~~ ../peercast/core/common/servent.cpp:138:10: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete pushSock; ^~~~~~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::handshakeIn()': ../peercast/core/common/servent.cpp:568:6: warning: variable 'osType' set but not used [-Wunused-but-set-variable] int osType=0; ^~~~~~ ../peercast/core/common/servent.cpp: In static member function 'static bool Servent::pingHost(Host&, GnuID&)': ../peercast/core/common/servent.cpp:747:10: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete s; ^ ../peercast/core/common/servent.cpp: In member function 'bool Servent::handshakeStream(ChanInfo&)': ../peercast/core/common/servent.cpp:1117:12: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] if (nsSwitchNum) ^ ../peercast/core/common/servent.cpp:1117:12: warning: enumeration value 'T_RAW' not handled in switch [-Wswitch] ../peercast/core/common/servent.cpp:1117:12: warning: enumeration value 'T_OGM' not handled in switch [-Wswitch] ../peercast/core/common/servent.cpp:1117:12: warning: enumeration value 'T_PLS' not handled in switch [-Wswitch] ../peercast/core/common/servent.cpp: In member function 'void Servent::handshakeGiv(GnuID&)': ../peercast/core/common/servent.cpp:1199:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] // chanMgr->broadcastRelays(this,chanMgr->minBroadcastTTL,2); ^~~~ ../peercast/core/common/servent.cpp:1202:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' bool doneBigPing=false; ^~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::processGnutella()': ../peercast/core/common/servent.cpp:1281:11: warning: enumeration value 'R_PROCESS' not handled in switch [-Wswitch] ^ ../peercast/core/common/servent.cpp:1351:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] ^ ../peercast/core/common/servent.cpp:1362:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] gnuStream.ping(2); ~~~~^~~~~~~~~~ ../peercast/core/common/servent.cpp:1244:15: warning: unused variable 'currBytes' [-Wunused-variable] switch(ret) ^ ../peercast/core/common/servent.cpp:1245:15: warning: unused variable 'lastWait' [-Wunused-variable] { ^ ../peercast/core/common/servent.cpp: In static member function 'static void Servent::handshakeOutgoingPCP(AtomStream&, Host&, GnuID&, String&, bool)': ../peercast/core/common/servent.cpp:1547:6: warning: variable 'version' set but not used [-Wunused-but-set-variable] ^ ../peercast/core/common/servent.cpp: In static member function 'static int Servent::outgoingProc(ThreadInfo*)': ../peercast/core/common/servent.cpp:2097:17: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] sv->sock->writeLine(e.msg); ^~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::processStream(bool, ChanInfo&)': ../peercast/core/common/servent.cpp:2186:8: warning: variable 'host' set but not used [-Wunused-but-set-variable] // ----------------------------------------- ^~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::sendRawMetaChannel(int)': ../peercast/core/common/servent.cpp:2451:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] p+=rl; ~~~~~~ ^ ../peercast/core/common/servent.cpp:2470:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] ^ ../peercast/core/common/servent.cpp:2472:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!metaTitle->isSame(lastTitle) || !ch->info.url.isSame(lastURL)) ^ ~~~~ ../peercast/core/common/servent.cpp:2521:22: warning: embedded '\0' in format [-Wformat-contains-nul] setStatus(S_CONNECTED); ^~~~ ../peercast/core/common/servent.cpp: In member function 'void Servent::sendPeercastChannel()': ../peercast/core/common/servent.cpp:2566:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] { ^ ../peercast/core/common/servent.cpp:2588:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setStatus(S_CONNECTED); ^ In file included from ../peercast/core/common/servent.cpp:36: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] static const char *PCX_AGENTJP = "PeerCast/0.1217-J"; ^~~~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] static bool PCP_FORCE_YP = false; ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:71:20: warning: 'MIME_RAM' defined but not used [-Wunused-variable] 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] 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] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] 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] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] static const char *HTTP_HS_CACHE = "Cache-Control:"; ^~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_SC_FOUND = "HTTP/1.0 302 Found"; ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/gnutella.h:72:20: warning: 'PCX_OS_ACTIVEX' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:43:20: warning: 'GNU_CONNECT' defined but not used [-Wunused-variable] static const char *GNU_CONNECT = "GNUTELLA CONNECT/0.6"; ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o channel.lo `test -f '../peercast/core/common/channel.cpp' || echo './'`../peercast/core/common/channel.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/channel.cpp -fPIC -DPIC -o .libs/channel.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition ../peercast/core/common/channel.cpp:1250:22: warning: multi-character character constant [-Wmultichar] if (in.readTag() != 'PCST') ^~~~~~ ../peercast/core/common/channel.cpp:1385:21: warning: multi-character character constant [-Wmultichar] case T_HEAD: tp = 'HEAD'; break; ^~~~~~ ../peercast/core/common/channel.cpp:1386:21: warning: multi-character character constant [-Wmultichar] case T_META: tp = 'META'; break; ^~~~~~ ../peercast/core/common/channel.cpp:1387:21: warning: multi-character character constant [-Wmultichar] case T_DATA: tp = 'DATA'; break; ^~~~~~ ../peercast/core/common/channel.cpp:1405:8: warning: multi-character character constant [-Wmultichar] case 'HEAD': type = T_HEAD; break; ^~~~~~ ../peercast/core/common/channel.cpp:1406:8: warning: multi-character character constant [-Wmultichar] case 'DATA': type = T_DATA; break; ^~~~~~ ../peercast/core/common/channel.cpp:1407:8: warning: multi-character character constant [-Wmultichar] 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:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/channel.cpp:27: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/channel.cpp:27: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/channel.cpp:27: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/channel.cpp:30: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from ../peercast/core/common/channel.cpp:35: ../peercast/core/common/atom.h: In constructor 'AtomStream::AtomStream(Stream&)': ../peercast/core/common/atom.h:205:10: warning: 'AtomStream::io' will be initialized after [-Wreorder] Stream &io; ^~ ../peercast/core/common/atom.h:204:6: warning: 'int AtomStream::numChildren' [-Wreorder] int numChildren,numData; ^~~~~~~~~~~ ../peercast/core/common/atom.h:30:2: warning: when initialized here [-Wreorder] AtomStream(Stream &s) : io(s),numChildren(0),numData(0) ^~~~~~~~~~ In file included from ../peercast/core/common/channel.cpp:39: ../peercast/core/common/ogg.h: In constructor 'OggSubStream::OggSubStream()': ../peercast/core/common/ogg.h:86:15: warning: 'OggSubStream::serialNo' will be initialized after [-Wreorder] unsigned int serialNo; ^~~~~~~~ ../peercast/core/common/ogg.h:82:6: warning: 'int OggSubStream::bitrate' [-Wreorder] int bitrate; ^~~~~~~ ../peercast/core/common/ogg.h:51:2: warning: when initialized here [-Wreorder] OggSubStream() ^~~~~~~~~~~~ ../peercast/core/common/channel.cpp: At global scope: ../peercast/core/common/channel.cpp:56:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ ../peercast/core/common/channel.cpp:56:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:56:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:56:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:56:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp:73:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../peercast/core/common/channel.cpp: In member function 'void Channel::endThread()': ../peercast/core/common/channel.cpp:103:10: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete pushSock; ^~~~~~~~ ../peercast/core/common/channel.cpp:115:3: warning: statement has no effect [-Wunused-value] sourceData; ^~~~~~~~~~ ../peercast/core/common/channel.cpp: In member function 'virtual void PeercastSource::stream(Channel*)': ../peercast/core/common/channel.cpp:591:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *type = ""; ^~ ../peercast/core/common/channel.cpp:593:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] type = "(tracker)"; ^~~~~~~~~~~ ../peercast/core/common/channel.cpp:595:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] type = "(YP)"; ^~~~~~ ../peercast/core/common/channel.cpp:676:12: warning: deleting object of abstract class type 'ChannelStream' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete cs; ^~ ../peercast/core/common/channel.cpp:682:16: warning: deleting object of abstract class type 'ClientSocket' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete ch->sock; ^~~~ ../peercast/core/common/channel.cpp:582:9: warning: unused variable 'isTrusted' [-Wunused-variable] bool isTrusted = ch->sourceHost.tracker | ch->sourceHost.yp; ^~~~~~~~~ ../peercast/core/common/channel.cpp: In member function 'virtual int PeercastStream::readPacket(Stream&, Channel*)': ../peercast/core/common/channel.cpp:1270:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(pack.type) ^ ../peercast/core/common/channel.cpp:1270:9: warning: enumeration value 'T_PCP' not handled in switch [-Wswitch] ../peercast/core/common/channel.cpp:1270:9: warning: enumeration value 'T_ALL' not handled in switch [-Wswitch] ../peercast/core/common/channel.cpp: In member function 'void ChanPacket::writePeercast(Stream&)': ../peercast/core/common/channel.cpp:1383:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.cpp:1383:9: warning: enumeration value 'T_PCP' not handled in switch [-Wswitch] ../peercast/core/common/channel.cpp:1383:9: warning: enumeration value 'T_ALL' not handled in switch [-Wswitch] ../peercast/core/common/channel.cpp: In member function 'int ChanMgr::pickHits(ChanHitSearch&)': ../peercast/core/common/channel.cpp:2243:15: warning: statement has no effect [-Wunused-value] chl->info.id; ~~~~~~~~~~^~ ../peercast/core/common/channel.cpp: In member function 'int ChanHitList::clearDeadHits(unsigned int, bool)': ../peercast/core/common/channel.cpp:2865:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] continue; ^ ../peercast/core/common/channel.cpp: At global scope: ../peercast/core/common/channel.cpp:737:13: warning: 'void copyStr(char*, char*, int)' defined but not used [-Wunused-function] 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] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 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] static const char *PCX_AGENT = "PeerCast/0.1217"; ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 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] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24, from ../peercast/core/common/channel.cpp:27: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ ../peercast/core/common/channel.cpp: In member function 'void PlayList::addChannel(const char*, ChanInfo&)': ../peercast/core/common/channel.cpp:3816:21: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] ^ In file included from /usr/include/stdio.h:862, from ../peercast/core/common/common.h:22, from ../peercast/core/common/channel.cpp:25: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 264) into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o pcp.lo `test -f '../peercast/core/common/pcp.cpp' || echo './'`../peercast/core/common/pcp.cpp i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c ../peercast/core/common/pcp.cpp -fPIC -DPIC -o .libs/pcp.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/atom.h:22, from ../peercast/core/common/pcp.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/pcp.cpp:19: ../peercast/core/common/atom.h: In constructor 'AtomStream::AtomStream(Stream&)': ../peercast/core/common/atom.h:205:10: warning: 'AtomStream::io' will be initialized after [-Wreorder] Stream &io; ^~ ../peercast/core/common/atom.h:204:6: warning: 'int AtomStream::numChildren' [-Wreorder] int numChildren,numData; ^~~~~~~~~~~ ../peercast/core/common/atom.h:30:2: warning: when initialized here [-Wreorder] AtomStream(Stream &s) : io(s),numChildren(0),numData(0) ^~~~~~~~~~ In file included from ../peercast/core/common/pcp.h:26, from ../peercast/core/common/pcp.cpp:20: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/pcp.cpp:21: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/pcp.cpp:21: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/pcp.cpp:21: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ ../peercast/core/common/pcp.cpp: In member function 'void PCPStream::readPushAtoms(AtomStream&, int, BroadcastState&)': ../peercast/core/common/pcp.cpp:204:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (ch->isBroadcasting() || !ch->isFull() && !servMgr->relaysFull() && ch->info.id.isSame(chanID)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../peercast/core/common/pcp.cpp: In member function 'void PCPStream::readHostAtoms(AtomStream&, int, BroadcastState&)': ../peercast/core/common/pcp.cpp:386:7: warning: unused variable 'busy' [-Wunused-variable] 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] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 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] static const char *PCX_AGENT = "PeerCast/0.1217"; ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] static bool PCP_FORCE_YP = false; ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/pcp.cpp:21: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/pcp.cpp:21: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] 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 -march=i586 -mtune=generic -o libpeercast.la -rpath /usr/lib -static usys.lo usocket.lo socket.lo servent.lo servhs.lo servmgr.lo xml.lo stream.lo sys.lo gnutella.lo html.lo channel.lo http.lo inifile.lo peercast.lo stats.lo mms.lo mp3.lo nsv.lo ogg.lo url.lo icy.lo pcp.lo jis.lo ar cru .libs/libpeercast.a .libs/usys.o .libs/usocket.o .libs/socket.o .libs/servent.o .libs/servhs.o .libs/servmgr.o .libs/xml.o .libs/stream.o .libs/sys.o .libs/gnutella.o .libs/html.o .libs/channel.o .libs/http.o .libs/inifile.o .libs/peercast.o .libs/stats.o .libs/mms.o .libs/mp3.o .libs/nsv.o .libs/ogg.o .libs/url.o .libs/icy.o .libs/pcp.o .libs/jis.o ranlib .libs/libpeercast.a creating libpeercast.la (cd .libs && rm -f libpeercast.la && ln -s ../libpeercast.la libpeercast.la) make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o gnome-peercast.o `test -f 'gnome-peercast.cpp' || echo './'`gnome-peercast.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from gnome-peercast.cpp:31: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from gnome-peercast.cpp:31: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from gnome-peercast.cpp:31: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from gnome-peercast.cpp:31: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from gnome-peercast.cpp:33: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from gnome-peercast.cpp:43: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from gnome-peercast.cpp:43: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ gnome-peercast.cpp: In member function 'void GnomePeercastApp::infoInit()': gnome-peercast.cpp:277:14: warning: variable 'timeout_source' set but not used [-Wunused-but-set-variable] static gint timeout_source = 1; ^~~~~~~~~~~~~~ gnome-peercast.cpp: In member function 'virtual void GnomePeercastApp::printLog(LogBuffer::TYPE, const char*)': gnome-peercast.cpp:402:20: warning: 'GThread* g_thread_create(GThreadFunc, gpointer, gboolean, GError**)' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] ls, FALSE, &e); ^ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gnome-peercast.cpp:41: /usr/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here GThread *g_thread_create (GThreadFunc func, ^~~~~~~~~~~~~~~ gnome-peercast.cpp:402:20: warning: 'GThread* g_thread_create(GThreadFunc, gpointer, gboolean, GError**)' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] ls, FALSE, &e); ^ In file included from /usr/include/glib-2.0/glib.h:111, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/gconf/2/gconf/gconf-client.h:24, from gnome-peercast.cpp:41: /usr/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here GThread *g_thread_create (GThreadFunc func, ^~~~~~~~~~~~~~~ gnome-peercast.cpp:393:10: warning: unused variable 'logstr' [-Wunused-variable] gchar * logstr; ^~~~~~ gnome-peercast.cpp:395:11: warning: variable 'thread' set but not used [-Wunused-but-set-variable] GThread *thread; ^~~~~~ In file included from gnome-peercast.h:31, from callbacks.h:6, from gnome-peercast.cpp:44: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 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] static const char *PCX_AGENT = "PeerCast/0.1217"; ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 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] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24, from gnome-peercast.cpp:31: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from main.cpp:31: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from main.cpp:31: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from main.cpp:31: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from main.cpp:31: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from main.cpp:33: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libgnomeui-2.0/gnome.h:4, from main.cpp:41: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libgnomeui-2.0/gnome.h:4, from main.cpp:41: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ main.cpp: In function 'int main(gint, gchar**)': main.cpp:109:16: warning: variable 'program' set but not used [-Wunused-but-set-variable] GnomeProgram *program; ^~~~~~~ main.cpp:114:16: warning: unused variable 'sarray' [-Wunused-variable] 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] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 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] static const char *PCX_AGENT = "PeerCast/0.1217"; ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] 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] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24, from main.cpp:31: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o channel-list.o `test -f 'channel-list.cpp' || echo './'`channel-list.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from channel-list.cpp:38: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from channel-list.cpp:38: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ channel-list.cpp: In constructor 'ChannelList::ChannelList(GtkWidget*, GtkWindow*)': channel-list.cpp:466:14: warning: variable 'timeout_source' set but not used [-Wunused-but-set-variable] static gint timeout_source = 1; ^~~~~~~~~~~~~~ channel-list.cpp: In member function 'void ChannelList::infoSelected()': channel-list.cpp:612:18: warning: variable 'cd' set but not used [-Wunused-but-set-variable] ChaninfoDialog *cd; ^~ In file included from gnome-peercast.h:31, from callbacks.h:6, from channel-list.cpp:39: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 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] static const char *PCX_AGENT = "PeerCast/0.1217"; ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] static bool PCP_FORCE_YP = false; ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o chaninfo-dialog.o `test -f 'chaninfo-dialog.cpp' || echo './'`chaninfo-dialog.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from chaninfo-dialog.cpp:29: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libgnomeui-2.0/gnome.h:4, from chaninfo-dialog.cpp:32: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libgnomeui-2.0/gnome.h:4, from chaninfo-dialog.cpp:32: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ chaninfo-dialog.cpp:82:1: warning: 'gboolean update_hit_list(gpointer)' defined but not used [-Wunused-function] update_hit_list (gpointer data) ^~~~~~~~~~~~~~~ chaninfo-dialog.cpp:72:1: warning: 'gboolean update_info(gpointer)' defined but not used [-Wunused-function] update_info (gpointer data) ^~~~~~~~~~~ In file included from gnome-peercast.h:31, from chaninfo-dialog.cpp:37: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 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] static const char *PCX_AGENT = "PeerCast/0.1217"; ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] static bool PCP_FORCE_YP = false; ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o broadcast-dialog.o `test -f 'broadcast-dialog.cpp' || echo './'`broadcast-dialog.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from broadcast-dialog.cpp:29: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from broadcast-dialog.cpp:31: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from broadcast-dialog.cpp:31: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_LINUX = "Linux"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:68:20: warning: 'PCX_OS_WIN32' defined but not used [-Wunused-variable] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o setting-dialog.o `test -f 'setting-dialog.cpp' || echo './'`setting-dialog.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from setting-dialog.cpp:31: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from setting-dialog.cpp:31: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from gnome-peercast.h:31, from setting-dialog.cpp:33: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 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] static const char *PCX_AGENT = "PeerCast/0.1217"; ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] static bool PCP_FORCE_YP = false; ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o connection-list.o `test -f 'connection-list.cpp' || echo './'`connection-list.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from connection-list.cpp:36: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from connection-list.cpp:36: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ connection-list.cpp: In constructor 'ConnectionList::ConnectionList(GtkWidget*)': connection-list.cpp:213:14: warning: variable 'timeout_source' set but not used [-Wunused-but-set-variable] static gint timeout_source = 1; ^~~~~~~~~~~~~~ In file included from gnome-peercast.h:31, from connection-list.cpp:38: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 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] static const char *PCX_AGENT = "PeerCast/0.1217"; ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] static bool PCP_FORCE_YP = false; ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o utils.o `test -f 'utils.cpp' || echo './'`utils.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from utils.cpp:29: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libgnomeui-2.0/gnome.h:4, from utils.cpp:32: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libgnomeui-2.0/gnome.h:4, from utils.cpp:32: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from gnome-peercast.h:31, from utils.cpp:36: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 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] static const char *PCX_AGENT = "PeerCast/0.1217"; ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] static bool PCP_FORCE_YP = false; ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o eggtrayicon.o `test -f 'eggtrayicon.cpp' || echo './'`eggtrayicon.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition 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] xev->xclient.data.l[1] == icon->selection_atom) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o callbacks.o `test -f 'callbacks.cpp' || echo './'`callbacks.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from callbacks.cpp:30: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ callbacks.cpp: In function 'void menu_new_cb(GtkMenuItem*, gpointer)': callbacks.cpp:54:20: warning: variable 'bd' set but not used [-Wunused-but-set-variable] BroadcastDialog * bd; ^~ callbacks.cpp: In function 'void menu_pref_cb(GtkToolButton*, gpointer)': callbacks.cpp:101:17: warning: variable 'sd' set but not used [-Wunused-but-set-variable] SettingDialog *sd; ^~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/http.h: At global scope: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from callbacks.cpp:30: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ In file included from gnome-peercast.h:31, from callbacks.cpp:30: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 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] static const char *PCX_AGENT = "PeerCast/0.1217"; ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] static bool PCP_FORCE_YP = false; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o logview.o `test -f 'logview.cpp' || echo './'`logview.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libgnomeui-2.0/gnome.h:4, from gnome-peercast.h:28, from logview.cpp:30: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:28, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/http.h: At global scope: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/servent.h:27, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from gnome-peercast.h:32, from logview.cpp:30: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ In file included from gnome-peercast.h:31, from logview.cpp:30: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 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] static const char *PCX_AGENT = "PeerCast/0.1217"; ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] static bool PCP_FORCE_YP = false; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o trayicon.o `test -f 'trayicon.cpp' || echo './'`trayicon.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from trayicon.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:213:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:207:16: warning: 'unsigned char Stream::bitsBuffer' [-Wreorder] unsigned char bitsBuffer; ^~~~~~~~~~ ../peercast/core/common/stream.h:36:2: warning: when initialized here [-Wreorder] Stream() ^~~~~~ ../peercast/core/common/stream.h: In member function 'short int Stream::readShort()': ../peercast/core/common/stream.h:100:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'long int Stream::readLong()': ../peercast/core/common/stream.h:107:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ ../peercast/core/common/stream.h: In member function 'int Stream::readInt24()': ../peercast/core/common/stream.h:124:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN3(v); ~^~ ../peercast/core/common/stream.h:125:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ../peercast/core/common/stream.h: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:165:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN2(v); ~^~ ../peercast/core/common/stream.h: In member function 'void Stream::writeLong(long int)': ../peercast/core/common/stream.h:170:17: warning: statement has no effect [-Wunused-value] CHECK_ENDIAN4(v); ~^~ In file included from ../peercast/core/common/channel.h:26, from trayicon.cpp:29: ../peercast/core/common/asf.h: In member function 'const char* ASFStream::getTypeName()': ../peercast/core/common/asf.h:208:9: warning: enumeration value 'T_UNKNOWN' not handled in switch [-Wswitch] switch(type) ^ In file included from ../peercast/core/common/channel.h:27, from trayicon.cpp:29: ../peercast/core/common/cstream.h: In constructor 'ChannelStream::ChannelStream()': ../peercast/core/common/cstream.h:143:7: warning: 'ChannelStream::numListeners' will be initialized after [-Wreorder] int numListeners; ^~~~~~~~~~~~ ../peercast/core/common/cstream.h:142:7: warning: 'int ChannelStream::numRelays' [-Wreorder] int numRelays; ^~~~~~~~~ ../peercast/core/common/cstream.h:122:2: warning: when initialized here [-Wreorder] ChannelStream() ^~~~~~~~~~~~~ In file included from trayicon.cpp:29: ../peercast/core/common/channel.h: In member function 'void PlayList::read(Stream&)': ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ ../peercast/core/common/channel.h:666:11: warning: enumeration value 'T_RAM' not handled in switch [-Wswitch] ../peercast/core/common/channel.h: In member function 'void PlayList::write(Stream&)': ../peercast/core/common/channel.h:677:10: warning: enumeration value 'T_NONE' not handled in switch [-Wswitch] switch (type) ^ In file included from utils.h:28, from trayicon.cpp:31: ../peercast/core/common/servmgr.h: In constructor 'BCID::BCID()': ../peercast/core/common/servmgr.h:44:8: warning: 'BCID::next' will be initialized after [-Wreorder] BCID *next; ^~~~ ../peercast/core/common/servmgr.h:43:7: warning: 'bool BCID::valid' [-Wreorder] bool valid; ^~~~~ ../peercast/core/common/servmgr.h:35:2: warning: when initialized here [-Wreorder] BCID() ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from trayicon.cpp:31: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from utils.h:32, from trayicon.cpp:31: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ trayicon.cpp: In static member function 'static void TrayIcon::info_cb(GtkWidget*, Channel*)': trayicon.cpp:47:18: warning: variable 'cd' set but not used [-Wunused-but-set-variable] ChaninfoDialog *cd; ^~ In file included from gnome-peercast.h:31, from callbacks.h:6, from trayicon.cpp:32: ../peercast/core/common/version2.h: At global scope: ../peercast/core/common/version2.h:38:20: warning: 'PCX_VERSTRING' defined but not used [-Wunused-variable] static const char *PCX_VERSTRING = "v0.1217"; ^~~~~~~~~~~~~ ../peercast/core/common/version2.h:37:20: warning: 'PCX_AGENTJP' defined but not used [-Wunused-variable] 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] static const char *PCX_AGENT = "PeerCast/0.1217"; ^~~~~~~~~ ../peercast/core/common/version2.h:28:13: warning: 'PCP_FORCE_YP' defined but not used [-Wunused-variable] static bool PCP_FORCE_YP = false; ^~~~~~~~~~~~ In file included from ../peercast/core/common/servent.h:29, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from trayicon.cpp:31: ../peercast/core/common/http.h:93:20: warning: 'MIME_PNG' defined but not used [-Wunused-variable] static const char *MIME_PNG = "image/png"; ^~~~~~~~ ../peercast/core/common/http.h:92:20: warning: 'MIME_GIF' defined but not used [-Wunused-variable] static const char *MIME_GIF = "image/gif"; ^~~~~~~~ ../peercast/core/common/http.h:91:20: warning: 'MIME_JPEG' defined but not used [-Wunused-variable] static const char *MIME_JPEG = "image/jpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:90:20: warning: 'MIME_RAW' defined but not used [-Wunused-variable] static const char *MIME_RAW = "application/binary"; ^~~~~~~~ ../peercast/core/common/http.h:89:20: warning: 'MIME_XPCP' defined but not used [-Wunused-variable] 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] static const char *MIME_XPEERCAST = "application/x-peercast"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:87:20: warning: 'MIME_XM3U' defined but not used [-Wunused-variable] static const char *MIME_XM3U = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:86:20: warning: 'MIME_MPEGURL' defined but not used [-Wunused-variable] static const char *MIME_MPEGURL = "audio/mpegurl"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:85:20: warning: 'MIME_M3U' defined but not used [-Wunused-variable] static const char *MIME_M3U = "audio/m3u"; ^~~~~~~~ ../peercast/core/common/http.h:84:20: warning: 'MIME_SDP' defined but not used [-Wunused-variable] static const char *MIME_SDP = "application/sdp"; ^~~~~~~~ ../peercast/core/common/http.h:83:20: warning: 'MIME_XSCPLS' defined but not used [-Wunused-variable] static const char *MIME_XSCPLS = "audio/x-scpls"; ^~~~~~~~~~~ ../peercast/core/common/http.h:82:20: warning: 'MIME_XPLS' defined but not used [-Wunused-variable] static const char *MIME_XPLS = "audio/x-mpegurl"; ^~~~~~~~~ ../peercast/core/common/http.h:81:20: warning: 'MIME_PLS' defined but not used [-Wunused-variable] static const char *MIME_PLS = "audio/mpegurl"; ^~~~~~~~ ../peercast/core/common/http.h:80:20: warning: 'MIME_TEXT' defined but not used [-Wunused-variable] static const char *MIME_TEXT = "text/plain"; ^~~~~~~~~ ../peercast/core/common/http.h:79:20: warning: 'MIME_CSS' defined but not used [-Wunused-variable] static const char *MIME_CSS = "text/css"; ^~~~~~~~ ../peercast/core/common/http.h:78:20: warning: 'MIME_XML' defined but not used [-Wunused-variable] static const char *MIME_XML = "text/xml"; ^~~~~~~~ ../peercast/core/common/http.h:77:20: warning: 'MIME_HTML' defined but not used [-Wunused-variable] static const char *MIME_HTML = "text/html"; ^~~~~~~~~ ../peercast/core/common/http.h:75:20: warning: 'MIME_WMV' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] static const char *MIME_NSV = "video/nsv"; ^~~~~~~~ ../peercast/core/common/http.h:65:20: warning: 'MIME_MPG' defined but not used [-Wunused-variable] static const char *MIME_MPG = "video/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:64:20: warning: 'MIME_MOV' defined but not used [-Wunused-variable] static const char *MIME_MOV = "video/quicktime"; ^~~~~~~~ ../peercast/core/common/http.h:63:20: warning: 'MIME_XOGG' defined but not used [-Wunused-variable] static const char *MIME_XOGG = "application/x-ogg"; ^~~~~~~~~ ../peercast/core/common/http.h:62:20: warning: 'MIME_OGG' defined but not used [-Wunused-variable] static const char *MIME_OGG = "application/ogg"; ^~~~~~~~ ../peercast/core/common/http.h:61:20: warning: 'MIME_XMP3' defined but not used [-Wunused-variable] static const char *MIME_XMP3 = "audio/x-mpeg"; ^~~~~~~~~ ../peercast/core/common/http.h:60:20: warning: 'MIME_MP3' defined but not used [-Wunused-variable] static const char *MIME_MP3 = "audio/mpeg"; ^~~~~~~~ ../peercast/core/common/http.h:58:20: warning: 'HTTP_HS_LENGTH' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_ACCEPT = "Accept:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:56:20: warning: 'HTTP_HS_HOST' defined but not used [-Wunused-variable] static const char *HTTP_HS_HOST = "Host:"; ^~~~~~~~~~~~ ../peercast/core/common/http.h:55:20: warning: 'HTTP_HS_COOKIE' defined but not used [-Wunused-variable] static const char *HTTP_HS_COOKIE = "Cookie:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:54:20: warning: 'HTTP_HS_SETCOOKIE' defined but not used [-Wunused-variable] 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] static const char *HTTP_HS_CONNECTION = "Connection:"; ^~~~~~~~~~~~~~~~~~ ../peercast/core/common/http.h:52:20: warning: 'HTTP_HS_CACHE' defined but not used [-Wunused-variable] 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] 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] 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] static const char *HTTP_HS_SERVER = "Server:"; ^~~~~~~~~~~~~~ ../peercast/core/common/http.h:47:20: warning: 'RTSP_PROTO1' defined but not used [-Wunused-variable] static const char *RTSP_PROTO1 = "RTSP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:46:20: warning: 'HTTP_PROTO1' defined but not used [-Wunused-variable] static const char *HTTP_PROTO1 = "HTTP/1."; ^~~~~~~~~~~ ../peercast/core/common/http.h:43:20: warning: 'RTSP_SC_OK' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] static const char *HTTP_SC_OK = "HTTP/1.0 200 OK"; ^~~~~~~~~~ In file included from ../peercast/core/common/channel.h:24, from trayicon.cpp:29: ../peercast/core/common/gnutella.h:91:20: warning: 'ICY_OK' defined but not used [-Wunused-variable] static const char *ICY_OK = "ICY 200 OK"; ^~~~~~ ../peercast/core/common/gnutella.h:88:20: warning: 'MIN_CONNECTVER' defined but not used [-Wunused-variable] static const char *MIN_CONNECTVER = "0.119D"; ^~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:86:20: warning: 'MIN_ROOTVER' defined but not used [-Wunused-variable] static const char *MIN_ROOTVER = "0.119E"; ^~~~~~~~~~~ ../peercast/core/common/gnutella.h:77:20: warning: 'PCX_OLDAGENT' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] static const char *PCX_OS_WIN32 = "Win32"; ^~~~~~~~~~~~ ../peercast/core/common/gnutella.h:65:20: warning: 'PCX_HS_SESSIONID' defined but not used [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] static const char *PCX_PCP_CONNECT = "pcp"; ^~~~~~~~~~~~~~~ ../peercast/core/common/gnutella.h:44:20: warning: 'GNU_OK' defined but not used [-Wunused-variable] 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] 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] static const char *GNU_PEERCONN = "PEERCAST CONNECT/0.1"; ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' /bin/sh ../libtool --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o gnome-peercast utils.o main.o gnome-peercast.o chaninfo-dialog.o broadcast-dialog.o channel-list.o connection-list.o setting-dialog.o callbacks.o logview.o trayicon.o eggtrayicon.o -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lart_lgpl_2 -lgnomevfs-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -pthread -lORBit-2 -lgthread-2.0 -pthread -lgconf-2 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype ../libpeercast/libpeercast.la -lX11 mkdir .libs i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o gnome-peercast utils.o main.o gnome-peercast.o chaninfo-dialog.o broadcast-dialog.o channel-list.o connection-list.o setting-dialog.o callbacks.o logview.o trayicon.o eggtrayicon.o -pthread -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lart_lgpl_2 -lgnomevfs-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lgconf-2 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -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 Found cached 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.90213 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/gnome-peercast-buildroot + : + /bin/rm -rf -- /usr/src/tmp/gnome-peercast-buildroot + cd gnome-peercast-0.5.4 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/gnome-peercast-buildroot make: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Making install in libpeercast make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/lib mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/lib /bin/sh ../libtool --mode=install /bin/install -p libpeercast.la /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.la /bin/install -p .libs/libpeercast.lai /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.la /bin/install -p .libs/libpeercast.a /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.a chmod 644 /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.a ranlib /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.a libtool: install: warning: remember to run `libtool --finish /usr/lib' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' /bin/sh ../mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/bin mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/bin /bin/sh ../libtool --mode=install /bin/install -p gnome-peercast /usr/src/tmp/gnome-peercast-buildroot/usr/bin/gnome-peercast /bin/install -p gnome-peercast /usr/src/tmp/gnome-peercast-buildroot/usr/bin/gnome-peercast /bin/sh ../mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast /bin/install -p -m 644 gnome-peercast.glade /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/gnome-peercast.glade /bin/install -p -m 644 setting-dialog.glade /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/setting-dialog.glade make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' Making install in po make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/po' /usr/src/RPM/BUILD/gnome-peercast-0.5.4/install-sh -d /usr/src/tmp/gnome-peercast-buildroot/usr/share/locale if test -n ""; then \ linguas=""; \ else \ linguas="ja"; \ fi; \ for lang in $linguas; do \ dir=/usr/src/tmp/gnome-peercast-buildroot/usr/share/locale/$lang/LC_MESSAGES; \ /usr/src/RPM/BUILD/gnome-peercast-0.5.4/install-sh -d $dir; \ if test -r $lang.gmo; then \ /bin/install -p -m 644 $lang.gmo $dir/gnome-peercast.mo; \ echo "installing $lang.gmo as $dir/gnome-peercast.mo"; \ else \ /bin/install -p -m 644 ./$lang.gmo $dir/gnome-peercast.mo; \ echo "installing ./$lang.gmo as" \ "$dir/gnome-peercast.mo"; \ fi; \ if test -r $lang.gmo.m; then \ /bin/install -p -m 644 $lang.gmo.m $dir/gnome-peercast.mo.m; \ echo "installing $lang.gmo.m as $dir/gnome-peercast.mo.m"; \ else \ if test -r ./$lang.gmo.m ; then \ /bin/install -p -m 644 ./$lang.gmo.m \ $dir/gnome-peercast.mo.m; \ echo "installing ./$lang.gmo.m as" \ "$dir/gnome-peercast.mo.m"; \ else \ true; \ fi; \ fi; \ done installing ja.gmo as /usr/src/tmp/gnome-peercast-buildroot/usr/share/locale/ja/LC_MESSAGES/gnome-peercast.mo make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/po' Making install in pixmaps make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/pixmaps' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/pixmaps' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/share/pixmaps mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/share/pixmaps /bin/install -p -m 644 peercast.png /usr/src/tmp/gnome-peercast-buildroot/usr/share/pixmaps/peercast.png /bin/sh ../mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast /bin/install -p -m 644 small-logo.png /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/small-logo.png make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/pixmaps' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/pixmaps' make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ./mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/share/applications mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/share/applications /bin/install -p -m 644 gnome-peercast.desktop /usr/src/tmp/gnome-peercast-buildroot/usr/share/applications/gnome-peercast.desktop /bin/sh ./mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast cp -r peercast/ui/html \ /usr/src/tmp/gnome-peercast-buildroot//usr/share/gnome-peercast /bin/sh ./mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/etc/gconf/schemas mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/etc/gconf/schemas /bin/install -p -m 644 gnome-peercast.schemas /usr/src/tmp/gnome-peercast-buildroot/etc/gconf/schemas/gnome-peercast.schemas make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' + /usr/lib/rpm/find-lang gnome-peercast + rm -f /usr/src/tmp/gnome-peercast-buildroot/usr/lib/libpeercast.a + find /usr/src/tmp/gnome-peercast-buildroot -type d '(' -name CVS -o -name .svn -o -name .git -o -name .hg -o -name .bzr -o -name _MTN ')' -print -exec rm -rf '{}' ';' /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/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) /usr/share/applications/gnome-peercast.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 8c7 < Icon=peercast.png --- > Icon=peercast 11c10 < Categories=Application;Network --- > Categories=Network; Checking contents of files in /usr/src/tmp/gnome-peercast-buildroot/ (default) Compressing files in /usr/src/tmp/gnome-peercast-buildroot (auto) Adjusting library links in /usr/src/tmp/gnome-peercast-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/gnome-peercast-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/gnome-peercast: uses non-LFS functions: fopen Hardlinking identical .pyc and .opt-?.pyc files Hardlinking identical .pyc and .pyo files Processing files: gnome-peercast-0.5.4-alt3.qa2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.69368 + 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.vjvYdf 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.bfBXXc find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,typelib) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uDHxvE Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4RdAqH 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.3.4), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgconf-2.so.4 >= set:miIXvVZFkheto68bywzWUD6rD1, libgdk-x11-2.0.so.0 >= set:njq96L17Ewjr9lRyk7rAvGVP0hivyVrnUdsqkQXEcZL5, libgdk_pixbuf-2.0.so.0 >= set:lka381, libglade-2.0.so.0 >= set:jhTbouPrt7, libglib-2.0.so.0 >= set:oiUQSRcvhqMa63wlq1F9pvyWnihGoksEAaGGzUmEFPOv5vizqJzUBHMbe08kgKehmGtpgMEBiD9QxlQ2e6xMrixmcDGkPOO3, libgnome-2.so.0 >= set:kiOP8CDe, libgnomeui-2.so.0 >= set:njx6kvnD3jL1cepR7u0raDEoj2DP40, libgobject-2.0.so.0 >= set:mh9fwzuw2kSnWUOKaIybXncMmtddKSjfV9Y8dmRxvX6EcilMbb1, libgtk-x11-2.0.so.0 >= set:pijZo8lZ8QhcQ09MJHaPqnXy4v5Hw1HOiiKYwDxXuJMMqIc9ZjjsMAv6JiDzMIiSZmKPxw3Y0MLrqyDd1uikZJg0IkXJniL9ceYtxE9DBWpZviRz4Yq5NCpSVgH6NkZhqLzom9AlQ8eCtye1g15ZbQ6xInXCheIBYndDXW0EUfW5kQosERPbYCnKOnT5bB2LyIq8YcivBiINYpYVExYXB1xMcq9yaFkysTngmUQyDoJC8LUCCdRpv4UbZtZaqgmzSENnyFjzNPHZtN9U23Ul6ikjPsCIbRY0eeZLl0LRXVlCl0, libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), rtld(GNU_HASH) Requires(interp): /bin/sh, /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.002dOa Creating gnome-peercast-debuginfo package Processing files: gnome-peercast-debuginfo-0.5.4-alt3.qa2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.B2rFkg find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.21P1gK find-requires: running scripts (debuginfo) Requires: gnome-peercast = 0.5.4-alt3.qa2, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libX11.so.6), debug(libc.so.6), debug(libgcc_s.so.1), debug(libgconf-2.so.4), debug(libgdk-x11-2.0.so.0), debug(libgdk_pixbuf-2.0.so.0), debug(libglade-2.0.so.0), debug(libglib-2.0.so.0), debug(libgnome-2.so.0), debug(libgnomeui-2.so.0), debug(libgobject-2.0.so.0), debug(libgtk-x11-2.0.so.0), debug(libpthread.so.0), debug(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/i586/gnome-peercast-0.5.4-alt3.qa2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/gnome-peercast-debuginfo-0.5.4-alt3.qa2.i586.rpm 48.10user 5.74system 0:40.71elapsed 132%CPU (0avgtext+0avgdata 72316maxresident)k 0inputs+0outputs (0major+1745938minor)pagefaults 0swaps 66.77user 9.89system 1:07.05elapsed 114%CPU (0avgtext+0avgdata 122540maxresident)k 0inputs+0outputs (0major+2297405minor)pagefaults 0swaps --- gnome-peercast-0.5.4-alt3.qa2.i586.rpm.repo 2012-06-14 11:11:39.000000000 +0000 +++ gnome-peercast-0.5.4-alt3.qa2.i586.rpm.hasher 2018-12-18 08:13:46.663039039 +0000 @@ -83,2 +83,3 @@ Requires: libc.so.6(GLIBC_2.1.3) +Requires: libc.so.6(GLIBC_2.15) Requires: libc.so.6(GLIBC_2.2) @@ -89,3 +90,3 @@ Requires: libgdk-x11-2.0.so.0 >= set:njq96L17Ewjr9lRyk7rAvGVP0hivyVrnUdsqkQXEcZL5 -Requires: libgdk_pixbuf-2.0.so.0 >= set:kja38 +Requires: libgdk_pixbuf-2.0.so.0 >= set:lka381 Requires: libglade-2.0.so.0 >= set:jhTbouPrt7 @@ -99,2 +100,4 @@ Requires: libstdc++.so.6(CXXABI_1.3) +Requires: libstdc++.so.6(CXXABI_1.3.8) +Requires: libstdc++.so.6(CXXABI_1.3.9) Requires: libstdc++.so.6(GLIBCXX_3.4)