<86>Dec 6 04:12:29 userdel[948314]: delete user 'rooter' <86>Dec 6 04:12:29 groupadd[948325]: group added to /etc/group: name=rooter, GID=624 <86>Dec 6 04:12:29 groupadd[948325]: new group: name=rooter, GID=624 <86>Dec 6 04:12:29 useradd[948336]: new user: name=rooter, UID=624, GID=624, home=/root, shell=/bin/bash <86>Dec 6 04:12:29 userdel[948368]: delete user 'builder' <86>Dec 6 04:12:29 userdel[948368]: removed group 'builder' owned by 'builder' <86>Dec 6 04:12:29 userdel[948368]: removed shadow group 'builder' owned by 'builder' <86>Dec 6 04:12:29 groupadd[948456]: group added to /etc/group: name=builder, GID=625 <86>Dec 6 04:12:29 groupadd[948456]: group added to /etc/gshadow: name=builder <86>Dec 6 04:12:29 groupadd[948456]: new group: name=builder, GID=625 <86>Dec 6 04:12:29 useradd[948531]: new user: name=builder, UID=625, GID=625, home=/usr/src, shell=/bin/bash warning: Macro %gconf2_install not found warning: Macro %gconf2_uninstall not found <13>Dec 6 04:12:53 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Dec 6 04:12:53 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Dec 6 04:12:53 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Dec 6 04:12:53 rpmi: libart_lgpl-2.3.21-alt3 1303721928 installed <13>Dec 6 04:12:53 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed <13>Dec 6 04:12:53 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Dec 6 04:12:53 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Dec 6 04:12:53 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300644 installed <13>Dec 6 04:12:53 rpmi: libglvnd-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 04:12:54 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>Dec 6 04:12:54 rpmi: libIDL-0.8.14-alt4 1449145676 installed <13>Dec 6 04:12:54 rpmi: libORBit2-2.14.20-alt0.3 sisyphus+227121.100.1.1 1555161182 installed <13>Dec 6 04:12:54 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Dec 6 04:12:54 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Dec 6 04:12:54 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Dec 6 04:12:54 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Dec 6 04:12:54 rpmi: perl-Compress-Raw-Zlib-2.086-alt1 sisyphus+226395.100.1.2 1554269783 installed <13>Dec 6 04:12:54 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Dec 6 04:12:54 rpmi: libpopt-devel-1:1.16-alt1 1500322984 installed <13>Dec 6 04:12:54 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Dec 6 04:12:54 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Dec 6 04:12:54 rpmi: libharfbuzz-2.6.2-alt1 p9+238790.200.1.1 1570435797 installed <13>Dec 6 04:12:54 rpmi: libfreetype-2.10.1-alt1.1.p9.1 p9+260179.200.3.1 1603971391 installed <13>Dec 6 04:12:54 rpmi: fontconfig-2.13.1-alt1 p9+247340.200.3.1 1583400482 installed Updating fonts cache: <29>Dec 6 04:12:55 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Dec 6 04:12:55 rpmi: xml-utils-1:2.9.10-alt4 p9+261133.100.1.1 1604676294 installed <13>Dec 6 04:12:55 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Dec 6 04:12:55 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Dec 6 04:12:56 rpmi: shared-mime-info-1.13.1-alt1 p9+238204.100.1.1 1569496447 installed <13>Dec 6 04:12:56 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Dec 6 04:12:56 rpmi: rpm-build-gir-0.7.3-alt2 p9+234356.40.2.1 1562933848 installed <13>Dec 6 04:12:56 rpmi: libgraphite2-devel-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Dec 6 04:12:56 rpmi: libpng-devel-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed <13>Dec 6 04:12:56 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Dec 6 04:12:57 rpmi: libjasper-2.0.22-alt1 p9+259398.100.5.1 1602695042 installed <13>Dec 6 04:12:57 rpmi: libOpenGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 04:12:57 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586301784 installed <13>Dec 6 04:12:57 rpmi: libart_lgpl-devel-2.3.21-alt3 1303721928 installed <13>Dec 6 04:12:57 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Dec 6 04:12:57 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Dec 6 04:12:57 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Dec 6 04:12:57 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Dec 6 04:12:57 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343225 installed <13>Dec 6 04:12:57 rpmi: perl-Encode-3.01-alt1 sisyphus+224923.100.1.1 1552474113 installed <13>Dec 6 04:12:57 rpmi: perl-URI-1.76-alt1 sisyphus+220243.100.1.1 1548863244 installed <13>Dec 6 04:12:58 rpmi: perl-HTML-Parser-3.72-alt1.2 sisyphus+219907.600.1.1 1548343407 installed <13>Dec 6 04:12:58 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Dec 6 04:12:58 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Dec 6 04:12:58 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Dec 6 04:12:58 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Dec 6 04:12:58 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Dec 6 04:12:58 rpmi: perl-Compress-Raw-Bzip2-2.086-alt1 sisyphus+226394.100.1.2 1554269409 installed <13>Dec 6 04:12:58 rpmi: perl-IO-Compress-2.086-alt1 sisyphus+226399.100.2.1 1554270186 installed <13>Dec 6 04:12:58 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed <13>Dec 6 04:12:58 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed <13>Dec 6 04:12:58 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Dec 6 04:12:58 rpmi: perl-Net-HTTP-6.18-alt1 1526560501 installed <13>Dec 6 04:12:58 rpmi: perl-libwww-6.39-alt1 sisyphus+229237.100.1.1 1557650051 installed <13>Dec 6 04:12:58 rpmi: libtdb-1.4.3-alt1 p9+247582.100.10.1 1588262744 installed <13>Dec 6 04:12:58 rpmi: libltdl7-2.4.6-alt1 sisyphus+226971.100.2.1 1554906326 installed <13>Dec 6 04:12:59 rpmi: libalsa-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826762 installed <13>Dec 6 04:12:59 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Dec 6 04:12:59 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Dec 6 04:12:59 rpmi: sound-theme-freedesktop-0.8-alt1 1402011605 installed <13>Dec 6 04:12:59 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed <13>Dec 6 04:12:59 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Dec 6 04:12:59 rpmi: libfribidi-1.0.7-alt1 p9+238309.200.1.1 1569787041 installed <13>Dec 6 04:12:59 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013486 installed <13>Dec 6 04:13:00 rpmi: libgtk+2-locales-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Dec 6 04:13:00 rpmi: libatk-locales-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed <13>Dec 6 04:13:00 rpmi: libatk-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed <13>Dec 6 04:13:00 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Dec 6 04:13:00 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Dec 6 04:13:00 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Dec 6 04:13:00 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Dec 6 04:13:00 rpmi: libdrm-1:2.4.102-alt1 p9+252863.100.1.1 1591372623 installed <13>Dec 6 04:13:00 rpmi: libgbm-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 04:13:00 rpmi: icon-theme-hicolor-0.17-alt2 p9+248347.100.1.1 1584981172 installed <13>Dec 6 04:13:00 rpmi: libwebp7-1.0.3-alt1 p9+234901.200.1.1 1563552213 installed <13>Dec 6 04:13:00 rpmi: libjbig-2.1-alt1 1401380921 installed <13>Dec 6 04:13:00 rpmi: libtiff5-4.0.10.0.57.f9fc01c3-alt1 sisyphus+226958.100.1.1 1554850937 installed <13>Dec 6 04:13:01 rpmi: libgdk-pixbuf-locales-2.38.2-alt1 p9+237353.1000.2.2 1568374008 installed <13>Dec 6 04:13:01 rpmi: libgamin-fam-0.1.10-alt5.2.qa2 sisyphus+222532.100.1.1 1550876644 installed <13>Dec 6 04:13:01 rpmi: gnome-audio-2.22.2-alt1 1210873043 installed <13>Dec 6 04:13:01 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Dec 6 04:13:02 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Dec 6 04:13:06 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Dec 6 04:13:06 rpmi: libgamin-0.1.10-alt5.2.qa2 sisyphus+222532.100.1.1 1550876644 installed <13>Dec 6 04:13:06 rpmi: gamin-0.1.10-alt5.2.qa2 sisyphus+222532.100.1.1 1550876644 installed <13>Dec 6 04:13:07 rpmi: libicu64-1:6.4.2-alt2 p9+247371.14540.149.1 1590835182 installed <13>Dec 6 04:13:07 rpmi: libharfbuzz-icu-2.6.2-alt1 p9+238790.200.1.1 1570435797 installed <13>Dec 6 04:13:09 rpmi: libicu65-1:6.5.1-alt1 p9+247371.14560.149.1 1590835589 installed <13>Dec 6 04:13:09 rpmi: icu-utils-1:6.5.1-alt1 p9+247371.14560.149.1 1590835589 installed <13>Dec 6 04:13:09 rpmi: libicu-devel-1:6.5.1-alt1 p9+247371.14560.149.1 1590835589 installed <13>Dec 6 04:13:09 rpmi: libX11-locales-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 6 04:13:09 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Dec 6 04:13:09 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Dec 6 04:13:09 rpmi: libX11-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 6 04:13:09 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Dec 6 04:13:09 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed <13>Dec 6 04:13:09 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Dec 6 04:13:09 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Dec 6 04:13:09 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Dec 6 04:13:11 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Dec 6 04:13:12 rpmi: libX11-devel-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 6 04:13:12 rpmi: libXrender-devel-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed <13>Dec 6 04:13:12 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Dec 6 04:13:12 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949214 installed <13>Dec 6 04:13:12 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Dec 6 04:13:12 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Dec 6 04:13:12 rpmi: libGLX-mesa-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 04:13:12 rpmi: libEGL-mesa-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 04:13:12 rpmi: libEGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 04:13:12 rpmi: libGLX-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 04:13:12 rpmi: libGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 04:13:12 rpmi: libglvnd-devel-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 04:13:12 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Dec 6 04:13:12 rpmi: libpango-1.44.6-alt1 p9+237353.700.2.2 1568373865 installed <13>Dec 6 04:13:12 rpmi: libEGL-devel-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 04:13:12 rpmi: libGL-devel-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 04:13:12 rpmi: libXi-1.7.9-alt2 sisyphus+226377.100.1.2 1554260258 installed <13>Dec 6 04:13:12 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268223 installed <13>Dec 6 04:13:12 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949136 installed <13>Dec 6 04:13:12 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Dec 6 04:13:12 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Dec 6 04:13:12 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>Dec 6 04:13:12 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 6 04:13:12 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Dec 6 04:13:12 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 6 04:13:12 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 6 04:13:12 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Dec 6 04:13:12 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Dec 6 04:13:12 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 6 04:13:12 rpmi: libcrypto1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed <13>Dec 6 04:13:12 rpmi: libssl1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed <86>Dec 6 04:13:12 groupadd[961105]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 6 04:13:12 groupadd[961105]: group added to /etc/gshadow: name=_keytab <86>Dec 6 04:13:12 groupadd[961105]: new group: name=_keytab, GID=499 <13>Dec 6 04:13:13 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242396 installed <13>Dec 6 04:13:13 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 6 04:13:13 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 6 04:13:15 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Dec 6 04:13:15 rpmi: glib2-devel-2.60.7-alt1 p9+237353.100.2.2 1568372980 installed <13>Dec 6 04:13:15 rpmi: libharfbuzz-devel-2.6.2-alt1 p9+238790.200.1.1 1570435797 installed <13>Dec 6 04:13:19 rpmi: libfreetype-devel-2.10.1-alt1.1.p9.1 p9+260179.200.3.1 1603971391 installed <13>Dec 6 04:13:20 rpmi: fontconfig-devel-2.13.1-alt1 p9+247340.200.3.1 1583400482 installed <13>Dec 6 04:13:20 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Dec 6 04:13:20 rpmi: libXft-devel-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Dec 6 04:13:20 rpmi: libpango-devel-1.44.6-alt1 p9+237353.700.2.2 1568373865 installed <13>Dec 6 04:13:20 rpmi: libIDL-devel-0.8.14-alt4 1449145676 installed <13>Dec 6 04:13:20 rpmi: ORBit2-devel-2.14.20-alt0.3 sisyphus+227121.100.1.1 1555161182 installed <13>Dec 6 04:13:20 rpmi: libatk-devel-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed <86>Dec 6 04:13:21 groupadd[961590]: group added to /etc/group: name=sasl, GID=498 <86>Dec 6 04:13:21 groupadd[961590]: group added to /etc/gshadow: name=sasl <86>Dec 6 04:13:21 groupadd[961590]: new group: name=sasl, GID=498 <13>Dec 6 04:13:21 rpmi: libsasl2-3-2.1.27-alt2.1 p9+256192.100.1.1 1597226707 installed <13>Dec 6 04:13:21 rpmi: libldap-2.4.54-alt0.M90P.1 p9+260357.200.2.1 1603585219 installed <13>Dec 6 04:13:21 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Dec 6 04:13:21 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Dec 6 04:13:22 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:13:22 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:13:22 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:13:22 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:13:22 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:13:25 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:13:26 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Dec 6 04:13:26 rpmi: gtk-builder-convert-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Dec 6 04:13:27 rpmi: gsettings-desktop-schemas-data-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed <13>Dec 6 04:13:28 rpmi: libgio-2.60.7-alt1 p9+237353.100.2.2 1568372980 installed <13>Dec 6 04:13:28 rpmi: gsettings-desktop-schemas-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed <13>Dec 6 04:13:28 rpmi: libgdk-pixbuf-2.38.2-alt1 p9+237353.1000.2.2 1568374008 installed <13>Dec 6 04:13:29 rpmi: libbonobo-2.32.1-alt5 sisyphus+227129.100.1.1 1555228179 installed <13>Dec 6 04:13:29 rpmi: libbonobo-devel-2.32.1-alt5 sisyphus+227129.100.1.1 1555228179 installed <13>Dec 6 04:13:29 rpmi: libgio-devel-2.60.7-alt1 p9+237353.100.2.2 1568372980 installed <13>Dec 6 04:13:29 rpmi: gtk-update-icon-cache-3.24.11-alt1 p9+260591.300.12.1 1606214030 installed <13>Dec 6 04:13:29 rpmi: libgdk-pixbuf-xlib-2.38.2-alt1 p9+237353.1000.2.2 1568374008 installed <13>Dec 6 04:13:29 rpmi: libgdk-pixbuf-devel-2.38.2-alt1 p9+237353.1000.2.2 1568374008 installed <13>Dec 6 04:13:30 rpmi: libgstreamer1.0-1.16.1-alt1 p9+238791.200.1.1 1570624682 installed <13>Dec 6 04:13:30 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Dec 6 04:13:30 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Dec 6 04:13:31 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Dec 6 04:13:32 rpmi: libsystemd-1:243.9-alt1 p9+258476.300.4.1 1601997124 installed <13>Dec 6 04:13:32 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Dec 6 04:13:32 rpmi: libdbus-glib-1:0.106-alt1 1454672851 installed <13>Dec 6 04:13:32 rpmi: libGConf-3.2.6-alt3 1455932632 installed <13>Dec 6 04:13:32 rpmi: libavahi-0.8-alt1 p9+258828.100.4.1 1601912047 installed <13>Dec 6 04:13:32 rpmi: libavahi-glib-0.8-alt1 p9+258828.100.4.1 1601912047 installed <13>Dec 6 04:13:32 rpmi: libcups-2.3.1-alt1 p9+247593.200.5.1 1585155224 installed <13>Dec 6 04:13:35 rpmi: libgtk+2-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Dec 6 04:13:35 rpmi: libgtk+2-devel-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Dec 6 04:13:35 rpmi: libglade-2.6.4-alt5.qa1 1366416175 installed <13>Dec 6 04:13:35 rpmi: libgail-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Dec 6 04:13:36 rpmi: libgnomecanvas-2.30.3-alt2 1297296494 installed <13>Dec 6 04:13:36 rpmi: libgail-devel-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Dec 6 04:13:36 rpmi: libgnomecanvas-devel-2.30.3-alt2 1297296494 installed <13>Dec 6 04:13:36 rpmi: libGConf-devel-3.2.6-alt3 1455932632 installed <13>Dec 6 04:13:36 rpmi: dbus-tools-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <86>Dec 6 04:13:36 groupadd[963378]: group added to /etc/group: name=messagebus, GID=497 <86>Dec 6 04:13:36 groupadd[963378]: group added to /etc/gshadow: name=messagebus <86>Dec 6 04:13:36 groupadd[963378]: new group: name=messagebus, GID=497 <86>Dec 6 04:13:36 useradd[963384]: new user: name=messagebus, UID=499, GID=497, home=/run/dbus, shell=/dev/null <13>Dec 6 04:13:36 rpmi: dbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Dec 6 04:13:36 rpmi: dbus-tools-gui-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Dec 6 04:13:37 rpmi: libpulseaudio-13.0-alt4 p9+261614.100.2.1 1605550488 installed <13>Dec 6 04:13:37 rpmi: libcanberra-0.30-alt3 1509034816 installed <13>Dec 6 04:13:37 rpmi: libgnome-keyring-3.12.0-alt3 sisyphus.213077.100 1537112299 installed <13>Dec 6 04:13:37 rpmi: libpolkit-0.116-alt1 sisyphus+228976.400.4.1 1557128960 installed <13>Dec 6 04:13:38 rpmi: libxslt-1.1.34-alt1.p9.1 p9+261811.300.3.1 1605513910 installed <13>Dec 6 04:13:38 rpmi: xsltproc-1.1.34-alt1.p9.1 p9+261811.300.3.1 1605513910 installed <13>Dec 6 04:13:39 rpmi: GConf-3.2.6-alt3 1455932632 installed <13>Dec 6 04:13:40 rpmi: gnome-vfs-1:2.24.4-alt12 1535487531 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 6 04:13:43 rpmi: libgnome-2.32.1-alt4 1511716841 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 6 04:13:46 rpmi: libbonoboui-2.24.5-alt1 1301936269 installed <13>Dec 6 04:13:46 rpmi: libgnome-devel-2.32.1-alt4 1511716841 installed <13>Dec 6 04:13:46 rpmi: libbonoboui-devel-2.24.5-alt1 1301936269 installed <13>Dec 6 04:13:47 rpmi: libgnomeui-2.24.5-alt3 1519545609 installed <13>Dec 6 04:13:47 rpmi: gnome-vfs-devel-1:2.24.4-alt12 1535487531 installed <13>Dec 6 04:13:47 rpmi: libgnomeui-devel-2.24.5-alt3 1519545609 installed <13>Dec 6 04:13:47 rpmi: libglade-devel-2.6.4-alt5.qa1 1366416175 installed <13>Dec 6 04:13:47 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Dec 6 04:13:47 rpmi: perl-XML-Parser-2.44-alt2.2 sisyphus+219907.1300.1.1 1548343654 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/gnome-peercast-0.5.4-alt3.qa3.nosrc.rpm Installing gnome-peercast-0.5.4-alt3.qa3.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.47684 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf gnome-peercast-0.5.4 + echo 'Source #0 (gnome-peercast_0.5.4.orig.tar.bz2):' Source #0 (gnome-peercast_0.5.4.orig.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/gnome-peercast_0.5.4.orig.tar.bz2 + /bin/tar -xf - + cd gnome-peercast-0.5.4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (gnome-peercast-0.5.4.debian.patch):' Patch #0 (gnome-peercast-0.5.4.debian.patch): + /usr/bin/patch -p1 patching file peercast/core/common/servent.cpp patching file peercast/core/common/servent.h patching file peercast/core/common/servhs.cpp + echo 'Patch #1 (gnome-peercast-0.5.4-fix.patch):' Patch #1 (gnome-peercast-0.5.4-fix.patch): + /usr/bin/patch -p0 patching file peercast/core/common/common.h patching file peercast/core/common/html.cpp patching file peercast/core/common/sys.cpp patching file peercast/core/common/servhs.cpp + echo 'Patch #2 (gnome-peercast-0.5.4-alt-DSO.patch):' Patch #2 (gnome-peercast-0.5.4-alt-DSO.patch): + /usr/bin/patch -p2 patching file src/Makefile.in + echo 'Patch #3 (gnome-peercast-0.5.4-alt-gcc8.patch):' Patch #3 (gnome-peercast-0.5.4-alt-gcc8.patch): + /usr/bin/patch -p2 patching file peercast/core/common/stream.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.7031 + 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' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static checking for a BSD-compatible install... /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 x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking dependency style of x86_64-alt-linux-gcc... none checking for library containing strerror... none required checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes checking for x86_64-alt-linux-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-alt-linux-gcc... (cached) none checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for x86_64-alt-linux-gcc option to accept ANSI C... none needed checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... (cached) pass_all checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for x86_64-alt-linux-g77... no checking for x86_64-alt-linux-f77... no checking for x86_64-alt-linux-xlf... no checking for x86_64-alt-linux-frt... no checking for x86_64-alt-linux-pgf77... no checking for x86_64-alt-linux-cf77... no checking for x86_64-alt-linux-fort77... no checking for x86_64-alt-linux-fl32... no checking for x86_64-alt-linux-af77... no checking for x86_64-alt-linux-f90... no checking for x86_64-alt-linux-xlf90... no checking for x86_64-alt-linux-pgf90... no checking for x86_64-alt-linux-pghpf... no checking for x86_64-alt-linux-epcf90... no checking for x86_64-alt-linux-gfortran... no checking for x86_64-alt-linux-g95... no checking for x86_64-alt-linux-f95... no checking for x86_64-alt-linux-fort... no checking for x86_64-alt-linux-xlf95... no checking for x86_64-alt-linux-ifort... no checking for x86_64-alt-linux-ifc... no checking for x86_64-alt-linux-efc... no checking for x86_64-alt-linux-pgf95... no checking for x86_64-alt-linux-lf95... no checking for x86_64-alt-linux-ftn... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for objdir... .libs checking for x86_64-alt-linux-ar... no checking for ar... ar checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for x86_64-alt-linux-strip... no checking for strip... strip checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC checking if x86_64-alt-linux-g++ PIC flag -fPIC works... yes checking if x86_64-alt-linux-g++ static flag -static works... no checking if x86_64-alt-linux-g++ supports -c -o file.o... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes checking what language compliance flags to pass to the C compiler... checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GNOME_PEERCAST... yes checking for gconftool-2... /usr/bin/gconftool-2 Using config source xml:readwrite:/var/cache/gconf/gconf.xml.defaults for schema installation Using $(sysconfdir)/gconf/schemas as install directory for schema files checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... ja configure: creating ./config.status config.status: creating Makefile config.status: creating libpeercast/Makefile config.status: creating src/Makefile config.status: creating pixmaps/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing intltool commands config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands + make -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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o usys.lo `test -f '../peercast/core/unix/usys.cpp' || echo './'`../peercast/core/unix/usys.cpp mkdir .libs x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/unix/usys.cpp -fPIC -DPIC -o .libs/usys.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/unix/usys.h:26, from ../peercast/core/unix/usys.cpp:33: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o socket.lo `test -f '../peercast/core/common/socket.cpp' || echo './'`../peercast/core/common/socket.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/socket.cpp -fPIC -DPIC -o .libs/socket.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/socket.cpp:24: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o stream.lo `test -f '../peercast/core/common/stream.cpp' || echo './'`../peercast/core/common/stream.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/stream.cpp -fPIC -DPIC -o .libs/stream.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/stream.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o usocket.lo `test -f '../peercast/core/unix/usocket.cpp' || echo './'`../peercast/core/unix/usocket.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/unix/usocket.cpp -fPIC -DPIC -o .libs/usocket.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/unix/usocket.h:24, from ../peercast/core/unix/usocket.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o servmgr.lo `test -f '../peercast/core/common/servmgr.cpp' || echo './'`../peercast/core/common/servmgr.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/servmgr.cpp -fPIC -DPIC -o .libs/servmgr.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sys.lo `test -f '../peercast/core/common/sys.cpp' || echo './'`../peercast/core/common/sys.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/sys.cpp -fPIC -DPIC -o .libs/sys.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/sys.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o http.lo `test -f '../peercast/core/common/http.cpp' || echo './'`../peercast/core/common/http.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/http.cpp -fPIC -DPIC -o .libs/http.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/http.h:23, from ../peercast/core/common/http.cpp:23: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o xml.lo `test -f '../peercast/core/common/xml.cpp' || echo './'`../peercast/core/common/xml.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/xml.cpp -fPIC -DPIC -o .libs/xml.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/xml.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o channel.lo `test -f '../peercast/core/common/channel.cpp' || echo './'`../peercast/core/common/channel.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -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:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o html.lo `test -f '../peercast/core/common/html.cpp' || echo './'`../peercast/core/common/html.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/html.cpp -fPIC -DPIC -o .libs/html.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/http.h:23, from ../peercast/core/common/html.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o inifile.lo `test -f '../peercast/core/common/inifile.cpp' || echo './'`../peercast/core/common/inifile.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/inifile.cpp -fPIC -DPIC -o .libs/inifile.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/inifile.h:23, from ../peercast/core/common/inifile.cpp:22: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o gnutella.lo `test -f '../peercast/core/common/gnutella.cpp' || echo './'`../peercast/core/common/gnutella.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -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:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o peercast.lo `test -f '../peercast/core/common/peercast.cpp' || echo './'`../peercast/core/common/peercast.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/peercast.cpp -fPIC -DPIC -o .libs/peercast.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from ../peercast/core/common/peercast.cpp:2: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o servent.lo `test -f '../peercast/core/common/servent.cpp' || echo './'`../peercast/core/common/servent.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/servent.cpp -fPIC -DPIC -o .libs/servent.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servent.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 'long 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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o stats.lo `test -f '../peercast/core/common/stats.cpp' || echo './'`../peercast/core/common/stats.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/stats.cpp -fPIC -DPIC -o .libs/stats.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/stats.cpp:25: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mms.lo `test -f '../peercast/core/common/mms.cpp' || echo './'`../peercast/core/common/mms.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/mms.cpp -fPIC -DPIC -o .libs/mms.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/mms.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o ogg.lo `test -f '../peercast/core/common/ogg.cpp' || echo './'`../peercast/core/common/ogg.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/ogg.cpp -fPIC -DPIC -o .libs/ogg.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/ogg.cpp:20: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 'long 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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o icy.lo `test -f '../peercast/core/common/icy.cpp' || echo './'`../peercast/core/common/icy.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/icy.cpp -fPIC -DPIC -o .libs/icy.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/icy.h:22, from ../peercast/core/common/icy.cpp:1: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o mp3.lo `test -f '../peercast/core/common/mp3.cpp' || echo './'`../peercast/core/common/mp3.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/mp3.cpp -fPIC -DPIC -o .libs/mp3.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/mp3.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o jis.lo `test -f '../peercast/core/common/jis.cpp' || echo './'`../peercast/core/common/jis.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/jis.cpp -fPIC -DPIC -o .libs/jis.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' /bin/sh ../libtool --mode=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o servhs.lo `test -f '../peercast/core/common/servhs.cpp' || echo './'`../peercast/core/common/servhs.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/servhs.cpp -fPIC -DPIC -o .libs/servhs.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servhs.cpp:23: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o nsv.lo `test -f '../peercast/core/common/nsv.cpp' || echo './'`../peercast/core/common/nsv.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/nsv.cpp -fPIC -DPIC -o .libs/nsv.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/nsv.h:23, from ../peercast/core/common/nsv.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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 x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o pcp.lo `test -f '../peercast/core/common/pcp.cpp' || echo './'`../peercast/core/common/pcp.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/pcp.cpp -fPIC -DPIC -o .libs/pcp.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/atom.h:22, from ../peercast/core/common/pcp.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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=compile x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c -o url.lo `test -f '../peercast/core/common/url.cpp' || echo './'`../peercast/core/common/url.cpp x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core/common -I../peercast/core -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -c ../peercast/core/common/url.cpp -fPIC -DPIC -o .libs/url.o : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from ../peercast/core/common/url.h:22, from ../peercast/core/common/url.cpp:19: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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=link x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -o libpeercast.la -rpath /usr/lib64 -static usys.lo usocket.lo socket.lo servent.lo servhs.lo servmgr.lo xml.lo stream.lo sys.lo gnutella.lo html.lo channel.lo http.lo inifile.lo peercast.lo stats.lo mms.lo mp3.lo nsv.lo ogg.lo url.lo icy.lo pcp.lo jis.lo ar cru .libs/libpeercast.a .libs/usys.o .libs/usocket.o .libs/socket.o .libs/servent.o .libs/servhs.o .libs/servmgr.o .libs/xml.o .libs/stream.o .libs/sys.o .libs/gnutella.o .libs/html.o .libs/channel.o .libs/http.o .libs/inifile.o .libs/peercast.o .libs/stats.o .libs/mms.o .libs/mp3.o .libs/nsv.o .libs/ogg.o .libs/url.o .libs/icy.o .libs/pcp.o .libs/jis.o ranlib .libs/libpeercast.a creating libpeercast.la (cd .libs && rm -f libpeercast.la && ln -s ../libpeercast.la libpeercast.la) make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o chaninfo-dialog.o `test -f 'chaninfo-dialog.cpp' || echo './'`chaninfo-dialog.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from chaninfo-dialog.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o setting-dialog.o `test -f 'setting-dialog.cpp' || echo './'`setting-dialog.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from setting-dialog.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from main.cpp:31: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -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:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o broadcast-dialog.o `test -f 'broadcast-dialog.cpp' || echo './'`broadcast-dialog.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from broadcast-dialog.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o connection-list.o `test -f 'connection-list.cpp' || echo './'`connection-list.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from utils.h:28, from connection-list.cpp:36: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o utils.o `test -f 'utils.cpp' || echo './'`utils.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from utils.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -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:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o gnome-peercast.o `test -f 'gnome-peercast.cpp' || echo './'`gnome-peercast.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from gnome-peercast.cpp:31: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o trayicon.o `test -f 'trayicon.cpp' || echo './'`trayicon.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/channel.h:23, from trayicon.cpp:29: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -c -o channel-list.o `test -f 'channel-list.cpp' || echo './'`channel-list.cpp : warning: "__cplusplus" redefined : note: this is the location of the previous definition In file included from ../peercast/core/common/socket.h:25, from ../peercast/core/common/servent.h:25, from ../peercast/core/common/servmgr.h:23, from ../peercast/core/common/peercast.h:16, from channel-list.cpp:36: ../peercast/core/common/stream.h: In constructor 'Stream::Stream()': ../peercast/core/common/stream.h:214:15: warning: 'Stream::lastUpdate' will be initialized after [-Wreorder] unsigned int lastUpdate; ^~~~~~~~~~ ../peercast/core/common/stream.h:208: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: In member function 'void Stream::writeShort(short int)': ../peercast/core/common/stream.h:166: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:171: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' x86_64-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../peercast/core -I../peercast/core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -Wall -DG_LOG_DOMAIN=\""gnome-peercast"\" -DGNOME_LOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share"\" -DGLADE_DIR=\""/usr/share/gnome-peercast"\" -DICON_DIR=\""/usr/share/pixmaps"\" -DPIXMAPS_DIR=\""/usr/share/gnome-peercast"\" -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -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' /bin/sh ../libtool --mode=link x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -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 -pthread -lgmodule-2.0 -lORBit-2 -pthread -lgthread-2.0 -lgconf-2 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype ../libpeercast/libpeercast.la -lX11 mkdir .libs x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -o gnome-peercast utils.o main.o gnome-peercast.o chaninfo-dialog.o broadcast-dialog.o channel-list.o connection-list.o setting-dialog.o callbacks.o logview.o trayicon.o eggtrayicon.o -pthread -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lart_lgpl_2 -lgnomevfs-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lgconf-2 -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype ../libpeercast/.libs/libpeercast.a -lX11 make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' Making all in po make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/po' file=`echo ja | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ja.po make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/po' Making all in pixmaps make[2]: Nothing to be done for 'all'. make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' Makefile:687: warning: overriding recipe for target 'install-data-local' Makefile:684: warning: ignoring old recipe for target 'install-data-local' make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' LC_ALL=C ./intltool-merge -d -u -c ./po/.intltool-merge-cache ./po gnome-peercast.desktop.in gnome-peercast.desktop Generating and caching the translation database Merging translations into gnome-peercast.desktop. make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' LC_ALL=C ./intltool-merge -s -u -c ./po/.intltool-merge-cache ./po gnome-peercast.schemas.in gnome-peercast.schemas Generating and caching the translation database Merging translations into gnome-peercast.schemas. make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.73727 + 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/lib64 mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/lib64 /bin/sh ../libtool --mode=install /bin/install -p libpeercast.la /usr/src/tmp/gnome-peercast-buildroot/usr/lib64/libpeercast.la /bin/install -p .libs/libpeercast.lai /usr/src/tmp/gnome-peercast-buildroot/usr/lib64/libpeercast.la /bin/install -p .libs/libpeercast.a /usr/src/tmp/gnome-peercast-buildroot/usr/lib64/libpeercast.a chmod 644 /usr/src/tmp/gnome-peercast-buildroot/usr/lib64/libpeercast.a ranlib /usr/src/tmp/gnome-peercast-buildroot/usr/lib64/libpeercast.a libtool: install: warning: remember to run `libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' make[1]: Leaving directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/libpeercast' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' make[2]: Entering directory '/usr/src/RPM/BUILD/gnome-peercast-0.5.4/src' /bin/sh ../mkinstalldirs /usr/src/tmp/gnome-peercast-buildroot/usr/bin mkdir -p -- /usr/src/tmp/gnome-peercast-buildroot/usr/bin /bin/sh ../libtool --mode=install /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/lib64/libpeercast.a + find /usr/src/tmp/gnome-peercast-buildroot -type d '(' -name CVS -o -name .svn -o -name .git -o -name .hg -o -name .bzr -o -name _MTN ')' -print -exec rm -rf '{}' ';' /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/ja/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/fr/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/en/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/de/images/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/de/images/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/de/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/de/.svn': No such file or directory /usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/.svn find: '/usr/src/tmp/gnome-peercast-buildroot/usr/share/gnome-peercast/html/.svn': No such file or directory + : + find . -type d '(' -name CVS -o -name .svn -o -name .git -o -name .hg -o -name .bzr -o -name _MTN ')' -print -exec rm -rf '{}' ';' ./peercast/ui/html/ja/images/.svn find: './peercast/ui/html/ja/images/.svn': No such file or directory ./peercast/ui/html/ja/.svn find: './peercast/ui/html/ja/.svn': No such file or directory ./peercast/ui/html/fr/images/.svn find: './peercast/ui/html/fr/images/.svn': No such file or directory ./peercast/ui/html/fr/.svn find: './peercast/ui/html/fr/.svn': No such file or directory ./peercast/ui/html/en/images/.svn find: './peercast/ui/html/en/images/.svn': No such file or directory ./peercast/ui/html/en/.svn find: './peercast/ui/html/en/.svn': No such file or directory ./peercast/ui/html/de/images/.svn find: './peercast/ui/html/de/images/.svn': No such file or directory ./peercast/ui/html/de/.svn find: './peercast/ui/html/de/.svn': No such file or directory ./peercast/ui/html/.svn find: './peercast/ui/html/.svn': No such file or directory ./peercast/ui/.svn find: './peercast/ui/.svn': No such file or directory ./peercast/core/unix/.svn find: './peercast/core/unix/.svn': No such file or directory ./peercast/core/common/.svn find: './peercast/core/common/.svn': No such file or directory ./peercast/core/.svn find: './peercast/core/.svn': No such file or directory ./peercast/.svn find: './peercast/.svn': No such file or directory ./debian/.svn find: './debian/.svn': No such file or directory ./data/.svn find: './data/.svn': No such file or directory + : + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/gnome-peercast-buildroot (auto) removed './usr/lib64/libpeercast.la' Verifying and fixing files in /usr/src/tmp/gnome-peercast-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/share/applications/gnome-peercast.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 8c7 < Icon=peercast.png --- > Icon=peercast 11c10 < Categories=Application;Network --- > Categories=Network; Checking contents of files in /usr/src/tmp/gnome-peercast-buildroot/ (default) Compressing files in /usr/src/tmp/gnome-peercast-buildroot (auto) Adjusting library links in /usr/src/tmp/gnome-peercast-buildroot ./usr/lib64: 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) Hardlinking identical .pyc and .pyo files Processing files: gnome-peercast-0.5.4-alt3.qa3 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.53249 + 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.B1PnHe find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ut42l6 find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.frfjgr Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DNJenU Requires: /lib64/ld-linux-x86-64.so.2, libX11.so.6()(64bit) >= set:okXgPTzZvKmfPdi2j13zsvJtcuLHpDrbt2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libgconf-2.so.4()(64bit) >= set:miIXvVZFkheto68bywzWUD6rD1, libgdk-x11-2.0.so.0()(64bit) >= set:njq96L17Ewjr9lRyk7rAvGVP0hivyVrnUdsqkQXEcZL5, libgdk_pixbuf-2.0.so.0()(64bit) >= set:lka381, libglade-2.0.so.0()(64bit) >= set:jhTbouPrt7, libglib-2.0.so.0()(64bit) >= set:oiUQSRcvhqMa63wlq1F9pvyWnihGoksEAaGGzUmEFPOv5vizqJzUBHMbe08kgKehmGtpgMEBiD9QxlQ2e6xMrixmcDGkPOO3, libgnome-2.so.0()(64bit) >= set:kiOP8CDe, libgnomeui-2.so.0()(64bit) >= set:njx6kvnD3jL1cepR7u0raDEoj2DP40, libgobject-2.0.so.0()(64bit) >= set:mh9fwzuw2kSnWUOKaIybXncMmtddKSjfV9Y8dmRxvX6EcilMbb1, libgtk-x11-2.0.so.0()(64bit) >= set:pijZo8lZ8QhcQ09MJHaPqnXy4v5Hw1HOiiKYwDxXuJMMqIc9ZjjsMAv6JiDzMIiSZmKPxw3Y0MLrqyDd1uikZJg0IkXJniL9ceYtxE9DBWpZviRz4Yq5NCpSVgH6NkZhqLzom9AlQ8eCtye1g15ZbQ6xInXCheIBYndDXW0EUfW5kQosERPbYCnKOnT5bB2LyIq8YcivBiINYpYVExYXB1xMcq9yaFkysTngmUQyDoJC8LUCCdRpv4UbZtZaqgmzSENnyFjzNPHZtN9U23Ul6ikjPsCIbRY0eeZLl0LRXVlCl0, libpthread.so.0(GLIBC_2.2.5)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): GConf2, /bin/sh, /usr/sbin/gconf_install_schema Requires(preun): /bin/sh, /usr/sbin/gconf_uninstall_schema Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GNCoqH Creating gnome-peercast-debuginfo package Processing files: gnome-peercast-debuginfo-0.5.4-alt3.qa3 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.x6lmsG find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PiLgTK find-requires: running scripts (debuginfo) Requires: gnome-peercast = 0.5.4-alt3.qa3, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libX11.so.6), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libgconf-2.so.4), debug64(libgdk-x11-2.0.so.0), debug64(libgdk_pixbuf-2.0.so.0), debug64(libglade-2.0.so.0), debug64(libglib-2.0.so.0), debug64(libgnome-2.so.0), debug64(libgnomeui-2.so.0), debug64(libgobject-2.0.so.0), debug64(libgtk-x11-2.0.so.0), debug64(libpthread.so.0), debug64(libstdc++.so.6) Adding to gnome-peercast-debuginfo a strict dependency on gnome-peercast Wrote: /usr/src/RPM/RPMS/x86_64/gnome-peercast-0.5.4-alt3.qa3.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/gnome-peercast-debuginfo-0.5.4-alt3.qa3.x86_64.rpm 59.31user 12.36system 3:05.55elapsed 38%CPU (0avgtext+0avgdata 105908maxresident)k 0inputs+0outputs (0major+2005181minor)pagefaults 0swaps 84.78user 20.74system 5:09.55elapsed 34%CPU (0avgtext+0avgdata 116500maxresident)k 0inputs+0outputs (0major+2462663minor)pagefaults 0swaps