Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 877751 Details for
Bug 919351
media-sound/peercast-0.1218-r2 - [clang] ../.../xml.cpp: error: ISO C++17 does not allow register
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-sound:peercast-0.1218-r2:20231206-022112.log
media-sound:peercast-0.1218-r2:20231206-022112.log (text/plain), 54.31 KB, created by
Toralf Förster
on 2023-12-06 17:00:23 UTC
(
hide
)
Description:
media-sound:peercast-0.1218-r2:20231206-022112.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-06 17:00:23 UTC
Size:
54.31 KB
patch
obsolete
> * Package: media-sound/peercast-0.1218-r2:0 > * Repository: gentoo > * Maintainer: sound@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking peercast-0.1218-src.tgz to /var/tmp/portage/media-sound/peercast-0.1218-r2/work >>>> Source unpacked in /var/tmp/portage/media-sound/peercast-0.1218-r2/work >>>> Preparing source in /var/tmp/portage/media-sound/peercast-0.1218-r2/work ... > * Applying peercast-0.1218-CVE-2008-2040.patch ... > [ ok ] > * Applying peercast-0.1216-makefile.patch ... > [ ok ] > * Applying peercast-0.1216-amd64.patch ... > [ ok ] > * Applying peercast-0.1218-glibc-2.10.patch ... > [ ok ] >>>> Source prepared. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/media-sound/peercast-0.1218-r2/work ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-sound/peercast-0.1218-r2/work ... >make -j4 CC=clang CXX=clang++ AR=x86_64-pc-linux-gnu-ar 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread' LD=clang++ >clang -O2 -pipe -march=native -fno-diagnostics-color -I../../core -I../../core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -I../../core -I../../core/common -fPIC -c main.cpp -o main.o >clang -O2 -pipe -march=native -fno-diagnostics-color -I../../core -I../../core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -I../../core -I../../core/common -fPIC -c ../../core/unix/usys.cpp -o ../../core/unix/usys.o >clang -O2 -pipe -march=native -fno-diagnostics-color -I../../core -I../../core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -I../../core -I../../core/common -fPIC -c ../../core/unix/usocket.cpp -o ../../core/unix/usocket.o >clang -O2 -pipe -march=native -fno-diagnostics-color -I../../core -I../../core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -I../../core -I../../core/common -fPIC -c ../../core/common/socket.cpp -o ../../core/common/socket.o >In file included from <built-in>:488: ><command line>:2:9: warning: redefining builtin macro > [-Wbuiltin-macro-redefined] >In file included from <built-in>2: | 488#: >d<command line>e:f2i:n9e: _warning: _In file included from In file included from redefiningc<built-in><built-in> p::lbuiltinu488488 smacro: >: >p ><command line><command line>l ::u[-Wbuiltin-macro-redefined]22s >:: 991:: > warning: 2 | warning: redefining| #redefining ^d builtin > ebuiltinmacrof >imacro n >[-Wbuiltin-macro-redefined]e > [-Wbuiltin-macro-redefined]_ >_cplusp l22u | | s# #d1dee >ff iinne| e ^ _ >___ccpplluusspplluuss 11 > > | | ^ ^ > >In file included from ../../core/common/socket.cpp:24: >In file included from ../../core/common/socket.h:25: >../../core/common/stream.h:100:17: warning: expression result unused > [-Wunused-value] > 100 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:107:17: warning: expression result unused > [-Wunused-value] > 107 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:124:17: warning: expression result unused > [-Wunused-value] > 124 | CHECK_ENDIAN3(v); > | ^ >../../core/common/stream.h:125:2: warning: non-void function does not return a > value [-Wreturn-type] > 125 | } > | ^ >../../core/common/stream.h:165:17: warning: expression result unused > [-Wunused-value] > 165 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:170:17: warning: expression result unused > [-Wunused-value] > 170 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:280:4: warning: 'delete' applied to a pointer that > was allocated with 'new[]'; did you mean 'delete[]'? > [-Wmismatched-new-delete] > 280 | delete buf; > | ^ > | [] >../../core/common/stream.h:262:7: note: allocated with 'new[]' here > 262 | :buf(new char[l]) > | ^ >In file included from ../../core/unix/usocket.cpp:29: >In file included from ../../core/unix/usocket.h:24: >In file included from ../../core/common/socket.h:25: >../../core/common/stream.h:100:17: warning: expression result unused > [-Wunused-value] > 100 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:107:17: warning: expression result unused > [-Wunused-value] > 107 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:124:17: warning: expression result unused > [-Wunused-value] > 124 | CHECK_ENDIAN3(v); > | ^ >../../core/common/stream.h:125:2: warning: non-void function does not return a > value [-Wreturn-type] > 125 | } > | ^ >../../core/common/stream.h:165:17: warning: expression result unused > [-Wunused-value] > 165 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:170:17: warning: expression result unused > [-Wunused-value] > 170 | CHECK_ENDIAN4(v); > | ^ >8 warnings generated. >../../core/common/stream.h:280:4: warning: 'delete' applied to a pointer that > was allocated with 'new[]'; did you mean 'delete[]'? > [-Wmismatched-new-delete] > 280 | delete buf; > | ^ > | [] >../../core/common/stream.h:262:7: note: allocated with 'new[]' here > 262 | :buf(new char[l]) > | ^ >In file included from main.cpp:24: >In file included from ../../core/common/channel.h:23: >../../core/common/stream.h:100:17: warning: expression result unused > [-Wunused-value] > 100 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:107:17: warning: expression result unused > [-Wunused-value] > 107 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:124:17: warning: expression result unused > [-Wunused-value] > 124 | CHECK_ENDIAN3(v); > | ^ >../../core/common/stream.h:125:2: warning: non-void function does not return a > value [-Wreturn-type] > 125 | } > | ^ >../../core/common/stream.h:165:17: warning: expression result unused > [-Wunused-value] > 165 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:170:17: warning: expression result unused > [-Wunused-value] > 170 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:280:4: warning: 'delete' applied to a pointer that > was allocated with 'new[]'; did you mean 'delete[]'? > [-Wmismatched-new-delete] > 280 | delete buf; > | ^ > | [] >../../core/common/stream.h:262:7: note: allocated with 'new[]' here > 262 | :buf(new char[l]) > | ^ >clang -O2 -pipe -march=native -fno-diagnostics-color -I../../core -I../../core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -I../../core -I../../core/common -fPIC -c ../../core/common/servent.cpp -o ../../core/common/servent.o >In file included from ../../core/unix/usys.cpp:33: >In file included from ../../core/unix/usys.h:26: >In file included from ../../core/common/socket.h:25: >../../core/common/stream.h:100:17: warning: expression result unused > [-Wunused-value] > 100 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:107:17: warning: expression result unused > [-Wunused-value] > 107 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:124:17: warning: expression result unused > [-Wunused-value] > 124 | CHECK_ENDIAN3(v); > | ^ >../../core/common/stream.h:125:2: warning: non-void function does not return a > value [-Wreturn-type] > 125 | } > | ^ >../../core/common/stream.h:165:17: warning: expression result unused > [-Wunused-value] > 165 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:170:17: warning: expression result unused > [-Wunused-value] > 170 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:280:4: warning: 'delete' applied to a pointer that > was allocated with 'new[]'; did you mean 'delete[]'? > [-Wmismatched-new-delete] > 280 | delete buf; > | ^ > | [] >../../core/common/stream.h:262:7: note: allocated with 'new[]' here > 262 | :buf(new char[l]) > | ^ >In file included from main.cpp:24: >In file included from ../../core/common/channel.h:26: >../../core/common/asf.h:208:10: warning: enumeration value 'T_UNKNOWN' not > handled in switch [-Wswitch] > 208 | switch(type) > | ^~~~ >In file included from main.cpp:24: >../../core/common/channel.h:665:12: warning: enumeration values 'T_NONE' and > 'T_RAM' not handled in switch [-Wswitch] > 665 | switch (type) > | ^~~~ >../../core/common/channel.h:676:11: warning: enumeration value 'T_NONE' not > handled in switch [-Wswitch] > 676 | switch (type) > | ^~~~ >In file included from <built-in>:488: ><command line>:2:9: warning: redefining builtin macro > [-Wbuiltin-macro-redefined] > 2 | #define __cplusplus 1 > | ^ >8 warnings generated. >clang -O2 -pipe -march=native -fno-diagnostics-color -I../../core -I../../core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -I../../core -I../../core/common -fPIC -c ../../core/common/servhs.cpp -o ../../core/common/servhs.o >main.cpp:190:3: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 190 | daemon(1,0); > | ^~~~~~ ~~~ >In file included from ../../core/common/servent.cpp:25: >In file included from ../../core/common/servent.h:25: >In file included from ../../core/common/socket.h:25: >../../core/common/stream.h:100:17: warning: expression result unused > [-Wunused-value] > 100 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:107:17: warning: expression result unused > [-Wunused-value] > 107 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:124:17: warning: expression result unused > [-Wunused-value] > 124 | CHECK_ENDIAN3(v); > | ^ >../../core/common/stream.h:125:2: warning: non-void function does not return a > value [-Wreturn-type] > 125 | } > | ^ >../../core/common/stream.h:165:17: warning: expression result unused > [-Wunused-value] > 165 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:170:17: warning: expression result unused > [-Wunused-value] > 170 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:280:4: warning: 'delete' applied to a pointer that > was allocated with 'new[]'; did you mean 'delete[]'? > [-Wmismatched-new-delete] > 280 | delete buf; > | ^ > | [] >../../core/common/stream.h:262:7: note: allocated with 'new[]' here > 262 | :buf(new char[l]) > | ^ >In file included from ../../core/common/servent.cpp:25: >In file included from ../../core/common/servent.h:28: >In file included from ../../core/common/channel.h:26: >../../core/common/asf.h:208:10: warning: enumeration value 'T_UNKNOWN' not > handled in switch [-Wswitch] > 208 | switch(type) > | ^~~~ >In file included from <built-in>:488: ><command line>:2:9: warning: redefining builtin macro > [-Wbuiltin-macro-redefined] > 2 | #define __cplusplus 1 > | ^ >In file included from ../../core/common/servent.cpp:25: >In file included from ../../core/common/servent.h:28: >../../core/common/channel.h:665:12: warning: enumeration values 'T_NONE' and > 'T_RAM' not handled in switch [-Wswitch] > 665 | switch (type) > | ^~~~ >../../core/common/channel.h:676:11: warning: enumeration value 'T_NONE' not > handled in switch [-Wswitch] > 676 | switch (type) > | ^~~~ >../../core/common/servent.cpp:44:9: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 44 | "NONE", > | ^ >../../core/common/servent.cpp:45:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 45 | "CONNECTING", > | ^ >../../core/common/servent.cpp:46:9: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 46 | "PROTOCOL", > | ^ >../../core/common/servent.cpp:47:9: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 47 | "HANDSHAKE", > | ^ >../../core/common/servent.cpp:48:9: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 48 | "CONNECTED", > | ^ >../../core/common/servent.cpp:49:9: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 49 | "CLOSING", > | ^ >../../core/common/servent.cpp:50:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 50 | "LISTENING", > | ^ >../../core/common/servent.cpp:51:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 51 | "TIMEOUT", > | ^ >../../core/common/servent.cpp:52:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 52 | "REFUSED", > | ^ >../../core/common/servent.cpp:53:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 53 | "VERIFIED", > | ^ >../../core/common/servent.cpp:54:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 54 | "ERROR", > | ^ >../../core/common/servent.cpp:55:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 55 | "WAIT", > | ^ >../../core/common/servent.cpp:56:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 56 | "FREE" > | ^ >../../core/common/servent.cpp:62:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 62 | "NONE", > | ^ >../../core/common/servent.cpp:63:9: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 63 | "INCOMING", > | ^ >../../core/common/servent.cpp:64:9: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 64 | "SERVER", > | ^ >../../core/common/servent.cpp:65:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 65 | "RELAY", > | ^ >../../core/common/servent.cpp:66:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 66 | "DIRECT", > | ^ >../../core/common/servent.cpp:67:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 67 | "COUT", > | ^ >../../core/common/servent.cpp:68:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 68 | "CIN", > | ^ >../../core/common/servent.cpp:69:3: warning: ISO C++11 does not allow conversion > from string literal to 'char *' [-Wwritable-strings] > 69 | "PGNU" > | ^ >../../core/common/servent.cpp:131:3: warning: delete called on 'ClientSocket' > that is abstract but has non-virtual destructor > [-Wdelete-abstract-non-virtual-dtor] > 131 | delete sock; > | ^ >../../core/common/servent.cpp:138:3: warning: delete called on 'ClientSocket' > that is abstract but has non-virtual destructor > [-Wdelete-abstract-non-virtual-dtor] > 138 | delete pushSock; > | ^ >8 warnings generated. >../../core/common/servent.cpp:750:3: warning: delete called on 'ClientSocket' > that is abstract but has non-virtual destructor > [-Wdelete-abstract-non-virtual-dtor] > 750 | delete s; > | ^ >clang -O2 -pipe -march=native -fno-diagnostics-color -I../../core -I../../core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -I../../core -I../../core/common -fPIC -c ../../core/common/servmgr.cpp -o ../../core/common/servmgr.o >../../core/common/servent.cpp:1073:13: warning: 4 enumeration values not handled > in switch: 'T_UNKNOWN', 'T_RAW', 'T_OGM'... [-Wswitch] > 1073 | switch (chanInfo.contentType) > | ^~~~~~~~~~~~~~~~~~~~ >../../core/common/servent.cpp:1237:12: warning: enumeration value 'R_PROCESS' > not handled in switch [-Wswitch] > 1237 | switch(ret) > | ^~~ >In file included from ../../core/common/servhs.cpp:23: >In file included from ../../core/common/servent.h:25: >In file included from ../../core/common/socket.h:25: >../../core/common/stream.h:100:17: warning: expression result unused > [-Wunused-value] > 100 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:107:17: warning: expression result unused > [-Wunused-value] > 107 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:124:17: warning: expression result unused > [-Wunused-value] > 124 | CHECK_ENDIAN3(v); > | ^ >../../core/common/stream.h:125:2: warning: non-void function does not return a > value [-Wreturn-type] > 125 | } > | ^ >../../core/common/stream.h:165:17: warning: expression result unused > [-Wunused-value] > 165 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:170:17: warning: expression result unused > [-Wunused-value] > 170 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:280:4: warning: 'delete' applied to a pointer that > was allocated with 'new[]'; did you mean 'delete[]'? > [-Wmismatched-new-delete] > 280 | delete buf; > | ^ > | [] >../../core/common/stream.h:262:7: note: allocated with 'new[]' here > 262 | :buf(new char[l]) > | ^ >../../core/common/servent.cpp:2053:6: warning: delete called on 'ClientSocket' > that is abstract but has non-virtual destructor > [-Wdelete-abstract-non-virtual-dtor] > 2053 | delete sv->sock; > | ^ >In file included from ../../core/common/servhs.cpp:23: >In file included from ../../core/common/servent.h:28: >In file included from ../../core/common/channel.h:26: >../../core/common/asf.h:208:10: warning: enumeration value 'T_UNKNOWN' not > handled in switch [-Wswitch] > 208 | switch(type) > | ^~~~ >../../core/common/servent.cpp:2477:55: warning: format string contains '\0' > within the string body [-Wformat] > 2477 | ...sprintf(tmp,"StreamTitle='%s';StreamUrl='%s';\0",title.cstr(),url.cstr()); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ >12 warnings generated. >../../core/common/servent.cpp:2522:18: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 2522 | sock->writeTag("PCST"); > | ^ >In file included from <built-in>:488: ><command line>:2:9:../../core/common/servent.cpp:2544: 22warning: : redefiningwarning: ISObuiltin C++11macro >does not [-Wbuiltin-macro-redefined]allow > > conversion from string literal to 'char *' [-Wwritable-strings]2 > | #def i2544n | e _ _ c p lsuoscpkl-u>sw r1i >t e| T ^a >g("SYNC"); > | ^ >In file included from ../../core/common/servhs.cpp:23: >In file included from ../../core/common/servent.h:28: >../../core/common/channel.h:665:12: warning: enumeration values 'T_NONE' and > 'T_RAM' not handled in switch [-Wswitch] > 665 | switch (type) > | ^~~~ >../../core/common/channel.h:676:11: warning: enumeration value 'T_NONE' not > handled in switch [-Wswitch] > 676 | switch (type) > | ^~~~ >clang -O2 -pipe -march=native -fno-diagnostics-color -I../../core -I../../core/common -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT -I../../core -I../../core/common -fPIC -c ../../core/common/xml.cpp -o ../../core/common/xml.o >../../core/common/servhs.cpp:303:9: warning: using the result of an assignment > as a condition without parentheses [-Wparentheses] > 303 | if (ps=strstr(in,"ICE/1.0")) > | ~~^~~~~~~~~~~~~~~~~~~~~ >../../core/common/servhs.cpp:303:9: note: place parentheses around the > assignment to silence this warning > 303 | if (ps=strstr(in,"ICE/1.0")) > | ^ > | ( ) >../../core/common/servhs.cpp:303:9: note: use '==' to turn this assignment into > an equality comparison > 303 | if (ps=strstr(in,"ICE/1.0")) > | ^ > | == >../../core/common/servhs.cpp:672:21: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 672 | if (cmpCGIarg(cmd,"cmd=","redirect")) > | ^ >../../core/common/servhs.cpp:672:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 672 | if (cmpCGIarg(cmd,"cmd=","redirect")) > | ^ >../../core/common/servhs.cpp:696:22: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 696 | if (cmpCGIarg(cmd,"cmd=","viewxml")) > | ^ >../../core/common/servhs.cpp:696:29: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 696 | if (cmpCGIarg(cmd,"cmd=","viewxml")) > | ^ >../../core/common/servhs.cpp:701:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 701 | }else if (cmpCGIarg(cmd,"cmd=","clearlog")) > | ^ >../../core/common/servhs.cpp:701:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 701 | }else if (cmpCGIarg(cmd,"cmd=","clearlog")) > | ^ >../../core/common/servhs.cpp:707:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 707 | }else if (cmpCGIarg(cmd,"cmd=","save")) > | ^ >../../core/common/servhs.cpp:707:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 707 | }else if (cmpCGIarg(cmd,"cmd=","save")) > | ^ >../../core/common/servhs.cpp:714:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 714 | }else if (cmpCGIarg(cmd,"cmd=","reg")) > | ^ >../../core/common/servhs.cpp:714:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 714 | }else if (cmpCGIarg(cmd,"cmd=","reg")) > | ^ >../../core/common/servhs.cpp:720:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 720 | }else if (cmpCGIarg(cmd,"cmd=","edit_bcid")) > | ^ >../../core/common/servhs.cpp:720:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 720 | }else if (cmpCGIarg(cmd,"cmd=","edit_bcid")) > | ^ >../../core/common/servhs.cpp:725:14: warning: using the result of an assignment > as a condition without parentheses [-Wparentheses] > 725 | while (cp=nextCGIarg(cp,curr,arg)) > | ~~^~~~~~~~~~~~~~~~~~~~~~~~ >In file included from <built-in>:488: ><command line>:2:9: warning: redefining builtin macro > [-Wbuiltin-macro-redefined] > 2 | #define __cplusplus 1 > | ^ >../../core/common/servhs.cpp:725:14: note: place parentheses around the > assignment to silence this warning > 725 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | ( ) >../../core/common/servhs.cpp:725:14: note: use '==' to turn this assignment into > an equality comparison > 725 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | == >../../core/common/servhs.cpp:742:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 742 | }else if (cmpCGIarg(cmd,"cmd=","add_bcid")) > | ^ >../../core/common/servhs.cpp:742:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 742 | }else if (cmpCGIarg(cmd,"cmd=","add_bcid")) > | ^ >../../core/common/servhs.cpp:748:14: warning: using the result of an assignment > as a condition without parentheses [-Wparentheses] > 748 | while (cp=nextCGIarg(cp,curr,arg)) > | ~~^~~~~~~~~~~~~~~~~~~~~~~~ >../../core/common/servhs.cpp:748:14: note: place parentheses around the > assignment to silence this warning > 748 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | ( ) >../../core/common/servhs.cpp:748:14: note: use '==' to turn this assignment into > an equality comparison > 748 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | == >../../core/common/servhs.cpp:780:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 780 | }else if (cmpCGIarg(cmd,"cmd=","apply")) > | ^ >../../core/common/servhs.cpp:780:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 780 | }else if (cmpCGIarg(cmd,"cmd=","apply")) > | ^ >../../core/common/servhs.cpp:793:14: warning: using the result of an assignment > as a condition without parentheses [-Wparentheses] > 793 | while (cp=nextCGIarg(cp,curr,arg)) > | ~~^~~~~~~~~~~~~~~~~~~~~~~~ >../../core/common/servhs.cpp:793:14: note: place parentheses around the > assignment to silence this warning > 793 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | ( ) >../../core/common/servhs.cpp:793:14: note: use '==' to turn this assignment into > an equality comparison > 793 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | == >../../core/common/servhs.cpp:986:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 986 | }else ifIn file included from (cmpCGIar../../core/common/servmgr.cppg(cmd,:"22c: >mIn file included from d../../core/common/servent.h=:"25,: >"In file included from f../../core/common/socket.he:t25c: >h../../core/common/stream.h":)100): >17 :| ^warning: >expression result unused > [-Wunused-value] >../../core/common/servhs.cpp:986:35: warning: ISO C++11100 | does notC HallowE >C Kconversion_ EfromN DstringI AliteralN 2to( v'char *') ;[-Wwritable-strings] > > | ^ > 986 | }else if (cmpCGIarg(cmd,"cmd=","fetch")) > | ^ >../../core/common/stream.h:107:17: warning: expression result unused > [-Wunused-value] > 107 | CHECK_ENDIAN4(v); > | ^ >../../core/common/servhs.cpp:993:14: warning: using the result of an assignment > as a condition without parentheses [-Wparentheses] > 993 | while (cp=nextCGIarg(cp,curr,arg)) > | ~~^~~~~~~~~~~~~~~~~~~~~~~~ >../../core/common/servhs.cpp:993:14: note: place parentheses around the > assignment to silence this warning > 993 | whil../../core/common/stream.he: 124(:c17p:= nwarning: eexpressionx tresultC GunusedI >a r[-Wunused-value]g >(cp,cu r124r | , a rCgH)E)C >K _| E ^ N >D I| A ( )N >3(v); > | ^ >../../core/common/stream.h:125:2../../core/common/servhs.cpp:: 993warning: :non-void14 :function note: doesuse not'==' returnto aturn > thisvalue assignment[-Wreturn-type] >into > 125an | equality} >comparison >| ^ > 993 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | == >../../core/common/stream.h:165:17: warning: expression result unused > [-Wunused-value] > 165 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:170:17: warning: expression result unused > [-Wunused-value] > 170 | CHECK_ENDIAN4(v); > | ^ >../../core/common/servhs.cpp:1035:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1035 | }else if (cmpCGIarg(cmd,"cmd=","stopserv")) > | ^ >../../core/common/servhs.cpp:1035:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1035 | }else if (cmpCGIarg(cmd,"cmd=","stopserv")) > | ^ >../../core/common/servhs.cpp:1039:14: warning: using the result of an assignment > as a condition without parentheses [-Wparentheses] > 1039 | while (cp=nextCGIarg(cp,curr,arg)) > | ~~^~~~~~~~~~~~~~~~~~~~~~~~ >../../core/common/servhs.cpp:1039:14: note: place parentheses around the > assignment to silence this warning > 1039 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | ( ) >../../core/common/servhs.cpp:1039:14: note: use '==' to turn this assignment > into an equality comparison > 1039 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | == >../../core/common/servhs.cpp:1052:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1052 | }else if (cmpCGIarg(cmd,"cmd=","hitlist")) > | ^ >../../core/common/servhs.cpp:1052:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1052 | }else if (cmpCGIarg(cmd,"cmd=","hitlist")) > | ^ >../../core/common/stream.h:280:4../../core/common/servhs.cpp:: warning: 1055:38:'delete' warning: appliedISO toC++11 adoes pointernot thatallow > > wasconversion allocatedfrom withstring 'new[]';literal didto you'char *' mean[-Wwritable-strings] >'delete[]'? > [-Wmismatched-new-delete] > 1055 | b o280o | l s tdaeylCeotnen ebcutfe;d >= h| a ^s >C G| I []a >rg(cmd,"relay"); >../../core/common/stream.h :| 262 ^: >7: note: allocated with 'new[]' here > 262 | :buf(new char[l]) > | ^ >../../core/common/servhs.cpp:1065:29: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1065 | if (cmpCGIarg(cmd,tmp,"1")) > | ^ >../../core/common/servhs.cpp:1084:23: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1084 | if (hasCGIarg(cmd,"relay")) > | ^ >../../core/common/servhs.cpp:1090:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1090 | }else if (cmpCGIarg(cmd,"cmd=","clear")) > | ^ >../../core/common/servhs.cpp:1090:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1090 | }else if (cmpCGIarg(cmd,"cmd=","clear")) > | ^ >../../core/common/servhs.cpp:1093:14: warning: using the result of an assignment > as a condition without parentheses [-Wparentheses] > 1093 | while (cp=nextCGIarg(cp,curr,arg)) > | ~~^~~~~~~~~~~~~~~~~~~~~~~~ >../../core/common/servhs.cpp:1093:14: note: place parentheses around the > assignment to silence this warning > 1093 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | ( ) >../../core/common/servhs.cpp:1093:14: note: use '==' to turn this assignment > into an equality comparison > 1093 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | == >../../core/common/servhs.cpp:1109:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1109 | }else if (cmpCGIarg(cmd,"cmd=","upgrade")) > | ^ >../../core/common/servhs.cpp:1109:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1109 | }else if (cmpCGIarg(cmd,"cmd=","upgrade")) > | ^ >../../core/common/servhs.cpp:1120:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1120 | }else if (cmpCGIarg(cmd,"cmd=","connect")) > | ^ >../../core/common/servhs.cpp:1120:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1120 | }else if (cmpCGIarg(cmd,"cmd=","connect")) > | ^ >../../core/common/servhs.cpp:1128:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1128 | if (cmpCGIarg(cmd,tmp,"1")) > | ^ >../../core/common/servhs.cpp:1130:25: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1130 | if (hasCGIarg(cmd,"stop")) > | ^ >../../core/common/servhs.cpp:1138:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1138 | }else if (cmpCGIarg(cmd,"cmd=","shutdown")) > | ^ >../../core/common/servhs.cpp:1138:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1138 | }else if (cmpCGIarg(cmd,"cmd=","shutdown")) > | ^ >../../core/common/servhs.cpp:1142:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1142 | }else if (cmpCGIarg(cmd,"cmd=","stop")) > | ^ >../../core/common/servhs.cpp:1142:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1142 | }else if (cmpCGIarg(cmd,"cmd=","stop")) > | ^ >../../core/common/servhs.cpp:1146:14: warning: using the result of an assignment > as a condition without parentheses [-Wparentheses] > 1146 | while (cp=nextCGIarg(cp,curr,arg)) > | ~~^~~~~~~~~~~~~~~~~~~~~~~~ >../../core/common/servhs.cpp:1146:14: note: place parentheses around the > assignment to silence this warning > 1146 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | ( ) >../../core/common/servhs.cpp:1146:14: note: use '==' to turn this assignment > into an equality comparison > 1146 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | == >../../core/common/servhs.cpp:1160:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1160 | }else if (cmpCGIarg(cmd,"cmd=","bump")) > | ^ >../../core/common/servhs.cpp:1160:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1160 | }else if (cmpCGIarg(cmd,"cmd=","bump")) > | ^ >../../core/common/servhs.cpp:1164:14: warning: using the result of an assignment > as a condition without parentheses [-Wparentheses] > 1164 | while (cp=nextCGIarg(cp,curr,arg)) > | ~~^~~~~~~~~~~~~~~~~~~~~~~~ >../../core/common/servhs.cpp:1164:14: note: place parentheses around the > assignment to silence this warning > 1164 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | ( ) >../../core/common/servhs.cpp:1164:14: note: use '==' to turn this assignment > into an equality comparison > 1164 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | == >../../core/common/servhs.cpp:1177:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1177 | }else if (cmpCGIarg(cmd,"cmd=","keep")) > | ^ >../../core/common/servhs.cpp:1177:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1177 | }else if (cmpCGIarg(cmd,"cmd=","keep")) > | ^ >../../core/common/servhs.cpp:1181:14: warning: using the result of an assignment > as a condition without parentheses [-Wparentheses] > 1181 | while (cp=nextCGIarg(cp,curr,arg)) > | ~~^~~~~~~~~~~~~~~~~~~~~~~~ >../../core/common/servhs.cpp:1181:14: note: place parentheses around the > assignment to silence this warning > 1181 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | ( ) >../../core/common/servhs.cpp:1181:14: note: use '==' to turn this assignment > into an equality comparison > 1181 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | == >../../core/common/servhs.cpp:1194:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1194 | }else if (cmpCGIarg(cmd,"cmd=","relay")) > | ^ >../../core/common/servhs.cpp:1194:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1194 | }else if (cmpCGIarg(cmd,"cmd=","relay")) > | ^ >../../core/common/servhs.cpp:1198:14: warning: using the result of an assignment > as a condition without parentheses [-Wparentheses] > 1198 | while (cp=nextCGIarg(cp,curr,arg)) > | ~~^~~~~~~~~~~~~~~~~~~~~~~~ >../../core/common/servhs.cpp:1198:14: note: place parentheses around the > assignment to silence this warning > 1198 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | ( ) >../../core/common/servhs.cpp:1198:14: note: use '==' to turn this assignment > into an equality comparison > 1198 | while (cp=nextCGIarg(cp,curr,arg)) > | ^ > | == >../../core/common/servhs.cpp:1225:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1225 | }else if (cmpCGIarg(cmd,"net=","add")) > | ^ >../../core/common/servhs.cpp:1225:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1225 | }else if (cmpCGIarg(cmd,"net=","add")) > | ^ >../../core/common/servhs.cpp:1230:15: warning: using the result of an assignment > as a condition without parentheses [-Wparentheses] > 1230 | while (cmd=nextCGIarg(cmd,curr,arg)) > | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ >../../core/common/servhs.cpp:1230:15: note: place parentheses around the > assignment to silence this warning > 1230 | while (cmd=nextCGIarg(cmd,curr,arg)) > | ^ > | ( ) >../../core/common/servhs.cpp:1230:15: note: use '==' to turn this assignment > into an equality comparison > 1230 | while (cmd=nextCGIarg(cmd,curr,arg)) > | ^ > | == >../../core/common/servhs.cpp:1246:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1246 | }else if (cmpCGIarg(cmd,"cmd=","logout")) > | ^ >../../core/common/servhs.cpp:1246:35: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1246 | }else if (cmpCGIarg(cmd,"cmd=","logout")) > | ^ >../../core/common/servhs.cpp:1248:15: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1248 | jumpArg = "/"; > | ^ >../../core/common/servhs.cpp:1251:28: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 1251 | }elsIn file included from e../../core/common/servmgr.cpp :i22f: > In file included from (../../core/common/servent.hc:m28p: >CIn file included from G../../core/common/channel.hI:a26r: >g../../core/common/asf.h(:c208m:d10,:" cwarning: menumerationd =value" ,'T_UNKNOWN'" lnoto >g ihandledn "in) )switch > [-Wswitch]| > ^ > 208../../core/common/servhs.cpp | : 1251 :s35w:i twarning: cISOh (C++11t ydoesp enot) >allow >| ^~~~conversion > from string literal to 'char *' [-Wwritable-strings] > 1251 | }else if (cmpCGIarg(cmd,"cmd=","login")) > | ^ >In file included from ../../core/common/servmgr.cpp:22: >In file included from ../../core/common/servent.h:28: >../../core/common/channel.h:665:12: warning: enumeration values 'T_NONE' and > 'T_RAM' not handled in switch [-Wswitch] > 665 | switch (type) > | ^~~~ >../../core/common/channel.h:676:11: warning: enumeration value 'T_NONE' not > handled in switch [-Wswitch] > 676 | switch (type) > | ^~~~ >In file included from ../../core/common/xml.cpp:22: >../../core/common/stream.h:100:17: warning: expression result unused > [-Wunused-value] > 100 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:107:17: warning: expression result unused > [-Wunused-value] > 107 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:124:17: warning: expression result unused > [-Wunused-value] > 124 | CHECK_ENDIAN3(v); > | ^ >../../core/common/stream.h:125:2: warning: non-void function does not return a > value [-Wreturn-type] > 125 | } > | ^ >../../core/common/stream.h:165:17: warning: expression result unused > [-Wunused-value] > 165 | CHECK_ENDIAN2(v); > | ^ >../../core/common/stream.h:170:17: warning: expression result unused > [-Wunused-value] > 170 | CHECK_ENDIAN4(v); > | ^ >../../core/common/stream.h:280:4: warning: 'delete' applied to a pointer that > was allocated with 'new[]'; did you mean 'delete[]'? > [-Wmismatched-new-delete] > 280 | delete buf; > | ^ > | [] >../../core/common/stream.h:262:7: note: allocated with 'new[]' here > 262 | :buf(new char[l]) > | ^ >../../core/common/xml.cpp:89:5: error: ISO C++17 does not allow 'register' > storage class specifier [-Wregister] > 89 | register char *ap = contData; > | ^~~~~~~~ >../../core/common/xml.cpp:91:9: error: ISO C++17 does not allow 'register' > storage class specifier [-Wregister] > 91 | for(register int i=0; i<size; i++) > | ^~~~~~~~ >../../core/common/xml.cpp:93:6: error: ISO C++17 does not allow 'register' > storage class specifier [-Wregister] > 93 | register char c = bp[i]; > | ^~~~~~~~ >../../core/common/xml.cpp:140:13: warning: using the result of an assignment as > a condition without parentheses [-Wparentheses] > 140 | while (c=attrData[i++]) > | ~^~~~~~~~~~~~~~ >../../core/common/xml.cpp:140:13: note: place parentheses around the assignment > to silence this warning > 140 | while (c=attrData[i++]) > | ^ > | ( ) >../../core/common/xml.cpp:140:13: note: use '==' to turn this assignment into an > equality comparison > 140 | while (c=attrData[i++]) > | ^ > | == >9 warnings and 3 errors generated. >make: *** [makefile:82: ../../core/common/xml.o] Error 1 >make: *** Waiting for unfinished jobs.... >../../core/common/servmgr.cpp:804:3: warning: delete called on 'ClientSocket' > that is abstract but has non-virtual destructor > [-Wdelete-abstract-non-virtual-dtor] > 804 | delete sock; > | ^ >../../core/common/servmgr.cpp:817:11: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 817 | str = "ON"; > | ^ >../../core/common/servmgr.cpp:820:11: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 820 | str = "OFF"; > | ^ >../../core/common/servmgr.cpp:824:11: warning: ISO C++11 does not allow > conversion from string literal to 'char *' [-Wwritable-strings] > 824 | str = "UNKNOWN"; > | ^ >../../core/common/servmgr.cpp:1558:14: warning: using the result of an > assignment as a condition without parentheses [-Wparentheses] > 1558 | while (args=nextCGIarg(args,curr,arg)) > | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ >../../core/common/servmgr.cpp:1558:14: note: place parentheses around the > assignment to silence this warning > 1558 | while (args=nextCGIarg(args,curr,arg)) > | ^ > | ( ) >../../core/common/servmgr.cpp:1558:14: note: use '==' to turn this assignment > into an equality comparison > 1558 | while (args=nextCGIarg(args,curr,arg)) > | ^ > | == >73 warnings generated. >41 warnings generated. >16 warnings generated. > * ERROR: media-sound/peercast-0.1218-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-sound/peercast-0.1218-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-sound/peercast-0.1218-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/media-sound:peercast-0.1218-r2:20231206-022112.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/peercast-0.1218-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-sound/peercast-0.1218-r2/temp/environment'. > * Working directory: '/var/tmp/portage/media-sound/peercast-0.1218-r2/work/ui/linux' > * S: '/var/tmp/portage/media-sound/peercast-0.1218-r2/work' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 919351
:
877746
|
877747
|
877748
|
877749
|
877750
| 877751 |
877752