Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/cgterm.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1657381592.753557/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v52z0x0u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v52z0x0u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1b97077d281c4609bc8b40dfd72cf7fa', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1657381592.753557/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v52z0x0u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', '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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1553731200 Wrote: /builddir/build/SRPMS/cgterm-1.6-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/cgterm.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1657381592.753557/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v52z0x0u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v52z0x0u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '77a12fbc98e04ef684663895a357dfc7', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1657381592.753557/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v52z0x0u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', '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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1553731200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gw52rd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cgterm-1.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cgterm-1.6.tar.gz + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RYyVjR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/cgterm-1.6/.package_note-cgterm-1.6-1.fc37.ppc64le.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh cgterm 1.6-1.fc37 ppc64le + cd cgterm-1.6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/cgterm-1.6/.package_note-cgterm-1.6-1.fc37.ppc64le.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j5 V=1 VERBOSE=1 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 In file included from net.c:15: net.c: In function 'net_connect': net.c:72:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 72 | if (isdigit((int) host[strlen(host) - 1])) { | ^~~~ | | | unsigned char * In file included from net.c:13: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ net.c:73:41: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] 73 | address.sin_addr.s_addr = inet_addr(host); | ^~~~ | | | unsigned char * In file included from net.c:7: /usr/include/arpa/inet.h:34:41: note: expected 'const char *' but argument is of type 'unsigned char *' 34 | extern in_addr_t inet_addr (const char *__cp) __THROW; | ~~~~~~~~~~~~^~~~ net.c:75:29: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] 75 | hostent = gethostbyname(host); | ^~~~ | | | unsigned char * In file included from net.c:8: /usr/include/netdb.h:142:51: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern struct hostent *gethostbyname (const char *__name); | ~~~~~~~~~~~~^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 cgterm.c: In function 'print_net_status': cgterm.c:52:17: warning: pointer targets in passing argument 1 of 'print_ascii' differ in signedness [-Wpointer-sign] 52 | print_ascii(message); | ^~~~~~~ | | | char * In file included from cgterm.c:6: kernal.h:25:33: note: expected 'unsigned char *' but argument is of type 'char *' 25 | void print_ascii(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c: In function 'main': cgterm.c:204:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 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 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:205:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 205 | print("\x12\x1f \x92 \x12 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:206:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 206 | print("\x12\x1f \x92\x9e cg\x96tERM \x05" "1.6 \x12\x1f "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:207:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 207 | print("\x12\x1f \x92 \x12 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:208:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 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 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:209:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 209 | print("\x92\x05\x0d"); | ^~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:211:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:212:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 212 | print(" \x12\x1f \x92 \x12 \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:213:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 213 | print(" \x12\x1f \x92\x9e cg\x96tERM \x05" "1.6 \x12\x1f \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:214:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 214 | print(" \x12\x1f \x92 \x12 \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:215:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:216:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 216 | print("\x92\x05\x0d"); | ^~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:224:15: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 224 | print(" "); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:226:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 226 | print(" \x96pRESS\x9e eSC\x96 FOR MENU\x05\x0d\x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:249:21: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] 249 | if (net_connect(cfg_host, cfg_port, &print_net_status)) { | ^~~~~~~~ | | | char * In file included from cgterm.c:9: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ cgterm.c:250:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 250 | print("\x96" "cONNECT FAILED.\x05\x0d"); | ^~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:279:25: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] 279 | if (net_connect(cfg_host, cfg_port, &print_net_status)) { | ^~~~~~~~ | | | char * net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ cgterm.c:280:17: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 280 | print("\x96" "rECONNECT FAILED.\x05\x0d"); | ^~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgterm.c:310:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 310 | print("\x0d\x96" "dISCONNECTED!\x05\x0d"); | ^~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 config.c: In function 'cfg_init': config.c:79:3: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | getcwd(cfg_xferdir, 256); | ^~~~~~~~~~~~~~~~~~~~~~~~ config.c:69:7: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 69 | strncpy(prefix, argv0, l - 13); | ^ config.c:66:12: note: length computed here 66 | if ((l = strlen(argv0)) > 22) { | ^~~~~~~~~~~~~ config.c: In function 'cfg_readconfig': config.c:281:13: warning: '__strncat_chk' output may be truncated copying 40 bytes from a string of length 255 [-Wstringop-truncation] 281 | strncat(keyboard, value, 40); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 In file included from /usr/include/SDL/SDL.h:31, from sound.c:2: sound.c: In function 'sound_load_sample': sound.c:79:72: warning: pointer targets in passing argument 5 of 'SDL_LoadWAV_RW' differ in signedness [-Wpointer-sign] 79 | if (SDL_LoadWAV(filename, &sound_audiospec, &sound_buffer[sample], &sound_length[sample]) == NULL) { | ^~~~~~~~~~~~~~~~~~~~~ | | | int * /usr/include/SDL/SDL_audio.h:106:115: note: in definition of macro 'SDL_LoadWAV' 106 | #define SDL_LoadWAV(file, spec, audio_buf, audio_len) SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) | ^~~~~~~~~ /usr/include/SDL/SDL_audio.h:100:133: note: expected 'Uint32 *' {aka 'unsigned int *'} but argument is of type 'int *' 100 | extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_buf, Uint32 *audio_len); | ~~~~~~~~^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 gfx.c: In function 'gfx_savescreen': gfx.c:357:13: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 357 | fputs(converted, f_screen); | ^~~~~~~~~ | | | unsigned char * In file included from gfx.c:1: /usr/include/stdio.h:655:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 655 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 ui.c: In function 'ui_connect': ui.c:192:15: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] 192 | net_connect(cfg_host, cfg_port, &ui_display_net_status); | ^~~~~~~~ | | | char * In file included from ui.c:9: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ ui.c: In function 'ui_bookmarkkey': ui.c:247:38: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] 247 | net_connect(cfg_bookmark_host[b], cfg_bookmark_port[b], &ui_display_net_status); | ~~~~~~~~~~~~~~~~~^~~ | | | char * net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ ui.c: In function 'ui_inputcall': ui.c:36:5: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 36 | strncpy(input_buffer, text, sizeof(input_buffer)); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 xfer.c: In function 'xfer_copy_from_image': xfer.c:208:32: warning: pointer targets in passing argument 2 of 'di_read' differ in signedness [-Wpointer-sign] 208 | while ((l = di_read(imgfile, buffer, 4096))) { | ^~~~~~ | | | char * In file included from xfer.c:13: diskimage.h:74:48: note: expected 'unsigned char *' but argument is of type 'char *' 74 | int di_read(ImageFile *imgfile, unsigned char *buffer, int len); | ~~~~~~~~~~~~~~~^~~~~~ xfer.c: In function 'xfer_save_file_in_image': xfer.c:354:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 354 | sprintf(buf, "Saved %-24s", filename); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xfer.c:1: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ xfer.c:355:21: warning: pointer targets in passing argument 1 of 'menu_draw_message' differ in signedness [-Wpointer-sign] 355 | menu_draw_message(buf); | ^~~ | | | unsigned char * In file included from xfer.c:9: menu.h:25:30: note: expected 'char *' but argument is of type 'unsigned char *' 25 | void menu_draw_message(char *message); | ~~~~~~^~~~~~~ xfer.c: In function 'xfer_save_file_in_dir': xfer.c:416:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 416 | sprintf(buf, "Saved %-24s", filename); | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ xfer.c:417:21: warning: pointer targets in passing argument 1 of 'menu_draw_message' differ in signedness [-Wpointer-sign] 417 | menu_draw_message(buf); | ^~~ | | | unsigned char * menu.h:25:30: note: expected 'char *' but argument is of type 'unsigned char *' 25 | void menu_draw_message(char *message); | ~~~~~~^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 fileselector.c: In function 'fs_new': fileselector.c:22:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 22 | fs->title = title; | ^ fileselector.c:28:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 28 | strcpy(fs->path, path); | ~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from fileselector.c:1: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ fileselector.c:32:21: warning: pointer targets in passing argument 2 of 'fs_read_dir' differ in signedness [-Wpointer-sign] 32 | fs_read_dir(fs, fs->path); | ~~^~~~~~ | | | unsigned char * In file included from fileselector.c:7: fileselector.h:23:48: note: expected 'char *' but argument is of type 'unsigned char *' 23 | signed int fs_read_dir(FileSelector *fs, char *path); | ~~~~~~^~~~ fileselector.c: In function 'fs_draw': fileselector.c:85:18: warning: pointer targets in passing argument 1 of 'menu_fs_draw' differ in signedness [-Wpointer-sign] 85 | menu_fs_draw(fs->title); | ~~^~~~~~~ | | | unsigned char * In file included from fileselector.c:8: menu.h:27:25: note: expected 'char *' but argument is of type 'unsigned char *' 27 | void menu_fs_draw(char *title); | ~~~~~~^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 dir.c: In function 'dir_read_image': dir.c:39:25: warning: pointer targets in passing argument 2 of 'di_open' differ in signedness [-Wpointer-sign] 39 | if ((fh = di_open(di, "$", T_PRG, "rb")) == NULL) { | ^~~ | | | char * In file included from dir.c:6: diskimage.h:72:50: note: expected 'unsigned char *' but argument is of type 'char *' 72 | ImageFile *di_open(DiskImage *di, unsigned char *rawname, FileType type, char *mode); | ~~~~~~~~~~~~~~~^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 punter.c: In function 'punter_recv_block': punter.c:132:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 132 | if (strncmp("S/B", xfer_buffer, 3) == 0) { | ^~~~~~~~~~~ | | | unsigned char * In file included from punter.c:1: /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ punter.c:158:26: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 158 | if (strncmp("ACK", xfer_buffer, 3) == 0) { | ^~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ punter.c:171:41: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 171 | if (strncmp("ACKACK", xfer_buffer + 2, 6) == 0) { | ~~~~~~~~~~~~^~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ punter.c:177:41: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 177 | if (strncmp("CKACKA", xfer_buffer + 2, 6) == 0) { | ~~~~~~~~~~~~^~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ punter.c:183:41: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 183 | if (strncmp("KACKAC", xfer_buffer + 2, 6) == 0) { | ~~~~~~~~~~~~^~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 ui_term.c: In function 'ui_selectdirkey': ui_term.c:95:24: warning: pointer targets in passing argument 1 of 'cfg_change_dir' differ in signedness [-Wpointer-sign] 95 | cfg_change_dir(fsel->path, ".."); | ~~~~^~~~~~ | | | unsigned char * In file included from ui_term.c:7: config.h:31:26: note: expected 'char *' but argument is of type 'unsigned char *' 31 | int cfg_change_dir(char *dirbuffer, char *newdir); | ~~~~~~^~~~~~~~~ ui_term.c:96:27: warning: pointer targets in passing argument 2 of 'fs_read_dir' differ in signedness [-Wpointer-sign] 96 | fs_read_dir(fsel, fsel->path); | ~~~~^~~~~~ | | | unsigned char * In file included from ui_term.c:14: fileselector.h:23:48: note: expected 'char *' but argument is of type 'unsigned char *' 23 | signed int fs_read_dir(FileSelector *fs, char *path); | ~~~~~~^~~~ ui_term.c:104:28: warning: pointer targets in passing argument 1 of 'cfg_change_dir' differ in signedness [-Wpointer-sign] 104 | cfg_change_dir(fsel->path, fsel->selectedfile->name); | ~~~~^~~~~~ | | | unsigned char * config.h:31:26: note: expected 'char *' but argument is of type 'unsigned char *' 31 | int cfg_change_dir(char *dirbuffer, char *newdir); | ~~~~~~^~~~~~~~~ ui_term.c:105:31: warning: pointer targets in passing argument 2 of 'fs_read_dir' differ in signedness [-Wpointer-sign] 105 | fs_read_dir(fsel, fsel->path); | ~~~~^~~~~~ | | | unsigned char * fileselector.h:23:48: note: expected 'char *' but argument is of type 'unsigned char *' 23 | signed int fs_read_dir(FileSelector *fs, char *path); | ~~~~~~^~~~ ui_term.c: In function 'select_set_xferdir': ui_term.c:164:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 164 | strcpy(cfg_xferdir, fs->path); | ~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ui_term.c:1: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ui_term.c: In function 'ui_metakey': ui_term.c:240:21: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] 240 | net_connect(cfg_host, cfg_port, &ui_display_net_status); | ^~~~~~~~ | | | char * In file included from ui_term.c:9: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 cgchat.c: In function 'print_banner': cgchat.c:47:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 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 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:6: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:48:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 48 | print("\x12\x1f \x92 \x12 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:49:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 49 | print("\x12\x1f \x92\x9e cg\x96" "cHAT \x05" "1.6 \x12\x1f "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:50:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 50 | print("\x12\x1f \x92 \x12 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:51:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 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 "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:52:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 52 | print("\x92\x05\x0d"); | ^~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:54:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:55:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 55 | print(" \x12\x1f \x92 \x12 \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:56:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 56 | print(" \x12\x1f \x92\x9e cg\x96" "cHAT \x05" "1.6 \x12\x1f \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:57:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 57 | print(" \x12\x1f \x92 \x12 \x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:58:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:59:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 59 | print("\x92\x05\x0d"); | ^~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c: In function 'main': cgchat.c:181:15: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 181 | print(" "); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:183:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 183 | print(" \x96pRESS\x9e eSC\x96 FOR MENU\x05\x0d\x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ cgchat.c:209:17: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] 209 | net_connect(cfg_host, cfg_port, &chat_print_net_status); | ^~~~~~~~ | | | char * In file included from cgchat.c:9: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ cgchat.c:230:21: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] 230 | net_connect(cfg_host, cfg_port, &chat_print_net_status); | ^~~~~~~~ | | | char * net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ cgchat.c:258:26: warning: pointer targets in passing argument 1 of 'chat_print_msg' differ in signedness [-Wpointer-sign] 258 | chat_print_msg("locl:lINEBUFFER FULL"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cgchat.c:14: chat.h:4:36: note: expected 'unsigned char *' but argument is of type 'char *' 4 | void chat_print_msg(unsigned char *msg); | ~~~~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 ui_chat.c: In function 'ui_metakey': ui_chat.c:88:21: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] 88 | net_connect(cfg_host, cfg_port, &ui_display_net_status); | ^~~~~~~~ | | | char * In file included from ui_chat.c:8: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 testkbd.c: In function 'main': testkbd.c:101:20: warning: variable 'alt' set but not used [-Wunused-but-set-variable] 101 | int shift, ctrl, alt; | ^~~ testkbd.c:101:14: warning: variable 'ctrl' set but not used [-Wunused-but-set-variable] 101 | int shift, ctrl, alt; | ^~~~ testkbd.c:101:7: warning: variable 'shift' set but not used [-Wunused-but-set-variable] 101 | int shift, ctrl, alt; | ^~~~~ chat.c: In function 'print_msg': chat.c:41:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 41 | if (strlen(msg) < 5) { | ^~~ | | | unsigned char * In file included from chat.c:1: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ chat.c:42:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 42 | print("\x96" "sERVER SENT GARBAGE!\x0d"); | ^~~~~~ | | | char * In file included from chat.c:4: kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ chat.c:46:24: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 46 | if (strncmp("helo:", msg, 5) == 0) { | ^~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:47:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 47 | if (strncmp("64chat ", data, 7) != 0) { | ^~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:48:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 48 | print("mALFORMED SERVER MESSAGE\x0d"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ chat.c:54:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 54 | } else if (strncmp("talk:", msg, 5) == 0) { | ^~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:55:21: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 55 | if ((p = strchr(data, ':')) == NULL) { | ^~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:55:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 55 | if ((p = strchr(data, ':')) == NULL) { | ^ chat.c:56:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 56 | print("\x96" "mALFORMED SERVER MESSAGE\x0d"); | ^~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ chat.c:66:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 66 | } else if (strncmp("mesg:", msg, 5) == 0) { | ^~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:67:21: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 67 | if ((p = strchr(data, ':')) == NULL) { | ^~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:67:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 67 | if ((p = strchr(data, ':')) == NULL) { | ^ chat.c:68:13: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 68 | print("\x96" "mALFORMED SERVER MESSAGE\x0d"); | ^~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ chat.c:78:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 78 | } else if (strncmp("stat:", msg, 5) == 0) { | ^~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:82:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 82 | } else if (strncmp("locl:", msg, 5) == 0) { | ^~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:86:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 86 | } else if (strncmp("info:", msg, 5) == 0) { | ^~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:90:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 90 | } else if (strncmp("noop:", msg, 5) == 0) { | ^~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ chat.c:93:11: warning: pointer targets in passing argument 1 of 'print' differ in signedness [-Wpointer-sign] 93 | print("\x96" "uNKNOWN SERVER MESSAGE\x0d"); | ^~~~~~ | | | char * kernal.h:24:27: note: expected 'unsigned char *' but argument is of type 'char *' 24 | void print(unsigned char *s); | ~~~~~~~~~~~~~~~^ chat.c: In function 'chat_print_net_status': chat.c:128:15: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] 128 | print_msg(msg); | ^~~ | | | char * chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c: In function 'parse_cmd': chat.c:142:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 142 | strcpy(outdata, "talk:"); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:145:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 145 | if (strlen(outdata + 5) == 0) { | ~~~~~~~~^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ chat.c:152:41: warning: pointer targets in passing argument 3 of 'gfx_conv_screen_to_pet' differ in signedness [-Wpointer-sign] 152 | gfx_conv_screen_to_pet(chars, colors, cmd, &color, &rev, 0, input_len); | ^~~ | | | char * In file included from chat.c:5: gfx.h:31:89: note: expected 'unsigned char *' but argument is of type 'char *' 31 | void gfx_conv_screen_to_pet(unsigned char *chars, unsigned char *colors, unsigned char *petsciibuf, int *lastcolor, int *reverse, int addcr, int width); | ~~~~~~~~~~~~~~~^~~~~~~~~~ chat.c:153:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 153 | if ((data = strchr(cmd, ' '))) { | ^ chat.c:159:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 159 | if (data && (p = strchr(data, ' '))) { | ^~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:159:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 159 | if (data && (p = strchr(data, ' '))) { | ^ chat.c:160:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 160 | strcpy(outdata, "regi:"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:162:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 162 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:162:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 162 | strcat(outdata, data); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:164:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] 164 | print_msg("locl:uSAGE: /REG "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:170:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 170 | if (data && (p = strchr(data, ' '))) { | ^~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:170:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 170 | if (data && (p = strchr(data, ' '))) { | ^ chat.c:171:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 171 | strcpy(outdata, "auth:"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:173:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 173 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:173:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 173 | strcat(outdata, data); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:175:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] 175 | print_msg("locl:uSAGE: /LOGIN "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:182:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 182 | strcpy(outdata, "nick:"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:183:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 183 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:183:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 183 | strcat(outdata, data); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:185:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] 185 | print_msg("locl:uSAGE: /NICK "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:191:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 191 | strcpy(outdata, "quit:"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:193:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 193 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:193:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 193 | strcat(outdata, data); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:195:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 195 | strcat(outdata, "nO REASON"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:205:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 205 | strcpy(outdata, "quit:"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:207:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 207 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:207:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 207 | strcat(outdata, data); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:209:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 209 | strcat(outdata, "nO REASON"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:215:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 215 | if (data && (p = strchr(data, ' '))) { | ^~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:215:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 215 | if (data && (p = strchr(data, ' '))) { | ^ chat.c:216:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 216 | strcpy(outdata, "mesg:"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:218:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 218 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:218:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 218 | strcat(outdata, data); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:220:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] 220 | print_msg("locl:uSAGE: /MSG "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:226:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 226 | if (data && (p = strchr(data, ' '))) { | ^~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:226:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 226 | if (data && (p = strchr(data, ' '))) { | ^ chat.c:227:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 227 | strcpy(outdata, "pass:"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:229:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 229 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:229:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 229 | strcat(outdata, data); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:231:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] 231 | print_msg("locl:uSAGE: /PASS "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:237:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 237 | strcpy(outdata, "whol"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:242:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 242 | strcpy(outdata, "whoi:"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:243:14: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 243 | strcat(outdata, data); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:243:23: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 243 | strcat(outdata, data); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ chat.c:245:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] 245 | print_msg("locl:uSAGE: /WHOIS "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:258:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] 258 | print_msg("locl:aLREADY CONNECTED"); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:262:23: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 262 | if ((p = strchr(data, ' '))) { | ^~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ chat.c:262:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 262 | if ((p = strchr(data, ' '))) { | ^ chat.c:264:27: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 264 | cfg_port = strtol(p, (char **)NULL, 10); | ^ | | | unsigned char * In file included from chat.c:2: /usr/include/stdlib.h:177:48: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 177 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ chat.c:266:21: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] 266 | print_msg("locl:iLLEGAL PORT NUMBER"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:272:19: warning: pointer targets in passing argument 1 of 'cfg_sethost' differ in signedness [-Wpointer-sign] 272 | cfg_sethost(data); | ^~~~ | | | unsigned char * In file included from chat.c:6: config.h:30:24: note: expected 'char *' but argument is of type 'unsigned char *' 30 | void cfg_sethost(char *h); | ~~~~~~^ chat.c:273:19: warning: pointer targets in passing argument 1 of 'net_connect' differ in signedness [-Wpointer-sign] 273 | net_connect(cfg_host, cfg_port, &chat_print_net_status); | ^~~~~~~~ | | | char * In file included from chat.c:9: net.h:1:32: note: expected 'unsigned char *' but argument is of type 'char *' 1 | int net_connect(unsigned char *host, int port, void (*status)(int, char *)); | ~~~~~~~~~~~~~~~^~~~ chat.c:275:17: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] 275 | print_msg("locl:uSAGE: /CONNECT [port]"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c:281:15: warning: pointer targets in passing argument 1 of 'print_msg' differ in signedness [-Wpointer-sign] 281 | print_msg("locl:uNKNOWN COMMAND"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * chat.c:37:31: note: expected 'unsigned char *' but argument is of type 'char *' 37 | void print_msg(unsigned char *msg) { | ~~~~~~~~~~~~~~~^~~ chat.c: In function 'chat_inputkey': chat.c:310:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 310 | i = strlen(input_buffer + input_pos + input_offset) + 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 diskimage.c: In function 'find_file_entry': diskimage.c:585:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 585 | if (strncmp(rawname, rde->rawname, 16) == 0) { | ^~~~~~~ | | | unsigned char * In file included from diskimage.c:3: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ diskimage.c:585:33: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 585 | if (strncmp(rawname, rde->rawname, 16) == 0) { | ~~~^~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ diskimage.c: In function 'alloc_file_entry': diskimage.c:609:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 609 | if (strncmp(rawname, rde->rawname, 16) == 0) { | ^~~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ diskimage.c:609:33: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 609 | if (strncmp(rawname, rde->rawname, 16) == 0) { | ~~~^~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ diskimage.c:598:19: warning: variable 'lastts' set but not used [-Wunused-but-set-variable] 598 | TrackSector ts, lastts; | ^~~~~~ diskimage.c: In function 'di_open': diskimage.c:662:21: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 662 | if (strcmp("$", rawname) == 0) { | ^~~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ diskimage.c: In function 'di_track_blocks_free': diskimage.c:169:13: warning: 'bam' may be used uninitialized [-Wmaybe-uninitialized] 169 | return(bam[track * 4]); | ^ diskimage.c:145:18: note: 'bam' was declared here 145 | unsigned char *bam; | ^~~ gcc -o testkbd testkbd.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/cgterm-1.6/.package_note-cgterm-1.6-1.fc37.ppc64le.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/cgterm-1.6/.package_note-cgterm-1.6-1.fc37.ppc64le.ld `sdl-config --libs` 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/cgterm-1.6/.package_note-cgterm-1.6-1.fc37.ppc64le.ld `sdl-config --libs` In function 'punter_recv_string', inlined from 'punter_handshake' at punter.c:65:9: punter.c:52:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 52 | recvstring[4] = 0; | ^ punter.c: In function 'punter_handshake': punter.c:60:8: note: at offset 4 into destination object 'p' of size 4 60 | char p[4]; | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dpuJlV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le ++ dirname /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/cgterm-1.6/.package_note-cgterm-1.6-1.fc37.ppc64le.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cgterm-1.6 + mkdir -p /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le 'INSTALL=/usr/bin/install -p' PREFIX=/builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr mkdir /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr/bin > /dev/null 2>&1 mkdir /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr/share > /dev/null 2>&1 mkdir /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr/share/cgterm > /dev/null 2>&1 mkdir /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr/etc > /dev/null 2>&1 strip cgterm cp cgterm /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr/bin/ cp cgchat /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr/bin/ cp *.bmp *.kbd *.wav /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr/share/cgterm/ + rmdir /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr/etc + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 1.6-1.fc37 --unique-debug-suffix -1.6-1.fc37.ppc64le --unique-debug-src-base cgterm-1.6-1.fc37.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cgterm-1.6 extracting debug info from /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr/bin/cgchat original debug info size: 256kB, size after compression: 192kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 171 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: cgterm-1.6-1.fc37.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MptYsI + umask 022 + cd /builddir/build/BUILD + cd cgterm-1.6 + DOCDIR=/builddir/build/BUILDROOT/cgterm-1.6-1.fc37.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.fc37.ppc64le/usr/share/doc/cgterm + cp -pr cgchat.txt /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr/share/doc/cgterm + cp -pr cgterm.txt /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr/share/doc/cgterm + cp -pr history.txt /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le/usr/share/doc/cgterm + RPM_EC=0 ++ jobs -p + exit 0 Provides: cgterm = 1.6-1.fc37 cgterm(ppc-64) = 1.6-1.fc37 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) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: cgterm-debugsource-1.6-1.fc37.ppc64le Provides: cgterm-debugsource = 1.6-1.fc37 cgterm-debugsource(ppc-64) = 1.6-1.fc37 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.fc37.ppc64le Provides: cgterm-debuginfo = 1.6-1.fc37 cgterm-debuginfo(ppc-64) = 1.6-1.fc37 debuginfo(build-id) = f9731e0a3ec587faeed63436fbff0016048fbf86 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.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le Wrote: /builddir/build/RPMS/cgterm-debugsource-1.6-1.fc37.ppc64le.rpm Wrote: /builddir/build/RPMS/cgterm-debuginfo-1.6-1.fc37.ppc64le.rpm Wrote: /builddir/build/RPMS/cgterm-1.6-1.fc37.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NX3ESX + umask 022 + cd /builddir/build/BUILD + cd cgterm-1.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cgterm-1.6-1.fc37.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.1s6n3C + umask 022 + cd /builddir/build/BUILD + rm -rf cgterm-1.6 cgterm-1.6.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0