Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/nagi.spec'], chrootPath='/var/lib/mock/f33-build-298052-56061/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/nagi-2.06-27.fc33.src.rpm 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/f33-build-298052-56061/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MkJ5Y3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nagi + /usr/bin/mkdir -p nagi + cd nagi + /usr/bin/gzip -dc /builddir/build/SOURCES/nagi_src_-_2002-11-14.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /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 -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 Patch #1 (nagi-2.06-build_with_gcc-3.4.patch): + echo 'Patch #1 (nagi-2.06-build_with_gcc-3.4.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 Patch #2 (nagi-2.06-build_with_gcc-4.0.patch): + echo 'Patch #2 (nagi-2.06-build_with_gcc-4.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -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.oysfN4 + umask 022 + cd /builddir/build/BUILD + cd nagi + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon' + cd src + make -f Makefile.linux gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:14: 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:18: 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 * 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); | ~~~~^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c debug.c -o debug.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:17: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 10 | u8 *d_string = ""; | ^~ decrypt.c:18:13: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 18 | d_string = DECRYPT_STRING; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c flags.c -o flags.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:15: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:22: 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:29: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:10: 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:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:95:14: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c: In function 'cmd_word_to_string': agi_string.c:103:10: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:103:25: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c: In function 'string_edit_old': agi_string.c:120:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 120 | strncpy(buff, str, len-1); | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:120:16: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 120 | strncpy(buff, str, len-1); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:122:26: 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:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agi_string.c:152:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 152 | strcpy(str, buff); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c:152:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 152 | strcpy(str, buff); | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c: In function 'cmd_set_game_id': agi_string.c:176:15: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:176:20: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c: In function 'stredit_disp': agi_string.c:267:37: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agi_string.c:270:32: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agi_string.c: In function 'string_edit': agi_string.c:297:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 297 | strcpy(str_edit, str); | ^~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c:297:19: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 297 | strcpy(str_edit, str); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c:298:31: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agi_string.c:339:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 339 | strcpy(str, str_edit); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c:339:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 339 | strcpy(str, str_edit); | ^~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c new_room.c -o new_room.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:23: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:29: 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:27: 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:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:123:52: 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:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /usr/include/stdlib.h:568, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_io.c:13: state_io.c:124:43: 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 *} In file included from state_io.c:11: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /usr/include/stdlib.h:568, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_io.c:13: state_io.c:126:38: 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 *} In file included from state_io.c:11: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:129:12: 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:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from state_io.c:10: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_io.c:136:36: 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 *} In file included from state_io.c:10: /usr/include/stdio.h:246:44: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ state_io.c:139:12: 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 *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from state_io.c:10: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_io.c:159:16: 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 * 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_unknown_170': state_io.c:212:10: 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 *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from state_io.c:10: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ state_io.c:212:39: 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 *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from state_io.c:10: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ state_io.c: In function 'cmd_save_game': state_io.c:235:27: 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 *} In file included from state_io.c:11: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:235:52: 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 *} In file included from state_io.c:11: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /usr/include/stdlib.h:568, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_io.c:13: state_io.c:236:43: 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 *} In file included from state_io.c:11: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /usr/include/stdlib.h:568, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_io.c:13: state_io.c:238:38: 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 *} In file included from state_io.c:11: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:241:12: 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 *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from state_io.c:10: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_io.c:250:36: 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 *} In file included from state_io.c:10: /usr/include/stdio.h:246:44: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ state_io.c:253:12: 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 *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from state_io.c:10: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_io.c:275:24: warning: pointer targets in passing argument 1 of 'remove' differ in signedness [-Wpointer-sign] 275 | remove(save_filename->data); | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from state_io.c:10: /usr/include/stdio.h:146:32: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 146 | extern int remove (const char *__filename) __THROW; | ~~~~~~~~~~~~^~~~~~~~~~ state_io.c:276:16: 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 * 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 'state_reload': state_io.c:330:2: warning: #warning clear_memory() not implemented [-Wcpp] 330 | #warning clear_memory() not implemented | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c agi.c -o agi.o agi.c:125:3: 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:3: note: (near initialization for 'config_nagi[0].key') agi.c:125:16: 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:16: note: (near initialization for 'config_nagi[0].section') agi.c:126:3: 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:3: note: (near initialization for 'config_nagi[1].key') agi.c:127:3: 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:3: note: (near initialization for 'config_nagi[2].key') agi.c:128:3: 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:3: note: (near initialization for 'config_nagi[3].key') agi.c:129:3: 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:3: note: (near initialization for 'config_nagi[4].key') agi.c:129:50: 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:50: note: (near initialization for 'config_nagi[4].s.def') agi.c:130:3: 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:3: note: (near initialization for 'config_nagi[5].key') agi.c:130:42: 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:42: note: (near initialization for 'config_nagi[5].s.def') agi.c:131:3: 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:3: note: (near initialization for 'config_nagi[6].key') agi.c:131:13: 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:13: note: (near initialization for 'config_nagi[6].section') agi.c:131:49: 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:49: note: (near initialization for 'config_nagi[6].s.def') agi.c:132:3: 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:3: note: (near initialization for 'config_nagi[7].key') agi.c:133:3: 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:3: note: (near initialization for 'config_nagi[8].key') agi.c:134:3: 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:3: note: (near initialization for 'config_nagi[9].key') agi.c:134:49: 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:49: note: (near initialization for 'config_nagi[9].s.def') agi.c:135:3: 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:3: note: (near initialization for 'config_nagi[10].key') agi.c:135:45: 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:45: note: (near initialization for 'config_nagi[10].s.def') agi.c:136:3: 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:3: note: (near initialization for 'config_nagi[11].key') agi.c:136:49: 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:49: note: (near initialization for 'config_nagi[11].s.def') agi.c:137:3: 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:3: note: (near initialization for 'config_nagi[12].key') agi.c:137:49: 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:49: note: (near initialization for 'config_nagi[12].s.def') agi.c:138:3: 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:3: note: (near initialization for 'config_nagi[13].key') agi.c:138:49: 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:49: note: (near initialization for 'config_nagi[13].s.def') agi.c:139:3: 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:3: note: (near initialization for 'config_nagi[14].key') agi.c:139:45: 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:45: note: (near initialization for 'config_nagi[14].s.def') agi.c:140:3: 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:3: note: (near initialization for 'config_nagi[15].key') agi.c:140:57: 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:57: note: (near initialization for 'config_nagi[15].s.def') agi.c:141:3: 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:3: note: (near initialization for 'config_nagi[16].key') agi.c:141:57: 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:57: note: (near initialization for 'config_nagi[16].s.def') agi.c:142:3: 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:3: note: (near initialization for 'config_nagi[17].key') agi.c:142:13: 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:13: note: (near initialization for 'config_nagi[17].section') agi.c:142:49: 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:49: note: (near initialization for 'config_nagi[17].s.def') agi.c:143:3: 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:3: note: (near initialization for 'config_nagi[18].key') agi.c:144:3: 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:3: note: (near initialization for 'config_nagi[19].key') agi.c:145:3: 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:3: note: (near initialization for 'config_nagi[20].key') agi.c:146:3: 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:3: note: (near initialization for 'config_nagi[21].key') agi.c:147:3: 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:3: note: (near initialization for 'config_nagi[22].key') agi.c:148:3: 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:3: note: (near initialization for 'config_nagi[23].key') agi.c:148:16: 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:16: note: (near initialization for 'config_nagi[23].section') agi.c:148:55: 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:55: note: (near initialization for 'config_nagi[23].s.def') agi.c:149:3: 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:3: note: (near initialization for 'config_nagi[24].key') agi.c:149:51: 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:51: note: (near initialization for 'config_nagi[24].s.def') agi.c:156:3: 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:3: note: (near initialization for 'config_standard[0].key') agi.c:156:15: 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:15: note: (near initialization for 'config_standard[0].section') agi.c:156:63: 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:63: note: (near initialization for 'config_standard[0].s.def') agi.c:157:3: 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:3: note: (near initialization for 'config_standard[1].key') agi.c:157:54: 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:54: note: (near initialization for 'config_standard[1].s.def') agi.c:158:3: 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:3: note: (near initialization for 'config_standard[2].key') agi.c:158:48: 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:48: note: (near initialization for 'config_standard[2].s.def') agi.c:159:3: 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:3: note: (near initialization for 'config_standard[3].key') agi.c:159:58: 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:58: note: (near initialization for 'config_standard[3].s.def') agi.c:160:3: 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:3: note: (near initialization for 'config_standard[4].key') agi.c:160:58: 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:58: note: (near initialization for 'config_standard[4].s.def') agi.c:161:3: 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:3: note: (near initialization for 'config_standard[5].key') agi.c:161:70: 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:70: note: (near initialization for 'config_standard[5].s.def') agi.c:162:3: 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:3: note: (near initialization for 'config_standard[6].key') agi.c:162:70: 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:70: note: (near initialization for 'config_standard[6].s.def') agi.c:169:3: 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:3: note: (near initialization for 'config_game[0].key') agi.c:170:3: 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:3: note: (near initialization for 'config_game[1].key') agi.c:171:3: 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:3: note: (near initialization for 'config_game[2].key') agi.c:173:3: 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:3: note: (near initialization for 'config_game[3].key') agi.c:174:3: 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:3: note: (near initialization for 'config_game[4].key') agi.c:175:3: 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:3: note: (near initialization for 'config_game[5].key') agi.c:176:3: 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:3: note: (near initialization for 'config_game[6].key') agi.c:177:3: 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:3: note: (near initialization for 'config_game[7].key') gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c state_info.c -o state_info.o state_info.c: In function 'state_get_info': state_info.c:104:23: 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:15: 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:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_info.c:173:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 173 | sprintf(msg->data, | ~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_info.c:188:46: 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:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:190:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 190 | sprintf(msg->data, | ~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ In file included from /usr/include/stdlib.h:568, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: state_info.c: In function 'state_get_filename': state_info.c:288:41: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:290:11: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_info.c:298:10: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:298:28: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:300:15: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c:300:48: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c:305:36: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c:322:21: 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:21: 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 * 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:331:20: 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 * 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:337:20: 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 * 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:347:14: 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:15: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:363:49: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:367:16: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:367:49: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c: In function 'state_get_diz': state_info.c:434:32: 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:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/stdio.h:246:44: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ state_info.c:449:13: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c:449:28: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c: In function 'state_name_create': state_info.c:481:22: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:481:79: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:482:11: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 482 | dir_sep = ""; | ^ state_info.c:483:26: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ state_info.c:484:11: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 484 | dir_sep = "\\"; | ^ state_info.c:486:11: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 486 | dir_sep = "/"; | ^ state_info.c:493:18: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_info.c: In function 'state_dir_check': state_info.c:545:31: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:281:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 281 | extern size_t strspn (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ state_info.c:547:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 547 | if (strlen(dir->data) == 0) | ~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:550:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 550 | path_size = strlen( dir->data); | ~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:569:43: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c: In function 'state_get_diz': state_info.c:444:2: 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:2: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:15: 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:6: warning: variable 'obj_size' set but not used [-Wunused-but-set-variable] 53 | u16 obj_size; | ^~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c game_id.c -o game_id.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:14: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:14: 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:14: 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 * 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:195:15: 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 * 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:200:16: 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 * 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:204:17: 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 * 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:206:17: 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 * 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:219:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 219 | agi_printf(" :%c", 'F'); | ^~~~~~ | | | 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:221:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 221 | agi_printf(" :%c", 'T'); | ^~~~~~ | | | 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: In function 'trace_var_print': trace.c:266:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 266 | agi_printf("%d", var_value); | ^~~~ | | | 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:268:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 268 | agi_printf("%u", var_value); | ^~~~ | | | 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:288:16: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 288 | agi_printf("%d",var_value); | ^~~~ | | | 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:290:16: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 290 | agi_printf("%d", state.var[var_value]); | ^~~~ | | | 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, ...); | ~~~~^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:33: 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:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from config.c:6: /usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ config.c:54:36: 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:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from config.c:6: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ config.c:54:57: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from config.c:6: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ config.c:55:34: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from config.c:6: /usr/include/string.h:171:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 171 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ config.c:55:25: 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:42: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from config.c:6: /usr/include/stdlib.h:176:48: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 176 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c list.c -o list.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:12: 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:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from log.c:6: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ log.c:53:23: 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:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from log.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ log.c:55:23: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from log.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c version/agi_crc.c -o version/agi_crc.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:18: 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:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:334:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 334 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ version/standard.c:136:9: 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:19: 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:19: 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:19: 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:33: 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:18: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:334:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 334 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ version/standard.c:188:9: 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:17: 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:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:196:28: warning: pointer targets in passing argument 2 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:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:211:21: 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:16: 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:16: 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:16: 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:24: 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:11: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:243:11: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c: In function 'crc_print': version/standard.c:270:11: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __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:2: 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:2: note: in expansion of macro 'CRC_FUDGE' 325 | CRC_FUDGE("crc_object", object, 1); | ^~~~~~~~~ version/standard.c:305:31: 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:2: note: in expansion of macro 'CRC_FUDGE' 325 | CRC_FUDGE("crc_object", object, 1); | ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 180 | 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:2: note: in expansion of macro 'CRC_FUDGE' 328 | CRC_FUDGE("crc_words", words, 2); | ^~~~~~~~~ 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:328:2: note: in expansion of macro 'CRC_FUDGE' 328 | CRC_FUDGE("crc_words", words, 2); | ^~~~~~~~~ version/standard.c:305:31: 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:2: note: in expansion of macro 'CRC_FUDGE' 328 | CRC_FUDGE("crc_words", words, 2); | ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:333:11: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __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:3: note: in expansion of macro 'CRC_FUDGE' 334 | CRC_FUDGE(key_vol, vol[i], i+3); | ^~~~~~~~~ version/standard.c:305:31: 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:3: note: in expansion of macro 'CRC_FUDGE' 334 | CRC_FUDGE(key_vol, vol[i], i+3); | ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 180 | 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:4: note: in expansion of macro 'CRC_FUDGE' 342 | CRC_FUDGE("crc_dir", dir_comb, 19); | ^~~~~~~~~ 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:342:4: note: in expansion of macro 'CRC_FUDGE' 342 | CRC_FUDGE("crc_dir", dir_comb, 19); | ^~~~~~~~~ version/standard.c:305:31: 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:4: note: in expansion of macro 'CRC_FUDGE' 342 | CRC_FUDGE("crc_dir", dir_comb, 19); | ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 180 | 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:4: note: in expansion of macro 'CRC_FUDGE' 348 | CRC_FUDGE("crc_dir_log", dir.log, 20); | ^~~~~~~~~ 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:348:4: note: in expansion of macro 'CRC_FUDGE' 348 | CRC_FUDGE("crc_dir_log", dir.log, 20); | ^~~~~~~~~ version/standard.c:305:31: 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:4: note: in expansion of macro 'CRC_FUDGE' 348 | CRC_FUDGE("crc_dir_log", dir.log, 20); | ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 180 | 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:4: note: in expansion of macro 'CRC_FUDGE' 350 | CRC_FUDGE("crc_dir_pic", dir.pic, 21); | ^~~~~~~~~ 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:350:4: note: in expansion of macro 'CRC_FUDGE' 350 | CRC_FUDGE("crc_dir_pic", dir.pic, 21); | ^~~~~~~~~ version/standard.c:305:31: 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:4: note: in expansion of macro 'CRC_FUDGE' 350 | CRC_FUDGE("crc_dir_pic", dir.pic, 21); | ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 180 | 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:4: note: in expansion of macro 'CRC_FUDGE' 352 | CRC_FUDGE("crc_dir_view", dir.view, 22); | ^~~~~~~~~ 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:352:4: note: in expansion of macro 'CRC_FUDGE' 352 | CRC_FUDGE("crc_dir_view", dir.view, 22); | ^~~~~~~~~ version/standard.c:305:31: 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:4: note: in expansion of macro 'CRC_FUDGE' 352 | CRC_FUDGE("crc_dir_view", dir.view, 22); | ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 180 | 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:4: note: in expansion of macro 'CRC_FUDGE' 354 | CRC_FUDGE("crc_dir_snd", dir.snd, 23); | ^~~~~~~~~ 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:354:4: note: in expansion of macro 'CRC_FUDGE' 354 | CRC_FUDGE("crc_dir_snd", dir.snd, 23); | ^~~~~~~~~ version/standard.c:305:31: 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:4: note: in expansion of macro 'CRC_FUDGE' 354 | CRC_FUDGE("crc_dir_snd", dir.snd, 23); | ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/stdlib.h:568, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: version/standard.c: In function 'crc_search': version/standard.c:377:21: 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:13: note: in expansion of macro 'strdupa' 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from version/standard.c:7: version/../agi.h:382:13: 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:13: note: in expansion of macro 'strdupa' 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ In file included from version/standard.c:7: version/standard.c:377:21: 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:19: note: in definition of macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:379:19: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:350:41: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 350 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ version/standard.c:379:8: 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:9: 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:23: warning: pointer targets in passing argument 2 of 'ini_key' differ in signedness [-Wpointer-sign] 413 | name = ini_key(ini, "name"); | ^~~~~~ | | | char * 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:423:22: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:423:40: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:425:12: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:430:26: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:430:46: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:430:64: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:432:12: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:438:14: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 438 | strncpy(info->name, name, 80); | ~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ version/standard.c:438:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 438 | strncpy(info->name, name, 80); | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ version/standard.c:439:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 439 | if (strlen(name) >= 80) | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:442:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 442 | info->name[strlen(name)] = 0; | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c: In function 'gameinfo_add': version/standard.c:489:11: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ In file included from /usr/include/stdlib.h:568, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: version/standard.c: In function 'gi_list_init': version/standard.c:511:21: 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:13: note: in expansion of macro 'strdupa' 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from version/standard.c:7: version/../agi.h:382:13: 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:13: note: in expansion of macro 'strdupa' 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ In file included from version/standard.c:7: version/standard.c:511:21: 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:19: note: in definition of macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:512:19: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:350:41: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 350 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ version/standard.c:512:8: 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:16: 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:134:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 134 | extern DIR *opendir (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ version/standard.c:523:17: 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:506:31: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 506 | extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur; | ~~~~~~~~~~~~^~~~~~ version/standard.c:530:32: 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:9: 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:14: 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:34: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:611:60: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:614:10: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c: In function 'standard_init_ng': version/standard.c:652:25: 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:25: 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:9: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:706:29: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:723:40: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:724:11: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:727:18: 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:20: 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:32, from /usr/include/SDL/SDL_events.h:35, from /usr/include/SDL/SDL.h:37, from version/../agi.h:5, from version/standard.c:7: /usr/include/SDL/SDL_video.h:885:60: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 885 | extern DECLSPEC void SDLCALL SDL_WM_SetCaption(const char *title, const char *icon); | ~~~~~~~~~~~~^~~~~ version/standard.c: In function 'gameinfo_compare': version/standard.c:743:26: 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:446, from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /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:40: 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 *} In file included from /usr/include/string.h:446, from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /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:13: 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:26: warning: pointer targets in passing argument 1 of 'ini_open' differ in signedness [-Wpointer-sign] 799 | ini_standard = ini_open(tmp); | ^~~ | | | char * In file included from version/standard.c:28: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:32: 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:32: 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 * 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:89:33: 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 * 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:90:32: 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 * 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:101:13: 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:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_dir.c:108:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 108 | sprintf(dir_v3_name, "dirs"); | ^~~~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_dir.c: In function 'dir_error': res/res_dir.c:176:10: 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 *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_dir.c: In function 'dir_logic': res/res_dir.c:186:13: 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:13: 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:13: 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:13: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:11: 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:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c:272:11: 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 *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c: In function 'err_wrong_disk': res/res_vol.c:284:10: 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 *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c: In function 'volumes_open': res/res_vol.c:306:12: 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 *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c:308:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 308 | sprintf(name, "vol.%d", i); | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c: In function 'file_load': res/res_vol.c:352:11: 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 *} In file included from /usr/include/features.h:465, 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:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c:370:22: 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) | ^~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:3: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:3: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:16: 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:16: 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:16: 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:16: 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:16: 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:16: 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:16: 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:16: 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:16: 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:16: 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:6: warning: variable 'script_name' set but not used [-Wunused-but-set-variable] 61 | u8 *script_name = 0; | ^~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:13: 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:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/error.c:11: /usr/include/bits/stdio2.h:67:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 67 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ sys/error.c:109:65: 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:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/error.c:11: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/error.c:109:10: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/error.c:11: /usr/include/bits/string_fortified.h:134:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 134 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sys/error.c:110:58: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/error.c:11: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/error.c:110:10: 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/error.c:11: /usr/include/bits/string_fortified.h:134:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 134 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/glob_sys.c -o sys/glob_sys.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/delay.c -o sys/delay.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:3: warning: 'ftime' is deprecated [-Wdeprecated-declarations] 31 | ftime(&t); | ^~~~~ In file included from sys/rand.c:8: /usr/include/sys/timeb.h:39:12: note: declared here 39 | extern int ftime (struct timeb *__timebuf) | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/endian.c -o sys/endian.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/mem_wrap.c -o sys/mem_wrap.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:568, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/sys_dir.c:13: sys/sys_dir.c: In function 'dir_init': sys/sys_dir.c:96:22: 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:14: note: in expansion of macro 'strdupa' 96 | path_cpy = strdupa(argv0); | ^~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/sys_dir.c:13: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from sys/sys_dir.c:13: sys/../agi.h:382:13: 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:14: note: in expansion of macro 'strdupa' 96 | path_cpy = strdupa(argv0); | ^~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/unistd.h:25, from sys/sys_dir.c:8: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ In file included from sys/sys_dir.c:13: sys/sys_dir.c:96:22: 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:19: note: in definition of macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/unistd.h:25, from sys/sys_dir.c:8: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/sys_dir.c:101:27: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/sys_dir.c:13: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/sys_dir.c: In function 'dir_preset_change': sys/sys_dir.c:172:38: 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 *} In file included from sys/sys_dir.c:8: /usr/include/unistd.h:506:31: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 506 | extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur; | ~~~~~~~~~~~~^~~~~~ sys/sys_dir.c: In function 'vstring_getcwd': sys/sys_dir.c:186:22: 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 *} In file included from /usr/include/features.h:465, from /usr/include/unistd.h:25, from sys/sys_dir.c:8: /usr/include/bits/unistd.h:207:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 207 | __NTH (getcwd (char *__buf, size_t __size)) | ^~~~~ sys/sys_dir.c:186:9: 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:33: 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:446, from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/sys_dir.c:13: /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:15: 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:134:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 134 | extern DIR *opendir (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:30: 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:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c:58:25: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c:67:16: 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:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/vstring.c:67:24: warning: pointer targets in passing argument 2 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:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/vstring.c:68:23: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c: In function 'vstring_shrink': sys/vstring.c:90:23: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c: In function 'vstring_set_text': sys/vstring.c:107:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 107 | str_size = strlen(str)+1; | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c:112:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 112 | strcpy(vs->data, str); | ~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/vstring.c:112:20: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 112 | strcpy(vs->data, str); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/vstring.c: In function 'vstring_shift': sys/vstring.c:139:16: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:16: 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:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/ini_config.c:10: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/ini_config.c:200:30: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/ini_config.c:10: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/ini_config.c: In function 'ini_key': sys/ini_config.c:237:15: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/ini_config.c:10: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/ini_config.c:237:28: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/ini_config.c:10: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/ini_config.c:243:30: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/ini_config.c:10: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ sys/ini_config.c:243:18: 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:27: 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:568, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/ini_config.c:10: sys/ini_config.c:288:29: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/ini_config.c:10: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/ini_config.c:289:11: 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:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/ini_config.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/ini_config.c:289:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 289 | strcpy(inherits, key_data); | ^~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/ini_config.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/gfx.c -o sys/gfx.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:19: 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:446, from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, 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:24: 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 *} In file included from /usr/include/string.h:446, from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, 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) | ~~~~~~~~~~~~^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/drv_dummy.c -o sys/drv_dummy.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/drv_sdl.c -o sys/drv_sdl.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:18: 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:446, from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:568, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: sys/chargen.c: In function 'font_open': sys/chargen.c:105:17: 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:9: note: in expansion of macro 'strdupa' 105 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from sys/chargen.c:8: sys/../agi.h:382:13: 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:9: note: in expansion of macro 'strdupa' 105 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ In file included from sys/chargen.c:8: sys/chargen.c:105:17: 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:19: note: in definition of macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/chargen.c:106:19: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/string.h:350:41: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 350 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ sys/chargen.c:106:8: 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 *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | 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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/bits/string_fortified.h:127:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 127 | __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 *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/bits/string_fortified.h:127:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 127 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/chargen.c:113:20: 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:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/stdio.h:246:44: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 246 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ sys/chargen.c:138:9: 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:3: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:22: 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:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/agi_file.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/agi_file.c:64:35: 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:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/agi_file.c:10: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/agi_file.c:65:11: 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:16: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 67 | tok = strtok(name, "*"); | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/agi_file.c:10: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ sys/agi_file.c:75:20: 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:11: 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:20: 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:15: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 132 | strcpy(name, orig_name); | ^~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/agi_file.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/agi_file.c:135:15: 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); | ~~~~^~~ In file included from sys/agi_file.c:10: sys/../agi.h:382:13: 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:14: note: in expansion of macro 'strdupa' 140 | testname = strdupa(fileent->d_name); | ^~~~~~~ In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/agi_file.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/agi_file.c:140:12: 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:16: warning: pointer targets in passing argument 1 of 'string_lower' differ in signedness [-Wpointer-sign] 141 | string_lower(testname); | ^~~~~~~~ | | | 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); | ~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c picture/pic_render.c -o picture/pic_render.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c picture/pic_res.c -o picture/pic_res.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:5: warning: variable 'mask_bh' set but not used [-Wunused-but-set-variable] 197 | u8 mask_bh, mask_dl, colour_bl; | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c picture/pic_add.c -o picture/pic_add.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/arithmetic.c -o logic/arithmetic.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:5: 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:5: note: (near initialization for 'eval_table[0].func_name') logic/cmd_table.c:91:5: 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:5: note: (near initialization for 'eval_table[1].func_name') logic/cmd_table.c:92:5: 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:5: note: (near initialization for 'eval_table[2].func_name') logic/cmd_table.c:93:5: 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:5: note: (near initialization for 'eval_table[3].func_name') logic/cmd_table.c:94:5: 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:5: note: (near initialization for 'eval_table[4].func_name') logic/cmd_table.c:95:5: 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:5: note: (near initialization for 'eval_table[5].func_name') logic/cmd_table.c:96:5: 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:5: note: (near initialization for 'eval_table[6].func_name') logic/cmd_table.c:97:5: 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:5: note: (near initialization for 'eval_table[7].func_name') logic/cmd_table.c:98:5: 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:5: note: (near initialization for 'eval_table[8].func_name') logic/cmd_table.c:99:5: 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:5: note: (near initialization for 'eval_table[9].func_name') logic/cmd_table.c:100:5: 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:5: note: (near initialization for 'eval_table[10].func_name') logic/cmd_table.c:101:5: 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:5: note: (near initialization for 'eval_table[11].func_name') logic/cmd_table.c:102:5: 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:5: note: (near initialization for 'eval_table[12].func_name') logic/cmd_table.c:103:5: 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:5: note: (near initialization for 'eval_table[13].func_name') logic/cmd_table.c:104:5: 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:5: note: (near initialization for 'eval_table[14].func_name') logic/cmd_table.c:105:5: 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:5: note: (near initialization for 'eval_table[15].func_name') logic/cmd_table.c:106:5: 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:5: note: (near initialization for 'eval_table[16].func_name') logic/cmd_table.c:107:5: 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:5: note: (near initialization for 'eval_table[17].func_name') logic/cmd_table.c:108:5: 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:5: note: (near initialization for 'eval_table[18].func_name') logic/cmd_table.c:109:5: 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:5: note: (near initialization for 'eval_table[19].func_name') logic/cmd_table.c:114:5: 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:5: note: (near initialization for 'cmd_table[0].func_name') logic/cmd_table.c:117:5: 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:5: note: (near initialization for 'cmd_table[1].func_name') logic/cmd_table.c:118:5: 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:5: note: (near initialization for 'cmd_table[2].func_name') logic/cmd_table.c:119:5: 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:5: note: (near initialization for 'cmd_table[3].func_name') logic/cmd_table.c:120:5: 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:5: note: (near initialization for 'cmd_table[4].func_name') logic/cmd_table.c:121:5: 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:5: note: (near initialization for 'cmd_table[5].func_name') logic/cmd_table.c:122:5: 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:5: note: (near initialization for 'cmd_table[6].func_name') logic/cmd_table.c:123:5: 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:5: note: (near initialization for 'cmd_table[7].func_name') logic/cmd_table.c:124:5: 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:5: note: (near initialization for 'cmd_table[8].func_name') logic/cmd_table.c:125:5: 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:5: note: (near initialization for 'cmd_table[9].func_name') logic/cmd_table.c:126:5: 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:5: note: (near initialization for 'cmd_table[10].func_name') logic/cmd_table.c:127:5: 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:5: note: (near initialization for 'cmd_table[11].func_name') logic/cmd_table.c:130:5: 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:5: note: (near initialization for 'cmd_table[12].func_name') logic/cmd_table.c:131:5: 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:5: note: (near initialization for 'cmd_table[13].func_name') logic/cmd_table.c:132:5: 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:5: note: (near initialization for 'cmd_table[14].func_name') logic/cmd_table.c:133:5: 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:5: note: (near initialization for 'cmd_table[15].func_name') logic/cmd_table.c:134:5: 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:5: note: (near initialization for 'cmd_table[16].func_name') logic/cmd_table.c:135:5: 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:5: note: (near initialization for 'cmd_table[17].func_name') logic/cmd_table.c:138:5: 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:5: note: (near initialization for 'cmd_table[18].func_name') logic/cmd_table.c:139:5: 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:5: note: (near initialization for 'cmd_table[19].func_name') logic/cmd_table.c:142:5: 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:5: note: (near initialization for 'cmd_table[20].func_name') logic/cmd_table.c:143:5: 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:5: note: (near initialization for 'cmd_table[21].func_name') logic/cmd_table.c:144:5: 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:5: note: (near initialization for 'cmd_table[22].func_name') logic/cmd_table.c:145:5: 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:5: note: (near initialization for 'cmd_table[23].func_name') logic/cmd_table.c:148:5: 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:5: note: (near initialization for 'cmd_table[24].func_name') logic/cmd_table.c:149:5: 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:5: note: (near initialization for 'cmd_table[25].func_name') logic/cmd_table.c:150:5: 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:5: note: (near initialization for 'cmd_table[26].func_name') logic/cmd_table.c:151:5: 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:5: note: (near initialization for 'cmd_table[27].func_name') logic/cmd_table.c:152:5: 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:5: note: (near initialization for 'cmd_table[28].func_name') logic/cmd_table.c:153:5: 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:5: note: (near initialization for 'cmd_table[29].func_name') logic/cmd_table.c:156:5: 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:5: note: (near initialization for 'cmd_table[30].func_name') logic/cmd_table.c:157:5: 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:5: note: (near initialization for 'cmd_table[31].func_name') logic/cmd_table.c:158:5: 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:5: note: (near initialization for 'cmd_table[32].func_name') logic/cmd_table.c:159:5: 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:5: note: (near initialization for 'cmd_table[33].func_name') logic/cmd_table.c:160:5: 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:5: note: (near initialization for 'cmd_table[34].func_name') logic/cmd_table.c:161:5: 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:5: note: (near initialization for 'cmd_table[35].func_name') logic/cmd_table.c:162:5: 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:5: note: (near initialization for 'cmd_table[36].func_name') logic/cmd_table.c:165:5: 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:5: note: (near initialization for 'cmd_table[37].func_name') logic/cmd_table.c:166:5: 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:5: note: (near initialization for 'cmd_table[38].func_name') logic/cmd_table.c:167:5: 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:5: note: (near initialization for 'cmd_table[39].func_name') logic/cmd_table.c:168:5: 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:5: note: (near initialization for 'cmd_table[40].func_name') logic/cmd_table.c:171:5: 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:5: note: (near initialization for 'cmd_table[41].func_name') logic/cmd_table.c:172:5: 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:5: note: (near initialization for 'cmd_table[42].func_name') logic/cmd_table.c:173:5: 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:5: note: (near initialization for 'cmd_table[43].func_name') logic/cmd_table.c:174:5: 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:5: note: (near initialization for 'cmd_table[44].func_name') logic/cmd_table.c:175:5: 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:5: note: (near initialization for 'cmd_table[45].func_name') logic/cmd_table.c:176:5: 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:5: note: (near initialization for 'cmd_table[46].func_name') logic/cmd_table.c:177:5: 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:5: note: (near initialization for 'cmd_table[47].func_name') logic/cmd_table.c:178:5: 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:5: note: (near initialization for 'cmd_table[48].func_name') logic/cmd_table.c:179:5: 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:5: note: (near initialization for 'cmd_table[49].func_name') logic/cmd_table.c:180:5: 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:5: note: (near initialization for 'cmd_table[50].func_name') logic/cmd_table.c:181:5: 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:5: note: (near initialization for 'cmd_table[51].func_name') logic/cmd_table.c:182:5: 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:5: note: (near initialization for 'cmd_table[52].func_name') logic/cmd_table.c:183:5: 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:5: note: (near initialization for 'cmd_table[53].func_name') logic/cmd_table.c:186:5: 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:5: note: (near initialization for 'cmd_table[54].func_name') logic/cmd_table.c:187:5: 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:5: note: (near initialization for 'cmd_table[55].func_name') logic/cmd_table.c:188:5: 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:5: note: (near initialization for 'cmd_table[56].func_name') logic/cmd_table.c:189:5: 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:5: note: (near initialization for 'cmd_table[57].func_name') logic/cmd_table.c:192:5: 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:5: note: (near initialization for 'cmd_table[58].func_name') logic/cmd_table.c:193:5: 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:5: note: (near initialization for 'cmd_table[59].func_name') logic/cmd_table.c:194:5: 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:5: note: (near initialization for 'cmd_table[60].func_name') logic/cmd_table.c:197:5: 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:5: note: (near initialization for 'cmd_table[61].func_name') logic/cmd_table.c:198:5: 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:5: note: (near initialization for 'cmd_table[62].func_name') logic/cmd_table.c:199:5: 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:5: note: (near initialization for 'cmd_table[63].func_name') logic/cmd_table.c:200:5: 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:5: note: (near initialization for 'cmd_table[64].func_name') logic/cmd_table.c:201:5: 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:5: note: (near initialization for 'cmd_table[65].func_name') logic/cmd_table.c:202:5: 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:5: note: (near initialization for 'cmd_table[66].func_name') logic/cmd_table.c:205:5: 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:5: note: (near initialization for 'cmd_table[67].func_name') logic/cmd_table.c:206:5: 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:5: note: (near initialization for 'cmd_table[68].func_name') logic/cmd_table.c:207:5: 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:5: note: (near initialization for 'cmd_table[69].func_name') logic/cmd_table.c:209:5: 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:5: note: (near initialization for 'cmd_table[70].func_name') logic/cmd_table.c:210:5: 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:5: note: (near initialization for 'cmd_table[71].func_name') logic/cmd_table.c:211:5: 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:5: note: (near initialization for 'cmd_table[72].func_name') logic/cmd_table.c:212:5: 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:5: note: (near initialization for 'cmd_table[73].func_name') logic/cmd_table.c:213:5: 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:5: note: (near initialization for 'cmd_table[74].func_name') logic/cmd_table.c:214:5: 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:5: note: (near initialization for 'cmd_table[75].func_name') logic/cmd_table.c:215:5: 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:5: note: (near initialization for 'cmd_table[76].func_name') logic/cmd_table.c:218:5: 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:5: note: (near initialization for 'cmd_table[77].func_name') logic/cmd_table.c:219:5: 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:5: note: (near initialization for 'cmd_table[78].func_name') logic/cmd_table.c:220:5: 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:5: note: (near initialization for 'cmd_table[79].func_name') logic/cmd_table.c:221:5: 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:5: note: (near initialization for 'cmd_table[80].func_name') logic/cmd_table.c:222:5: 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:5: note: (near initialization for 'cmd_table[81].func_name') logic/cmd_table.c:223:5: 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:5: note: (near initialization for 'cmd_table[82].func_name') logic/cmd_table.c:224:5: 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:5: note: (near initialization for 'cmd_table[83].func_name') logic/cmd_table.c:225:5: 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:5: note: (near initialization for 'cmd_table[84].func_name') logic/cmd_table.c:226:5: 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:5: note: (near initialization for 'cmd_table[85].func_name') logic/cmd_table.c:227:5: 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:5: note: (near initialization for 'cmd_table[86].func_name') gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:228:5: 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:5: note: (near initialization for 'cmd_table[87].func_name') logic/cmd_table.c:231:5: 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:5: note: (near initialization for 'cmd_table[88].func_name') logic/cmd_table.c:232:5: 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:5: note: (near initialization for 'cmd_table[89].func_name') logic/cmd_table.c:233:5: 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:5: note: (near initialization for 'cmd_table[90].func_name') logic/cmd_table.c:234:5: 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:5: note: (near initialization for 'cmd_table[91].func_name') logic/cmd_table.c:237:5: 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:5: note: (near initialization for 'cmd_table[92].func_name') logic/cmd_table.c:238:5: 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:5: note: (near initialization for 'cmd_table[93].func_name') logic/cmd_table.c:239:5: 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:5: note: (near initialization for 'cmd_table[94].func_name') logic/cmd_table.c:240:5: 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:5: note: (near initialization for 'cmd_table[95].func_name') logic/cmd_table.c:241:5: 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:5: note: (near initialization for 'cmd_table[96].func_name') logic/cmd_table.c:242:5: 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:5: note: (near initialization for 'cmd_table[97].func_name') logic/cmd_table.c:245:5: 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:5: note: (near initialization for 'cmd_table[98].func_name') logic/cmd_table.c:246:5: 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:5: note: (near initialization for 'cmd_table[99].func_name') logic/cmd_table.c:247:5: 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:5: note: (near initialization for 'cmd_table[100].func_name') logic/cmd_table.c:248:5: 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:5: note: (near initialization for 'cmd_table[101].func_name') logic/cmd_table.c:249:5: 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:5: note: (near initialization for 'cmd_table[102].func_name') logic/cmd_table.c:250:5: 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:5: note: (near initialization for 'cmd_table[103].func_name') logic/cmd_table.c:251:5: 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:5: note: (near initialization for 'cmd_table[104].func_name') logic/cmd_table.c:252:5: 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:5: note: (near initialization for 'cmd_table[105].func_name') logic/cmd_table.c:253:5: 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:5: note: (near initialization for 'cmd_table[106].func_name') logic/cmd_table.c:254:5: 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:5: note: (near initialization for 'cmd_table[107].func_name') logic/cmd_table.c:257:5: 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:5: note: (near initialization for 'cmd_table[108].func_name') logic/cmd_table.c:258:5: 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:5: note: (near initialization for 'cmd_table[109].func_name') logic/cmd_table.c:259:5: 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:5: note: (near initialization for 'cmd_table[110].func_name') logic/cmd_table.c:260:5: 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:5: note: (near initialization for 'cmd_table[111].func_name') logic/cmd_table.c:261:5: 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:5: note: (near initialization for 'cmd_table[112].func_name') logic/cmd_table.c:262:5: 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:5: note: (near initialization for 'cmd_table[113].func_name') logic/cmd_table.c:263:5: 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:5: note: (near initialization for 'cmd_table[114].func_name') logic/cmd_table.c:264:5: 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:5: note: (near initialization for 'cmd_table[115].func_name') logic/cmd_table.c:265:5: 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:5: note: (near initialization for 'cmd_table[116].func_name') logic/cmd_table.c:266:5: 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:5: note: (near initialization for 'cmd_table[117].func_name') logic/cmd_table.c:269:5: 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:5: note: (near initialization for 'cmd_table[118].func_name') logic/cmd_table.c:270:5: 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:5: note: (near initialization for 'cmd_table[119].func_name') logic/cmd_table.c:271:5: 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:5: note: (near initialization for 'cmd_table[120].func_name') logic/cmd_table.c:272:5: 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:5: note: (near initialization for 'cmd_table[121].func_name') logic/cmd_table.c:273:5: 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:5: note: (near initialization for 'cmd_table[122].func_name') logic/cmd_table.c:274:5: 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:5: note: (near initialization for 'cmd_table[123].func_name') logic/cmd_table.c:275:5: 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:5: note: (near initialization for 'cmd_table[124].func_name') logic/cmd_table.c:276:5: 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:5: note: (near initialization for 'cmd_table[125].func_name') logic/cmd_table.c:277:5: 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:5: note: (near initialization for 'cmd_table[126].func_name') logic/cmd_table.c:278:5: 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:5: note: (near initialization for 'cmd_table[127].func_name') logic/cmd_table.c:281:5: 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:5: note: (near initialization for 'cmd_table[128].func_name') logic/cmd_table.c:282:5: 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:5: note: (near initialization for 'cmd_table[129].func_name') logic/cmd_table.c:283:5: 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:5: note: (near initialization for 'cmd_table[130].func_name') logic/cmd_table.c:284:5: 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:5: note: (near initialization for 'cmd_table[131].func_name') logic/cmd_table.c:285:5: 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:5: note: (near initialization for 'cmd_table[132].func_name') logic/cmd_table.c:286:5: 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:5: note: (near initialization for 'cmd_table[133].func_name') logic/cmd_table.c:287:5: 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:5: note: (near initialization for 'cmd_table[134].func_name') logic/cmd_table.c:288:5: 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:5: note: (near initialization for 'cmd_table[135].func_name') logic/cmd_table.c:289:5: 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:5: note: (near initialization for 'cmd_table[136].func_name') logic/cmd_table.c:290:5: 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:5: note: (near initialization for 'cmd_table[137].func_name') logic/cmd_table.c:293:5: 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:5: note: (near initialization for 'cmd_table[138].func_name') logic/cmd_table.c:294:5: 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:5: note: (near initialization for 'cmd_table[139].func_name') logic/cmd_table.c:295:5: 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:5: note: (near initialization for 'cmd_table[140].func_name') logic/cmd_table.c:296:5: 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:5: note: (near initialization for 'cmd_table[141].func_name') logic/cmd_table.c:297:5: 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:5: note: (near initialization for 'cmd_table[142].func_name') logic/cmd_table.c:298:5: 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:5: note: (near initialization for 'cmd_table[143].func_name') logic/cmd_table.c:299:5: 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:5: note: (near initialization for 'cmd_table[144].func_name') logic/cmd_table.c:300:5: 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:5: note: (near initialization for 'cmd_table[145].func_name') logic/cmd_table.c:301:5: 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:5: note: (near initialization for 'cmd_table[146].func_name') logic/cmd_table.c:304:5: 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:5: note: (near initialization for 'cmd_table[147].func_name') logic/cmd_table.c:305:5: 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:5: note: (near initialization for 'cmd_table[148].func_name') logic/cmd_table.c:308:5: 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:5: note: (near initialization for 'cmd_table[149].func_name') logic/cmd_table.c:309:5: 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:5: note: (near initialization for 'cmd_table[150].func_name') logic/cmd_table.c:310:5: 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:5: note: (near initialization for 'cmd_table[151].func_name') logic/cmd_table.c:311:5: 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:5: note: (near initialization for 'cmd_table[152].func_name') logic/cmd_table.c:312:5: 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:5: note: (near initialization for 'cmd_table[153].func_name') logic/cmd_table.c:313:5: 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:5: note: (near initialization for 'cmd_table[154].func_name') logic/cmd_table.c:314:5: 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:5: note: (near initialization for 'cmd_table[155].func_name') logic/cmd_table.c:317:5: 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:5: note: (near initialization for 'cmd_table[156].func_name') logic/cmd_table.c:318:5: 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:5: note: (near initialization for 'cmd_table[157].func_name') logic/cmd_table.c:319:5: 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:5: note: (near initialization for 'cmd_table[158].func_name') logic/cmd_table.c:320:5: 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:5: note: (near initialization for 'cmd_table[159].func_name') logic/cmd_table.c:321:5: 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:5: note: (near initialization for 'cmd_table[160].func_name') logic/cmd_table.c:322:5: 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:5: note: (near initialization for 'cmd_table[161].func_name') logic/cmd_table.c:325:5: 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:5: note: (near initialization for 'cmd_table[162].func_name') logic/cmd_table.c:326:5: 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:5: note: (near initialization for 'cmd_table[163].func_name') logic/cmd_table.c:327:5: 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:5: note: (near initialization for 'cmd_table[164].func_name') logic/cmd_table.c:330:5: 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:5: note: (near initialization for 'cmd_table[165].func_name') logic/cmd_table.c:331:5: 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:5: note: (near initialization for 'cmd_table[166].func_name') logic/cmd_table.c:332:5: 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:5: note: (near initialization for 'cmd_table[167].func_name') logic/cmd_table.c:333:5: 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:5: note: (near initialization for 'cmd_table[168].func_name') logic/cmd_table.c:336:5: 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:5: note: (near initialization for 'cmd_table[169].func_name') logic/cmd_table.c:339:5: 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:5: note: (near initialization for 'cmd_table[170].func_name') logic/cmd_table.c:340:5: 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:5: note: (near initialization for 'cmd_table[171].func_name') logic/cmd_table.c:341:5: 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:5: note: (near initialization for 'cmd_table[172].func_name') logic/cmd_table.c:342:5: 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:5: note: (near initialization for 'cmd_table[173].func_name') logic/cmd_table.c:343:5: 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:5: note: (near initialization for 'cmd_table[174].func_name') logic/cmd_table.c:344:5: 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:5: note: (near initialization for 'cmd_table[175].func_name') logic/cmd_table.c:345:5: 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:5: note: (near initialization for 'cmd_table[176].func_name') logic/cmd_table.c:346:5: 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:5: note: (near initialization for 'cmd_table[177].func_name') logic/cmd_table.c:347:5: 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:5: note: (near initialization for 'cmd_table[178].func_name') logic/cmd_table.c:348:5: 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:5: note: (near initialization for 'cmd_table[179].func_name') logic/cmd_table.c:350:5: 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:5: note: (near initialization for 'cmd_table[180].func_name') logic/cmd_table.c:351:5: 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:5: note: (near initialization for 'cmd_table[181].func_name') logic/cmd_table.c:352:5: 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:5: note: (near initialization for 'cmd_table[182].func_name') gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/logic_eval.c -o logic/logic_eval.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/logic_execute.c -o logic/logic_execute.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/view_base.c -o view/view_base.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_update.c -o view/obj_update.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_blit.c -o view/obj_blit.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_base.c -o view/obj_base.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_proximity.c -o view/obj_proximity.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_position.c -o view/obj_position.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_loop.c -o view/obj_loop.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_motion.c -o view/obj_motion.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_drawerase.c -o view/obj_drawerase.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_cycle.c -o view/obj_cycle.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_block.c -o view/obj_block.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_priority.c -o view/obj_priority.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_picbuff.c -o view/obj_picbuff.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/sound_base.c -o sound/sound_base.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:3: 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:3: note: (near initialization for 'pcm_out_init_list[0].name') gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:18: 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:18: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/tone.c -o sound/tone.o sound/tone.c:42:3: 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:3: note: (near initialization for 'tone_init_list[0].name') gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/tone_pcm.c -o sound/tone_pcm.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:45: 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:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/cmd_input.c:136:12: 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:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ui/cmd_input.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ui/cmd_input.c:136:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 136 | strcpy(input_prev, input); | ^~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ui/cmd_input.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ui/cmd_input.c: In function 'input_echo': ui/cmd_input.c:174:26: 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 *} In file included from ui/cmd_input.c:18: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/controller.c -o ui/controller.o gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:30: 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:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/status.c:123:12: 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:13: 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:14: 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 * 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:192:14: 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 * 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: In function 'status_line_write': ui/status.c:252:14: 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 * 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:256:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 256 | agi_printf("Sound:%s", "off"); | ^~~~~~~~~~ | | | 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:258:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 258 | agi_printf("Sound:%s", "on"); | ^~~~~~~~~~ | | | 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, ...); | ~~~~^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:18: 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:171:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 171 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c:63:9: 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:22: 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 *} In file included from ui/menu.c:20: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c: In function 'cmd_set_menu_item': ui/menu.c:103:16: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 103 | name = strdup(logic_msg(*(c++))); | ^~~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from ui/menu.c:20: /usr/include/string.h:171:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 171 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c:103:7: 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:16: 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 *} In file included from ui/menu.c:20: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c:130:35: 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 *} In file included from ui/menu.c:20: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c: In function 'menu_calc_size': ui/menu.c:454:37: 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 *} In file included from ui/menu.c:20: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:29: 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:29: 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:27: 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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:19: 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:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from ui/../agi.h:5, from ui/list_box.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/list_box.c:54:15: 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:12: 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:465, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from ui/../agi.h:5, from ui/list_box.c:6: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ui/list_box.c:59:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 59 | agi_printf("%s", str); | ^~~~ | | | 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:67:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 67 | agi_printf("U"); | ^~~ | | | 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:69:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 69 | agi_printf(" "); | ^~~ | | | 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:73:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 73 | agi_printf("D"); | ^~~ | | | 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:75:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 75 | agi_printf(" "); | ^~~ | | | 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:21: 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:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from ui/../agi.h:5, from ui/list_box.c:6: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 554 bytes into a destination of size 500 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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.KOZ3I2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64 + cd nagi + mkdir -p /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64//usr/bin + install -Dp -m755 bin/nagi /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64//usr/bin/nagi + mkdir -p /builddir/build/BUILDROOT/nagi-2.06-27.fc33.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-27.fc33.riscv64/usr/share/nagi/ + mkdir -p /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/etc/nagi + install -Dp -m644 bin/nagi.ini /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/etc/nagi/ + install -Dp -m644 bin/standard.ini /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/etc/nagi/ + mkdir -p /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/usr/share/man/man1 + install -Dp -m644 src/nagi.1 /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/usr/share/man/man1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.06-27.fc33 --unique-debug-suffix -2.06-27.fc33.riscv64 --unique-debug-src-base nagi-2.06-27.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nagi explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/usr/bin/nagi extracting debug info from /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/usr/bin/nagi original debug info size: 2436kB, size after compression: 2312kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 880 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: nagi-2.06-27.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Ysxix4 + umask 022 + cd /builddir/build/BUILD + cd nagi + DOCDIR=/builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/usr/share/doc/nagi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/usr/share/doc/nagi + cp -pr readme.html /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/usr/share/doc/nagi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.iirer1 + umask 022 + cd /builddir/build/BUILD + cd nagi + LICENSEDIR=/builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/usr/share/licenses/nagi + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/usr/share/licenses/nagi + cp -pr license.txt /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64/usr/share/licenses/nagi + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(nagi) = 2.06-27.fc33 nagi = 2.06-27.fc33 nagi(riscv-64) = 2.06-27.fc33 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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: nagi-debugsource-2.06-27.fc33.riscv64 Provides: nagi-debugsource = 2.06-27.fc33 nagi-debugsource(riscv-64) = 2.06-27.fc33 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-27.fc33.riscv64 Provides: debuginfo(build-id) = fa80b3c2781589efb1750e87ac4c819081960048 nagi-debuginfo = 2.06-27.fc33 nagi-debuginfo(riscv-64) = 2.06-27.fc33 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-27.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64 Wrote: /builddir/build/RPMS/nagi-2.06-27.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/nagi-debugsource-2.06-27.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/nagi-debuginfo-2.06-27.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XiSLx2 + umask 022 + cd /builddir/build/BUILD + cd nagi + /usr/bin/rm -rf /builddir/build/BUILDROOT/nagi-2.06-27.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0