Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/cgterm.spec'], chrootPath='/var/lib/mock/875754-fedora-rawhide-ppc64le-1553939749.029102/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.adqpif78:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3b3fbae653f245f48dc798e7786a2f7d', '-D', '/var/lib/mock/875754-fedora-rawhide-ppc64le-1553939749.029102/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.adqpif78:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/cgterm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/cgterm-1.6-1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/cgterm.spec'], chrootPath='/var/lib/mock/875754-fedora-rawhide-ppc64le-1553939749.029102/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.adqpif78:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b2e1811764c14d6888852766ddd3b77d', '-D', '/var/lib/mock/875754-fedora-rawhide-ppc64le-1553939749.029102/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.adqpif78:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/cgterm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZFxyV6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cgterm-1.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/cgterm-1.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cgterm-1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/\r//' cgchat.txt cgterm.txt history.txt + sed -i 's/CFLAGS=-O3 -Wall/CFLAGS+=/' Makefile + sed -i s/LDFLAGS=/LDFLAGS+=/ Makefile + sed -i 's!PREFIX=/usr/local!PREFIX=/usr!' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.udnGdT + umask 022 + cd /builddir/build/BUILD + cd cgterm-1.6 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/make -O -j2 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o kernal.o kernal.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o cgterm.o cgterm.c BUILDSTDERR: cgterm.c: In function 'print_net_status': BUILDSTDERR: cgterm.c:52:17: warning: pointer targets in passing argument 1 of 'print_ascii' differ in signedness [-Wpointer-sign] BUILDSTDERR: 52 | print_ascii(message); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:25:33: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 25 | void print_ascii(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c: In function 'main': BUILDSTDERR: cgterm.c:204:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 204 | print("\x12\x1f \x9a\xac\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x9a\xbb\x1f "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:205:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 205 | print("\x12\x1f \x92 \x12 "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:206:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 206 | print("\x12\x1f \x92\x9e cg\x96tERM \x05" "1.6 \x12\x1f "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:207:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 207 | print("\x12\x1f \x92 \x12 "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:208:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 208 | print("\x12\x1f \x9a\xbc\x92\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x12\x9a\xbe\x1f "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:209:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 209 | print("\x92\x05\x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:211:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 211 | print(" \x12\x1f \x9a\xac\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x9a\xbb\x1f \x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:212:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 212 | print(" \x12\x1f \x92 \x12 \x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:213:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 213 | print(" \x12\x1f \x92\x9e cg\x96tERM \x05" "1.6 \x12\x1f \x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:214:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 214 | print(" \x12\x1f \x92 \x12 \x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:215:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 215 | print(" \x12\x1f \x9a\xbc\x92\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x12\x9a\xbe\x1f \x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:216:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 216 | print("\x92\x05\x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:224:8: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 224 | print(" "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:226:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 226 | print(" \x96pRESS\x9e eSC\x96 FOR MENU\x05\x0d\x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:249:21: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] BUILDSTDERR: 249 | if (net_connect(cfg_host, cfg_port, &print_net_status)) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:9: BUILDSTDERR: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: cgterm.c:250:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 250 | print("\x96" "cONNECT FAILED.\x05\x0d"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:279:18: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] BUILDSTDERR: 279 | if (net_connect(cfg_host, cfg_port, &print_net_status)) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:9: BUILDSTDERR: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: cgterm.c:280:10: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 280 | print("\x96" "rECONNECT FAILED.\x05\x0d"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgterm.c:310:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 310 | print("\x0d\x96" "dISCONNECTED!\x05\x0d"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgterm.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o net.o net.c BUILDSTDERR: In file included from net.c:15: BUILDSTDERR: net.c: In function 'net_connect': BUILDSTDERR: net.c:72:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 72 | if (isdigit((int) host[strlen(host) - 1])) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from net.c:13: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: net.c:73:41: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 73 | address.sin_addr.s_addr = inet_addr(host); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from net.c:7: BUILDSTDERR: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: net.c:75:29: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] BUILDSTDERR: 75 | hostent = gethostbyname(host); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from net.c:8: BUILDSTDERR: /usr/include/netdb.h:142:24: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 142 | extern struct hostent *gethostbyname (const char *__name); BUILDSTDERR: | ^~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o gfx.o gfx.c BUILDSTDERR: gfx.c: In function 'gfx_savescreen': BUILDSTDERR: gfx.c:357:13: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] BUILDSTDERR: 357 | fputs(converted, f_screen); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from gfx.c:1: BUILDSTDERR: /usr/include/stdio.h:626:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 626 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o config.o config.c BUILDSTDERR: config.c: In function 'cfg_init': BUILDSTDERR: config.c:79:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 79 | getcwd(cfg_xferdir, 256); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from config.c:2: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'cfg_init' at config.c:69:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: config.c: In function 'cfg_init': BUILDSTDERR: config.c:66:12: note: length computed here BUILDSTDERR: 66 | if ((l = strlen(argv0)) > 22) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from config.c:2: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'cfg_readconfig' at config.c:281:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying 40 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o keyboard.o keyboard.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o font.o font.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o menu.o menu.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o timer.o timer.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o crc.o crc.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o macro.o macro.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o sound.o sound.c BUILDSTDERR: In file included from /usr/include/SDL/SDL.h:32, BUILDSTDERR: from sound.c:2: BUILDSTDERR: sound.c: In function 'sound_load_sample': BUILDSTDERR: sound.c:79:72: warning: pointer targets in passing argument 5 of 'SDL_LoadWAV_RW' differ in signedness [-Wpointer-sign] BUILDSTDERR: 79 | if (SDL_LoadWAV(filename, &sound_audiospec, &sound_buffer[sample], &sound_length[sample]) == NULL) { BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: /usr/include/SDL/SDL_audio.h:219:62: note: in definition of macro 'SDL_LoadWAV' BUILDSTDERR: 219 | SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/SDL/SDL.h:32, BUILDSTDERR: from sound.c:2: BUILDSTDERR: /usr/include/SDL/SDL_audio.h:215:41: note: expected 'Uint32 *' {aka 'unsigned int *'} but argument is of type 'int *' BUILDSTDERR: 215 | extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); BUILDSTDERR: | ^~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o ui.o ui.c BUILDSTDERR: ui.c: In function 'ui_connect': BUILDSTDERR: ui.c:192:15: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] BUILDSTDERR: 192 | net_connect(cfg_host, cfg_port, &ui_display_net_status); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from ui.c:9: BUILDSTDERR: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: ui.c: In function 'ui_bookmarkkey': BUILDSTDERR: ui.c:247:31: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] BUILDSTDERR: 247 | net_connect(cfg_bookmark_host[b], cfg_bookmark_port[b], &ui_display_net_status); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from ui.c:9: BUILDSTDERR: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ui.c:3: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'ui_inputcall' at ui.c:36:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o xfer.o xfer.c BUILDSTDERR: xfer.c: In function 'xfer_copy_from_image': BUILDSTDERR: xfer.c:208:32: warning: pointer targets in passing argument 2 of 'di_read' differ in signedness [-Wpointer-sign] BUILDSTDERR: 208 | while ((l = di_read(imgfile, buffer, 4096))) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from xfer.c:13: BUILDSTDERR: diskimage.h:74:48: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 74 | int di_read(ImageFile *imgfile, unsigned char *buffer, int len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: xfer.c: In function 'xfer_save_file_in_image': BUILDSTDERR: xfer.c:354:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 354 | sprintf(buf, "Saved %-24s", filename); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from xfer.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: xfer.c:355:21: warning: pointer targets in passing argument 1 of 'menu_draw_message' differ in signedness [-Wpointer-sign] BUILDSTDERR: 355 | menu_draw_message(buf); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from xfer.c:9: BUILDSTDERR: menu.h:25:30: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 25 | void menu_draw_message(char *message); BUILDSTDERR: | ~~~~~~^~~~~~~ BUILDSTDERR: xfer.c: In function 'xfer_save_file_in_dir': BUILDSTDERR: xfer.c:416:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 416 | sprintf(buf, "Saved %-24s", filename); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from xfer.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: xfer.c:417:21: warning: pointer targets in passing argument 1 of 'menu_draw_message' differ in signedness [-Wpointer-sign] BUILDSTDERR: 417 | menu_draw_message(buf); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from xfer.c:9: BUILDSTDERR: menu.h:25:30: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 25 | void menu_draw_message(char *message); BUILDSTDERR: | ~~~~~~^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o xmodem.o xmodem.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o punter.o punter.c BUILDSTDERR: punter.c: In function 'punter_recv_block': BUILDSTDERR: punter.c:132:21: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 132 | if (strncmp("S/B", xfer_buffer, 3) == 0) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from punter.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: punter.c:158:26: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 158 | if (strncmp("ACK", xfer_buffer, 3) == 0) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from punter.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: punter.c:171:41: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 171 | if (strncmp("ACKACK", xfer_buffer + 2, 6) == 0) { BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from punter.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: punter.c:177:41: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 177 | if (strncmp("CKACKA", xfer_buffer + 2, 6) == 0) { BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from punter.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: punter.c:183:41: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 183 | if (strncmp("KACKAC", xfer_buffer + 2, 6) == 0) { BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from punter.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o dir.o dir.c BUILDSTDERR: dir.c: In function 'dir_read_image': BUILDSTDERR: dir.c:39:25: warning: pointer targets in passing argument 2 of 'di_open' differ in signedness [-Wpointer-sign] BUILDSTDERR: 39 | if ((fh = di_open(di, "$", T_PRG, "rb")) == NULL) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from dir.c:6: BUILDSTDERR: diskimage.h:72:12: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 72 | ImageFile *di_open(DiskImage *di, unsigned char *rawname, FileType type, char *mode); BUILDSTDERR: | ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o fileselector.o fileselector.c BUILDSTDERR: fileselector.c: In function 'fs_new': BUILDSTDERR: fileselector.c:22:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 22 | fs->title = title; BUILDSTDERR: | ^ BUILDSTDERR: fileselector.c:28:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 28 | strcpy(fs->path, path); BUILDSTDERR: | ~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from fileselector.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fileselector.c:32:21: warning: pointer targets in passing argument 2 of 'fs_read_dir' differ in signedness [-Wpointer-sign] BUILDSTDERR: 32 | fs_read_dir(fs, fs->path); BUILDSTDERR: | ~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fileselector.c:7: BUILDSTDERR: fileselector.h:23:48: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 23 | signed int fs_read_dir(FileSelector *fs, char *path); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: fileselector.c: In function 'fs_draw': BUILDSTDERR: fileselector.c:85:18: warning: pointer targets in passing argument 1 of 'menu_fs_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 85 | menu_fs_draw(fs->title); BUILDSTDERR: | ~~^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fileselector.c:8: BUILDSTDERR: menu.h:27:25: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 27 | void menu_fs_draw(char *title); BUILDSTDERR: | ~~~~~~^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o diskimage.o diskimage.c BUILDSTDERR: diskimage.c: In function 'find_file_entry': BUILDSTDERR: diskimage.c:585:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 585 | if (strncmp(rawname, rde->rawname, 16) == 0) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from diskimage.c:3: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: diskimage.c:585:26: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 585 | if (strncmp(rawname, rde->rawname, 16) == 0) { BUILDSTDERR: | ~~~^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from diskimage.c:3: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: diskimage.c: In function 'alloc_file_entry': BUILDSTDERR: diskimage.c:609:14: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 609 | if (strncmp(rawname, rde->rawname, 16) == 0) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from diskimage.c:3: BUILDSTDERR: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: diskimage.c:609:26: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 609 | if (strncmp(rawname, rde->rawname, 16) == 0) { BUILDSTDERR: | ~~~^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from diskimage.c:3: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: diskimage.c:598:19: warning: variable 'lastts' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 598 | TrackSector ts, lastts; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: diskimage.c: In function 'di_open': BUILDSTDERR: diskimage.c:662:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 662 | if (strcmp("$", rawname) == 0) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from diskimage.c:3: BUILDSTDERR: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: diskimage.c: In function 'di_track_blocks_free': BUILDSTDERR: diskimage.c:169:13: warning: 'bam' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 169 | return(bam[track * 4]); BUILDSTDERR: | ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o ui_term.o ui_term.c BUILDSTDERR: ui_term.c: In function 'ui_selectdirkey': BUILDSTDERR: ui_term.c:95:24: warning: pointer targets in passing argument 1 of 'cfg_change_dir' differ in signedness [-Wpointer-sign] BUILDSTDERR: 95 | cfg_change_dir(fsel->path, ".."); BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from ui_term.c:7: BUILDSTDERR: config.h:31:26: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 31 | int cfg_change_dir(char *dirbuffer, char *newdir); BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: ui_term.c:96:27: warning: pointer targets in passing argument 2 of 'fs_read_dir' differ in signedness [-Wpointer-sign] BUILDSTDERR: 96 | fs_read_dir(fsel, fsel->path); BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from ui_term.c:14: BUILDSTDERR: fileselector.h:23:48: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 23 | signed int fs_read_dir(FileSelector *fs, char *path); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: ui_term.c:104:21: warning: pointer targets in passing argument 1 of 'cfg_change_dir' differ in signedness [-Wpointer-sign] BUILDSTDERR: 104 | cfg_change_dir(fsel->path, fsel->selectedfile->name); BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from ui_term.c:7: BUILDSTDERR: config.h:31:26: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 31 | int cfg_change_dir(char *dirbuffer, char *newdir); BUILDSTDERR: | ~~~~~~^~~~~~~~~ BUILDSTDERR: ui_term.c:105:24: warning: pointer targets in passing argument 2 of 'fs_read_dir' differ in signedness [-Wpointer-sign] BUILDSTDERR: 105 | fs_read_dir(fsel, fsel->path); BUILDSTDERR: | ~~~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from ui_term.c:14: BUILDSTDERR: fileselector.h:23:48: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 23 | signed int fs_read_dir(FileSelector *fs, char *path); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: ui_term.c: In function 'select_set_xferdir': BUILDSTDERR: ui_term.c:164:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 164 | strcpy(cfg_xferdir, fs->path); BUILDSTDERR: | ~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from ui_term.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ui_term.c: In function 'ui_metakey': BUILDSTDERR: ui_term.c:240:14: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] BUILDSTDERR: 240 | net_connect(cfg_host, cfg_port, &ui_display_net_status); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from ui_term.c:9: BUILDSTDERR: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o cgchat.o cgchat.c BUILDSTDERR: cgchat.c: In function 'print_banner': BUILDSTDERR: cgchat.c:47:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 47 | print("\x12\x1f \x9a\xac\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x9a\xbb\x1f "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:48:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 48 | print("\x12\x1f \x92 \x12 "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:49:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 49 | print("\x12\x1f \x92\x9e cg\x96" "cHAT \x05" "1.6 \x12\x1f "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:50:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 50 | print("\x12\x1f \x92 \x12 "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:51:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 51 | print("\x12\x1f \x9a\xbc\x92\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x12\x9a\xbe\x1f "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:52:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 52 | print("\x92\x05\x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:54:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 54 | print(" \x12\x1f \x9a\xac\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x9a\xbb\x1f \x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:55:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 55 | print(" \x12\x1f \x92 \x12 \x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:56:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 56 | print(" \x12\x1f \x92\x9e cg\x96" "cHAT \x05" "1.6 \x12\x1f \x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:57:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 57 | print(" \x12\x1f \x92 \x12 \x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:58:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 58 | print(" \x12\x1f \x9a\xbc\x92\x9f\xa2\xa2\x99\xa2\xa2\x9e\xa2\xa2\x05\xa2\xa2\x9e\xa2\xa2\x99\xa2\xa2\x9f\xa2\xa2\x12\x9a\xbe\x1f \x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:59:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 59 | print("\x92\x05\x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c: In function 'main': BUILDSTDERR: cgchat.c:181:8: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 181 | print(" "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:183:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 183 | print(" \x96pRESS\x9e eSC\x96 FOR MENU\x05\x0d\x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:6: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: cgchat.c:209:17: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] BUILDSTDERR: 209 | net_connect(cfg_host, cfg_port, &chat_print_net_status); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:9: BUILDSTDERR: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: cgchat.c:230:14: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] BUILDSTDERR: 230 | net_connect(cfg_host, cfg_port, &chat_print_net_status); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:9: BUILDSTDERR: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: cgchat.c:258:19: warning: pointer targets in passing argument 1 of 'chat_print_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: 258 | chat_print_msg("locl:lINEBUFFER FULL"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from cgchat.c:14: BUILDSTDERR: chat.h:4:36: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 4 | void chat_print_msg(unsigned char *msg); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o status.o status.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o ui_chat.o ui_chat.c BUILDSTDERR: ui_chat.c: In function 'ui_metakey': BUILDSTDERR: ui_chat.c:88:14: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] BUILDSTDERR: 88 | net_connect(cfg_host, cfg_port, &ui_display_net_status); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from ui_chat.c:8: BUILDSTDERR: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o chat.o chat.c BUILDSTDERR: chat.c: In function 'print_msg': BUILDSTDERR: chat.c:41:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 41 | if (strlen(msg) < 5) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c:42:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 42 | print("\x96" "sERVER SENT GARBAGE!\x0d"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from chat.c:4: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: chat.c:46:24: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 46 | if (strncmp("helo:", msg, 5) == 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: chat.c:47:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 47 | if (strncmp("64chat ", data, 7) != 0) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: chat.c:48:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 48 | print("mALFORMED SERVER MESSAGE\x0d"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from chat.c:4: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: chat.c:54:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 54 | } else if (strncmp("talk:", msg, 5) == 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: chat.c:55:21: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 55 | if ((p = strchr(data, ':')) == NULL) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 225 | extern char *strchr (const char *__s, int __c) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: chat.c:55:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 55 | if ((p = strchr(data, ':')) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: chat.c:56:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 56 | print("\x96" "mALFORMED SERVER MESSAGE\x0d"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from chat.c:4: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: chat.c:66:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 66 | } else if (strncmp("mesg:", msg, 5) == 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: chat.c:67:21: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 67 | if ((p = strchr(data, ':')) == NULL) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 225 | extern char *strchr (const char *__s, int __c) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: chat.c:67:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 67 | if ((p = strchr(data, ':')) == NULL) { BUILDSTDERR: | ^ BUILDSTDERR: chat.c:68:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 68 | print("\x96" "mALFORMED SERVER MESSAGE\x0d"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from chat.c:4: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: chat.c:78:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 78 | } else if (strncmp("stat:", msg, 5) == 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: chat.c:82:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 82 | } else if (strncmp("locl:", msg, 5) == 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: chat.c:86:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 86 | } else if (strncmp("info:", msg, 5) == 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: chat.c:90:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 90 | } else if (strncmp("noop:", msg, 5) == 0) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:139:51: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 139 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: chat.c:93:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] BUILDSTDERR: 93 | print("\x96" "uNKNOWN SERVER MESSAGE\x0d"); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from chat.c:4: BUILDSTDERR: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 24 | void print(unsigned char *s); BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: chat.c: In function 'chat_print_net_status': BUILDSTDERR: chat.c:128:15: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: 128 | print_msg(msg); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 37 | void print_msg(unsigned char *msg) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c: In function 'parse_cmd': BUILDSTDERR: chat.c:142:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 142 | strcpy(outdata, "talk:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:145:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 145 | if (strlen(outdata + 5) == 0) { BUILDSTDERR: | ~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c:152:41: warning: pointer targets in passing argument 3 of 'gfx_conv_screen_to_pet' differ in signedness [-Wpointer-sign] BUILDSTDERR: 152 | gfx_conv_screen_to_pet(chars, colors, cmd, &color, &rev, 0, input_len); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from chat.c:5: BUILDSTDERR: gfx.h:31:89: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 31 | void gfx_conv_screen_to_pet(unsigned char *chars, unsigned char *colors, unsigned char *petsciibuf, int *lastcolor, int *reverse, int addcr, int width); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: chat.c:153:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 153 | if ((data = strchr(cmd, ' '))) { BUILDSTDERR: | ^ BUILDSTDERR: chat.c:159:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 159 | if (data && (p = strchr(data, ' '))) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 225 | extern char *strchr (const char *__s, int __c) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: chat.c:159:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 159 | if (data && (p = strchr(data, ' '))) { BUILDSTDERR: | ^ BUILDSTDERR: chat.c:160:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 160 | strcpy(outdata, "regi:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:162:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 162 | strcat(outdata, data); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:162:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 162 | strcat(outdata, data); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:164:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: 164 | print_msg("locl:uSAGE: /REG "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 37 | void print_msg(unsigned char *msg) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c:170:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 170 | if (data && (p = strchr(data, ' '))) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 225 | extern char *strchr (const char *__s, int __c) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: chat.c:170:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 170 | if (data && (p = strchr(data, ' '))) { BUILDSTDERR: | ^ BUILDSTDERR: chat.c:171:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 171 | strcpy(outdata, "auth:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:173:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 173 | strcat(outdata, data); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:173:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 173 | strcat(outdata, data); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:175:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: 175 | print_msg("locl:uSAGE: /LOGIN "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 37 | void print_msg(unsigned char *msg) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c:182:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 182 | strcpy(outdata, "nick:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:183:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 183 | strcat(outdata, data); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:183:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 183 | strcat(outdata, data); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:185:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: 185 | print_msg("locl:uSAGE: /NICK "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 37 | void print_msg(unsigned char *msg) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c:191:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 191 | strcpy(outdata, "quit:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:193:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 193 | strcat(outdata, data); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:193:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 193 | strcat(outdata, data); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:195:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 195 | strcat(outdata, "nO REASON"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:205:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 205 | strcpy(outdata, "quit:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:207:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 207 | strcat(outdata, data); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:207:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 207 | strcat(outdata, data); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:209:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 209 | strcat(outdata, "nO REASON"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:215:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 215 | if (data && (p = strchr(data, ' '))) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 225 | extern char *strchr (const char *__s, int __c) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: chat.c:215:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 215 | if (data && (p = strchr(data, ' '))) { BUILDSTDERR: | ^ BUILDSTDERR: chat.c:216:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 216 | strcpy(outdata, "mesg:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:218:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 218 | strcat(outdata, data); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:218:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 218 | strcat(outdata, data); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:220:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: 220 | print_msg("locl:uSAGE: /MSG "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 37 | void print_msg(unsigned char *msg) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c:226:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 226 | if (data && (p = strchr(data, ' '))) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 225 | extern char *strchr (const char *__s, int __c) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: chat.c:226:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 226 | if (data && (p = strchr(data, ' '))) { BUILDSTDERR: | ^ BUILDSTDERR: chat.c:227:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 227 | strcpy(outdata, "pass:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:229:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 229 | strcat(outdata, data); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:229:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 229 | strcat(outdata, data); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:231:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: 231 | print_msg("locl:uSAGE: /PASS "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 37 | void print_msg(unsigned char *msg) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c:237:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 237 | strcpy(outdata, "whol"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:242:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 242 | strcpy(outdata, "whoi:"); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:243:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 243 | strcat(outdata, data); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:243:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 243 | strcat(outdata, data); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/string.h:26, BUILDSTDERR: from chat.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: chat.c:245:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: 245 | print_msg("locl:uSAGE: /WHOIS "); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 37 | void print_msg(unsigned char *msg) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c:258:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: 258 | print_msg("locl:aLREADY CONNECTED"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 37 | void print_msg(unsigned char *msg) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c:262:23: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 262 | if ((p = strchr(data, ' '))) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 225 | extern char *strchr (const char *__s, int __c) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: chat.c:262:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 262 | if ((p = strchr(data, ' '))) { BUILDSTDERR: | ^ BUILDSTDERR: chat.c:264:20: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] BUILDSTDERR: 264 | cfg_port = strtol(p, (char **)NULL, 10); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:2: BUILDSTDERR: /usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 176 | extern long int strtol (const char *__restrict __nptr, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: chat.c:266:14: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: 266 | print_msg("locl:iLLEGAL PORT NUMBER"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 37 | void print_msg(unsigned char *msg) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c:272:19: warning: pointer targets in passing argument 1 of 'cfg_sethost' differ in signedness [-Wpointer-sign] BUILDSTDERR: 272 | cfg_sethost(data); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:6: BUILDSTDERR: config.h:30:24: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 30 | void cfg_sethost(char *h); BUILDSTDERR: | ~~~~~~^ BUILDSTDERR: chat.c:273:19: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] BUILDSTDERR: 273 | net_connect(cfg_host, cfg_port, &chat_print_net_status); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from chat.c:9: BUILDSTDERR: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: chat.c:275:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: 275 | print_msg("locl:uSAGE: /CONNECT [port]"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 37 | void print_msg(unsigned char *msg) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c:281:15: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] BUILDSTDERR: 281 | print_msg("locl:uNKNOWN COMMAND"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 37 | void print_msg(unsigned char *msg) { BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~ BUILDSTDERR: chat.c: In function 'chat_inputkey': BUILDSTDERR: chat.c:310:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 310 | i = strlen(input_buffer + input_pos + input_offset) + 1; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from chat.c:1: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection `sdl-config --cflags` -DPREFIX=\"/usr\" -c -o testkbd.o testkbd.c gcc -o cgterm cgterm.o kernal.o gfx.o net.o config.o keyboard.o menu.o font.o timer.o crc.o sound.o macro.o ui.o xfer.o xmodem.o punter.o diskimage.o dir.o fileselector.o ui_term.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld `sdl-config --libs` BUILDSTDERR: testkbd.c: In function 'main': BUILDSTDERR: testkbd.c:101:20: warning: variable 'alt' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 101 | int shift, ctrl, alt; BUILDSTDERR: | ^~~ BUILDSTDERR: testkbd.c:101:14: warning: variable 'ctrl' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 101 | int shift, ctrl, alt; BUILDSTDERR: | ^~~~ BUILDSTDERR: testkbd.c:101:7: warning: variable 'shift' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 101 | int shift, ctrl, alt; BUILDSTDERR: | ^~~~~ gcc -o testkbd testkbd.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld `sdl-config --libs` gcc -o cgchat cgchat.o kernal.o gfx.o net.o config.o keyboard.o menu.o font.o timer.o crc.o sound.o macro.o ui.o chat.o status.o ui_chat.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld `sdl-config --libs` + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UNtzrG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le + cd cgterm-1.6 + mkdir -p /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le 'INSTALL=/usr/bin/install -p' PREFIX=/builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr mkdir /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/bin > /dev/null 2>&1 mkdir /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/share > /dev/null 2>&1 mkdir /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/share/cgterm > /dev/null 2>&1 mkdir /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/etc > /dev/null 2>&1 strip cgterm cp cgterm /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/bin/ cp cgchat /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/bin/ cp *.bmp *.kbd *.wav /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/share/cgterm/ + rmdir /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/etc + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.6-1.fc31 --unique-debug-suffix -1.6-1.fc31.ppc64le --unique-debug-src-base cgterm-1.6-1.fc31.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cgterm-1.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/bin/cgchat extracting debug info from /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/bin/cgchat /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 172 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: cgterm-1.6-1.fc31.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YK1ETt + umask 022 + cd /builddir/build/BUILD + cd cgterm-1.6 + DOCDIR=/builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/share/doc/cgterm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/share/doc/cgterm + cp -pr cgchat.txt /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/share/doc/cgterm + cp -pr cgterm.txt /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/share/doc/cgterm + cp -pr history.txt /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le/usr/share/doc/cgterm + exit 0 Provides: cgterm = 1.6-1.fc31 cgterm(ppc-64) = 1.6-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libSDL-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: cgterm-debugsource-1.6-1.fc31.ppc64le Provides: cgterm-debugsource = 1.6-1.fc31 cgterm-debugsource(ppc-64) = 1.6-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cgterm-debuginfo-1.6-1.fc31.ppc64le Provides: cgterm-debuginfo = 1.6-1.fc31 cgterm-debuginfo(ppc-64) = 1.6-1.fc31 debuginfo(build-id) = 34848c01f0d11fa9bf177867bce756503fac5ddc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cgterm-debugsource(ppc-64) = 1.6-1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le Wrote: /builddir/build/RPMS/cgterm-1.6-1.fc31.ppc64le.rpm Wrote: /builddir/build/RPMS/cgterm-debugsource-1.6-1.fc31.ppc64le.rpm Wrote: /builddir/build/RPMS/cgterm-debuginfo-1.6-1.fc31.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KO76uh + umask 022 + cd /builddir/build/BUILD + cd cgterm-1.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cgterm-1.6-1.fc31.ppc64le + exit 0 Child return code was: 0