Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nagi.spec'], chrootPath='/var/lib/mock/f40-build-761061-121293/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nagi.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'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/nagi-2.06-34.fc40.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nagi.spec'], chrootPath='/var/lib/mock/f40-build-761061-121293/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nagi.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'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oa4ISS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nagi + /usr/bin/mkdir -p nagi + cd nagi + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nagi_src_-_2002-11-14.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /builddir/build/BUILD/nagi-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/nagi-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (nagi-2.06-debian.patch):' Patch #0 (nagi-2.06-debian.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=2 patching file src/initialise.c patching file src/sys/chargen.c patching file src/tools/savefont.c patching file src/version/standard.c + echo 'Patch #1 (nagi-2.06-build_with_gcc-3.4.patch):' Patch #1 (nagi-2.06-build_with_gcc-3.4.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=2 patching file src/objects.c patching file src/ui/cmd_input.c patching file src/ui/events.c patching file src/ui/list_box.c patching file src/ui/menu.c patching file src/ui/msg.c patching file src/view/obj_loop.c patching file src/view/obj_motion.c patching file src/view/obj_proximity.c + echo 'Patch #2 (nagi-2.06-build_with_gcc-4.0.patch):' Patch #2 (nagi-2.06-build_with_gcc-4.0.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=2 patching file src/Makefile.common patching file src/initialise.c patching file src/sys/agi_file.c patching file src/sys/memory.c patching file src/version/standard.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.y8ICJk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nagi + export 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon' + cd src + make -f Makefile.linux gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c base.c -o base.o base.c:16:2: warning: #warning base.c needs work [-Wcpp] 16 | #warning base.c needs work | ^~~~~~~ base.c: In function ‘cmd_pause’: base.c:34:21: warning: pointer targets in passing argument 1 of ‘message_box’ differ in signedness [-Wpointer-sign] 34 | message_box(" Game paused.\nPress Enter to continue." ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from base.c:14: ui/msg.h:10:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ base.c: In function ‘cmd_quit’: base.c:45:25: warning: pointer targets in passing argument 1 of ‘message_box’ differ in signedness [-Wpointer-sign] 45 | if (message_box("Press ENTER to quit.\nPress ESC to keep playing.") == 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/msg.h:10:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c debug.c -o debug.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c decrypt.c -o decrypt.o decrypt.c: In function ‘decrypt_string’: decrypt.c:10:24: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 10 | u8 *d_string = ""; | ^~ decrypt.c:18:34: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 18 | d_string = DECRYPT_STRING; | ^ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c flags.c -o flags.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c nagi_main.c -o nagi_main.o nagi_main.c: In function ‘main’: nagi_main.c:76:22: warning: pointer targets in passing argument 1 of ‘dir_init’ differ in signedness [-Wpointer-sign] 76 | dir_init(argv[0]); | ~~~~^~~ | | | char * In file included from nagi_main.c:53: sys/sys_dir.h:20:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 20 | extern void dir_init(u8 *argv0); | ~~~~^~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c initialise.c -o initialise.o initialise.c: In function ‘nagi_init’: initialise.c:108:29: warning: pointer targets in passing argument 1 of ‘ini_open’ differ in signedness [-Wpointer-sign] 108 | ini_nagi = ini_open(tmp); | ^~~ | | | char * In file included from initialise.c:56: sys/ini_config.h:24:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 24 | extern INI *ini_open(u8 *ini_name); | ~~~~^~~~~~~~ initialise.c:170:2: warning: #warning keyboard needs a bit of cleanup [-Wcpp] 170 | #warning keyboard needs a bit of cleanup | ^~~~~~~ initialise.c: In function ‘agi_init’: initialise.c:208:36: warning: pointer targets in passing argument 1 of ‘file_load’ differ in signedness [-Wpointer-sign] 208 | words_tok_data = file_load("words.tok", 0); | ^~~~~~~~~~~ | | | char * In file included from initialise.c:30: res/res.h:26:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 26 | extern u8 *file_load(u8 *name, u8 *buff); | ~~~~^~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c agi_string.c -o agi_string.o agi_string.c: In function ‘cmd_set_string’: agi_string.c:95:17: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 95 | strncpy(di, logic_msg(*(c++)), STRING_SIZE); | ^~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/13/include/stdint.h:9, from /usr/include/SDL/SDL_config-riscv64.h:48, from /usr/include/SDL/SDL_config.h:74, from /usr/include/SDL/SDL_stdinc.h:29, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:95:21: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 95 | strncpy(di, logic_msg(*(c++)), STRING_SIZE); | ^~~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c: In function ‘cmd_word_to_string’: agi_string.c:103:17: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 103 | strncpy(di, word_string[*(c++)], STRING_SIZE); | ^~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:103:32: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 103 | strncpy(di, word_string[*(c++)], STRING_SIZE); | ~~~~~~~~~~~^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c: In function ‘string_edit_old’: agi_string.c:120:17: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 120 | strncpy(buff, str, len-1); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:120:23: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 120 | strncpy(buff, str, len-1); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:122:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 122 | str_cur = buff + strlen(buff); | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:35: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agi_string.c:152:40: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 152 | strcpy(str, buff); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c:152:45: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 152 | strcpy(str, buff); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c: In function ‘cmd_set_game_id’: agi_string.c:176:22: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 176 | strncpy(state.id, logic_msg(*(c++)), ID_SIZE); | ~~~~~^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:176:27: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 176 | strncpy(state.id, logic_msg(*(c++)), ID_SIZE); | ^~~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c: In function ‘stredit_disp’: agi_string.c:267:44: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 267 | if ((str_size<=disp_size)||(strlen(str_edit) < disp_size)) | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agi_string.c:270:46: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 270 | str_disp = str_edit + strlen(str_edit) - ((percent*disp_size)/100); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agi_string.c: In function ‘string_edit’: agi_string.c:297:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 297 | strcpy(str_edit, str); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c:297:26: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 297 | strcpy(str_edit, str); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c:298:38: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 298 | str_tail = str_edit + strlen(str_edit); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agi_string.c:339:40: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 339 | strcpy(str, str_edit); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c:339:45: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 339 | strcpy(str, str_edit); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c new_room.c -o new_room.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c objects.c -o objects.o objects.c: In function ‘object_file_load’: objects.c:64:30: warning: pointer targets in passing argument 1 of ‘file_load’ differ in signedness [-Wpointer-sign] 64 | obj_data = file_load("object", 0); | ^~~~~~~~ | | | char * In file included from objects.c:15: res/res.h:26:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 26 | extern u8 *file_load(u8 *name, u8 *buff); | ~~~~^~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c state_io.c -o state_io.o state_io.c: In function ‘cmd_restart_game’: state_io.c:74:43: warning: pointer targets in passing argument 1 of ‘message_box’ differ in signedness [-Wpointer-sign] 74 | user_result = message_box("Press ENTER to restart\nthe game.\n\nPress ESC to continue\nthis game."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from state_io.c:33: ui/msg.h:10:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ state_io.c: In function ‘cmd_restore_game’: state_io.c:123:41: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 123 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from state_io.c:11: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:123:66: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 123 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /usr/include/stdlib.h:706, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from agi.h:5, from state_io.c:13: state_io.c:124:64: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 124 | msg = alloca(200 + strlen(save_filename->data)); | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:126:59: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 126 | msg = alloca(200 + strlen(save_dir->data)); | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:129:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 129 | sprintf(msg, "About to restore the game\ndescribed as:\n\n%s\n\nfrom file:\n %s\n\n%s", | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from state_io.c:10: /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_io.c:136:50: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 136 | rest_stream = fopen(save_filename->data, "rb"); | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/stdio.h:264:44: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 264 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ state_io.c:139:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 139 | sprintf(msg, "Can't open file:\n %s", save_filename->data); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_io.c:159:37: warning: pointer targets in passing argument 1 of ‘message_box’ differ in signedness [-Wpointer-sign] 159 | message_box("Error in restoring game.\nPress ENTER to quit."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/msg.h:10:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ state_io.c: In function ‘cmd_unknown_170’: state_io.c:212:17: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 212 | strncpy(state_name_auto, state.string[*(c++)], 31); | ^~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ state_io.c:212:46: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 212 | strncpy(state_name_auto, state.string[*(c++)], 31); | ~~~~~~~~~~~~^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ state_io.c: In function ‘cmd_save_game’: state_io.c:235:41: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 235 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:235:66: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 235 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:236:64: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 236 | msg = alloca(200 + strlen(save_filename->data)); | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:238:59: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 238 | msg = alloca(200 + strlen(save_dir->data)); | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:241:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 241 | sprintf(msg, "About to save the game\ndescribed as:\n\n%s\n\nin file:\n %s\n\n%s", | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_io.c:250:50: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 250 | save_stream = fopen(save_filename->data, "wb"); | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/stdio.h:264:44: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 264 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ state_io.c:253:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 253 | sprintf(msg, "The directory\n %s\n is full or the disk is write-protected.\nPress ENTER to continue." | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_io.c:275:45: warning: pointer targets in passing argument 1 of ‘remove’ differ in signedness [-Wpointer-sign] 275 | remove(save_filename->data); | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/stdio.h:158:32: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 158 | extern int remove (const char *__filename) __THROW; | ~~~~~~~~~~~~^~~~~~~~~~ state_io.c:276:37: warning: pointer targets in passing argument 1 of ‘message_box’ differ in signedness [-Wpointer-sign] 276 | message_box("The disk is full.\nPress ENTER to continue."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/msg.h:10:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ state_io.c: In function ‘state_reload’: state_io.c:330:2: warning: #warning clear_memory() not implemented [-Wcpp] 330 | #warning clear_memory() not implemented | ^~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c agi.c -o agi.o agi.c:125:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 125 | {"log_debug", "nagi", CT_BOOL, b:{&c_nagi_log_debug, 0} }, | ^~~~~~~~~~~ agi.c:125:10: note: (near initialization for ‘config_nagi[0].key’) agi.c:125:23: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 125 | {"log_debug", "nagi", CT_BOOL, b:{&c_nagi_log_debug, 0} }, | ^~~~~~ agi.c:125:23: note: (near initialization for ‘config_nagi[0].section’) agi.c:126:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 126 | {"console", 0, CT_BOOL, b:{&c_nagi_console, 1} }, | ^~~~~~~~~ agi.c:126:10: note: (near initialization for ‘config_nagi[1].key’) agi.c:127:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 127 | {"font_benchmark", 0, CT_BOOL, b:{&c_nagi_font_benchmark, 0} }, | ^~~~~~~~~~~~~~~~ agi.c:127:10: note: (near initialization for ‘config_nagi[2].key’) agi.c:128:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 128 | {"crc_print", 0, CT_BOOL, b:{&c_nagi_crc_print, 0} }, | ^~~~~~~~~~~ agi.c:128:10: note: (near initialization for ‘config_nagi[3].key’) agi.c:129:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 129 | {"dir_list", 0, CT_STRING, s:{&c_nagi_dir_list, "."} }, | ^~~~~~~~~~ agi.c:129:10: note: (near initialization for ‘config_nagi[4].key’) agi.c:129:57: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 129 | {"dir_list", 0, CT_STRING, s:{&c_nagi_dir_list, "."} }, | ^~~ agi.c:129:57: note: (near initialization for ‘config_nagi[4].s.def’) agi.c:130:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 130 | {"sort", 0, CT_STRING, s:{&c_nagi_sort, "alpha"} }, | ^~~~~~ agi.c:130:10: note: (near initialization for ‘config_nagi[5].key’) agi.c:130:49: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 130 | {"sort", 0, CT_STRING, s:{&c_nagi_sort, "alpha"} }, | ^~~~~~~ agi.c:130:49: note: (near initialization for ‘config_nagi[5].s.def’) agi.c:131:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 131 | {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, | ^~~~~~~~ agi.c:131:10: note: (near initialization for ‘config_nagi[6].key’) agi.c:131:20: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 131 | {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, | ^~~~~ agi.c:131:20: note: (near initialization for ‘config_nagi[6].section’) agi.c:131:56: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 131 | {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, | ^~~~~ agi.c:131:56: note: (near initialization for ‘config_nagi[6].s.def’) agi.c:132:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 132 | {"scale", 0, CT_INT, i:{&c_vid_scale, 2, 1, -1} }, | ^~~~~~~ agi.c:132:10: note: (near initialization for ‘config_nagi[7].key’) agi.c:133:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 133 | {"full_screen", 0, CT_BOOL, b:{&c_vid_full_screen, 0} }, | ^~~~~~~~~~~~~ agi.c:133:10: note: (near initialization for ‘config_nagi[8].key’) agi.c:134:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 134 | {"renderer", 0, CT_STRING, s:{&c_vid_renderer, "ega"} }, | ^~~~~~~~~~ agi.c:134:10: note: (near initialization for ‘config_nagi[9].key’) agi.c:134:56: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 134 | {"renderer", 0, CT_STRING, s:{&c_vid_renderer, "ega"} }, | ^~~~~ agi.c:134:56: note: (near initialization for ‘config_nagi[9].s.def’) agi.c:135:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 135 | {"pal_16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, | ^~~~~~~~ agi.c:135:10: note: (near initialization for ‘config_nagi[10].key’) agi.c:135:52: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 135 | {"pal_16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, | ^~~~~~~~~~~~ agi.c:135:52: note: (near initialization for ‘config_nagi[10].s.def’) agi.c:136:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 136 | {"pal_text", 0, CT_STRING, s:{&c_vid_pal_text, "pal_text.pal"} }, | ^~~~~~~~~~ agi.c:136:10: note: (near initialization for ‘config_nagi[11].key’) agi.c:136:56: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 136 | {"pal_text", 0, CT_STRING, s:{&c_vid_pal_text, "pal_text.pal"} }, | ^~~~~~~~~~~~~~ agi.c:136:56: note: (near initialization for ‘config_nagi[11].s.def’) agi.c:137:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 137 | {"pal_cga0", 0, CT_STRING, s:{&c_vid_pal_cga0, "pal_cga0.pal"} }, | ^~~~~~~~~~ agi.c:137:10: note: (near initialization for ‘config_nagi[12].key’) agi.c:137:56: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 137 | {"pal_cga0", 0, CT_STRING, s:{&c_vid_pal_cga0, "pal_cga0.pal"} }, | ^~~~~~~~~~~~~~ agi.c:137:56: note: (near initialization for ‘config_nagi[12].s.def’) agi.c:138:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 138 | {"pal_cga1", 0, CT_STRING, s:{&c_vid_pal_cga1, "pal_cga1.pal"} }, | ^~~~~~~~~~ agi.c:138:10: note: (near initialization for ‘config_nagi[13].key’) agi.c:138:56: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 138 | {"pal_cga1", 0, CT_STRING, s:{&c_vid_pal_cga1, "pal_cga1.pal"} }, | ^~~~~~~~~~~~~~ agi.c:138:56: note: (near initialization for ‘config_nagi[13].s.def’) agi.c:139:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 139 | {"pal_bw", 0, CT_STRING, s:{&c_vid_pal_bw, "pal_bw.pal"} }, | ^~~~~~~~ agi.c:139:10: note: (near initialization for ‘config_nagi[14].key’) agi.c:139:52: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 139 | {"pal_bw", 0, CT_STRING, s:{&c_vid_pal_bw, "pal_bw.pal"} }, | ^~~~~~~~~~~~ agi.c:139:52: note: (near initialization for ‘config_nagi[14].s.def’) agi.c:140:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 140 | {"fonts_bitmap", 0, CT_STRING, s:{&c_vid_fonts_bitmap, "font_4x8.nbf;font_8x8.nbf;font_16x16.nbf"} }, | ^~~~~~~~~~~~~~ agi.c:140:10: note: (near initialization for ‘config_nagi[15].key’) agi.c:140:64: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 140 | {"fonts_bitmap", 0, CT_STRING, s:{&c_vid_fonts_bitmap, "font_4x8.nbf;font_8x8.nbf;font_16x16.nbf"} }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agi.c:140:64: note: (near initialization for ‘config_nagi[15].s.def’) agi.c:141:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 141 | {"fonts_vector", 0, CT_STRING, s:{&c_vid_fonts_vector, "none.nvf"} }, | ^~~~~~~~~~~~~~ agi.c:141:10: note: (near initialization for ‘config_nagi[16].key’) agi.c:141:64: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 141 | {"fonts_vector", 0, CT_STRING, s:{&c_vid_fonts_vector, "none.nvf"} }, | ^~~~~~~~~~ agi.c:141:64: note: (near initialization for ‘config_nagi[16].s.def’) agi.c:142:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 142 | {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, | ^~~~~~~~ agi.c:142:10: note: (near initialization for ‘config_nagi[17].key’) agi.c:142:20: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 142 | {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, | ^~~~~ agi.c:142:20: note: (near initialization for ‘config_nagi[17].section’) agi.c:142:56: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 142 | {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, | ^~~~~ agi.c:142:56: note: (near initialization for ‘config_nagi[17].s.def’) agi.c:143:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 143 | {"enable", 0, CT_BOOL, b:{&c_snd_enable, 1} }, | ^~~~~~~~ agi.c:143:10: note: (near initialization for ‘config_nagi[18].key’) agi.c:144:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 144 | {"single", 0, CT_BOOL, b:{&c_snd_single, 0} }, | ^~~~~~~~ agi.c:144:10: note: (near initialization for ‘config_nagi[19].key’) agi.c:145:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 145 | {"dissolve", 0, CT_INT, i:{&c_snd_dissolve, 3, 0, 3} }, | ^~~~~~~~~~ agi.c:145:10: note: (near initialization for ‘config_nagi[20].key’) agi.c:146:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 146 | {"read_var", 0, CT_BOOL, b:{&c_snd_read_var, 0} }, | ^~~~~~~~~~ agi.c:146:10: note: (near initialization for ‘config_nagi[21].key’) agi.c:147:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 147 | {"volume", 0, CT_INT, i:{&c_snd_volume, 0x7FFF, 0, 0x7FFF} }, | ^~~~~~~~ agi.c:147:10: note: (near initialization for ‘config_nagi[22].key’) agi.c:148:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 148 | {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, | ^~~~~~~~~~~ agi.c:148:10: note: (near initialization for ‘config_nagi[23].key’) agi.c:148:23: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 148 | {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, | ^~~~~ agi.c:148:23: note: (near initialization for ‘config_nagi[23].section’) agi.c:148:62: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 148 | {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, | ^~ agi.c:148:62: note: (near initialization for ‘config_nagi[23].s.def’) agi.c:149:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 149 | {"drv_sound", 0, CT_STRING, s:{&c_sdl_drv_sound, ""} }, | ^~~~~~~~~~~ agi.c:149:10: note: (near initialization for ‘config_nagi[24].key’) agi.c:149:58: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 149 | {"drv_sound", 0, CT_STRING, s:{&c_sdl_drv_sound, ""} }, | ^~ agi.c:149:58: note: (near initialization for ‘config_nagi[24].s.def’) agi.c:156:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 156 | {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, | ^~~~~~~~~~ agi.c:156:10: note: (near initialization for ‘config_standard[0].key’) agi.c:156:22: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 156 | {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, | ^~~~~~~~~~ agi.c:156:22: note: (near initialization for ‘config_standard[0].section’) agi.c:156:70: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 156 | {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, | ^~~~~~ agi.c:156:70: note: (near initialization for ‘config_standard[0].s.def’) agi.c:157:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 157 | {"agi_list", 0, CT_STRING, s:{&c_standard_agi_list, "pc_2_936;pc_3_002_149;amiga_2;amiga_3"} }, | ^~~~~~~~~~ agi.c:157:10: note: (near initialization for ‘config_standard[1].key’) agi.c:157:61: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 157 | {"agi_list", 0, CT_STRING, s:{&c_standard_agi_list, "pc_2_936;pc_3_002_149;amiga_2;amiga_3"} }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agi.c:157:61: note: (near initialization for ‘config_standard[1].s.def’) gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c state_info.c -o state_info.o agi.c:158:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 158 | {"force", 0, CT_STRING, s:{&c_standard_force, "not defined"} }, | ^~~~~~~ agi.c:158:10: note: (near initialization for ‘config_standard[2].key’) agi.c:158:55: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 158 | {"force", 0, CT_STRING, s:{&c_standard_force, "not defined"} }, | ^~~~~~~~~~~~~ agi.c:158:55: note: (near initialization for ‘config_standard[2].s.def’) agi.c:159:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 159 | {"v2_default", 0, CT_STRING, s:{&c_standard_v2_default, "pc_2_936"} }, | ^~~~~~~~~~~~ agi.c:159:10: note: (near initialization for ‘config_standard[3].key’) agi.c:159:65: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 159 | {"v2_default", 0, CT_STRING, s:{&c_standard_v2_default, "pc_2_936"} }, | ^~~~~~~~~~ agi.c:159:65: note: (near initialization for ‘config_standard[3].s.def’) agi.c:160:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 160 | {"v3_default", 0, CT_STRING, s:{&c_standard_v3_default, "pc_3_002_149"} }, | ^~~~~~~~~~~~ agi.c:160:10: note: (near initialization for ‘config_standard[4].key’) agi.c:160:65: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 160 | {"v3_default", 0, CT_STRING, s:{&c_standard_v3_default, "pc_3_002_149"} }, | ^~~~~~~~~~~~~~ agi.c:160:65: note: (near initialization for ‘config_standard[4].s.def’) agi.c:161:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 161 | {"amiga_v2_default", 0, CT_STRING, s:{&c_standard_amiga_v2_default, "amiga_2"} }, | ^~~~~~~~~~~~~~~~~~ agi.c:161:10: note: (near initialization for ‘config_standard[5].key’) agi.c:161:77: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 161 | {"amiga_v2_default", 0, CT_STRING, s:{&c_standard_amiga_v2_default, "amiga_2"} }, | ^~~~~~~~~ agi.c:161:77: note: (near initialization for ‘config_standard[5].s.def’) agi.c:162:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 162 | {"amiga_v3_default", 0, CT_STRING, s:{&c_standard_amiga_v3_default, "amiga_3"} }, | ^~~~~~~~~~~~~~~~~~ agi.c:162:10: note: (near initialization for ‘config_standard[6].key’) agi.c:162:77: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 162 | {"amiga_v3_default", 0, CT_STRING, s:{&c_standard_amiga_v3_default, "amiga_3"} }, | ^~~~~~~~~ agi.c:162:77: note: (near initialization for ‘config_standard[6].s.def’) agi.c:169:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 169 | {"version_info", 0, CT_STRING, s:{&c_game_version_info, 0} }, | ^~~~~~~~~~~~~~ agi.c:169:10: note: (near initialization for ‘config_game[0].key’) agi.c:170:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 170 | {"mouse", 0, CT_INT, i:{&c_game_mouse, 0, 0, 20} }, | ^~~~~~~ agi.c:170:10: note: (near initialization for ‘config_game[1].key’) agi.c:171:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 171 | {"loop_update", 0, CT_INT, i:{&c_game_loop_update, 0, 0, 4} }, | ^~~~~~~~~~~~~ agi.c:171:10: note: (near initialization for ‘config_game[2].key’) agi.c:173:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 173 | {"id", 0, CT_STRING, s:{&c_game_id, 0} }, | ^~~~ agi.c:173:10: note: (near initialization for ‘config_game[3].key’) agi.c:174:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 174 | {"object_decrypt", 0, CT_BOOL, b:{&c_game_object_decrypt, 1} }, | ^~~~~~~~~~~~~~~~ agi.c:174:10: note: (near initialization for ‘config_game[4].key’) agi.c:175:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 175 | {"object_packed", 0, CT_BOOL, b:{&c_game_object_packed, 0} }, | ^~~~~~~~~~~~~~~ agi.c:175:10: note: (near initialization for ‘config_game[5].key’) agi.c:176:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 176 | {"compression", 0, CT_BOOL, b:{&c_game_compression, 0} }, | ^~~~~~~~~~~~~ agi.c:176:10: note: (near initialization for ‘config_game[6].key’) agi.c:177:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 177 | {"dir_type", 0, CT_INT, i:{&c_game_dir_type, 1, 0, 3} }, | ^~~~~~~~~~ agi.c:177:10: note: (near initialization for ‘config_game[7].key’) state_info.c: In function ‘state_get_info’: state_info.c:104:44: warning: pointer targets in passing argument 1 of ‘state_get_text’ differ in signedness [-Wpointer-sign] 104 | if (state_get_text("How would you like to describe this saved game?\n\n", save_description, sizeof(save_description)) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * state_info.c:60:24: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 60 | u16 state_get_text(u8 *msg, u8 *str, u16 str_alloc); | ~~~~^~~ state_info.c: In function ‘state_get_path’: state_info.c:169:36: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 169 | sprintf(msg->data, | ~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/13/include/stdint.h:9, from /usr/include/SDL/SDL_config-riscv64.h:48, from /usr/include/SDL/SDL_config.h:74, from /usr/include/SDL/SDL_stdinc.h:29, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from agi.h:5, from state_info.c:13: /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_info.c:173:36: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 173 | sprintf(msg->data, | ~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_info.c:188:60: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 188 | vstring_set_size(msg, 100 + strlen(save_dir->data)); | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:35: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:190:28: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 190 | sprintf(msg->data, | ~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ In file included from /usr/include/stdlib.h:706, from /usr/include/SDL/SDL_stdinc.h:34: state_info.c: In function ‘state_get_filename’: state_info.c:288:55: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 288 | temp1f0 = alloca(100 + strlen(save_dir->data)); | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:290:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 290 | sprintf(temp1f0, "There are no games to\nrestore in\n\n %s\n\nPress ENTER to continue.", | ^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_info.c:298:24: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 298 | strcpy(save_description, state_name_auto); | ^~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:298:42: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 298 | strcpy(save_description, state_name_auto); | ^~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:300:36: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 300 | if (strcmp(state_name_auto, temp18c[temp1f2].diz) == 0) | ^~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c:300:69: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 300 | if (strcmp(state_name_auto, temp18c[temp1f2].diz) == 0) | ~~~~~~~~~~~~~~~~^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c:305:64: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 305 | if (strcmp("", temp18c[temp1f2].diz) == 0) | ~~~~~~~~~~~~~~~~^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c:322:42: warning: pointer targets in passing argument 1 of ‘message_box_draw’ differ in signedness [-Wpointer-sign] 322 | message_box_draw("Use the arrow keys to select the slot in which you wish to save the game. Press ENTER to save in the slot, ESC to not save a game.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from state_info.c:27: ui/msg.h:11:34: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 11 | extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); | ~~~~^~~ state_info.c:325:42: warning: pointer targets in passing argument 1 of ‘message_box_draw’ differ in signedness [-Wpointer-sign] 325 | message_box_draw("Use the arrow keys to select the game which you wish to restore. Press ENTER to restore the game, ESC to not restore a game.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/msg.h:11:34: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 11 | extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); | ~~~~^~~ state_info.c:331:34: warning: pointer targets in passing argument 1 of ‘message_box_draw’ differ in signedness [-Wpointer-sign] 331 | message_box_draw(" Sorry, this disk is full.\nPosition pointer and press ENTER\n to overwrite a saved game\nor press ESC and try again \n with another disk\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/msg.h:11:34: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 11 | extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); | ~~~~^~~ state_info.c:337:34: warning: pointer targets in passing argument 1 of ‘message_box_draw’ differ in signedness [-Wpointer-sign] 337 | message_box_draw("Use the arrow keys to move\n the pointer to your name.\nThen press ENTER\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/msg.h:11:34: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 11 | extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); | ~~~~^~~ state_info.c:347:28: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 347 | agi_printf(" - %s", temp18c[temp1f2].diz); | ^~~~~~~ | | | char * In file included from state_info.c:30: ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ state_info.c:363:64: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 363 | strcpy(save_description, temp18c[temp1f2].diz); | ^~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:363:98: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 363 | strcpy(save_description, temp18c[temp1f2].diz); | ~~~~~~~~~~~~~~~~^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:367:72: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 367 | strcpy(state_name_auto, temp18c[temp1f2].diz); | ^~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:367:105: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 367 | strcpy(state_name_auto, temp18c[temp1f2].diz); | ~~~~~~~~~~~~~~~~^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c: In function ‘state_get_diz’: state_info.c:434:39: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 434 | state_stream = fopen(name_temp->data, "rb"); | ~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:33: /usr/include/stdio.h:264:44: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 264 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ state_info.c:449:20: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 449 | if (strcmp(state_id, state.id) != 0) | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c:449:35: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 449 | if (strcmp(state_id, state.id) != 0) | ~~~~~^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c: In function ‘state_name_create’: state_info.c:481:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 481 | if ((strlen(save_dir->data)>0)&&(strchr("\\/", save_dir->data[strlen(save_dir->data)-1]) != 0)) | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:481:86: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 481 | if ((strlen(save_dir->data)>0)&&(strchr("\\/", save_dir->data[strlen(save_dir->data)-1]) != 0)) | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:482:25: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 482 | dir_sep = ""; | ^ state_info.c:483:33: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 483 | else if (strchr(save_dir->data, '/')==0) | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ state_info.c:484:25: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 484 | dir_sep = "\\"; | ^ state_info.c:486:25: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 486 | dir_sep = "/"; | ^ state_info.c:493:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 493 | sprintf(filename->data, "%s%s%ssg.%d", save_dir->data, dir_sep, string_lower(state.id), save_num); | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_info.c: In function ‘state_dir_check’: state_info.c:545:38: warning: pointer targets in passing argument 1 of ‘strspn’ differ in signedness [-Wpointer-sign] 545 | vstring_shift(dir, strspn(dir->data, " ")); | ~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:297:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 297 | extern size_t strspn (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ state_info.c:547:23: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 547 | if (strlen(dir->data) == 0) | ~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:550:32: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 550 | path_size = strlen( dir->data); | ~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:569:50: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 569 | if ( (dir->data[1] == ':') && (strlen(dir->data)==2) ) | ~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c: In function ‘state_get_diz’: state_info.c:444:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 444 | fread(s_item->diz, sizeof(u8), sizeof(s_item->diz), state_stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state_info.c:446:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 446 | fread(state_id, sizeof(u8), sizeof(state.id), state_stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c obj_show.c -o obj_show.o obj_show.c: In function ‘obj_show’: obj_show.c:65:29: warning: pointer targets in passing argument 1 of ‘message_box’ differ in signedness [-Wpointer-sign] 65 | message_box("Not now."); | ^~~~~~~~~~ | | | char * In file included from obj_show.c:18: ui/msg.h:10:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ obj_show.c:53:13: warning: variable ‘obj_size’ set but not used [-Wunused-but-set-variable] 53 | u16 obj_size; | ^~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c game_id.c -o game_id.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c cmd_misc.c -o cmd_misc.o cmd_misc.c: In function ‘cmd_version’: cmd_misc.c:16:21: warning: pointer targets in passing argument 1 of ‘message_box’ differ in signedness [-Wpointer-sign] 16 | message_box(" NAGI\nBy Nick Sonneveld"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cmd_misc.c:10: ui/msg.h:10:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c trace.c -o trace.o trace.c: In function ‘trace_add’: trace.c:184:28: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 184 | agi_printf("=========================="); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from trace.c:33: ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:190:28: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 190 | agi_printf("%d: cmd.%d", logic_orig->num, op); | ^~~~~~~~~~~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:195:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 195 | agi_printf("%d: %s", logic_orig->num, "return"); | ^~~~~~~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:200:44: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 200 | agi_printf("%d: %s", logic_orig->num, logic_msg(op + table_offset)); | ^~~~~~~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:204:52: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 204 | agi_printf("%d: eval.%d", logic_orig->num, op); | ^~~~~~~~~~~~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:206:52: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 206 | agi_printf("%d: cmd.%d", logic_orig->num, op); | ^~~~~~~~~~~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:219:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 219 | agi_printf(" :%c", 'F'); | ^~~~~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:221:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 221 | agi_printf(" :%c", 'T'); | ^~~~~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c: In function ‘trace_var_print’: trace.c:266:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 266 | agi_printf("%d", var_value); | ^~~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:268:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 268 | agi_printf("%u", var_value); | ^~~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:288:44: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 288 | agi_printf("%d",var_value); | ^~~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:290:44: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 290 | agi_printf("%d", state.var[var_value]); | ^~~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c config.c -o config.o config.c: In function ‘config_load’: config.c:48:68: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 48 | *conf_ptr->b.ptr = (strtol(key_data, 0, 10) != 0); | ^~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from agi.h:5, from config.c:6: /usr/include/stdlib.h:177:48: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 177 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ config.c:54:64: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 54 | if ((key_data != 0) && (strcmp(key_data, conf_ptr->s.def)) ) | ^~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:35: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ config.c:54:85: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 54 | if ((key_data != 0) && (strcmp(key_data, conf_ptr->s.def)) ) | ~~~~~~~~~~~^~~~ | | | CONF_STRING {aka unsigned char *} /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘CONF_STRING’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ config.c:55:69: warning: pointer targets in passing argument 1 of ‘strdup’ differ in signedness [-Wpointer-sign] 55 | *(conf_ptr->s.ptr) = strdup(key_data); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:187:34: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ config.c:55:60: warning: pointer targets in assignment from ‘char *’ to ‘CONF_STRING’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 55 | *(conf_ptr->s.ptr) = strdup(key_data); | ^ config.c:63:77: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 63 | *conf_ptr->i.ptr = (CONF_INT)strtol(key_data, 0, 0); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/stdlib.h:177:48: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 177 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c list.c -o list.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c log.c -o log.o log.c: In function ‘cmd_log’: log.c:51:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 51 | sprintf(msg, "\n\nRoom %d\nInput line: %s\n", state.var[0], | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/13/include/stdint.h:9, from /usr/include/SDL/SDL_config-riscv64.h:48, from /usr/include/SDL/SDL_config.h:74, from /usr/include/SDL/SDL_stdinc.h:29, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from agi.h:5, from log.c:6: /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ log.c:53:44: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 53 | fwrite(msg, strlen(msg), 1, log_stream); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:35: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ log.c:55:44: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 55 | fwrite(msg, strlen(msg), 1, log_stream); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c version/agi_crc.c -o version/agi_crc.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c version/standard.c -o version/standard.o version/standard.c: In function ‘stand_sep’: version/standard.c:136:25: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 136 | st_end = strstr(ptr, ",\0\n\r"); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:35, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:350:34: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ version/standard.c:136:16: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 136 | st_end = strstr(ptr, ",\0\n\r"); | ^ version/standard.c: In function ‘dir_get_info’: version/standard.c:165:26: warning: pointer targets in passing argument 1 of ‘file_crc_gen’ differ in signedness [-Wpointer-sign] 165 | if (file_crc_gen("object", &agicrc->object) != 0) | ^~~~~~~~ | | | char * version/standard.c:103:22: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:169:26: warning: pointer targets in passing argument 1 of ‘file_crc_gen’ differ in signedness [-Wpointer-sign] 169 | if (file_crc_gen("words.tok", &agicrc->words) != 0) | ^~~~~~~~~~~ | | | char * version/standard.c:103:22: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:173:26: warning: pointer targets in passing argument 1 of ‘file_crc_gen’ differ in signedness [-Wpointer-sign] 173 | if (file_crc_gen("vol.0", &agicrc->vol[0]) == 0) | ^~~~~~~ | | | char * version/standard.c:103:22: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:183:47: warning: pointer targets in passing argument 2 of ‘find_first’ differ in signedness [-Wpointer-sign] 183 | fname = find_first(&find_vol, "*vol.0"); | ^~~~~~~~ | | | char * In file included from version/standard.c:31: version/../sys/agi_file.h:34:40: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 34 | extern u8 *find_first(FIND *token, u8 *name); | ~~~~^~~~ version/standard.c:188:39: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 188 | tail = strstr(fname, "vol.0"); // get id | ^~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:350:34: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ version/standard.c:188:30: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 188 | tail = strstr(fname, "vol.0"); // get id | ^ version/standard.c:196:52: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 196 | strcpy(info->file_id, fname); | ~~~~^~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/13/include/stdint.h:9, from /usr/include/SDL/SDL_config-riscv64.h:48, from /usr/include/SDL/SDL_config.h:74, from /usr/include/SDL/SDL_stdinc.h:29: /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:196:63: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 196 | strcpy(info->file_id, fname); | ^~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:211:28: warning: pointer targets in passing argument 1 of ‘file_crc_gen’ differ in signedness [-Wpointer-sign] 211 | if ( (file_crc_gen("logdir", &agicrc->dir.log) | | ^~~~~~~~ | | | char * version/standard.c:103:22: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:212:30: warning: pointer targets in passing argument 1 of ‘file_crc_gen’ differ in signedness [-Wpointer-sign] 212 | file_crc_gen("snddir", &agicrc->dir.snd) | | ^~~~~~~~ | | | char * version/standard.c:103:22: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:213:30: warning: pointer targets in passing argument 1 of ‘file_crc_gen’ differ in signedness [-Wpointer-sign] 213 | file_crc_gen("viewdir", &agicrc->dir.view) | | ^~~~~~~~~ | | | char * version/standard.c:103:22: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:214:30: warning: pointer targets in passing argument 1 of ‘file_crc_gen’ differ in signedness [-Wpointer-sign] 214 | file_crc_gen("picdir", &agicrc->dir.pic)) == 0) | ^~~~~~~~ | | | char * version/standard.c:103:22: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:221:31: warning: pointer targets in passing argument 1 of ‘file_crc_gen’ differ in signedness [-Wpointer-sign] 221 | else if (file_crc_gen("dirs", &agicrc->dir_comb) == 0) | ^~~~~~ | | | char * version/standard.c:103:22: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:229:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 229 | sprintf(name, "%sdir", info->file_id); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:243:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 243 | sprintf(name, "%svol.%d", info->file_id, i); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c: In function ‘crc_print’: version/standard.c:270:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 270 | sprintf(key_vol, "crc_vol_%d", i); | ^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c: In function ‘crc_compare’: version/standard.c:303:45: warning: pointer targets in passing argument 2 of ‘ini_key’ differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:325:9: note: in expansion of macro ‘CRC_FUDGE’ 325 | CRC_FUDGE("crc_object", object, 1); | ^~~~~~~~~ In file included from version/standard.c:28: version/../sys/ini_config.h:27:34: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:325:9: note: in expansion of macro ‘CRC_FUDGE’ 325 | CRC_FUDGE("crc_object", object, 1); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:325:9: note: in expansion of macro ‘CRC_FUDGE’ 325 | CRC_FUDGE("crc_object", object, 1); | ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:34: /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:303:45: warning: pointer targets in passing argument 2 of ‘ini_key’ differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:328:9: note: in expansion of macro ‘CRC_FUDGE’ 328 | CRC_FUDGE("crc_words", words, 2); | ^~~~~~~~~ version/../sys/ini_config.h:27:34: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:328:9: note: in expansion of macro ‘CRC_FUDGE’ 328 | CRC_FUDGE("crc_words", words, 2); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:328:9: note: in expansion of macro ‘CRC_FUDGE’ 328 | CRC_FUDGE("crc_words", words, 2); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:333:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 333 | sprintf(key_vol, "crc_vol_%d", i); | ^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:334:17: note: in expansion of macro ‘CRC_FUDGE’ 334 | CRC_FUDGE(key_vol, vol[i], i+3); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:334:17: note: in expansion of macro ‘CRC_FUDGE’ 334 | CRC_FUDGE(key_vol, vol[i], i+3); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:303:45: warning: pointer targets in passing argument 2 of ‘ini_key’ differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:342:25: note: in expansion of macro ‘CRC_FUDGE’ 342 | CRC_FUDGE("crc_dir", dir_comb, 19); | ^~~~~~~~~ version/../sys/ini_config.h:27:34: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:342:25: note: in expansion of macro ‘CRC_FUDGE’ 342 | CRC_FUDGE("crc_dir", dir_comb, 19); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:342:25: note: in expansion of macro ‘CRC_FUDGE’ 342 | CRC_FUDGE("crc_dir", dir_comb, 19); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:303:45: warning: pointer targets in passing argument 2 of ‘ini_key’ differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:348:25: note: in expansion of macro ‘CRC_FUDGE’ 348 | CRC_FUDGE("crc_dir_log", dir.log, 20); | ^~~~~~~~~ version/../sys/ini_config.h:27:34: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:348:25: note: in expansion of macro ‘CRC_FUDGE’ 348 | CRC_FUDGE("crc_dir_log", dir.log, 20); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:348:25: note: in expansion of macro ‘CRC_FUDGE’ 348 | CRC_FUDGE("crc_dir_log", dir.log, 20); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:303:45: warning: pointer targets in passing argument 2 of ‘ini_key’ differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:350:25: note: in expansion of macro ‘CRC_FUDGE’ 350 | CRC_FUDGE("crc_dir_pic", dir.pic, 21); | ^~~~~~~~~ version/../sys/ini_config.h:27:34: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:350:25: note: in expansion of macro ‘CRC_FUDGE’ 350 | CRC_FUDGE("crc_dir_pic", dir.pic, 21); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:350:25: note: in expansion of macro ‘CRC_FUDGE’ 350 | CRC_FUDGE("crc_dir_pic", dir.pic, 21); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:303:45: warning: pointer targets in passing argument 2 of ‘ini_key’ differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:352:25: note: in expansion of macro ‘CRC_FUDGE’ 352 | CRC_FUDGE("crc_dir_view", dir.view, 22); | ^~~~~~~~~ version/../sys/ini_config.h:27:34: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:352:25: note: in expansion of macro ‘CRC_FUDGE’ 352 | CRC_FUDGE("crc_dir_view", dir.view, 22); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:352:25: note: in expansion of macro ‘CRC_FUDGE’ 352 | CRC_FUDGE("crc_dir_view", dir.view, 22); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:303:45: warning: pointer targets in passing argument 2 of ‘ini_key’ differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:354:25: note: in expansion of macro ‘CRC_FUDGE’ 354 | CRC_FUDGE("crc_dir_snd", dir.snd, 23); | ^~~~~~~~~ version/../sys/ini_config.h:27:34: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:354:25: note: in expansion of macro ‘CRC_FUDGE’ 354 | CRC_FUDGE("crc_dir_snd", dir.snd, 23); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:354:25: note: in expansion of macro ‘CRC_FUDGE’ 354 | CRC_FUDGE("crc_dir_snd", dir.snd, 23); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/stdlib.h:706: version/standard.c: In function ‘crc_search’: version/standard.c:377:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} version/standard.c:377:20: note: in expansion of macro ‘strdupa’ 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~ /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘CONF_STRING’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/../agi.h:382:48: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 382 | strcpy(blah, str_data); \ | ^~~~ | | | u8 * {aka unsigned char *} version/standard.c:377:20: note: in expansion of macro ‘strdupa’ 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:377:28: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} version/../agi.h:382:54: note: in definition of macro ‘strdupa’ 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘CONF_STRING’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:379:26: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 379 | token = strtok_r(crc_list, ",", (char**)&running); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ version/standard.c:379:15: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 379 | token = strtok_r(crc_list, ",", (char**)&running); | ^ version/standard.c:387:23: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 387 | token = strtok_r(0, ",", (char**)&running); | ^ version/standard.c: In function ‘gameinfo_namegen’: version/standard.c:413:37: warning: pointer targets in passing argument 2 of ‘ini_key’ differ in signedness [-Wpointer-sign] 413 | name = ini_key(ini, "name"); | ^~~~~~ | | | char * version/../sys/ini_config.h:27:34: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:423:43: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 423 | str_size = strlen(dir_sub) + strlen(dir) + 10 + strlen("/ - AGI v"); | ^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:423:61: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 423 | str_size = strlen(dir_sub) + strlen(dir) + 10 + strlen("/ - AGI v"); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:425:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 425 | sprintf(name, "%s/%s - AGI v%d", dir_sub, dir, info->ver_type); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:430:47: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 430 | str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); | ~~~~^~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:430:67: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 430 | str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); | ^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:430:85: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 430 | str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:432:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 432 | sprintf(name, "%s @ %s/%s - AGI v%d", info->file_id, dir_sub, dir, info->ver_type); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:438:21: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 438 | strncpy(info->name, name, 80); | ~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ version/standard.c:438:29: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 438 | strncpy(info->name, name, 80); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ version/standard.c:439:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 439 | if (strlen(name) >= 80) | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:442:35: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 442 | info->name[strlen(name)] = 0; | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c: In function ‘gameinfo_add’: version/standard.c:489:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 489 | sprintf(msg, "Games found: %d", game_count); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c: In function ‘gi_list_init’: version/standard.c:511:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} version/standard.c:511:20: note: in expansion of macro ‘strdupa’ 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~ /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘CONF_STRING’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/../agi.h:382:48: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 382 | strcpy(blah, str_data); \ | ^~~~ | | | u8 * {aka unsigned char *} version/standard.c:511:20: note: in expansion of macro ‘strdupa’ 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:511:28: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} version/../agi.h:382:54: note: in definition of macro ‘strdupa’ 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘CONF_STRING’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:512:26: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 512 | token = strtok_r(dir_list, ";", (char**)&running); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ version/standard.c:512:15: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 512 | token = strtok_r(dir_list, ";", (char**)&running); | ^ version/standard.c:517:30: warning: pointer targets in passing argument 1 of ‘opendir’ differ in signedness [-Wpointer-sign] 517 | dp = opendir(token); | ^~~~~ | | | u8 * {aka unsigned char *} In file included from version/standard.c:22: /usr/include/dirent.h:141:34: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 141 | extern DIR *opendir (const char *__name) __nonnull ((1)) | ~~~~~~~~~~~~^~~~~~ version/standard.c:523:45: warning: pointer targets in passing argument 1 of ‘chdir’ differ in signedness [-Wpointer-sign] 523 | if ( (chdir(token) != -1) && | ^~~~~ | | | u8 * {aka unsigned char *} In file included from version/standard.c:16: /usr/include/unistd.h:517:31: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 517 | extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur; | ~~~~~~~~~~~~^~~~~~ version/standard.c:530:67: warning: pointer targets in passing argument 3 of ‘gameinfo_add’ differ in signedness [-Wpointer-sign] 530 | gameinfo_add(list, ini, ep->d_name, token); | ~~^~~~~~~~ | | | char * version/standard.c:452:45: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 452 | void gameinfo_add(LIST *list, INI *ini, u8 *dir_sub, u8 *dir) | ~~~~^~~~~~~ version/standard.c:536:23: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 536 | token = strtok_r(0, ";", (char**)&running); | ^ version/standard.c: In function ‘gi_list_menu’: version/standard.c:581:21: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 581 | str_list[0] = "Use the arrow keys to select the game which you wish to play.\nPress ENTER to play the game, ESC to not play a game."; | ^ version/standard.c:611:41: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 611 | msg = a_malloc(200 + strlen(info->name) + strlen(info->dir->data)); | ~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:611:67: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 611 | msg = a_malloc(200 + strlen(info->name) + strlen(info->dir->data)); | ~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:614:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 614 | sprintf(msg, "About to execute the game\ndescribed as:\n\n%s\n\nfrom dir:\n %s\n\n%s", | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c: In function ‘standard_init_ng’: version/standard.c:652:46: warning: pointer targets in assignment from ‘char *’ to ‘CONF_STRING’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 652 | config_game[0].s.def = "v3.002.149"; | ^ version/standard.c:661:46: warning: pointer targets in assignment from ‘char *’ to ‘CONF_STRING’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 661 | config_game[0].s.def = "v2.917"; | ^ version/standard.c:706:16: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 706 | strcpy(c_game_file_id, game->file_id); | ^~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:706:36: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 706 | strcpy(c_game_file_id, game->file_id); | ~~~~^~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:723:54: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 723 | window_caption = a_malloc(strlen(game->name) + strlen("NAGI - ") + 10); | ~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:724:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 724 | sprintf(window_caption, "%s - NAGI", game->name); | ^~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:727:32: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 727 | window_caption = "NAGI"; | ^ version/standard.c:728:27: warning: pointer targets in passing argument 1 of ‘SDL_WM_SetCaption’ differ in signedness [-Wpointer-sign] 728 | SDL_WM_SetCaption(window_caption, 0); | ^~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_mouse.h:31, from /usr/include/SDL/SDL_events.h:33, from /usr/include/SDL/SDL.h:36: /usr/include/SDL/SDL_video.h:217:60: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 217 | extern DECLSPEC void SDLCALL SDL_WM_SetCaption(const char *title, const char *icon); | ~~~~~~~~~~~~^~~~~ version/standard.c: In function ‘gameinfo_compare’: version/standard.c:743:33: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 743 | return strcasecmp(info_a->name, info_b->name); | ~~~~~~^~~~~~ | | | const u8 * {aka const unsigned char *} In file included from /usr/include/string.h:462: /usr/include/strings.h:116:36: note: expected ‘const char *’ but argument is of type ‘const u8 *’ {aka ‘const unsigned char *’} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ version/standard.c:743:47: warning: pointer targets in passing argument 2 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 743 | return strcasecmp(info_a->name, info_b->name); | ~~~~~~^~~~~~ | | | const u8 * {aka const unsigned char *} /usr/include/strings.h:116:54: note: expected ‘const char *’ but argument is of type ‘const u8 *’ {aka ‘const unsigned char *’} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ version/standard.c: In function ‘text_init’: version/standard.c:773:20: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 773 | agi_printf("New Adventure Game Interpreter"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from version/standard.c:43: version/../ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ version/standard.c: In function ‘standard_select_ng’: version/standard.c:799:33: warning: pointer targets in passing argument 1 of ‘ini_open’ differ in signedness [-Wpointer-sign] 799 | ini_standard = ini_open(tmp); | ^~~ | | | char * version/../sys/ini_config.h:24:26: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 24 | extern INI *ini_open(u8 *ini_name); | ~~~~^~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c res/res_dir.c -o res/res_dir.o res/res_dir.c: In function ‘dir_load’: res/res_dir.c:87:60: warning: pointer targets in passing argument 1 of ‘file_to_buf’ differ in signedness [-Wpointer-sign] 87 | dir_log_data = file_to_buf("logdir"); | ^~~~~~~~ | | | char * In file included from res/res_dir.c:29: res/../sys/agi_file.h:32:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 32 | extern u8 *file_to_buf(u8 *file_name); | ~~~~^~~~~~~~~ res/res_dir.c:88:60: warning: pointer targets in passing argument 1 of ‘file_to_buf’ differ in signedness [-Wpointer-sign] 88 | dir_pic_data = file_to_buf("picdir"); | ^~~~~~~~ | | | char * res/../sys/agi_file.h:32:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 32 | extern u8 *file_to_buf(u8 *file_name); | ~~~~^~~~~~~~~ res/res_dir.c:89:61: warning: pointer targets in passing argument 1 of ‘file_to_buf’ differ in signedness [-Wpointer-sign] 89 | dir_view_data = file_to_buf("viewdir"); | ^~~~~~~~~ | | | char * res/../sys/agi_file.h:32:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 32 | extern u8 *file_to_buf(u8 *file_name); | ~~~~^~~~~~~~~ res/res_dir.c:90:60: warning: pointer targets in passing argument 1 of ‘file_to_buf’ differ in signedness [-Wpointer-sign] 90 | dir_snd_data = file_to_buf("snddir"); | ^~~~~~~~ | | | char * res/../sys/agi_file.h:32:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 32 | extern u8 *file_to_buf(u8 *file_name); | ~~~~^~~~~~~~~ res/res_dir.c:101:41: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 101 | sprintf(dir_v3_name, "%sdir", c_game_file_id); | ^~~~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from res/res_dir.c:16: /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_dir.c:108:41: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 108 | sprintf(dir_v3_name, "dirs"); | ^~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_dir.c: In function ‘dir_error’: res/res_dir.c:176:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 176 | sprintf(str, "%s %d not found", name, num); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_dir.c: In function ‘dir_logic’: res/res_dir.c:186:27: warning: pointer targets in passing argument 1 of ‘dir_error’ differ in signedness [-Wpointer-sign] 186 | dir_error("logic", num); | ^~~~~~~ | | | char * res/res_dir.c:173:20: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 173 | void dir_error(u8 *name, u16 num) | ~~~~^~~~ res/res_dir.c: In function ‘dir_view’: res/res_dir.c:195:27: warning: pointer targets in passing argument 1 of ‘dir_error’ differ in signedness [-Wpointer-sign] 195 | dir_error("view", num); | ^~~~~~ | | | char * res/res_dir.c:173:20: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 173 | void dir_error(u8 *name, u16 num) | ~~~~^~~~ res/res_dir.c: In function ‘dir_picture’: res/res_dir.c:204:27: warning: pointer targets in passing argument 1 of ‘dir_error’ differ in signedness [-Wpointer-sign] 204 | dir_error("picture", num); | ^~~~~~~~~ | | | char * res/res_dir.c:173:20: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 173 | void dir_error(u8 *name, u16 num) | ~~~~^~~~ res/res_dir.c: In function ‘dir_sound’: res/res_dir.c:213:27: warning: pointer targets in passing argument 1 of ‘dir_error’ differ in signedness [-Wpointer-sign] 213 | dir_error("sound", num); | ^~~~~~~ | | | char * res/res_dir.c:173:20: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 173 | void dir_error(u8 *name, u16 num) | ~~~~^~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c res/res_vol.c -o res/res_vol.o res/res_vol.c: In function ‘err_msg’: res/res_vol.c:269:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 269 | sprintf(msg, "Please insert disk %d\nand press ENTER.", | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from res/res_vol.c:15: /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c:272:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 272 | sprintf(msg, "Please insert disk %d\nand press ENTER.", | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c: In function ‘err_wrong_disk’: res/res_vol.c:284:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 284 | sprintf(msg_main, "%s%s\n%s", "That is the wrong disk.\n\n", | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c: In function ‘volumes_open’: res/res_vol.c:306:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 306 | sprintf(name, "%svol.%d", c_game_file_id, i); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c:308:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 308 | sprintf(name, "vol.%d", i); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c: In function ‘file_load’: res/res_vol.c:352:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 352 | sprintf(msg, "Can't find %s.%s%s", name, | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c:370:36: warning: the comparison will always evaluate as ‘false’ for the address of ‘print_err_code’ will never be NULL [-Waddress] 370 | if (print_err_code == 0) | ^~ In file included from res/res_vol.c:29: res/../sys/error.h:4:12: note: ‘print_err_code’ declared here 4 | extern u16 print_err_code(void); | ^~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c res/res_lzw.c -o res/res_lzw.o res/res_lzw.c: In function ‘lzw_buff_fill’: res/res_lzw.c:144:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | fread(lzw_buff+cur_byte, sizeof(u8), temp2, lzw_res_stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c res/res_pic.c -o res/res_pic.o res/res_pic.c: In function ‘pd_buff_fill’: res/res_pic.c:103:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 103 | fread(pd_buff+byte_cur, sizeof(u8), size, pd_stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/script.c -o sys/script.o sys/script.c: In function ‘script_new’: sys/script.c:51:2: warning: #warning set_mem_rm0() not implemented [-Wcpp] 51 | #warning set_mem_rm0() not implemented | ^~~~~~~ sys/script.c: In function ‘script_write’: sys/script.c:66:37: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 66 | script_name = "load.logic"; | ^ sys/script.c:69:37: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 69 | script_name = "load.view"; | ^ sys/script.c:72:37: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 72 | script_name = "load.pic"; | ^ sys/script.c:75:37: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 75 | script_name = "load.sound"; | ^ sys/script.c:78:37: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 78 | script_name = "draw.pic"; | ^ sys/script.c:81:37: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 81 | script_name = "add.to.pic"; | ^ sys/script.c:84:37: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 84 | script_name = "discard.pic"; | ^ sys/script.c:87:37: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 87 | script_name = "discard.view"; | ^ sys/script.c:90:37: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 90 | script_name = "overlay.pic"; | ^ sys/script.c:93:37: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 93 | script_name = "unknown"; | ^ sys/script.c:61:13: warning: variable ‘script_name’ set but not used [-Wunused-but-set-variable] 61 | u8 *script_name = 0; | ^~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/error.c -o sys/error.o sys/error.c:37:2: warning: #warning beep_speaker() incomplete [-Wcpp] 37 | #warning beep_speaker() incomplete | ^~~~~~~ sys/error.c: In function ‘set_agi_error’: sys/error.c:51:2: warning: #warning set_agi_error() incomplete [-Wcpp] 51 | #warning set_agi_error() incomplete | ^~~~~~~ sys/error.c: In function ‘print_err_code’: sys/error.c:106:34: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign] 106 | snprintf(str, sizeof(str), "Disk error:\n%s\n", strerror(errno) ); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/13/include/stdint.h:9, from /usr/include/SDL/SDL_config-riscv64.h:48, from /usr/include/SDL/SDL_config.h:74, from /usr/include/SDL/SDL_stdinc.h:29, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from sys/../agi.h:5, from sys/error.c:11: /usr/include/bits/stdio2.h:51:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ sys/error.c:109:72: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 109 | strncat(str, "\nPress ENTER to try again.", sizeof(str)-strlen(str)-1); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:35: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/error.c:109:17: warning: pointer targets in passing argument 1 of ‘strncat’ differ in signedness [-Wpointer-sign] 109 | strncat(str, "\nPress ENTER to try again.", sizeof(str)-strlen(str)-1); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:135:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 135 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sys/error.c:110:65: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 110 | strncat(str, "\nPress ESC to quit.", sizeof(str)-strlen(str)-1); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/error.c:110:17: warning: pointer targets in passing argument 1 of ‘strncat’ differ in signedness [-Wpointer-sign] 110 | strncat(str, "\nPress ESC to quit.", sizeof(str)-strlen(str)-1); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:135:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 135 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/glob_sys.c -o sys/glob_sys.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/delay.c -o sys/delay.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/memory.c -o sys/memory.o sys/memory.c: In function ‘init_agi_heap’: sys/memory.c:39:2: warning: #warning text mode support needed [-Wcpp] 39 | #warning text mode support needed | ^~~~~~~ sys/memory.c:52:2: warning: #warning move this screen buffer thingy to somewhere else [-Wcpp] 52 | #warning move this screen buffer thingy to somewhere else | ^~~~~~~ sys/memory.c: In function ‘agi_malloc’: sys/memory.c:83:2: warning: #warning need to fix error statement [-Wcpp] 83 | #warning need to fix error statement | ^~~~~~~ sys/memory.c: At top level: sys/memory.c:133:2: warning: #warning finish cmd_show_mem [-Wcpp] 133 | #warning finish cmd_show_mem | ^~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/rand.c -o sys/rand.o sys/rand.c: In function ‘agi_rand’: sys/rand.c:31:17: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 31 | ftime(&t); | ^~~~~ In file included from sys/rand.c:8: /usr/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/endian.c -o sys/endian.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/time.c -o sys/time.o sys/time.c:21:2: warning: #warning check base.c disable clock and denit time [-Wcpp] 21 | #warning check base.c disable clock and denit time | ^~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/mem_wrap.c -o sys/mem_wrap.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/sys_dir.c -o sys/sys_dir.o In file included from /usr/include/stdlib.h:706, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from sys/../agi.h:5, from sys/sys_dir.c:13: sys/sys_dir.c: In function ‘dir_init’: sys/sys_dir.c:96:36: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 96 | path_cpy = strdupa(argv0); | ^~~~~ | | | u8 * {aka unsigned char *} sys/sys_dir.c:96:28: note: in expansion of macro ‘strdupa’ 96 | path_cpy = strdupa(argv0); | ^~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:35: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/../agi.h:382:48: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 382 | strcpy(blah, str_data); \ | ^~~~ | | | u8 * {aka unsigned char *} sys/sys_dir.c:96:28: note: in expansion of macro ‘strdupa’ 96 | path_cpy = strdupa(argv0); | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/unistd.h:25, from sys/sys_dir.c:8: /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/sys_dir.c:96:36: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 96 | path_cpy = strdupa(argv0); | ^~~~~ | | | u8 * {aka unsigned char *} sys/../agi.h:382:54: note: in definition of macro ‘strdupa’ 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/sys_dir.c:101:41: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 101 | end = path_cpy + strlen(path_cpy) - 1; | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/sys_dir.c: In function ‘dir_preset_change’: sys/sys_dir.c:172:59: warning: pointer targets in passing argument 1 of ‘chdir’ differ in signedness [-Wpointer-sign] 172 | return chdir(dir_preset[preset_id]->data); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/unistd.h:517:31: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 517 | extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur; | ~~~~~~~~~~~~^~~~~~ sys/sys_dir.c: In function ‘vstring_getcwd’: sys/sys_dir.c:186:36: warning: pointer targets in passing argument 1 of ‘getcwd’ differ in signedness [-Wpointer-sign] 186 | value = getcwd(buff->data, buff->size); | ~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/unistd.h:86:1: note: expected ‘char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 86 | __NTH (getcwd (char *__buf, size_t __size)) | ^~~~~ sys/sys_dir.c:186:23: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 186 | value = getcwd(buff->data, buff->size); | ^ sys/sys_dir.c: In function ‘file_exists’: sys/sys_dir.c:208:68: warning: pointer targets in passing argument 2 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 208 | if (strcasecmp(ep->d_name, f_name) == 0) | ^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/string.h:462: /usr/include/strings.h:116:54: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/sys_dir.c: In function ‘dir_exists’: sys/sys_dir.c:225:22: warning: pointer targets in passing argument 1 of ‘opendir’ differ in signedness [-Wpointer-sign] 225 | dp = opendir(d_name); | ^~~~~~ | | | u8 * {aka unsigned char *} In file included from sys/sys_dir.c:20: /usr/include/dirent.h:141:34: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 141 | extern DIR *opendir (const char *__name) __nonnull ((1)) | ~~~~~~~~~~~~^~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/vstring.c -o sys/vstring.o sys/vstring.c: In function ‘vstring_new’: sys/vstring.c:57:37: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 57 | if ( (str != 0) && ((strlen(str)+1) > vs_new->min) ) | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:35, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c:58:39: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 58 | vs_new->size = strlen(str)+1; // +1 for null character at end of string | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c:67:30: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 67 | strcpy(vs_new->data, str); | ~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/13/include/stdint.h:9, from /usr/include/SDL/SDL_config-riscv64.h:48, from /usr/include/SDL/SDL_config.h:74, from /usr/include/SDL/SDL_stdinc.h:29: /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/vstring.c:67:38: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 67 | strcpy(vs_new->data, str); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/vstring.c:68:37: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 68 | vs_new->data[strlen(str)] = 0; | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c: In function ‘vstring_shrink’: sys/vstring.c:90:37: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 90 | vs->size = strlen(vs->data)+1; | ~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c: In function ‘vstring_set_text’: sys/vstring.c:107:35: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 107 | str_size = strlen(str)+1; | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c:112:26: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 112 | strcpy(vs->data, str); | ~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/vstring.c:112:34: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 112 | strcpy(vs->data, str); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/vstring.c: In function ‘vstring_shift’: sys/vstring.c:139:30: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 139 | if (strlen(vs->data) < shift_size) | ~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/ini_config.c -o sys/ini_config.o sys/ini_config.c: In function ‘ini_section’: sys/ini_config.c:200:44: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 200 | if (strcmp(sect_name, ini->cur_ptr) == 0) | ^~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:35, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from sys/../agi.h:5, from sys/ini_config.c:10: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/ini_config.c:200:58: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 200 | if (strcmp(sect_name, ini->cur_ptr) == 0) | ~~~^~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/ini_config.c: In function ‘ini_key’: sys/ini_config.c:237:36: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 237 | if (strcmp(key_name, ini->cur_ptr) == 0) | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/ini_config.c:237:49: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 237 | if (strcmp(key_name, ini->cur_ptr) == 0) | ~~~^~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/ini_config.c:243:58: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 243 | ini->cur_ptr = strchr(ini->cur_ptr, '=') + 1; | ~~~^~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ sys/ini_config.c:243:46: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 243 | ini->cur_ptr = strchr(ini->cur_ptr, '=') + 1; | ^ sys/ini_config.c: In function ‘ini_recursive’: sys/ini_config.c:285:41: warning: pointer targets in passing argument 2 of ‘ini_key’ differ in signedness [-Wpointer-sign] 285 | key_data = ini_key(ini, "inherits"); | ^~~~~~~~~~ | | | char * sys/ini_config.c:222:27: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 222 | u8 *ini_key(INI *ini, u8 *key_name) | ~~~~^~~~~~~~ In file included from /usr/include/stdlib.h:706, from /usr/include/SDL/SDL_stdinc.h:34: sys/ini_config.c:288:50: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 288 | inherits = alloca(strlen(key_data) + 1); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/ini_config.c:289:32: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 289 | strcpy(inherits, key_data); | ^~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/13/include/stdint.h:9, from /usr/include/SDL/SDL_config-riscv64.h:48, from /usr/include/SDL/SDL_config.h:74, from /usr/include/SDL/SDL_stdinc.h:29: /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/ini_config.c:289:42: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 289 | strcpy(inherits, key_data); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/gfx.c -o sys/gfx.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/vid_render.c -o sys/vid_render.o sys/vid_render.c: In function ‘render_init’: sys/vid_render.c:107:33: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 107 | if (!strcasecmp(c_vid_renderer, "cga0")) | ^~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} In file included from /usr/include/string.h:462, from /usr/include/SDL/SDL_stdinc.h:35, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from sys/../agi.h:5, from sys/vid_render.c:6: /usr/include/strings.h:116:36: note: expected ‘const char *’ but argument is of type ‘CONF_STRING’ {aka ‘unsigned char *’} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/vid_render.c:109:38: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 109 | else if (!strcasecmp(c_vid_renderer, "cga1")) | ^~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} /usr/include/strings.h:116:36: note: expected ‘const char *’ but argument is of type ‘CONF_STRING’ {aka ‘unsigned char *’} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/drv_dummy.c -o sys/drv_dummy.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/drv_sdl.c -o sys/drv_sdl.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/drv_video.c -o sys/drv_video.o sys/drv_video.c: In function ‘vid_init’: sys/drv_video.c:45:25: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 45 | if (strcasecmp (c_vid_driver, "SDL") == 0) | ^~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} In file included from /usr/include/string.h:462, from /usr/include/SDL/SDL_stdinc.h:35, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from sys/../agi.h:5, from sys/drv_video.c:6: /usr/include/strings.h:116:36: note: expected ‘const char *’ but argument is of type ‘CONF_STRING’ {aka ‘unsigned char *’} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/chargen.c -o sys/chargen.o In file included from /usr/include/stdlib.h:706, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from sys/../agi.h:5, from sys/chargen.c:8: sys/chargen.c: In function ‘font_open’: sys/chargen.c:105:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 105 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} sys/chargen.c:105:16: note: in expansion of macro ‘strdupa’ 105 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:35: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘CONF_STRING’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/../agi.h:382:48: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 382 | strcpy(blah, str_data); \ | ^~~~ | | | u8 * {aka unsigned char *} sys/chargen.c:105:16: note: in expansion of macro ‘strdupa’ 105 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/13/include/stdint.h:9, from /usr/include/SDL/SDL_config-riscv64.h:48, from /usr/include/SDL/SDL_config.h:74, from /usr/include/SDL/SDL_stdinc.h:29: /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/chargen.c:105:24: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 105 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} sys/../agi.h:382:54: note: in definition of macro ‘strdupa’ 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘CONF_STRING’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/chargen.c:106:26: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 106 | token = strtok_r(list, ";", (char**)&running); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ sys/chargen.c:106:15: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 106 | token = strtok_r(list, ";", (char**)&running); | ^ sys/chargen.c:110:43: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 110 | fullpath = malloc( strlen(token) + strlen("/usr/share/nagi/")+1 ); | ^~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/chargen.c:111:25: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 111 | strcpy( fullpath, "/usr/share/nagi/" ); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/chargen.c:112:25: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 112 | strcat( fullpath, token ); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:128:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/chargen.c:112:36: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 112 | strcat( fullpath, token ); | ^~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:128:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/chargen.c:113:34: warning: pointer targets in passing argument 1 of ‘fopen’ differ in signedness [-Wpointer-sign] 113 | cur_file = fopen(fullpath, "rb"); | ^~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:33: /usr/include/stdio.h:264:44: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 264 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ sys/chargen.c:138:23: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 138 | token = strtok_r(0, ";", (char**)&running); | ^ sys/chargen.c: In function ‘font_load’: sys/chargen.c:172:17: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 172 | fread(&font_data[font_chsize*ch], font_chsize, 1, font_stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/agi_file.c -o sys/agi_file.o sys/agi_file.c: In function ‘find_first’: sys/agi_file.c:59:29: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 59 | strcpy(token->name, name); | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/13/include/stdint.h:9, from /usr/include/SDL/SDL_config-riscv64.h:48, from /usr/include/SDL/SDL_config.h:74, from /usr/include/SDL/SDL_stdinc.h:29, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from sys/../agi.h:5, from sys/agi_file.c:10: /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/agi_file.c:64:49: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 64 | if(!strcmp(token->file->d_name, name)) | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:35: /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/agi_file.c:65:32: warning: pointer targets in returning ‘char *’ from a function with return type ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 65 | return token->file->d_name; | ^~~~~ sys/agi_file.c:67:30: warning: pointer targets in passing argument 1 of ‘strtok’ differ in signedness [-Wpointer-sign] 67 | tok = strtok(name, "*"); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:356:39: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ sys/agi_file.c:75:34: warning: pointer targets in returning ‘char *’ from a function with return type ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 75 | if(found) return token->file->d_name; | ^~~~~ sys/agi_file.c: In function ‘find_next’: sys/agi_file.c:94:32: warning: pointer targets in returning ‘char *’ from a function with return type ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 94 | return token->file->d_name; | ^~~~~ sys/agi_file.c:104:34: warning: pointer targets in returning ‘char *’ from a function with return type ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 104 | if(found) return token->file->d_name; | ^~~~~ sys/agi_file.c: In function ‘fopen_nocase’: sys/agi_file.c:132:22: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 132 | strcpy(name, orig_name); | ^~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/agi_file.c:135:22: warning: pointer targets in passing argument 1 of ‘string_lower’ differ in signedness [-Wpointer-sign] 135 | string_lower(name); | ^~~~ | | | char * In file included from sys/agi_file.c:29: sys/../ui/string.h:7:29: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 7 | extern u8 *string_lower(u8 *str); | ~~~~^~~ sys/../agi.h:382:48: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 382 | strcpy(blah, str_data); \ | ^~~~ | | | u8 * {aka unsigned char *} sys/agi_file.c:140:28: note: in expansion of macro ‘strdupa’ 140 | testname = strdupa(fileent->d_name); | ^~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/agi_file.c:140:26: warning: pointer targets in assignment from ‘u8 *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 140 | testname = strdupa(fileent->d_name); | ^ sys/agi_file.c:141:30: warning: pointer targets in passing argument 1 of ‘string_lower’ differ in signedness [-Wpointer-sign] 141 | string_lower(testname); | ^~~~~~~~ | | | char * sys/../ui/string.h:7:29: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 7 | extern u8 *string_lower(u8 *str); | ~~~~^~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c picture/pic_render.c -o picture/pic_render.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c picture/pic_res.c -o picture/pic_res.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c picture/sbuf_util.c -o picture/sbuf_util.o picture/sbuf_util.c: In function ‘sbuff_xline’: picture/sbuf_util.c:98:2: warning: #warning replicated from sbuff_plot code [-Wcpp] 98 | #warning replicated from sbuff_plot code | ^~~~~~~ picture/sbuf_util.c: In function ‘sbuff_picfill’: picture/sbuf_util.c:197:12: warning: variable ‘mask_bh’ set but not used [-Wunused-but-set-variable] 197 | u8 mask_bh, mask_dl, colour_bl; | ^~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c picture/pic_add.c -o picture/pic_add.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/arithmetic.c -o logic/arithmetic.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/cmd_table.c -o logic/cmd_table.o logic/cmd_table.c:90:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 90 | {"return.false", cmd_ret_false, 0, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:90:26: note: (near initialization for ‘eval_table[0].func_name’) logic/cmd_table.c:91:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 91 | {"equal.n", cmd_equal_n, 2, 0x80}, // fix flags later | ^~~~~~~~~ logic/cmd_table.c:91:26: note: (near initialization for ‘eval_table[1].func_name’) logic/cmd_table.c:92:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 92 | {"equal.v", cmd_equal_v, 2, 0xC0}, | ^~~~~~~~~ logic/cmd_table.c:92:26: note: (near initialization for ‘eval_table[2].func_name’) logic/cmd_table.c:93:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 93 | {"less.n", cmd_less_n, 2, 0x80}, | ^~~~~~~~ logic/cmd_table.c:93:26: note: (near initialization for ‘eval_table[3].func_name’) logic/cmd_table.c:94:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 94 | {"less.v", cmd_less_v, 2, 0xC0}, | ^~~~~~~~ logic/cmd_table.c:94:26: note: (near initialization for ‘eval_table[4].func_name’) logic/cmd_table.c:95:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 95 | {"greater.n", cmd_greater_n, 2, 0x80}, | ^~~~~~~~~~~ logic/cmd_table.c:95:26: note: (near initialization for ‘eval_table[5].func_name’) logic/cmd_table.c:96:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 96 | {"greater.v", cmd_greater_v, 2, 0xC0}, | ^~~~~~~~~~~ logic/cmd_table.c:96:26: note: (near initialization for ‘eval_table[6].func_name’) logic/cmd_table.c:97:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 97 | {"isset", cmd_isset, 1, 0}, | ^~~~~~~ logic/cmd_table.c:97:26: note: (near initialization for ‘eval_table[7].func_name’) logic/cmd_table.c:98:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 98 | {"isset.v", cmd_isset_v, 1, 0x80}, | ^~~~~~~~~ logic/cmd_table.c:98:26: note: (near initialization for ‘eval_table[8].func_name’) logic/cmd_table.c:99:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 99 | {"has", cmd_has, 1, 0}, | ^~~~~ logic/cmd_table.c:99:26: note: (near initialization for ‘eval_table[9].func_name’) logic/cmd_table.c:100:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 100 | {"obj.in.room", cmd_obj_in_room, 2, 0x40}, | ^~~~~~~~~~~~~ logic/cmd_table.c:100:26: note: (near initialization for ‘eval_table[10].func_name’) logic/cmd_table.c:101:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 101 | {"posn", cmd_posn, 5, 0}, | ^~~~~~ logic/cmd_table.c:101:26: note: (near initialization for ‘eval_table[11].func_name’) logic/cmd_table.c:102:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 102 | {"controller", cmd_controller, 1, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:102:26: note: (near initialization for ‘eval_table[12].func_name’) logic/cmd_table.c:103:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 103 | {"have.key", cmd_have_key, 0, 0}, | ^~~~~~~~~~ logic/cmd_table.c:103:26: note: (near initialization for ‘eval_table[13].func_name’) logic/cmd_table.c:104:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 104 | {"said", cmd_said, 0, 0}, | ^~~~~~ logic/cmd_table.c:104:26: note: (near initialization for ‘eval_table[14].func_name’) logic/cmd_table.c:105:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 105 | {"compare.strings", cmd_compare_strings, 2, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:105:26: note: (near initialization for ‘eval_table[15].func_name’) logic/cmd_table.c:106:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 106 | {"obj.in.box", cmd_obj_in_box, 5, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:106:26: note: (near initialization for ‘eval_table[16].func_name’) logic/cmd_table.c:107:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 107 | {"center.posn", cmd_center_posn, 5, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:107:26: note: (near initialization for ‘eval_table[17].func_name’) logic/cmd_table.c:108:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 108 | {"right.posn", cmd_right_posn, 5, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:108:26: note: (near initialization for ‘eval_table[18].func_name’) logic/cmd_table.c:109:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 109 | {"unknown.19", cmd_ret_false, 0, 0} | ^~~~~~~~~~~~ logic/cmd_table.c:109:26: note: (near initialization for ‘eval_table[19].func_name’) logic/cmd_table.c:114:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 114 | {"cmd.return", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:114:26: note: (near initialization for ‘cmd_table[0].func_name’) logic/cmd_table.c:117:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 117 | {"cmd.increment", cmd_increment, 1, 0x80}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:117:26: note: (near initialization for ‘cmd_table[1].func_name’) logic/cmd_table.c:118:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 118 | {"cmd.decrement", cmd_decrement, 1, 0x80}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:118:26: note: (near initialization for ‘cmd_table[2].func_name’) logic/cmd_table.c:119:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 119 | {"cmd.assignn", cmd_assignn, 2, 0x80}, | ^~~~~~~~~~~~~ logic/cmd_table.c:119:26: note: (near initialization for ‘cmd_table[3].func_name’) logic/cmd_table.c:120:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 120 | {"cmd.assignv", cmd_assignv, 2, 0xC0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:120:26: note: (near initialization for ‘cmd_table[4].func_name’) logic/cmd_table.c:121:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 121 | {"cmd.addn", cmd_addn, 2, 0x80}, | ^~~~~~~~~~ logic/cmd_table.c:121:26: note: (near initialization for ‘cmd_table[5].func_name’) logic/cmd_table.c:122:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 122 | {"cmd.addv", cmd_addv, 2, 0xC0}, | ^~~~~~~~~~ logic/cmd_table.c:122:26: note: (near initialization for ‘cmd_table[6].func_name’) logic/cmd_table.c:123:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 123 | {"cmd.subn", cmd_subn, 2, 0x80}, | ^~~~~~~~~~ logic/cmd_table.c:123:26: note: (near initialization for ‘cmd_table[7].func_name’) logic/cmd_table.c:124:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 124 | {"cmd.subv", cmd_subv, 2, 0xC0}, | ^~~~~~~~~~ logic/cmd_table.c:124:26: note: (near initialization for ‘cmd_table[8].func_name’) logic/cmd_table.c:125:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 125 | {"cmd.lindirectv", cmd_lindirectv, 2, 0xC0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:125:26: note: (near initialization for ‘cmd_table[9].func_name’) logic/cmd_table.c:126:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 126 | {"cmd.rindirect", cmd_rindirect, 2, 0xC0}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:126:26: note: (near initialization for ‘cmd_table[10].func_name’) logic/cmd_table.c:127:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 127 | {"cmd.lindirectn", cmd_lindirectn, 2, 0x80}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:127:26: note: (near initialization for ‘cmd_table[11].func_name’) logic/cmd_table.c:130:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 130 | {"cmd.set", cmd_set, 1, 0}, | ^~~~~~~~~ logic/cmd_table.c:130:26: note: (near initialization for ‘cmd_table[12].func_name’) logic/cmd_table.c:131:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 131 | {"cmd.reset", cmd_reset, 1, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:131:26: note: (near initialization for ‘cmd_table[13].func_name’) logic/cmd_table.c:132:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 132 | {"cmd.toggle", cmd_toggle, 1, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:132:26: note: (near initialization for ‘cmd_table[14].func_name’) logic/cmd_table.c:133:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 133 | {"cmd.set.v", cmd_set_v, 1, 0x80}, | ^~~~~~~~~~~ logic/cmd_table.c:133:26: note: (near initialization for ‘cmd_table[15].func_name’) logic/cmd_table.c:134:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 134 | {"cmd.reset.v", cmd_reset_v, 1, 0x80}, | ^~~~~~~~~~~~~ logic/cmd_table.c:134:26: note: (near initialization for ‘cmd_table[16].func_name’) logic/cmd_table.c:135:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 135 | {"cmd.toggle.v", cmd_toggle_v, 1, 0x80}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:135:26: note: (near initialization for ‘cmd_table[17].func_name’) logic/cmd_table.c:138:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 138 | {"cmd.new.room", cmd_new_room, 1, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:138:26: note: (near initialization for ‘cmd_table[18].func_name’) logic/cmd_table.c:139:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 139 | {"cmd.new.room.v", cmd_new_room_v, 1, 0x80}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:139:26: note: (near initialization for ‘cmd_table[19].func_name’) logic/cmd_table.c:142:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 142 | {"cmd.load.logics", cmd_load_logics, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:142:26: note: (near initialization for ‘cmd_table[20].func_name’) logic/cmd_table.c:143:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 143 | {"cmd.load.logics.v", cmd_load_logics_v, 1, 0x80}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:143:26: note: (near initialization for ‘cmd_table[21].func_name’) logic/cmd_table.c:144:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 144 | {"cmd.call", cmd_call, 1, 0}, | ^~~~~~~~~~ logic/cmd_table.c:144:26: note: (near initialization for ‘cmd_table[22].func_name’) logic/cmd_table.c:145:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 145 | {"cmd.call.v", cmd_call_v, 1, 0x80}, | ^~~~~~~~~~~~ logic/cmd_table.c:145:26: note: (near initialization for ‘cmd_table[23].func_name’) logic/cmd_table.c:148:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 148 | {"cmd.load.pic", cmd_load_pic, 1, 0x80}, // actually at 24 | ^~~~~~~~~~~~~~ logic/cmd_table.c:148:26: note: (near initialization for ‘cmd_table[24].func_name’) logic/cmd_table.c:149:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 149 | {"cmd.draw.pic", cmd_draw_pic, 1, 0x80}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:149:26: note: (near initialization for ‘cmd_table[25].func_name’) logic/cmd_table.c:150:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 150 | {"cmd.show.pic", cmd_show_pic, 0, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:150:26: note: (near initialization for ‘cmd_table[26].func_name’) logic/cmd_table.c:151:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 151 | {"cmd.discard.pic", cmd_discard_pic, 1, 0x80}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:151:26: note: (near initialization for ‘cmd_table[27].func_name’) logic/cmd_table.c:152:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 152 | {"cmd.overlay.pic", cmd_overlay_pic, 1, 0x80}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:152:26: note: (near initialization for ‘cmd_table[28].func_name’) logic/cmd_table.c:153:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 153 | {"cmd.show.priority.screen (incomplete)", cmd_show_pri, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:153:26: note: (near initialization for ‘cmd_table[29].func_name’) logic/cmd_table.c:156:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 156 | {"cmd.load.view", cmd_load_view, 1, 0}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:156:26: note: (near initialization for ‘cmd_table[30].func_name’) logic/cmd_table.c:157:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 157 | {"cmd.load.view.v", cmd_load_view_v, 1, 0x80}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:157:26: note: (near initialization for ‘cmd_table[31].func_name’) logic/cmd_table.c:158:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 158 | {"cmd.discard.view", cmd_discard_view, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:158:26: note: (near initialization for ‘cmd_table[32].func_name’) logic/cmd_table.c:159:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 159 | {"cmd.animate.object", cmd_animate_obj, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:159:26: note: (near initialization for ‘cmd_table[33].func_name’) logic/cmd_table.c:160:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 160 | {"cmd.unanimate.all", cmd_unanimate_all, 0, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:160:26: note: (near initialization for ‘cmd_table[34].func_name’) logic/cmd_table.c:161:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 161 | {"cmd.draw", cmd_draw, 1, 0}, | ^~~~~~~~~~ logic/cmd_table.c:161:26: note: (near initialization for ‘cmd_table[35].func_name’) logic/cmd_table.c:162:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 162 | {"cmd.erase", cmd_erase, 1, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:162:26: note: (near initialization for ‘cmd_table[36].func_name’) logic/cmd_table.c:165:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 165 | {"cmd.position", cmd_position, 3, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:165:26: note: (near initialization for ‘cmd_table[37].func_name’) logic/cmd_table.c:166:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 166 | {"cmd.position.v", cmd_position_v, 3, 0x60}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:166:26: note: (near initialization for ‘cmd_table[38].func_name’) logic/cmd_table.c:167:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 167 | {"cmd.get.position", cmd_get_position, 3, 0x60}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:167:26: note: (near initialization for ‘cmd_table[39].func_name’) logic/cmd_table.c:168:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 168 | {"cmd.reposition", cmd_reposition, 3, 0x60}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:168:26: note: (near initialization for ‘cmd_table[40].func_name’) logic/cmd_table.c:171:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 171 | {"cmd.set.view", cmd_set_view, 2, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:171:26: note: (near initialization for ‘cmd_table[41].func_name’) logic/cmd_table.c:172:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 172 | {"cmd.set.view.v", cmd_set_view_v, 2, 0x40}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:172:26: note: (near initialization for ‘cmd_table[42].func_name’) logic/cmd_table.c:173:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 173 | {"cmd.set.loop", cmd_set_loop, 2, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:173:26: note: (near initialization for ‘cmd_table[43].func_name’) logic/cmd_table.c:174:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 174 | {"cmd.set.loop.v", cmd_set_loop_v, 2, 0x40}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:174:26: note: (near initialization for ‘cmd_table[44].func_name’) logic/cmd_table.c:175:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 175 | {"cmd.fix.loop", cmd_fix_loop, 1, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:175:26: note: (near initialization for ‘cmd_table[45].func_name’) logic/cmd_table.c:176:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 176 | {"cmd.release.loop", cmd_release_loop,1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:176:26: note: (near initialization for ‘cmd_table[46].func_name’) logic/cmd_table.c:177:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 177 | {"cmd.set.cel", cmd_set_cel, 2, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:177:26: note: (near initialization for ‘cmd_table[47].func_name’) logic/cmd_table.c:178:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 178 | {"cmd.set.cel.v", cmd_set_cel_v, 2, 0x40}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:178:26: note: (near initialization for ‘cmd_table[48].func_name’) logic/cmd_table.c:179:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 179 | {"cmd.last.cel", cmd_last_cel, 2, 0x40}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:179:26: note: (near initialization for ‘cmd_table[49].func_name’) logic/cmd_table.c:180:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 180 | {"cmd.current.cel", cmd_current_cel, 2, 0x40}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:180:26: note: (near initialization for ‘cmd_table[50].func_name’) logic/cmd_table.c:181:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 181 | {"cmd.current.loop", cmd_current_loop, 2, 0x40}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:181:26: note: (near initialization for ‘cmd_table[51].func_name’) logic/cmd_table.c:182:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 182 | {"cmd.current.view", cmd_current_view, 2, 0x40}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:182:26: note: (near initialization for ‘cmd_table[52].func_name’) logic/cmd_table.c:183:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 183 | {"cmd.num.of.loops", cmd_number_of_loops, 2, 0x40}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:183:26: note: (near initialization for ‘cmd_table[53].func_name’) logic/cmd_table.c:186:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 186 | {"cmd.set.priority", cmd_set_priority, 2, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:186:26: note: (near initialization for ‘cmd_table[54].func_name’) logic/cmd_table.c:187:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 187 | {"cmd.set.priority.v", cmd_set_priority_v, 2, 0x40}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:187:26: note: (near initialization for ‘cmd_table[55].func_name’) logic/cmd_table.c:188:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 188 | {"cmd.release.priority", cmd_release_priority, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:188:26: note: (near initialization for ‘cmd_table[56].func_name’) logic/cmd_table.c:189:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 189 | {"cmd.get.priority", cmd_get_priority, 2, 0x40}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:189:26: note: (near initialization for ‘cmd_table[57].func_name’) logic/cmd_table.c:192:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 192 | {"cmd.stop.update", cmd_stop_update, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:192:26: note: (near initialization for ‘cmd_table[58].func_name’) logic/cmd_table.c:193:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 193 | {"cmd.start.update", cmd_start_update, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:193:26: note: (near initialization for ‘cmd_table[59].func_name’) logic/cmd_table.c:194:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 194 | {"cmd.force.update", cmd_force_update, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:194:26: note: (near initialization for ‘cmd_table[60].func_name’) logic/cmd_table.c:197:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 197 | {"cmd.ignore.horizon", cmd_ignore_horizon, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:197:26: note: (near initialization for ‘cmd_table[61].func_name’) logic/cmd_table.c:198:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 198 | {"cmd.observe.horizon", cmd_observe_horizon, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:198:26: note: (near initialization for ‘cmd_table[62].func_name’) logic/cmd_table.c:199:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 199 | {"cmd.set.horizon", cmd_set_horizon, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:199:26: note: (near initialization for ‘cmd_table[63].func_name’) logic/cmd_table.c:200:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 200 | {"cmd.obj.on.water", cmd_obj_on_water, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:200:26: note: (near initialization for ‘cmd_table[64].func_name’) logic/cmd_table.c:201:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 201 | {"cmd.obj.on.land", cmd_obj_on_land, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:201:26: note: (near initialization for ‘cmd_table[65].func_name’) logic/cmd_table.c:202:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 202 | {"cmd.obj.on.anything", cmd_obj_on_anything, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:202:26: note: (near initialization for ‘cmd_table[66].func_name’) logic/cmd_table.c:205:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 205 | {"cmd.ignore.objects", cmd_ignore_objects, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:205:26: note: (near initialization for ‘cmd_table[67].func_name’) logic/cmd_table.c:206:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 206 | {"cmd.observe.objects", cmd_observe_objects, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:206:26: note: (near initialization for ‘cmd_table[68].func_name’) logic/cmd_table.c:207:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 207 | {"cmd.distance", cmd_distance, 3, 0x20}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:207:26: note: (near initialization for ‘cmd_table[69].func_name’) logic/cmd_table.c:209:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 209 | {"cmd.stop.cycling", cmd_stop_cycling, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:209:26: note: (near initialization for ‘cmd_table[70].func_name’) logic/cmd_table.c:210:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 210 | {"cmd.start.cycling", cmd_start_cycling, 1, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:210:26: note: (near initialization for ‘cmd_table[71].func_name’) logic/cmd_table.c:211:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 211 | {"cmd.normal.cycle", cmd_normal_cycle, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:211:26: note: (near initialization for ‘cmd_table[72].func_name’) logic/cmd_table.c:212:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 212 | {"cmd.end.of.loop", cmd_end_of_loop, 2, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:212:26: note: (near initialization for ‘cmd_table[73].func_name’) logic/cmd_table.c:213:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 213 | {"cmd.reverse.cycle", cmd_reverse_cycle, 1, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:213:26: note: (near initialization for ‘cmd_table[74].func_name’) logic/cmd_table.c:214:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 214 | {"cmd.reverse.loop", cmd_reverse_loop, 2, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:214:26: note: (near initialization for ‘cmd_table[75].func_name’) logic/cmd_table.c:215:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 215 | {"cmd.cycle.time", cmd_cycle_time, 2, 0x40}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:215:26: note: (near initialization for ‘cmd_table[76].func_name’) logic/cmd_table.c:218:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 218 | {"cmd.stop.motion", cmd_stop_motion, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:218:26: note: (near initialization for ‘cmd_table[77].func_name’) logic/cmd_table.c:219:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 219 | {"cmd.start.motion", cmd_start_motion, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:219:26: note: (near initialization for ‘cmd_table[78].func_name’) logic/cmd_table.c:220:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 220 | {"cmd.step.size", cmd_step_size, 2, 0x40}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:220:26: note: (near initialization for ‘cmd_table[79].func_name’) logic/cmd_table.c:221:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 221 | {"cmd.step.time", cmd_step_time, 2, 0x40}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:221:26: note: (near initialization for ‘cmd_table[80].func_name’) logic/cmd_table.c:222:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 222 | {"cmd.move.obj", cmd_move_obj, 5, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:222:26: note: (near initialization for ‘cmd_table[81].func_name’) logic/cmd_table.c:223:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 223 | {"cmd.move.obj.v", cmd_move_obj_v, 5, 0x70}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:223:26: note: (near initialization for ‘cmd_table[82].func_name’) logic/cmd_table.c:224:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 224 | {"cmd.follow.ego", cmd_follow_ego, 3, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:224:26: note: (near initialization for ‘cmd_table[83].func_name’) logic/cmd_table.c:225:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 225 | {"cmd.wander", cmd_wander, 1, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:225:26: note: (near initialization for ‘cmd_table[84].func_name’) logic/cmd_table.c:226:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 226 | {"cmd.normal.motion", cmd_normal_motion, 1, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:226:26: note: (near initialization for ‘cmd_table[85].func_name’) logic/cmd_table.c:227:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 227 | {"cmd.set.dir", cmd_set_dir, 2, 0x40}, | ^~~~~~~~~~~~~ logic/cmd_table.c:227:26: note: (near initialization for ‘cmd_table[86].func_name’) logic/cmd_table.c:228:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 228 | {"cmd.get.dir", cmd_get_dir, 2, 0x40}, | ^~~~~~~~~~~~~ logic/cmd_table.c:228:26: note: (near initialization for ‘cmd_table[87].func_name’) logic/cmd_table.c:231:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 231 | {"cmd.ignore.blocks", cmd_ignore_blocks, 1, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:231:26: note: (near initialization for ‘cmd_table[88].func_name’) logic/cmd_table.c:232:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 232 | {"cmd.observe.blocks", cmd_observe_blocks, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:232:26: note: (near initialization for ‘cmd_table[89].func_name’) logic/cmd_table.c:233:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 233 | {"cmd.block", cmd_block, 4, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:233:26: note: (near initialization for ‘cmd_table[90].func_name’) logic/cmd_table.c:234:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 234 | {"cmd.unblock", cmd_unblock, 0, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:234:26: note: (near initialization for ‘cmd_table[91].func_name’) logic/cmd_table.c:237:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 237 | {"cmd.get", cmd_get, 1, 0}, | ^~~~~~~~~ logic/cmd_table.c:237:26: note: (near initialization for ‘cmd_table[92].func_name’) logic/cmd_table.c:238:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 238 | {"cmd.get.v", cmd_get_v, 1, 0x80}, | ^~~~~~~~~~~ logic/cmd_table.c:238:26: note: (near initialization for ‘cmd_table[93].func_name’) logic/cmd_table.c:239:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 239 | {"cmd.drop", cmd_drop, 1, 0}, | ^~~~~~~~~~ logic/cmd_table.c:239:26: note: (near initialization for ‘cmd_table[94].func_name’) logic/cmd_table.c:240:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 240 | {"cmd.put", cmd_put, 2, 0}, | ^~~~~~~~~ logic/cmd_table.c:240:26: note: (near initialization for ‘cmd_table[95].func_name’) logic/cmd_table.c:241:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 241 | {"cmd.put.v", cmd_put_v, 2, 0x40}, | ^~~~~~~~~~~ logic/cmd_table.c:241:26: note: (near initialization for ‘cmd_table[96].func_name’) logic/cmd_table.c:242:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 242 | {"cmd.get.room.v", cmd_get_room_v, 2, 0xC0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:242:26: note: (near initialization for ‘cmd_table[97].func_name’) logic/cmd_table.c:245:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 245 | {"cmd.load.sound",cmd_load_sound , 1, 0}, //cmd_load_sound | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:245:26: note: (near initialization for ‘cmd_table[98].func_name’) logic/cmd_table.c:246:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 246 | {"cmd.sound", cmd_sound, 2, 0},//cmd_sound | ^~~~~~~~~~~ logic/cmd_table.c:246:26: note: (near initialization for ‘cmd_table[99].func_name’) logic/cmd_table.c:247:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 247 | {"cmd.stop.sound",cmd_stop_sound , 0, 0}, //cmd_stop_sound | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:247:26: note: (near initialization for ‘cmd_table[100].func_name’) logic/cmd_table.c:248:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 248 | {"cmd.print", cmd_print, 1, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:248:26: note: (near initialization for ‘cmd_table[101].func_name’) logic/cmd_table.c:249:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 249 | {"cmd.print.v", cmd_print_v, 1, 0x80}, | ^~~~~~~~~~~~~ logic/cmd_table.c:249:26: note: (near initialization for ‘cmd_table[102].func_name’) logic/cmd_table.c:250:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 250 | {"cmd.display", cmd_display, 3, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:250:26: note: (near initialization for ‘cmd_table[103].func_name’) logic/cmd_table.c:251:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 251 | {"cmd.display.v", cmd_display_v, 3, 0xE0}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:251:26: note: (near initialization for ‘cmd_table[104].func_name’) logic/cmd_table.c:252:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 252 | {"cmd.clear.lines", cmd_clear_lines, 3, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:252:26: note: (near initialization for ‘cmd_table[105].func_name’) logic/cmd_table.c:253:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 253 | {"cmd.text.screen", cmd_text_screen, 0, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:253:26: note: (near initialization for ‘cmd_table[106].func_name’) logic/cmd_table.c:254:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 254 | {"cmd.graphics", cmd_graphics, 0, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:254:26: note: (near initialization for ‘cmd_table[107].func_name’) logic/cmd_table.c:257:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 257 | {"cmd.set.cursor.char", cmd_set_cursor_char, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:257:26: note: (near initialization for ‘cmd_table[108].func_name’) logic/cmd_table.c:258:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 258 | {"cmd.set.text.attrib", cmd_set_text_attribute, 2, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:258:26: note: (near initialization for ‘cmd_table[109].func_name’) logic/cmd_table.c:259:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 259 | {"cmd.shake.screen (incomplete)", cmd_do_nothing, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:259:26: note: (near initialization for ‘cmd_table[110].func_name’) logic/cmd_table.c:260:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 260 | {"cmd.config.screen", cmd_config_screen, 3, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:260:26: note: (near initialization for ‘cmd_table[111].func_name’) logic/cmd_table.c:261:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 261 | {"cmd.status.line.on", cmd_status_line_on, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:261:26: note: (near initialization for ‘cmd_table[112].func_name’) logic/cmd_table.c:262:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 262 | {"cmd.status.line.off", cmd_status_line_off, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:262:26: note: (near initialization for ‘cmd_table[113].func_name’) logic/cmd_table.c:263:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 263 | {"cmd.set.string", cmd_set_string, 2, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:263:26: note: (near initialization for ‘cmd_table[114].func_name’) logic/cmd_table.c:264:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 264 | {"cmd.get.string", cmd_get_string, 5, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:264:26: note: (near initialization for ‘cmd_table[115].func_name’) logic/cmd_table.c:265:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 265 | {"cmd.word.to.string", cmd_word_to_string, 2, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:265:26: note: (near initialization for ‘cmd_table[116].func_name’) logic/cmd_table.c:266:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 266 | {"cmd.parse", cmd_parse, 1, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:266:26: note: (near initialization for ‘cmd_table[117].func_name’) logic/cmd_table.c:269:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 269 | {"cmd.get.num", cmd_get_num, 2, 0x40}, | ^~~~~~~~~~~~~ logic/cmd_table.c:269:26: note: (near initialization for ‘cmd_table[118].func_name’) logic/cmd_table.c:270:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 270 | {"cmd.prevent.input", cmd_prevent_input, 0, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:270:26: note: (near initialization for ‘cmd_table[119].func_name’) logic/cmd_table.c:271:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 271 | {"cmd.accept.input", cmd_accept_input, 0, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:271:26: note: (near initialization for ‘cmd_table[120].func_name’) logic/cmd_table.c:272:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 272 | {"cmd.set.key", cmd_set_key, 3, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:272:26: note: (near initialization for ‘cmd_table[121].func_name’) logic/cmd_table.c:273:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 273 | {"cmd.add.to.pic", cmd_add_to_pic, 7, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:273:26: note: (near initialization for ‘cmd_table[122].func_name’) logic/cmd_table.c:274:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 274 | {"cmd.add.to.pic.v", cmd_add_to_pic_v, 7, 0xFE}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:274:26: note: (near initialization for ‘cmd_table[123].func_name’) logic/cmd_table.c:275:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 275 | {"cmd.status", cmd_status, 0, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:275:26: note: (near initialization for ‘cmd_table[124].func_name’) logic/cmd_table.c:276:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 276 | {"cmd.save.game (incomplete)", cmd_save_game, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:276:26: note: (near initialization for ‘cmd_table[125].func_name’) logic/cmd_table.c:277:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 277 | {"cmd.restore.game (incomplete)", cmd_restore_game, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:277:26: note: (near initialization for ‘cmd_table[126].func_name’) logic/cmd_table.c:278:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 278 | {"cmd.init.disk (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:278:26: note: (near initialization for ‘cmd_table[127].func_name’) logic/cmd_table.c:281:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 281 | {"cmd.restart.game", cmd_restart_game, 0, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:281:26: note: (near initialization for ‘cmd_table[128].func_name’) logic/cmd_table.c:282:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 282 | {"cmd.show.obj", cmd_show_obj, 1, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:282:26: note: (near initialization for ‘cmd_table[129].func_name’) logic/cmd_table.c:283:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 283 | {"cmd.random", cmd_random, 3, 0x20}, | ^~~~~~~~~~~~ logic/cmd_table.c:283:26: note: (near initialization for ‘cmd_table[130].func_name’) logic/cmd_table.c:284:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 284 | {"cmd.program.control", cmd_program_control, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:284:26: note: (near initialization for ‘cmd_table[131].func_name’) logic/cmd_table.c:285:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 285 | {"cmd.player.control", cmd_player_control, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:285:26: note: (near initialization for ‘cmd_table[132].func_name’) logic/cmd_table.c:286:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 286 | {"cmd.obj.status.v (incomplete)", cmd_do_nothing, 1, 0x80}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:286:26: note: (near initialization for ‘cmd_table[133].func_name’) logic/cmd_table.c:287:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 287 | {"cmd.quit", cmd_quit, 1, 0}, | ^~~~~~~~~~ logic/cmd_table.c:287:26: note: (near initialization for ‘cmd_table[134].func_name’) logic/cmd_table.c:288:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 288 | {"cmd.show.mem (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:288:26: note: (near initialization for ‘cmd_table[135].func_name’) logic/cmd_table.c:289:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 289 | {"cmd.pause", cmd_pause, 0, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:289:26: note: (near initialization for ‘cmd_table[136].func_name’) logic/cmd_table.c:290:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 290 | {"cmd.echo.line", cmd_echo_line, 0, 0}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:290:26: note: (near initialization for ‘cmd_table[137].func_name’) logic/cmd_table.c:293:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 293 | {"cmd.cancel.line", cmd_cancel_line, 0, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:293:26: note: (near initialization for ‘cmd_table[138].func_name’) logic/cmd_table.c:294:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 294 | {"cmd.init.joy (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:294:26: note: (near initialization for ‘cmd_table[139].func_name’) logic/cmd_table.c:295:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 295 | {"cmd.toggle.monitor", cmd_toggle_monitor, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:295:26: note: (near initialization for ‘cmd_table[140].func_name’) logic/cmd_table.c:296:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 296 | {"cmd.version", cmd_version, 0, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:296:26: note: (near initialization for ‘cmd_table[141].func_name’) logic/cmd_table.c:297:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 297 | {"cmd.script.size", cmd_script_size, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:297:26: note: (near initialization for ‘cmd_table[142].func_name’) logic/cmd_table.c:298:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 298 | {"cmd.set.game.id", cmd_set_game_id, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:298:26: note: (near initialization for ‘cmd_table[143].func_name’) logic/cmd_table.c:299:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 299 | {"cmd.log", cmd_log, 1, 0}, | ^~~~~~~~~ logic/cmd_table.c:299:26: note: (near initialization for ‘cmd_table[144].func_name’) logic/cmd_table.c:300:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 300 | {"cmd.set.scan.start", cmd_set_scan_start, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:300:26: note: (near initialization for ‘cmd_table[145].func_name’) logic/cmd_table.c:301:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 301 | {"cmd.reset.scan.start", cmd_reset_scan_start, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:301:26: note: (near initialization for ‘cmd_table[146].func_name’) logic/cmd_table.c:304:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 304 | {"cmd.reposition.to", cmd_reposition_to, 3, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:304:26: note: (near initialization for ‘cmd_table[147].func_name’) logic/cmd_table.c:305:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 305 | {"cmd.reposition.to.v", cmd_reposition_to_v, 3, 0x60}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:305:26: note: (near initialization for ‘cmd_table[148].func_name’) logic/cmd_table.c:308:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 308 | {"cmd.trace.on", cmd_trace_on, 0, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:308:26: note: (near initialization for ‘cmd_table[149].func_name’) logic/cmd_table.c:309:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 309 | {"cmd.trace.info", cmd_trace_info, 3, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:309:26: note: (near initialization for ‘cmd_table[150].func_name’) logic/cmd_table.c:310:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 310 | {"cmd.print.at", cmd_print_at, 4, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:310:26: note: (near initialization for ‘cmd_table[151].func_name’) logic/cmd_table.c:311:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 311 | {"cmd.print.at.v", cmd_print_at_v, 4, 0x80}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:311:26: note: (near initialization for ‘cmd_table[152].func_name’) logic/cmd_table.c:312:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 312 | {"cmd.discard.view.v", cmd_discard_view_v, 1, 0x80}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:312:26: note: (near initialization for ‘cmd_table[153].func_name’) logic/cmd_table.c:313:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 313 | {"cmd.clear.text.rect", cmd_clear_text_rect, 5, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:313:26: note: (near initialization for ‘cmd_table[154].func_name’) logic/cmd_table.c:314:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 314 | {"cmd.set.upper.left", cmd_set_upper_left, 2, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:314:26: note: (near initialization for ‘cmd_table[155].func_name’) logic/cmd_table.c:317:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 317 | {"cmd.set.menu", cmd_set_menu, 1, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:317:26: note: (near initialization for ‘cmd_table[156].func_name’) logic/cmd_table.c:318:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 318 | {"cmd.set.menu.item", cmd_set_menu_item, 2, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:318:26: note: (near initialization for ‘cmd_table[157].func_name’) logic/cmd_table.c:319:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 319 | {"cmd.submit.menu", cmd_submit_menu, 0, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:319:26: note: (near initialization for ‘cmd_table[158].func_name’) logic/cmd_table.c:320:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 320 | {"cmd.enable.item", cmd_enable_item, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:320:26: note: (near initialization for ‘cmd_table[159].func_name’) logic/cmd_table.c:321:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 321 | {"cmd.disable.item", cmd_disable_item, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:321:26: note: (near initialization for ‘cmd_table[160].func_name’) logic/cmd_table.c:322:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 322 | {"cmd.menu.input", cmd_menu_input, 0, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:322:26: note: (near initialization for ‘cmd_table[161].func_name’) logic/cmd_table.c:325:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 325 | {"cmd.show.obj.v", cmd_show_obj_v, 1, 1}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:325:26: note: (near initialization for ‘cmd_table[162].func_name’) logic/cmd_table.c:326:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 326 | {"cmd.open.dialogue", cmd_open_dialogue, 0, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:326:26: note: (near initialization for ‘cmd_table[163].func_name’) logic/cmd_table.c:327:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 327 | {"cmd.close.dialogue", cmd_close_dialogue, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:327:26: note: (near initialization for ‘cmd_table[164].func_name’) logic/cmd_table.c:330:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 330 | {"cmd.mult.n", cmd_multn, 2, 0x80}, | ^~~~~~~~~~~~ logic/cmd_table.c:330:26: note: (near initialization for ‘cmd_table[165].func_name’) logic/cmd_table.c:331:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 331 | {"cmd.mult.v", cmd_multv, 2, 0xC0}, | ^~~~~~~~~~~~ logic/cmd_table.c:331:26: note: (near initialization for ‘cmd_table[166].func_name’) logic/cmd_table.c:332:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 332 | {"cmd.div.n", cmd_divn, 2, 0x80}, | ^~~~~~~~~~~ logic/cmd_table.c:332:26: note: (near initialization for ‘cmd_table[167].func_name’) logic/cmd_table.c:333:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 333 | {"cmd.div.v", cmd_divv, 2, 0xC0}, | ^~~~~~~~~~~ logic/cmd_table.c:333:26: note: (near initialization for ‘cmd_table[168].func_name’) logic/cmd_table.c:336:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 336 | {"cmd.close.window", cmd_close_window, 0, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:336:26: note: (near initialization for ‘cmd_table[169].func_name’) logic/cmd_table.c:339:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 339 | {"cmd.set.simple", cmd_unknown_170, 1, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:339:26: note: (near initialization for ‘cmd_table[170].func_name’) logic/cmd_table.c:340:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 340 | {"cmd.push.script", cmd_unknown_171, 0, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:340:26: note: (near initialization for ‘cmd_table[171].func_name’) logic/cmd_table.c:341:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 341 | {"cmd.pop.script", cmd_unknown_172, 0, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:341:26: note: (near initialization for ‘cmd_table[172].func_name’) gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/logic_base.c -o logic/logic_base.o logic/cmd_table.c:342:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 342 | {"cmd.hold.key", cmd_unknown_173, 0, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:342:26: note: (near initialization for ‘cmd_table[173].func_name’) logic/cmd_table.c:343:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 343 | {"cmd.set.pri.base", cmd_unknown_174, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:343:26: note: (near initialization for ‘cmd_table[174].func_name’) logic/cmd_table.c:344:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 344 | {"cmd.discard.sound (incomplete)", cmd_do_nothing, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:344:26: note: (near initialization for ‘cmd_table[175].func_name’) logic/cmd_table.c:345:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 345 | {"cmd.hide.mouse (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:345:26: note: (near initialization for ‘cmd_table[176].func_name’) logic/cmd_table.c:346:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 346 | {"cmd.allow.menu", cmd_unknown_177, 1, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:346:26: note: (near initialization for ‘cmd_table[177].func_name’) logic/cmd_table.c:347:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 347 | {"cmd.show.mouse (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:347:26: note: (near initialization for ‘cmd_table[178].func_name’) logic/cmd_table.c:348:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 348 | {"cmd.fence.mouse (incomplete)", cmd_do_nothing, 4, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:348:26: note: (near initialization for ‘cmd_table[179].func_name’) logic/cmd_table.c:350:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 350 | {"cmd.mouse.posn (incomplete)", cmd_do_nothing, 2, 0xC0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:350:26: note: (near initialization for ‘cmd_table[180].func_name’) logic/cmd_table.c:351:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 351 | {"cmd.release.key", cmd_unknown_181, 0, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:351:26: note: (near initialization for ‘cmd_table[181].func_name’) logic/cmd_table.c:352:26: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 352 | {"cmd.adj.ego.move.to.x.y (incomplete)", cmd_do_nothing, 0, 0} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:352:26: note: (near initialization for ‘cmd_table[182].func_name’) gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/logic_eval.c -o logic/logic_eval.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/logic_execute.c -o logic/logic_execute.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/view_base.c -o view/view_base.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_update.c -o view/obj_update.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_blit.c -o view/obj_blit.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_base.c -o view/obj_base.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_proximity.c -o view/obj_proximity.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_position.c -o view/obj_position.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_loop.c -o view/obj_loop.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_motion.c -o view/obj_motion.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_drawerase.c -o view/obj_drawerase.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_cycle.c -o view/obj_cycle.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_motion_cmd.c -o view/obj_motion_cmd.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_block.c -o view/obj_block.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_priority.c -o view/obj_priority.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_picbuff.c -o view/obj_picbuff.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/sound_base.c -o sound/sound_base.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/pcm_out.c -o sound/pcm_out.o sound/pcm_out.c:35:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 35 | {"sdl", pcm_out_sdl_drv_init} | ^~~~~ sound/pcm_out.c:35:10: note: (near initialization for ‘pcm_out_init_list[0].name’) gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/pcm_out_sdl.c -o sound/pcm_out_sdl.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/sound_gen.c -o sound/sound_gen.o sound/sound_gen.c: In function ‘volume_calc’: sound/sound_gen.c:188:39: warning: pointer targets in assignment from ‘s8 *’ {aka ‘signed char *’} to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 188 | dissolve_data = dissolve_data_v2; | ^ sound/sound_gen.c:192:39: warning: pointer targets in assignment from ‘s8 *’ {aka ‘signed char *’} to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 192 | dissolve_data = dissolve_data_v3; | ^ sound/sound_gen.c: In function ‘sndgen_callback’: sound/sound_gen.c:284:2: warning: #warning if chan 2.. change noise chan if appropriate [-Wcpp] 284 | #warning if chan 2.. change noise chan if appropriate | ^~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/tone.c -o sound/tone.o sound/tone.c:42:10: warning: pointer targets in initialization of ‘u8 *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 42 | {"pcm_16bit", tone_pcm_drv_init} | ^~~~~~~~~~~ sound/tone.c:42:10: note: (near initialization for ‘tone_init_list[0].name’) gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/tone_pcm.c -o sound/tone_pcm.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/drvpick.c -o sys/drvpick.o sys/drvpick.c: In function ‘drvpick_first’: sys/drvpick.c:54:52: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 54 | while ((i" thing? | ~~~~~~~~~~~~^~~ | | | u8 * {aka unsigned char *} In file included from ui/cmd_input.c:18: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/cmd_input.c:136:40: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] 136 | strcpy(input_prev, input); | ^~~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, 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 ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ui/cmd_input.c:136:52: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 136 | strcpy(input_prev, input); | ^~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ui/cmd_input.c: In function ‘input_echo’: ui/cmd_input.c:174:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 174 | if ( input_cur < strlen(input_prev)) | ^~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/controller.c -o ui/controller.o gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/status.c -o ui/status.o ui/status.c: In function ‘inventory’: ui/status.c:110:58: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 110 | si->col = 39 - strlen(si->name); | ~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from ui/status.c:12: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/status.c:123:26: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 123 | si->name = "nothing"; // name | ^ ui/status.c:139:2: warning: #warning need the joystick BUTT map.. [-Wcpp] 139 | #warning need the joystick BUTT map.. | ^~~~~~~ ui/status.c: In function ‘invent_display’: ui/status.c:171:20: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 171 | agi_printf("You are carrying:"); | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from ui/status.c:24: ui/../ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/status.c:187:28: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 187 | agi_printf("Press ENTER to select, ESC to cancel"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/../ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/status.c:192:28: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 192 | agi_printf("Press a key to return to the game"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/../ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/status.c: In function ‘status_line_write’: ui/status.c:252:28: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 252 | agi_printf("Score:%d of %d", state.var[V03_SCORE], state.var[V07_MAXSCORE]); | ^~~~~~~~~~~~~~~~ | | | char * ui/../ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/status.c:256:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 256 | agi_printf("Sound:%s", "off"); | ^~~~~~~~~~ | | | char * ui/../ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/status.c:258:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 258 | agi_printf("Sound:%s", "on"); | ^~~~~~~~~~ | | | char * ui/../ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/menu.c -o ui/menu.o ui/menu.c: In function ‘cmd_set_menu’: ui/menu.c:63:25: warning: pointer targets in passing argument 1 of ‘strdup’ differ in signedness [-Wpointer-sign] 63 | m_name = strdup(logic_msg(*(c++))); | ^~~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from ui/menu.c:20: /usr/include/string.h:187:34: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c:63:16: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 63 | m_name = strdup(logic_msg(*(c++))); | ^ ui/menu.c:88:36: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 88 | menu_col += strlen(m_name) + 1; | ^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c: In function ‘cmd_set_menu_item’: ui/menu.c:103:23: warning: pointer targets in passing argument 1 of ‘strdup’ differ in signedness [-Wpointer-sign] 103 | name = strdup(logic_msg(*(c++))); | ^~~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:187:34: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c:103:14: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 103 | name = strdup(logic_msg(*(c++))); | ^ ui/menu.c:127:37: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 127 | if ((strlen(name) + menu_cur->col) < 0x27) | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c:130:63: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 130 | menu_item_col = 0x27 - strlen(name); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c: In function ‘menu_calc_size’: ui/menu.c:454:44: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 454 | menu_size_width = (strlen((m->head)->name) << 2) + 8; | ~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/mouse.c -o ui/mouse.o ui/mouse.c: In function ‘mouse_init’: ui/mouse.c:223:50: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 223 | cmd_table[171].func_name = "cmd.poll.mouse"; | ^ ui/mouse.c:249:50: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 249 | cmd_table[171].func_name = "cmd.push.script"; | ^ ui/mouse.c: In function ‘mouse_shutdown’: ui/mouse.c:273:34: warning: pointer targets in assignment from ‘char *’ to ‘u8 *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 273 | cmd_table[171].func_name = "cmd.push.script"; | ^ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/list_box.c -o ui/list_box.o ui/list_box.c: In function ‘list_print’: ui/list_box.c:53:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 53 | if ((strlen(list[i]) > 550) || (size->w >= 500)) | ~~~~^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:35, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from ui/../agi.h:5, from ui/list_box.c:6: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/list_box.c:54:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 54 | agi_printf(" - *TOO LONG*"); | ^~~~~~~~~~~~~~~ | | | char * In file included from ui/list_box.c:20: ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/list_box.c:57:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 57 | sprintf(str, " - %s", list[i]); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/13/include/stdint.h:9, from /usr/include/SDL/SDL_config-riscv64.h:48, from /usr/include/SDL/SDL_config.h:74, from /usr/include/SDL/SDL_stdinc.h:29: /usr/include/bits/stdio2.h:28:1: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ui/list_box.c:59:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 59 | agi_printf("%s", str); | ^~~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/list_box.c:67:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 67 | agi_printf("U"); | ^~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/list_box.c:69:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 69 | agi_printf(" "); | ^~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/list_box.c:73:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 73 | agi_printf("D"); | ^~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/list_box.c:75:36: warning: pointer targets in passing argument 1 of ‘agi_printf’ differ in signedness [-Wpointer-sign] 75 | agi_printf(" "); | ^~~ | | | char * ui/printf.h:1:28: note: expected ‘u8 *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/list_box.c:57:42: warning: ‘%s’ directive writing up to 550 bytes into a region of size 497 [-Wformat-overflow=] 57 | sprintf(str, " - %s", list[i]); | ^~ In file included from /usr/include/stdio.h:980, from /usr/include/SDL/SDL_stdinc.h:33: In function ‘sprintf’, inlined from ‘list_print’ at ui/list_box.c:57:4: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 4 and 554 bytes into a destination of size 500 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN base.o debug.o decrypt.o flags.o nagi_main.o initialise.o agi_string.o new_room.o objects.o state_io.o agi.o state_info.o obj_show.o game_id.o cmd_misc.o trace.o config.o list.o log.o version/agi_crc.o version/standard.o res/res_dir.o res/res_vol.o res/res_lzw.o res/res_pic.o sys/script.o sys/error.o sys/glob_sys.o sys/delay.o sys/memory.o sys/rand.o sys/endian.o sys/time.o sys/mem_wrap.o sys/sys_dir.o sys/vstring.o sys/ini_config.o sys/gfx.o sys/vid_render.o sys/drv_dummy.o sys/drv_sdl.o sys/drv_video.o sys/chargen.o sys/agi_file.o picture/pic_render.o picture/pic_res.o picture/sbuf_util.o picture/pic_add.o logic/arithmetic.o logic/cmd_table.o logic/logic_base.o logic/logic_eval.o logic/logic_execute.o view/view_base.o view/obj_update.o view/obj_blit.o view/obj_base.o view/obj_proximity.o view/obj_position.o view/obj_loop.o view/obj_motion.o view/obj_drawerase.o view/obj_cycle.o view/obj_motion_cmd.o view/obj_block.o view/obj_priority.o view/obj_picbuff.o sound/sound_base.o sound/pcm_out.o sound/pcm_out_sdl.o sound/sound_gen.o sound/tone.o sound/tone_pcm.o sys/drvpick.o ui/parse.o ui/window.o ui/printf.o ui/agi_text.o ui/string.o ui/msg.o ui/events.o ui/cmd_input.o ui/controller.o ui/status.o ui/menu.o ui/mouse.o ui/list_box.o -lSDLmain -lSDL -lpthread -o ../bin/nagi + docbook2man /builddir/build/SOURCES/nagi.sgml Using catalogs: /etc/sgml/sgml-docbook-4.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print Working on: /builddir/build/SOURCES/nagi.sgml .sp .RS .sp .nf .sp .fi .RE .sp Jarno Elonen 2003elonen+ cd .. + sed -i 's/\r//' license.txt + sed -i 's/\r//' readme.html + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xitKxq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nagi + mkdir -p /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64//usr/bin + install -Dp -m755 bin/nagi /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64//usr/bin/nagi + mkdir -p /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/usr/share/nagi + install -Dp -m644 bin/font_16x16.nbf bin/font_4x8.nbf bin/font_8x8.nbf /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/usr/share/nagi/ + mkdir -p /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/etc/nagi + install -Dp -m644 bin/nagi.ini /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/etc/nagi/ + install -Dp -m644 bin/standard.ini /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/etc/nagi/ + mkdir -p /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/usr/share/man/man1 + install -Dp -m644 src/nagi.1 /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/usr/share/man/man1 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.06-34.fc40 --unique-debug-suffix -2.06-34.fc40.riscv64 --unique-debug-src-base nagi-2.06-34.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nagi find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/nagi-2.06-34.fc40.riscv64 880 blocks find-debuginfo: done + /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: nagi-2.06-34.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6pEenw + umask 022 + cd /builddir/build/BUILD + cd nagi + DOCDIR=/builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/usr/share/doc/nagi + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/usr/share/doc/nagi + cp -pr /builddir/build/BUILD/nagi/readme.html /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/usr/share/doc/nagi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vEQgrZ + umask 022 + cd /builddir/build/BUILD + cd nagi + LICENSEDIR=/builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/usr/share/licenses/nagi + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/usr/share/licenses/nagi + cp -pr /builddir/build/BUILD/nagi/license.txt /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64/usr/share/licenses/nagi + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(nagi) = 2.06-34.fc40 nagi = 2.06-34.fc40 nagi(riscv-64) = 2.06-34.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: nagi-debugsource-2.06-34.fc40.riscv64 Provides: nagi-debugsource = 2.06-34.fc40 nagi-debugsource(riscv-64) = 2.06-34.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nagi-debuginfo-2.06-34.fc40.riscv64 Provides: debuginfo(build-id) = 0b686cd1cfb532252585102c50f24be6a9b7aff2 nagi-debuginfo = 2.06-34.fc40 nagi-debuginfo(riscv-64) = 2.06-34.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nagi-debugsource(riscv-64) = 2.06-34.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64 Wrote: /builddir/build/RPMS/nagi-2.06-34.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/nagi-debuginfo-2.06-34.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/nagi-debugsource-2.06-34.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XKrOAq + umask 022 + cd /builddir/build/BUILD + cd nagi + /usr/bin/rm -rf /builddir/build/BUILDROOT/nagi-2.06-34.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.vqPtzs + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/nagi-SPECPARTS + rm -rf nagi nagi.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0