<86>Dec 25 03:23:22 userdel[1704854]: delete user 'rooter' <86>Dec 25 03:23:22 userdel[1704854]: removed group 'rooter' owned by 'rooter' <86>Dec 25 03:23:22 userdel[1704854]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 25 03:23:22 groupadd[1704894]: group added to /etc/group: name=rooter, GID=1799 <86>Dec 25 03:23:22 groupadd[1704894]: group added to /etc/gshadow: name=rooter <86>Dec 25 03:23:22 groupadd[1704894]: new group: name=rooter, GID=1799 <86>Dec 25 03:23:22 useradd[1704937]: new user: name=rooter, UID=1799, GID=1799, home=/root, shell=/bin/bash, from=none <86>Dec 25 03:23:22 userdel[1704988]: delete user 'builder' <86>Dec 25 03:23:22 userdel[1704988]: removed group 'builder' owned by 'builder' <86>Dec 25 03:23:22 userdel[1704988]: removed shadow group 'builder' owned by 'builder' <86>Dec 25 03:23:22 groupadd[1705022]: group added to /etc/group: name=builder, GID=1800 <86>Dec 25 03:23:22 groupadd[1705022]: group added to /etc/gshadow: name=builder <86>Dec 25 03:23:22 groupadd[1705022]: new group: name=builder, GID=1800 <86>Dec 25 03:23:22 useradd[1705049]: new user: name=builder, UID=1800, GID=1800, home=/usr/src, shell=/bin/bash, from=none <13>Dec 25 03:23:25 rpmi: libglvnd-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 03:23:25 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626058929 installed <13>Dec 25 03:23:25 rpmi: sgml-common-0.6.3-alt15 sisyphus+276099.100.1.1 1624817971 installed <13>Dec 25 03:23:25 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Dec 25 03:23:25 rpmi: libexpat-2.6.4-alt1 sisyphus+365521.100.1.1 1734700243 installed <13>Dec 25 03:23:25 rpmi: libwayland-server-1.23.1-alt1.1 sisyphus+356019.140.3.1 1724572111 installed <13>Dec 25 03:23:25 rpmi: libOpenSP-1.5.2-alt3.qa1 sisyphus+277622.100.1.1 1625720785 installed <13>Dec 25 03:23:25 rpmi: OpenSP-1.5.2-alt3.qa1 sisyphus+277622.100.1.1 1625720785 installed <13>Dec 25 03:23:25 rpmi: libflac12-1.4.3-alt2 sisyphus+343354.100.1.1 1711118098 installed <13>Dec 25 03:23:25 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751601 installed <13>Dec 25 03:23:25 rpmi: libGLES-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 03:23:25 rpmi: libOpenGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 03:23:26 rpmi: libopus-1.5.2-alt1.1 sisyphus+366209.100.1.1 1734786371 installed <13>Dec 25 03:23:26 rpmi: libmpg123-1:1.32.10-alt1 sisyphus+365072.100.1.1 1734226035 installed <13>Dec 25 03:23:26 rpmi: liblame-3.100-alt1 sisyphus+346342.200.2.2 1716474674 installed <13>Dec 25 03:23:26 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Dec 25 03:23:26 rpmi: libsndfile-1.1.0-alt1 sisyphus+339776.7300.6.2 1707350065 installed <13>Dec 25 03:23:26 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Dec 25 03:23:26 rpmi: libsystemd-1:255.13-alt1 sisyphus+359453.100.2.1 1728651180 installed <13>Dec 25 03:23:26 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487401 installed <13>Dec 25 03:23:26 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402241 installed <13>Dec 25 03:23:26 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577525 installed <13>Dec 25 03:23:26 rpmi: libsensors3-3.6.0-alt4 sisyphus+366234.100.1.1 1734814779 installed <13>Dec 25 03:23:26 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 25 03:23:26 rpmi: libspirv-tools0-1:2024.4-alt0.1 sisyphus+365035.200.5.1 1734354502 installed <13>Dec 25 03:23:26 rpmi: llvm18.1-filesystem-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 25 03:23:26 rpmi: llvm18.1-polly-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 25 03:23:26 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922743 installed <13>Dec 25 03:23:26 rpmi: llvm18.1-gold-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 25 03:23:27 rpmi: llvm18.1-libs-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763186 installed <13>Dec 25 03:23:27 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441061 installed <13>Dec 25 03:23:27 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Dec 25 03:23:27 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Dec 25 03:23:27 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 25 03:23:27 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>Dec 25 03:23:27 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168523 installed <13>Dec 25 03:23:27 rpmi: libXfixes-6.0.1-alt1 sisyphus+331490.300.1.1 1697023233 installed <13>Dec 25 03:23:27 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>Dec 25 03:23:27 rpmi: libXrandr-1.5.4-alt1 sisyphus+330992.100.1.1 1696485400 installed <13>Dec 25 03:23:28 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Dec 25 03:23:29 rpmi: libX11-devel-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 25 03:23:29 rpmi: libpulseaudio-17.0-alt2 sisyphus+339257.100.1.1 1706519226 installed <13>Dec 25 03:23:29 rpmi: libwayland-client-1.23.1-alt1.1 sisyphus+356019.140.3.1 1724572111 installed <13>Dec 25 03:23:29 rpmi: libpciaccess-1:0.18.1-alt1 sisyphus+343583.300.1.1 1711440789 installed <13>Dec 25 03:23:29 rpmi: libdrm-1:2.4.124-alt1 sisyphus+364215.100.1.1 1733469813 installed <13>Dec 25 03:23:29 rpmi: libGLX-mesa-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711581 installed <13>Dec 25 03:23:29 rpmi: libGLX-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 03:23:29 rpmi: libGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 03:23:29 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Dec 25 03:23:29 rpmi: libgbm-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711581 installed <13>Dec 25 03:23:29 rpmi: libEGL-mesa-4:24.3.2-alt1 sisyphus+365536.100.1.1 1734711581 installed <13>Dec 25 03:23:29 rpmi: libEGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 03:23:29 rpmi: libglvnd-devel-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424893 installed <13>Dec 25 03:23:29 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>Dec 25 03:23:29 rpmi: xml-utils-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333686 installed <13>Dec 25 03:23:29 rpmi: docbook-dtds-4.5-alt1 sisyphus+276837.100.1.1 1625242123 installed <13>Dec 25 03:23:29 rpmi: openjade-1.3.2-alt15 sisyphus+277596.100.1.1 1625712297 installed <13>Dec 25 03:23:29 rpmi: docbook-style-dsssl-1.79-alt3 sisyphus+276057.100.1.1 1624814788 installed <13>Dec 25 03:23:30 rpmi: perl-SGMLSpm-1:1.1-alt2 sisyphus+278929.100.1.1 1626280186 installed <13>Dec 25 03:23:30 rpmi: alsa-ucm-conf-1.2.12-alt1 sisyphus+352670.100.1.1 1720712327 installed <13>Dec 25 03:23:30 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Dec 25 03:23:30 rpmi: libalsa-1:1.2.12-alt1 sisyphus+352670.200.1.1 1720712401 installed <13>Dec 25 03:23:30 rpmi: libSDL-1.2.14-alt10 sisyphus+346015.200.2.1 1716212609 installed <13>Dec 25 03:23:30 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+346015.200.2.1 1716212609 installed <13>Dec 25 03:23:30 rpmi: docbook-utils-0.6.15-alt1 sisyphus+359678.100.1.1 1728839232 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/nagi-2.06-alt2_33.nosrc.rpm (w1.gzdio) Installing nagi-2.06-alt2_33.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.10122 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf nagi + /bin/mkdir -p nagi + cd nagi + echo 'Source #0 (nagi_src_-_2002-11-14.tar.gz):' Source #0 (nagi_src_-_2002-11-14.tar.gz): + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/nagi_src_-_2002-11-14.tar.gz + /bin/tar -xf - + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (nagi-2.06-debian.patch):' Patch #0 (nagi-2.06-debian.patch): + /usr/bin/patch -p0 -F 2 patching file src/initialise.c patching file src/sys/chargen.c patching file src/tools/savefont.c patching file src/version/standard.c + echo 'Patch #1 (nagi-2.06-build_with_gcc-3.4.patch):' Patch #1 (nagi-2.06-build_with_gcc-3.4.patch): + /usr/bin/patch -p0 -F 2 patching file src/objects.c patching file src/ui/cmd_input.c patching file src/ui/events.c patching file src/ui/list_box.c patching file src/ui/menu.c patching file src/ui/msg.c patching file src/view/obj_loop.c patching file src/view/obj_motion.c patching file src/view/obj_proximity.c + echo 'Patch #2 (nagi-2.06-build_with_gcc-4.0.patch):' Patch #2 (nagi-2.06-build_with_gcc-4.0.patch): + /usr/bin/patch -p0 -F 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 + sed -i s,-lSDLmain,, src/Makefile.linux + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.10122 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd nagi + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon' + cd src + make -f Makefile.linux make: Entering directory '/usr/src/RPM/BUILD/nagi/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c base.c -o base.o base.c:16:2: warning: #warning base.c needs work [-Wcpp] 16 | #warning base.c needs work | ^~~~~~~ base.c: In function 'cmd_pause': base.c:34:21: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] 34 | message_box(" Game paused.\nPress Enter to continue." ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from base.c:14: ui/msg.h:10:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ base.c: In function 'cmd_quit': base.c:45:25: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] 45 | if (message_box("Press ENTER to quit.\nPress ESC to keep playing.") == 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/msg.h:10:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c debug.c -o debug.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c decrypt.c -o decrypt.o decrypt.c: In function 'decrypt_string': decrypt.c:10:24: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 10 | u8 *d_string = ""; | ^~ decrypt.c:18:34: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 18 | d_string = DECRYPT_STRING; | ^ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c flags.c -o flags.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c nagi_main.c -o nagi_main.o nagi_main.c: In function 'main': nagi_main.c:76:22: warning: pointer targets in passing argument 1 of 'dir_init' differ in signedness [-Wpointer-sign] 76 | dir_init(argv[0]); | ~~~~^~~ | | | char * In file included from nagi_main.c:53: sys/sys_dir.h:20:26: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 20 | extern void dir_init(u8 *argv0); | ~~~~^~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c initialise.c -o initialise.o initialise.c: In function 'nagi_init': initialise.c:108:29: warning: pointer targets in passing argument 1 of 'ini_open' differ in signedness [-Wpointer-sign] 108 | ini_nagi = ini_open(tmp); | ^~~ | | | char * In file included from initialise.c:56: sys/ini_config.h:24:26: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 24 | extern INI *ini_open(u8 *ini_name); | ~~~~^~~~~~~~ initialise.c:170:2: warning: #warning keyboard needs a bit of cleanup [-Wcpp] 170 | #warning keyboard needs a bit of cleanup | ^~~~~~~ initialise.c: In function 'agi_init': initialise.c:208:36: warning: pointer targets in passing argument 1 of 'file_load' differ in signedness [-Wpointer-sign] 208 | words_tok_data = file_load("words.tok", 0); | ^~~~~~~~~~~ | | | char * In file included from initialise.c:30: res/res.h:26:26: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 26 | extern u8 *file_load(u8 *name, u8 *buff); | ~~~~^~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c agi_string.c -o agi_string.o agi_string.c: In function 'cmd_set_string': agi_string.c:95:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 95 | strncpy(di, logic_msg(*(c++)), STRING_SIZE); | ^~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/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:92:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:95:21: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 95 | strncpy(di, logic_msg(*(c++)), STRING_SIZE); | ^~~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c: In function 'cmd_word_to_string': agi_string.c:103:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 103 | strncpy(di, word_string[*(c++)], STRING_SIZE); | ^~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:103:32: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 103 | strncpy(di, word_string[*(c++)], STRING_SIZE); | ~~~~~~~~~~~^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c: In function 'string_edit_old': agi_string.c:120:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 120 | strncpy(buff, str, len-1); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:120:23: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 120 | strncpy(buff, str, len-1); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:122:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 122 | str_cur = buff + strlen(buff); | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:60: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agi_string.c:152:40: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 152 | strcpy(str, buff); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c:152:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 152 | strcpy(str, buff); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c: In function 'cmd_set_game_id': agi_string.c:176:22: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 176 | strncpy(state.id, logic_msg(*(c++)), ID_SIZE); | ~~~~~^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c:176:27: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 176 | strncpy(state.id, logic_msg(*(c++)), ID_SIZE); | ^~~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agi_string.c: In function 'stredit_disp': agi_string.c:267:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 267 | if ((str_size<=disp_size)||(strlen(str_edit) < disp_size)) | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agi_string.c:270:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 270 | str_disp = str_edit + strlen(str_edit) - ((percent*disp_size)/100); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agi_string.c: In function 'string_edit': agi_string.c:297:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 297 | strcpy(str_edit, str); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c:297:26: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 297 | strcpy(str_edit, str); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c:298:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 298 | str_tail = str_edit + strlen(str_edit); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agi_string.c:339:40: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 339 | strcpy(str, str_edit); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agi_string.c:339:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 339 | strcpy(str, str_edit); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c new_room.c -o new_room.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c objects.c -o objects.o objects.c: In function 'object_file_load': objects.c:64:30: warning: pointer targets in passing argument 1 of 'file_load' differ in signedness [-Wpointer-sign] 64 | obj_data = file_load("object", 0); | ^~~~~~~~ | | | char * In file included from objects.c:15: res/res.h:26:26: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 26 | extern u8 *file_load(u8 *name, u8 *buff); | ~~~~^~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c state_io.c -o state_io.o state_io.c: In function 'cmd_restart_game': state_io.c:74:43: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] 74 | user_result = message_box("Press ENTER to restart\nthe game.\n\nPress ESC to continue\nthis game."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from state_io.c:33: ui/msg.h:10:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ state_io.c: In function 'cmd_restore_game': state_io.c:123:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 123 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from state_io.c:11: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:123:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 123 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ In file included from /usr/include/stdlib.h:706, from /usr/include/SDL/SDL_stdinc.h: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:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 124 | msg = alloca(200 + strlen(save_filename->data)); | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:126:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 126 | msg = alloca(200 + strlen(save_dir->data)); | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:129:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 129 | sprintf(msg, "About to restore the game\ndescribed as:\n\n%s\n\nfrom file:\n %s\n\n%s", | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from state_io.c:10: /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_io.c:136:50: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 136 | rest_stream = fopen(save_filename->data, "rb"); | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/stdio.h:263:44: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 263 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ state_io.c:139:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 139 | sprintf(msg, "Can't open file:\n %s", save_filename->data); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_io.c:159:37: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] 159 | message_box("Error in restoring game.\nPress ENTER to quit."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/msg.h:10:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ state_io.c: In function 'cmd_unknown_170': state_io.c:212:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 212 | strncpy(state_name_auto, state.string[*(c++)], 31); | ^~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ state_io.c:212:46: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 212 | strncpy(state_name_auto, state.string[*(c++)], 31); | ~~~~~~~~~~~~^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ state_io.c: In function 'cmd_save_game': state_io.c:235:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 235 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:235:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 235 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:236:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 236 | msg = alloca(200 + strlen(save_filename->data)); | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:238:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 238 | msg = alloca(200 + strlen(save_dir->data)); | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_io.c:241:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 241 | sprintf(msg, "About to save the game\ndescribed as:\n\n%s\n\nin file:\n %s\n\n%s", | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_io.c:250:50: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 250 | save_stream = fopen(save_filename->data, "wb"); | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/stdio.h:263:44: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 263 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ state_io.c:253:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 253 | sprintf(msg, "The directory\n %s\n is full or the disk is write-protected.\nPress ENTER to continue." | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_io.c:275:45: warning: pointer targets in passing argument 1 of 'remove' differ in signedness [-Wpointer-sign] 275 | remove(save_filename->data); | ~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/stdio.h:157:32: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 157 | extern int remove (const char *__filename) __THROW; | ~~~~~~~~~~~~^~~~~~~~~~ state_io.c:276:37: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] 276 | message_box("The disk is full.\nPress ENTER to continue."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/msg.h:10:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ state_io.c: In function 'state_reload': state_io.c:330:2: warning: #warning clear_memory() not implemented [-Wcpp] 330 | #warning clear_memory() not implemented | ^~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c agi.c -o agi.o agi.c:125:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 125 | {"log_debug", "nagi", CT_BOOL, b:{&c_nagi_log_debug, 0} }, | ^~~~~~~~~~~ agi.c:125:10: note: (near initialization for 'config_nagi[0].key') agi.c:125:23: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 125 | {"log_debug", "nagi", CT_BOOL, b:{&c_nagi_log_debug, 0} }, | ^~~~~~ agi.c:125:23: note: (near initialization for 'config_nagi[0].section') agi.c:126:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 126 | {"console", 0, CT_BOOL, b:{&c_nagi_console, 1} }, | ^~~~~~~~~ agi.c:126:10: note: (near initialization for 'config_nagi[1].key') agi.c:127:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 127 | {"font_benchmark", 0, CT_BOOL, b:{&c_nagi_font_benchmark, 0} }, | ^~~~~~~~~~~~~~~~ agi.c:127:10: note: (near initialization for 'config_nagi[2].key') agi.c:128:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 128 | {"crc_print", 0, CT_BOOL, b:{&c_nagi_crc_print, 0} }, | ^~~~~~~~~~~ agi.c:128:10: note: (near initialization for 'config_nagi[3].key') agi.c:129:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 129 | {"dir_list", 0, CT_STRING, s:{&c_nagi_dir_list, "."} }, | ^~~~~~~~~~ agi.c:129:10: note: (near initialization for 'config_nagi[4].key') agi.c:129:57: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 129 | {"dir_list", 0, CT_STRING, s:{&c_nagi_dir_list, "."} }, | ^~~ agi.c:129:57: note: (near initialization for 'config_nagi[4].s.def') agi.c:130:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 130 | {"sort", 0, CT_STRING, s:{&c_nagi_sort, "alpha"} }, | ^~~~~~ agi.c:130:10: note: (near initialization for 'config_nagi[5].key') agi.c:130:49: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 130 | {"sort", 0, CT_STRING, s:{&c_nagi_sort, "alpha"} }, | ^~~~~~~ agi.c:130:49: note: (near initialization for 'config_nagi[5].s.def') agi.c:131:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 131 | {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, | ^~~~~~~~ agi.c:131:10: note: (near initialization for 'config_nagi[6].key') agi.c:131:20: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 131 | {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, | ^~~~~ agi.c:131:20: note: (near initialization for 'config_nagi[6].section') agi.c:131:56: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 131 | {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, | ^~~~~ agi.c:131:56: note: (near initialization for 'config_nagi[6].s.def') agi.c:132:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 132 | {"scale", 0, CT_INT, i:{&c_vid_scale, 2, 1, -1} }, | ^~~~~~~ agi.c:132:10: note: (near initialization for 'config_nagi[7].key') agi.c:133:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 133 | {"full_screen", 0, CT_BOOL, b:{&c_vid_full_screen, 0} }, | ^~~~~~~~~~~~~ agi.c:133:10: note: (near initialization for 'config_nagi[8].key') agi.c:134:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 134 | {"renderer", 0, CT_STRING, s:{&c_vid_renderer, "ega"} }, | ^~~~~~~~~~ agi.c:134:10: note: (near initialization for 'config_nagi[9].key') agi.c:134:56: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 134 | {"renderer", 0, CT_STRING, s:{&c_vid_renderer, "ega"} }, | ^~~~~ agi.c:134:56: note: (near initialization for 'config_nagi[9].s.def') agi.c:135:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 135 | {"pal_16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, | ^~~~~~~~ agi.c:135:10: note: (near initialization for 'config_nagi[10].key') agi.c:135:52: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 135 | {"pal_16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, | ^~~~~~~~~~~~ agi.c:135:52: note: (near initialization for 'config_nagi[10].s.def') agi.c:136:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 136 | {"pal_text", 0, CT_STRING, s:{&c_vid_pal_text, "pal_text.pal"} }, | ^~~~~~~~~~ agi.c:136:10: note: (near initialization for 'config_nagi[11].key') agi.c:136:56: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 136 | {"pal_text", 0, CT_STRING, s:{&c_vid_pal_text, "pal_text.pal"} }, | ^~~~~~~~~~~~~~ agi.c:136:56: note: (near initialization for 'config_nagi[11].s.def') agi.c:137:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 137 | {"pal_cga0", 0, CT_STRING, s:{&c_vid_pal_cga0, "pal_cga0.pal"} }, | ^~~~~~~~~~ agi.c:137:10: note: (near initialization for 'config_nagi[12].key') agi.c:137:56: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 137 | {"pal_cga0", 0, CT_STRING, s:{&c_vid_pal_cga0, "pal_cga0.pal"} }, | ^~~~~~~~~~~~~~ agi.c:137:56: note: (near initialization for 'config_nagi[12].s.def') agi.c:138:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 138 | {"pal_cga1", 0, CT_STRING, s:{&c_vid_pal_cga1, "pal_cga1.pal"} }, | ^~~~~~~~~~ agi.c:138:10: note: (near initialization for 'config_nagi[13].key') agi.c:138:56: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 138 | {"pal_cga1", 0, CT_STRING, s:{&c_vid_pal_cga1, "pal_cga1.pal"} }, | ^~~~~~~~~~~~~~ agi.c:138:56: note: (near initialization for 'config_nagi[13].s.def') agi.c:139:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 139 | {"pal_bw", 0, CT_STRING, s:{&c_vid_pal_bw, "pal_bw.pal"} }, | ^~~~~~~~ agi.c:139:10: note: (near initialization for 'config_nagi[14].key') agi.c:139:52: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 139 | {"pal_bw", 0, CT_STRING, s:{&c_vid_pal_bw, "pal_bw.pal"} }, | ^~~~~~~~~~~~ agi.c:139:52: note: (near initialization for 'config_nagi[14].s.def') agi.c:140:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 140 | {"fonts_bitmap", 0, CT_STRING, s:{&c_vid_fonts_bitmap, "font_4x8.nbf;font_8x8.nbf;font_16x16.nbf"} }, | ^~~~~~~~~~~~~~ agi.c:140:10: note: (near initialization for 'config_nagi[15].key') agi.c:140:64: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 140 | {"fonts_bitmap", 0, CT_STRING, s:{&c_vid_fonts_bitmap, "font_4x8.nbf;font_8x8.nbf;font_16x16.nbf"} }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agi.c:140:64: note: (near initialization for 'config_nagi[15].s.def') agi.c:141:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 141 | {"fonts_vector", 0, CT_STRING, s:{&c_vid_fonts_vector, "none.nvf"} }, | ^~~~~~~~~~~~~~ agi.c:141:10: note: (near initialization for 'config_nagi[16].key') agi.c:141:64: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 141 | {"fonts_vector", 0, CT_STRING, s:{&c_vid_fonts_vector, "none.nvf"} }, | ^~~~~~~~~~ agi.c:141:64: note: (near initialization for 'config_nagi[16].s.def') agi.c:142:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 142 | {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, | ^~~~~~~~ agi.c:142:10: note: (near initialization for 'config_nagi[17].key') agi.c:142:20: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 142 | {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, | ^~~~~ agi.c:142:20: note: (near initialization for 'config_nagi[17].section') agi.c:142:56: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 142 | {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, | ^~~~~ agi.c:142:56: note: (near initialization for 'config_nagi[17].s.def') agi.c:143:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 143 | {"enable", 0, CT_BOOL, b:{&c_snd_enable, 1} }, | ^~~~~~~~ agi.c:143:10: note: (near initialization for 'config_nagi[18].key') agi.c:144:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 144 | {"single", 0, CT_BOOL, b:{&c_snd_single, 0} }, | ^~~~~~~~ agi.c:144:10: note: (near initialization for 'config_nagi[19].key') agi.c:145:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 145 | {"dissolve", 0, CT_INT, i:{&c_snd_dissolve, 3, 0, 3} }, | ^~~~~~~~~~ agi.c:145:10: note: (near initialization for 'config_nagi[20].key') agi.c:146:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 146 | {"read_var", 0, CT_BOOL, b:{&c_snd_read_var, 0} }, | ^~~~~~~~~~ agi.c:146:10: note: (near initialization for 'config_nagi[21].key') agi.c:147:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 147 | {"volume", 0, CT_INT, i:{&c_snd_volume, 0x7FFF, 0, 0x7FFF} }, | ^~~~~~~~ agi.c:147:10: note: (near initialization for 'config_nagi[22].key') agi.c:148:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 148 | {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, | ^~~~~~~~~~~ agi.c:148:10: note: (near initialization for 'config_nagi[23].key') agi.c:148:23: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 148 | {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, | ^~~~~ agi.c:148:23: note: (near initialization for 'config_nagi[23].section') agi.c:148:62: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 148 | {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, | ^~ agi.c:148:62: note: (near initialization for 'config_nagi[23].s.def') agi.c:149:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 149 | {"drv_sound", 0, CT_STRING, s:{&c_sdl_drv_sound, ""} }, | ^~~~~~~~~~~ agi.c:149:10: note: (near initialization for 'config_nagi[24].key') agi.c:149:58: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 149 | {"drv_sound", 0, CT_STRING, s:{&c_sdl_drv_sound, ""} }, | ^~ agi.c:149:58: note: (near initialization for 'config_nagi[24].s.def') agi.c:156:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 156 | {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, | ^~~~~~~~~~ agi.c:156:10: note: (near initialization for 'config_standard[0].key') agi.c:156:22: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 156 | {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, | ^~~~~~~~~~ agi.c:156:22: note: (near initialization for 'config_standard[0].section') agi.c:156:70: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 156 | {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, | ^~~~~~ agi.c:156:70: note: (near initialization for 'config_standard[0].s.def') agi.c:157:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 157 | {"agi_list", 0, CT_STRING, s:{&c_standard_agi_list, "pc_2_936;pc_3_002_149;amiga_2;amiga_3"} }, | ^~~~~~~~~~ agi.c:157:10: note: (near initialization for 'config_standard[1].key') agi.c:157:61: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 157 | {"agi_list", 0, CT_STRING, s:{&c_standard_agi_list, "pc_2_936;pc_3_002_149;amiga_2;amiga_3"} }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agi.c:157:61: note: (near initialization for 'config_standard[1].s.def') agi.c:158:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 158 | {"force", 0, CT_STRING, s:{&c_standard_force, "not defined"} }, | ^~~~~~~ agi.c:158:10: note: (near initialization for 'config_standard[2].key') agi.c:158:55: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 158 | {"force", 0, CT_STRING, s:{&c_standard_force, "not defined"} }, | ^~~~~~~~~~~~~ agi.c:158:55: note: (near initialization for 'config_standard[2].s.def') agi.c:159:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 159 | {"v2_default", 0, CT_STRING, s:{&c_standard_v2_default, "pc_2_936"} }, | ^~~~~~~~~~~~ agi.c:159:10: note: (near initialization for 'config_standard[3].key') agi.c:159:65: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 159 | {"v2_default", 0, CT_STRING, s:{&c_standard_v2_default, "pc_2_936"} }, | ^~~~~~~~~~ agi.c:159:65: note: (near initialization for 'config_standard[3].s.def') agi.c:160:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 160 | {"v3_default", 0, CT_STRING, s:{&c_standard_v3_default, "pc_3_002_149"} }, | ^~~~~~~~~~~~ agi.c:160:10: note: (near initialization for 'config_standard[4].key') agi.c:160:65: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 160 | {"v3_default", 0, CT_STRING, s:{&c_standard_v3_default, "pc_3_002_149"} }, | ^~~~~~~~~~~~~~ agi.c:160:65: note: (near initialization for 'config_standard[4].s.def') agi.c:161:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 161 | {"amiga_v2_default", 0, CT_STRING, s:{&c_standard_amiga_v2_default, "amiga_2"} }, | ^~~~~~~~~~~~~~~~~~ agi.c:161:10: note: (near initialization for 'config_standard[5].key') agi.c:161:77: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 161 | {"amiga_v2_default", 0, CT_STRING, s:{&c_standard_amiga_v2_default, "amiga_2"} }, | ^~~~~~~~~ agi.c:161:77: note: (near initialization for 'config_standard[5].s.def') agi.c:162:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 162 | {"amiga_v3_default", 0, CT_STRING, s:{&c_standard_amiga_v3_default, "amiga_3"} }, | ^~~~~~~~~~~~~~~~~~ agi.c:162:10: note: (near initialization for 'config_standard[6].key') agi.c:162:77: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 162 | {"amiga_v3_default", 0, CT_STRING, s:{&c_standard_amiga_v3_default, "amiga_3"} }, | ^~~~~~~~~ agi.c:162:77: note: (near initialization for 'config_standard[6].s.def') agi.c:169:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 169 | {"version_info", 0, CT_STRING, s:{&c_game_version_info, 0} }, | ^~~~~~~~~~~~~~ agi.c:169:10: note: (near initialization for 'config_game[0].key') agi.c:170:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 170 | {"mouse", 0, CT_INT, i:{&c_game_mouse, 0, 0, 20} }, | ^~~~~~~ agi.c:170:10: note: (near initialization for 'config_game[1].key') agi.c:171:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 171 | {"loop_update", 0, CT_INT, i:{&c_game_loop_update, 0, 0, 4} }, | ^~~~~~~~~~~~~ agi.c:171:10: note: (near initialization for 'config_game[2].key') agi.c:173:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 173 | {"id", 0, CT_STRING, s:{&c_game_id, 0} }, | ^~~~ agi.c:173:10: note: (near initialization for 'config_game[3].key') agi.c:174:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 174 | {"object_decrypt", 0, CT_BOOL, b:{&c_game_object_decrypt, 1} }, | ^~~~~~~~~~~~~~~~ agi.c:174:10: note: (near initialization for 'config_game[4].key') agi.c:175:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 175 | {"object_packed", 0, CT_BOOL, b:{&c_game_object_packed, 0} }, | ^~~~~~~~~~~~~~~ agi.c:175:10: note: (near initialization for 'config_game[5].key') agi.c:176:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 176 | {"compression", 0, CT_BOOL, b:{&c_game_compression, 0} }, | ^~~~~~~~~~~~~ agi.c:176:10: note: (near initialization for 'config_game[6].key') agi.c:177:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 177 | {"dir_type", 0, CT_INT, i:{&c_game_dir_type, 1, 0, 3} }, | ^~~~~~~~~~ agi.c:177:10: note: (near initialization for 'config_game[7].key') gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:44: warning: pointer targets in passing argument 1 of 'state_get_text' differ in signedness [-Wpointer-sign] 104 | if (state_get_text("How would you like to describe this saved game?\n\n", save_description, sizeof(save_description)) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * state_info.c:60:24: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 60 | u16 state_get_text(u8 *msg, u8 *str, u16 str_alloc); | ~~~~^~~ state_info.c: In function 'state_get_path': state_info.c:169:36: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 169 | sprintf(msg->data, | ~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/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:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_info.c:173:36: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 173 | sprintf(msg->data, | ~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_info.c:188:60: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 188 | vstring_set_size(msg, 100 + strlen(save_dir->data)); | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:60: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:190:28: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 190 | sprintf(msg->data, | ~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ In file included from /usr/include/stdlib.h:706, from /usr/include/SDL/SDL_stdinc.h:40: state_info.c: In function 'state_get_filename': state_info.c:288:55: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 288 | temp1f0 = alloca(100 + strlen(save_dir->data)); | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:290:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 290 | sprintf(temp1f0, "There are no games to\nrestore in\n\n %s\n\nPress ENTER to continue.", | ^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_info.c:298:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 298 | strcpy(save_description, state_name_auto); | ^~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:298:42: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 298 | strcpy(save_description, state_name_auto); | ^~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:300:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 300 | if (strcmp(state_name_auto, temp18c[temp1f2].diz) == 0) | ^~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c:300:69: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 300 | if (strcmp(state_name_auto, temp18c[temp1f2].diz) == 0) | ~~~~~~~~~~~~~~~~^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c:305:64: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 305 | if (strcmp("", temp18c[temp1f2].diz) == 0) | ~~~~~~~~~~~~~~~~^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c:322:42: warning: pointer targets in passing argument 1 of 'message_box_draw' differ in signedness [-Wpointer-sign] 322 | message_box_draw("Use the arrow keys to select the slot in which you wish to save the game. Press ENTER to save in the slot, ESC to not save a game.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from state_info.c:27: ui/msg.h:11:34: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 11 | extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); | ~~~~^~~ state_info.c:325:42: warning: pointer targets in passing argument 1 of 'message_box_draw' differ in signedness [-Wpointer-sign] 325 | message_box_draw("Use the arrow keys to select the game which you wish to restore. Press ENTER to restore the game, ESC to not restore a game.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/msg.h:11:34: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 11 | extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); | ~~~~^~~ state_info.c:331:34: warning: pointer targets in passing argument 1 of 'message_box_draw' differ in signedness [-Wpointer-sign] 331 | message_box_draw(" Sorry, this disk is full.\nPosition pointer and press ENTER\n to overwrite a saved game\nor press ESC and try again \n with another disk\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/msg.h:11:34: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 11 | extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); | ~~~~^~~ state_info.c:337:34: warning: pointer targets in passing argument 1 of 'message_box_draw' differ in signedness [-Wpointer-sign] 337 | message_box_draw("Use the arrow keys to move\n the pointer to your name.\nThen press ENTER\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/msg.h:11:34: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 11 | extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); | ~~~~^~~ state_info.c:347:28: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 347 | agi_printf(" - %s", temp18c[temp1f2].diz); | ^~~~~~~ | | | char * In file included from state_info.c:30: ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ state_info.c:363:64: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 363 | strcpy(save_description, temp18c[temp1f2].diz); | ^~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:363:98: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 363 | strcpy(save_description, temp18c[temp1f2].diz); | ~~~~~~~~~~~~~~~~^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:367:72: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 367 | strcpy(state_name_auto, temp18c[temp1f2].diz); | ^~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c:367:105: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 367 | strcpy(state_name_auto, temp18c[temp1f2].diz); | ~~~~~~~~~~~~~~~~^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ state_info.c: In function 'state_get_diz': state_info.c:434:39: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 434 | state_stream = fopen(name_temp->data, "rb"); | ~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:37: /usr/include/stdio.h:263:44: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 263 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ state_info.c:449:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 449 | if (strcmp(state_id, state.id) != 0) | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c:449:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 449 | if (strcmp(state_id, state.id) != 0) | ~~~~~^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ state_info.c: In function 'state_name_create': state_info.c:481:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 481 | if ((strlen(save_dir->data)>0)&&(strchr("\\/", save_dir->data[strlen(save_dir->data)-1]) != 0)) | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:481:86: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 481 | if ((strlen(save_dir->data)>0)&&(strchr("\\/", save_dir->data[strlen(save_dir->data)-1]) != 0)) | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:482:25: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 482 | dir_sep = ""; | ^ state_info.c:483:33: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 483 | else if (strchr(save_dir->data, '/')==0) | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ state_info.c:484:25: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 484 | dir_sep = "\\"; | ^ state_info.c:486:25: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 486 | dir_sep = "/"; | ^ state_info.c:493:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 493 | sprintf(filename->data, "%s%s%ssg.%d", save_dir->data, dir_sep, string_lower(state.id), save_num); | ~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ state_info.c: In function 'state_dir_check': state_info.c:545:38: warning: pointer targets in passing argument 1 of 'strspn' differ in signedness [-Wpointer-sign] 545 | vstring_shift(dir, strspn(dir->data, " ")); | ~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:297:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 297 | extern size_t strspn (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ state_info.c:547:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 547 | if (strlen(dir->data) == 0) | ~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:550:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 550 | path_size = strlen( dir->data); | ~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c:569:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 569 | if ( (dir->data[1] == ':') && (strlen(dir->data)==2) ) | ~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ state_info.c: In function 'state_get_diz': state_info.c:444:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 444 | fread(s_item->diz, sizeof(u8), sizeof(s_item->diz), state_stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state_info.c:446:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 446 | fread(state_id, sizeof(u8), sizeof(state.id), state_stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c obj_show.c -o obj_show.o obj_show.c: In function 'obj_show': obj_show.c:65:29: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] 65 | message_box("Not now."); | ^~~~~~~~~~ | | | char * In file included from obj_show.c:18: ui/msg.h:10:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ obj_show.c:53:13: warning: variable 'obj_size' set but not used [-Wunused-but-set-variable] 53 | u16 obj_size; | ^~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c game_id.c -o game_id.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c cmd_misc.c -o cmd_misc.o cmd_misc.c: In function 'cmd_version': cmd_misc.c:16:21: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] 16 | message_box(" NAGI\nBy Nick Sonneveld"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from cmd_misc.c:10: ui/msg.h:10:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 10 | extern u16 message_box(u8 *var8); | ~~~~^~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c trace.c -o trace.o trace.c: In function 'trace_add': trace.c:184:28: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 184 | agi_printf("=========================="); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from trace.c:33: ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:190:28: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 190 | agi_printf("%d: cmd.%d", logic_orig->num, op); | ^~~~~~~~~~~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:195:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 195 | agi_printf("%d: %s", logic_orig->num, "return"); | ^~~~~~~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:200:44: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 200 | agi_printf("%d: %s", logic_orig->num, logic_msg(op + table_offset)); | ^~~~~~~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:204:52: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 204 | agi_printf("%d: eval.%d", logic_orig->num, op); | ^~~~~~~~~~~~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:206:52: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 206 | agi_printf("%d: cmd.%d", logic_orig->num, op); | ^~~~~~~~~~~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:219:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 219 | agi_printf(" :%c", 'F'); | ^~~~~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:221:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 221 | agi_printf(" :%c", 'T'); | ^~~~~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c: In function 'trace_var_print': trace.c:266:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 266 | agi_printf("%d", var_value); | ^~~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:268:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 268 | agi_printf("%u", var_value); | ^~~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:288:44: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 288 | agi_printf("%d",var_value); | ^~~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ trace.c:290:44: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 290 | agi_printf("%d", state.var[var_value]); | ^~~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c config.c -o config.o config.c: In function 'config_load': config.c:48:68: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 48 | *conf_ptr->b.ptr = (strtol(key_data, 0, 10) != 0); | ^~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h: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:177:48: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 177 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ config.c:54:64: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 54 | if ((key_data != 0) && (strcmp(key_data, conf_ptr->s.def)) ) | ^~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:60: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ config.c:54:85: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 54 | if ((key_data != 0) && (strcmp(key_data, conf_ptr->s.def)) ) | ~~~~~~~~~~~^~~~ | | | CONF_STRING {aka unsigned char *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ config.c:55:69: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 55 | *(conf_ptr->s.ptr) = strdup(key_data); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ config.c:55:60: warning: pointer targets in assignment from 'char *' to 'CONF_STRING' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 55 | *(conf_ptr->s.ptr) = strdup(key_data); | ^ config.c:63:77: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] 63 | *conf_ptr->i.ptr = (CONF_INT)strtol(key_data, 0, 0); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/stdlib.h:177:48: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 177 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c list.c -o list.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c log.c -o log.o log.c: In function 'cmd_log': log.c:51:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 51 | sprintf(msg, "\n\nRoom %d\nInput line: %s\n", state.var[0], | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/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:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ log.c:53:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 53 | fwrite(msg, strlen(msg), 1, log_stream); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:60: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ log.c:55:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 55 | fwrite(msg, strlen(msg), 1, log_stream); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c version/agi_crc.c -o version/agi_crc.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c version/standard.c -o version/standard.o version/standard.c: In function 'stand_sep': version/standard.c:136:25: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 136 | st_end = strstr(ptr, ",\0\n\r"); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h: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:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ version/standard.c:136:16: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 136 | st_end = strstr(ptr, ",\0\n\r"); | ^ version/standard.c: In function 'dir_get_info': version/standard.c:165:26: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] 165 | if (file_crc_gen("object", &agicrc->object) != 0) | ^~~~~~~~ | | | char * version/standard.c:103:22: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:169:26: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] 169 | if (file_crc_gen("words.tok", &agicrc->words) != 0) | ^~~~~~~~~~~ | | | char * version/standard.c:103:22: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:173:26: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] 173 | if (file_crc_gen("vol.0", &agicrc->vol[0]) == 0) | ^~~~~~~ | | | char * version/standard.c:103:22: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:183:47: warning: pointer targets in passing argument 2 of 'find_first' differ in signedness [-Wpointer-sign] 183 | fname = find_first(&find_vol, "*vol.0"); | ^~~~~~~~ | | | char * In file included from version/standard.c:31: version/../sys/agi_file.h:34:40: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 34 | extern u8 *find_first(FIND *token, u8 *name); | ~~~~^~~~ version/standard.c:188:39: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 188 | tail = strstr(fname, "vol.0"); // get id | ^~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:350:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ version/standard.c:188:30: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 188 | tail = strstr(fname, "vol.0"); // get id | ^ version/standard.c:196:52: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 196 | strcpy(info->file_id, fname); | ~~~~^~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34: /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:196:63: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 196 | strcpy(info->file_id, fname); | ^~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:211:28: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] 211 | if ( (file_crc_gen("logdir", &agicrc->dir.log) | | ^~~~~~~~ | | | char * version/standard.c:103:22: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:212:30: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] 212 | file_crc_gen("snddir", &agicrc->dir.snd) | | ^~~~~~~~ | | | char * version/standard.c:103:22: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:213:30: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] 213 | file_crc_gen("viewdir", &agicrc->dir.view) | | ^~~~~~~~~ | | | char * version/standard.c:103:22: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:214:30: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] 214 | file_crc_gen("picdir", &agicrc->dir.pic)) == 0) | ^~~~~~~~ | | | char * version/standard.c:103:22: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:221:31: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] 221 | else if (file_crc_gen("dirs", &agicrc->dir_comb) == 0) | ^~~~~~ | | | char * version/standard.c:103:22: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ~~~~^~~~~~~~~ version/standard.c:229:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 229 | sprintf(name, "%sdir", info->file_id); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:243:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 243 | sprintf(name, "%svol.%d", info->file_id, i); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c: In function 'crc_print': version/standard.c:270:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 270 | sprintf(key_vol, "crc_vol_%d", i); | ^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c: In function 'crc_compare': version/standard.c:303:45: warning: pointer targets in passing argument 2 of 'ini_key' differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:325:9: note: in expansion of macro 'CRC_FUDGE' 325 | CRC_FUDGE("crc_object", object, 1); | ^~~~~~~~~ In file included from version/standard.c:28: version/../sys/ini_config.h:27:34: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:325:9: note: in expansion of macro 'CRC_FUDGE' 325 | CRC_FUDGE("crc_object", object, 1); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:325:9: note: in expansion of macro 'CRC_FUDGE' 325 | CRC_FUDGE("crc_object", object, 1); | ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40: /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:303:45: warning: pointer targets in passing argument 2 of 'ini_key' differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:328:9: note: in expansion of macro 'CRC_FUDGE' 328 | CRC_FUDGE("crc_words", words, 2); | ^~~~~~~~~ version/../sys/ini_config.h:27:34: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:328:9: note: in expansion of macro 'CRC_FUDGE' 328 | CRC_FUDGE("crc_words", words, 2); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:328:9: note: in expansion of macro 'CRC_FUDGE' 328 | CRC_FUDGE("crc_words", words, 2); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:333:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 333 | sprintf(key_vol, "crc_vol_%d", i); | ^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:334:17: note: in expansion of macro 'CRC_FUDGE' 334 | CRC_FUDGE(key_vol, vol[i], i+3); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:334:17: note: in expansion of macro 'CRC_FUDGE' 334 | CRC_FUDGE(key_vol, vol[i], i+3); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:303:45: warning: pointer targets in passing argument 2 of 'ini_key' differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:342:25: note: in expansion of macro 'CRC_FUDGE' 342 | CRC_FUDGE("crc_dir", dir_comb, 19); | ^~~~~~~~~ version/../sys/ini_config.h:27:34: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:342:25: note: in expansion of macro 'CRC_FUDGE' 342 | CRC_FUDGE("crc_dir", dir_comb, 19); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:342:25: note: in expansion of macro 'CRC_FUDGE' 342 | CRC_FUDGE("crc_dir", dir_comb, 19); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:303:45: warning: pointer targets in passing argument 2 of 'ini_key' differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:348:25: note: in expansion of macro 'CRC_FUDGE' 348 | CRC_FUDGE("crc_dir_log", dir.log, 20); | ^~~~~~~~~ version/../sys/ini_config.h:27:34: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:348:25: note: in expansion of macro 'CRC_FUDGE' 348 | CRC_FUDGE("crc_dir_log", dir.log, 20); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:348:25: note: in expansion of macro 'CRC_FUDGE' 348 | CRC_FUDGE("crc_dir_log", dir.log, 20); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:303:45: warning: pointer targets in passing argument 2 of 'ini_key' differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:350:25: note: in expansion of macro 'CRC_FUDGE' 350 | CRC_FUDGE("crc_dir_pic", dir.pic, 21); | ^~~~~~~~~ version/../sys/ini_config.h:27:34: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:350:25: note: in expansion of macro 'CRC_FUDGE' 350 | CRC_FUDGE("crc_dir_pic", dir.pic, 21); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:350:25: note: in expansion of macro 'CRC_FUDGE' 350 | CRC_FUDGE("crc_dir_pic", dir.pic, 21); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:303:45: warning: pointer targets in passing argument 2 of 'ini_key' differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:352:25: note: in expansion of macro 'CRC_FUDGE' 352 | CRC_FUDGE("crc_dir_view", dir.view, 22); | ^~~~~~~~~ version/../sys/ini_config.h:27:34: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:352:25: note: in expansion of macro 'CRC_FUDGE' 352 | CRC_FUDGE("crc_dir_view", dir.view, 22); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:352:25: note: in expansion of macro 'CRC_FUDGE' 352 | CRC_FUDGE("crc_dir_view", dir.view, 22); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ version/standard.c:303:45: warning: pointer targets in passing argument 2 of 'ini_key' differ in signedness [-Wpointer-sign] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~ | | | char * version/standard.c:354:25: note: in expansion of macro 'CRC_FUDGE' 354 | CRC_FUDGE("crc_dir_snd", dir.snd, 23); | ^~~~~~~~~ version/../sys/ini_config.h:27:34: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:303:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^ version/standard.c:354:25: note: in expansion of macro 'CRC_FUDGE' 354 | CRC_FUDGE("crc_dir_snd", dir.snd, 23); | ^~~~~~~~~ version/standard.c:305:66: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ | | | u8 * {aka unsigned char *} version/standard.c:354:25: note: in expansion of macro 'CRC_FUDGE' 354 | CRC_FUDGE("crc_dir_snd", dir.snd, 23); | ^~~~~~~~~ /usr/include/stdlib.h:181:58: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/stdlib.h:706: version/standard.c: In function 'crc_search': version/standard.c:377:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} version/standard.c:377:20: note: in expansion of macro 'strdupa' 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/../agi.h:382:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 382 | strcpy(blah, str_data); \ | ^~~~ | | | u8 * {aka unsigned char *} version/standard.c:377:20: note: in expansion of macro 'strdupa' 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:377:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} version/../agi.h:382:54: note: in definition of macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:379:26: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 379 | token = strtok_r(crc_list, ",", (char**)&running); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:366:41: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ version/standard.c:379:15: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 379 | token = strtok_r(crc_list, ",", (char**)&running); | ^ version/standard.c:387:23: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 387 | token = strtok_r(0, ",", (char**)&running); | ^ version/standard.c: In function 'gameinfo_namegen': version/standard.c:413:37: warning: pointer targets in passing argument 2 of 'ini_key' differ in signedness [-Wpointer-sign] 413 | name = ini_key(ini, "name"); | ^~~~~~ | | | char * version/../sys/ini_config.h:27:34: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ~~~~^~~~~~~~ version/standard.c:423:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 423 | str_size = strlen(dir_sub) + strlen(dir) + 10 + strlen("/ - AGI v"); | ^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:423:61: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 423 | str_size = strlen(dir_sub) + strlen(dir) + 10 + strlen("/ - AGI v"); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:425:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 425 | sprintf(name, "%s/%s - AGI v%d", dir_sub, dir, info->ver_type); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:430:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 430 | str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); | ~~~~^~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:430:67: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 430 | str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); | ^~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:430:85: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 430 | str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:432:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 432 | sprintf(name, "%s @ %s/%s - AGI v%d", info->file_id, dir_sub, dir, info->ver_type); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:438:21: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 438 | strncpy(info->name, name, 80); | ~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ version/standard.c:438:29: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 438 | strncpy(info->name, name, 80); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ version/standard.c:439:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 439 | if (strlen(name) >= 80) | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:442:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 442 | info->name[strlen(name)] = 0; | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c: In function 'gameinfo_add': version/standard.c:489:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 489 | sprintf(msg, "Games found: %d", game_count); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c: In function 'gi_list_init': version/standard.c:511:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} version/standard.c:511:20: note: in expansion of macro 'strdupa' 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~ /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/../agi.h:382:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 382 | strcpy(blah, str_data); \ | ^~~~ | | | u8 * {aka unsigned char *} version/standard.c:511:20: note: in expansion of macro 'strdupa' 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:511:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} version/../agi.h:382:54: note: in definition of macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:512:26: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 512 | token = strtok_r(dir_list, ";", (char**)&running); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:366:41: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ version/standard.c:512:15: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 512 | token = strtok_r(dir_list, ";", (char**)&running); | ^ version/standard.c:517:30: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] 517 | dp = opendir(token); | ^~~~~ | | | u8 * {aka unsigned char *} In file included from version/standard.c:22: /usr/include/dirent.h:141:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 141 | extern DIR *opendir (const char *__name) __nonnull ((1)) | ~~~~~~~~~~~~^~~~~~ version/standard.c:523:45: warning: pointer targets in passing argument 1 of 'chdir' differ in signedness [-Wpointer-sign] 523 | if ( (chdir(token) != -1) && | ^~~~~ | | | u8 * {aka unsigned char *} In file included from version/standard.c:16: /usr/include/unistd.h:517:31: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 517 | extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur; | ~~~~~~~~~~~~^~~~~~ version/standard.c:530:67: warning: pointer targets in passing argument 3 of 'gameinfo_add' differ in signedness [-Wpointer-sign] 530 | gameinfo_add(list, ini, ep->d_name, token); | ~~^~~~~~~~ | | | char * version/standard.c:452:45: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 452 | void gameinfo_add(LIST *list, INI *ini, u8 *dir_sub, u8 *dir) | ~~~~^~~~~~~ version/standard.c:536:23: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 536 | token = strtok_r(0, ";", (char**)&running); | ^ version/standard.c: In function 'gi_list_menu': version/standard.c:581:21: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 581 | str_list[0] = "Use the arrow keys to select the game which you wish to play.\nPress ENTER to play the game, ESC to not play a game."; | ^ version/standard.c:611:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 611 | msg = a_malloc(200 + strlen(info->name) + strlen(info->dir->data)); | ~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:611:67: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 611 | msg = a_malloc(200 + strlen(info->name) + strlen(info->dir->data)); | ~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:614:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 614 | sprintf(msg, "About to execute the game\ndescribed as:\n\n%s\n\nfrom dir:\n %s\n\n%s", | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c: In function 'standard_init_ng': version/standard.c:652:46: warning: pointer targets in assignment from 'char *' to 'CONF_STRING' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 652 | config_game[0].s.def = "v3.002.149"; | ^ version/standard.c:661:46: warning: pointer targets in assignment from 'char *' to 'CONF_STRING' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 661 | config_game[0].s.def = "v2.917"; | ^ version/standard.c:706:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 706 | strcpy(c_game_file_id, game->file_id); | ^~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:706:36: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 706 | strcpy(c_game_file_id, game->file_id); | ~~~~^~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ version/standard.c:723:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 723 | window_caption = a_malloc(strlen(game->name) + strlen("NAGI - ") + 10); | ~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ version/standard.c:724:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 724 | sprintf(window_caption, "%s - NAGI", game->name); | ^~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ version/standard.c:727:32: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 727 | window_caption = "NAGI"; | ^ version/standard.c:728:27: warning: pointer targets in passing argument 1 of 'SDL_WM_SetCaption' differ in signedness [-Wpointer-sign] 728 | SDL_WM_SetCaption(window_caption, 0); | ^~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_mouse.h:32, from /usr/include/SDL/SDL_events.h:35, from /usr/include/SDL/SDL.h:37: /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:33: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 743 | return strcasecmp(info_a->name, info_b->name); | ~~~~~~^~~~~~ | | | const u8 * {aka const unsigned char *} In file included from /usr/include/string.h:462: /usr/include/strings.h:116:36: note: expected 'const char *' but argument is of type 'const u8 *' {aka 'const unsigned char *'} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ version/standard.c:743:47: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] 743 | return strcasecmp(info_a->name, info_b->name); | ~~~~~~^~~~~~ | | | const u8 * {aka const unsigned char *} /usr/include/strings.h:116:54: note: expected 'const char *' but argument is of type 'const u8 *' {aka 'const unsigned char *'} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ version/standard.c: In function 'text_init': version/standard.c:773:20: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 773 | agi_printf("New Adventure Game Interpreter"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from version/standard.c:43: version/../ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ version/standard.c: In function 'standard_select_ng': version/standard.c:799:33: warning: pointer targets in passing argument 1 of 'ini_open' differ in signedness [-Wpointer-sign] 799 | ini_standard = ini_open(tmp); | ^~~ | | | char * version/../sys/ini_config.h:24:26: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 24 | extern INI *ini_open(u8 *ini_name); | ~~~~^~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c res/res_dir.c -o res/res_dir.o res/res_dir.c: In function 'dir_load': res/res_dir.c:87:60: warning: pointer targets in passing argument 1 of 'file_to_buf' differ in signedness [-Wpointer-sign] 87 | dir_log_data = file_to_buf("logdir"); | ^~~~~~~~ | | | char * In file included from res/res_dir.c:29: res/../sys/agi_file.h:32:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 32 | extern u8 *file_to_buf(u8 *file_name); | ~~~~^~~~~~~~~ res/res_dir.c:88:60: warning: pointer targets in passing argument 1 of 'file_to_buf' differ in signedness [-Wpointer-sign] 88 | dir_pic_data = file_to_buf("picdir"); | ^~~~~~~~ | | | char * res/../sys/agi_file.h:32:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 32 | extern u8 *file_to_buf(u8 *file_name); | ~~~~^~~~~~~~~ res/res_dir.c:89:61: warning: pointer targets in passing argument 1 of 'file_to_buf' differ in signedness [-Wpointer-sign] 89 | dir_view_data = file_to_buf("viewdir"); | ^~~~~~~~~ | | | char * res/../sys/agi_file.h:32:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 32 | extern u8 *file_to_buf(u8 *file_name); | ~~~~^~~~~~~~~ res/res_dir.c:90:60: warning: pointer targets in passing argument 1 of 'file_to_buf' differ in signedness [-Wpointer-sign] 90 | dir_snd_data = file_to_buf("snddir"); | ^~~~~~~~ | | | char * res/../sys/agi_file.h:32:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 32 | extern u8 *file_to_buf(u8 *file_name); | ~~~~^~~~~~~~~ res/res_dir.c:101:41: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 101 | sprintf(dir_v3_name, "%sdir", c_game_file_id); | ^~~~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from res/res_dir.c:16: /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_dir.c:108:41: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 108 | sprintf(dir_v3_name, "dirs"); | ^~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_dir.c: In function 'dir_error': res/res_dir.c:176:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 176 | sprintf(str, "%s %d not found", name, num); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_dir.c: In function 'dir_logic': res/res_dir.c:186:27: warning: pointer targets in passing argument 1 of 'dir_error' differ in signedness [-Wpointer-sign] 186 | dir_error("logic", num); | ^~~~~~~ | | | char * res/res_dir.c:173:20: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 173 | void dir_error(u8 *name, u16 num) | ~~~~^~~~ res/res_dir.c: In function 'dir_view': res/res_dir.c:195:27: warning: pointer targets in passing argument 1 of 'dir_error' differ in signedness [-Wpointer-sign] 195 | dir_error("view", num); | ^~~~~~ | | | char * res/res_dir.c:173:20: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 173 | void dir_error(u8 *name, u16 num) | ~~~~^~~~ res/res_dir.c: In function 'dir_picture': res/res_dir.c:204:27: warning: pointer targets in passing argument 1 of 'dir_error' differ in signedness [-Wpointer-sign] 204 | dir_error("picture", num); | ^~~~~~~~~ | | | char * res/res_dir.c:173:20: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 173 | void dir_error(u8 *name, u16 num) | ~~~~^~~~ res/res_dir.c: In function 'dir_sound': res/res_dir.c:213:27: warning: pointer targets in passing argument 1 of 'dir_error' differ in signedness [-Wpointer-sign] 213 | dir_error("sound", num); | ^~~~~~~ | | | char * res/res_dir.c:173:20: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 173 | void dir_error(u8 *name, u16 num) | ~~~~^~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c res/res_vol.c -o res/res_vol.o res/res_vol.c: In function 'err_msg': res/res_vol.c:269:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 269 | sprintf(msg, "Please insert disk %d\nand press ENTER.", | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from res/res_vol.c:15: /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c:272:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 272 | sprintf(msg, "Please insert disk %d\nand press ENTER.", | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c: In function 'err_wrong_disk': res/res_vol.c:284:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 284 | sprintf(msg_main, "%s%s\n%s", "That is the wrong disk.\n\n", | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c: In function 'volumes_open': res/res_vol.c:306:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 306 | sprintf(name, "%svol.%d", c_game_file_id, i); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c:308:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 308 | sprintf(name, "vol.%d", i); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c: In function 'file_load': res/res_vol.c:352:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 352 | sprintf(msg, "Can't find %s.%s%s", name, | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ res/res_vol.c:370:36: warning: the comparison will always evaluate as 'false' for the address of 'print_err_code' will never be NULL [-Waddress] 370 | if (print_err_code == 0) | ^~ In file included from res/res_vol.c:29: res/../sys/error.h:4:12: note: 'print_err_code' declared here 4 | extern u16 print_err_code(void); | ^~~~~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c res/res_lzw.c -o res/res_lzw.o res/res_lzw.c: In function 'lzw_buff_fill': res/res_lzw.c:144:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 144 | fread(lzw_buff+cur_byte, sizeof(u8), temp2, lzw_res_stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c res/res_pic.c -o res/res_pic.o res/res_pic.c: In function 'pd_buff_fill': res/res_pic.c:103:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | fread(pd_buff+byte_cur, sizeof(u8), size, pd_stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/script.c -o sys/script.o sys/script.c: In function 'script_new': sys/script.c:51:2: warning: #warning set_mem_rm0() not implemented [-Wcpp] 51 | #warning set_mem_rm0() not implemented | ^~~~~~~ sys/script.c: In function 'script_write': sys/script.c:66:37: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 66 | script_name = "load.logic"; | ^ sys/script.c:69:37: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 69 | script_name = "load.view"; | ^ sys/script.c:72:37: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 72 | script_name = "load.pic"; | ^ sys/script.c:75:37: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 75 | script_name = "load.sound"; | ^ sys/script.c:78:37: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 78 | script_name = "draw.pic"; | ^ sys/script.c:81:37: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 81 | script_name = "add.to.pic"; | ^ sys/script.c:84:37: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 84 | script_name = "discard.pic"; | ^ sys/script.c:87:37: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 87 | script_name = "discard.view"; | ^ sys/script.c:90:37: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 90 | script_name = "overlay.pic"; | ^ sys/script.c:93:37: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 93 | script_name = "unknown"; | ^ sys/script.c:61:13: warning: variable 'script_name' set but not used [-Wunused-but-set-variable] 61 | u8 *script_name = 0; | ^~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/error.c -o sys/error.o sys/error.c:37:2: warning: #warning beep_speaker() incomplete [-Wcpp] 37 | #warning beep_speaker() incomplete | ^~~~~~~ sys/error.c: In function 'set_agi_error': sys/error.c:51:2: warning: #warning set_agi_error() incomplete [-Wcpp] 51 | #warning set_agi_error() incomplete | ^~~~~~~ sys/error.c: In function 'print_err_code': sys/error.c:106:34: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 106 | snprintf(str, sizeof(str), "Disk error:\n%s\n", strerror(errno) ); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/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:51:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ sys/error.c:109:72: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 109 | strncat(str, "\nPress ENTER to try again.", sizeof(str)-strlen(str)-1); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:60: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/error.c:109:17: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] 109 | strncat(str, "\nPress ENTER to try again.", sizeof(str)-strlen(str)-1); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:135:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 135 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sys/error.c:110:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 110 | strncat(str, "\nPress ESC to quit.", sizeof(str)-strlen(str)-1); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/error.c:110:17: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] 110 | strncat(str, "\nPress ESC to quit.", sizeof(str)-strlen(str)-1); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:135:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 135 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/glob_sys.c -o sys/glob_sys.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/delay.c -o sys/delay.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/rand.c -o sys/rand.o sys/rand.c: In function 'agi_rand': sys/rand.c:31:17: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 31 | ftime(&t); | ^~~~~ In file included from sys/rand.c:8: /usr/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/endian.c -o sys/endian.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/mem_wrap.c -o sys/mem_wrap.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/sys_dir.c -o sys/sys_dir.o In file included from /usr/include/stdlib.h:706, from /usr/include/SDL/SDL_stdinc.h: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:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 96 | path_cpy = strdupa(argv0); | ^~~~~ | | | u8 * {aka unsigned char *} sys/sys_dir.c:96:28: note: in expansion of macro 'strdupa' 96 | path_cpy = strdupa(argv0); | ^~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/../agi.h:382:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 382 | strcpy(blah, str_data); \ | ^~~~ | | | u8 * {aka unsigned char *} sys/sys_dir.c:96:28: note: in expansion of macro 'strdupa' 96 | path_cpy = strdupa(argv0); | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/unistd.h:25, from sys/sys_dir.c:8: /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/sys_dir.c:96:36: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 96 | path_cpy = strdupa(argv0); | ^~~~~ | | | u8 * {aka unsigned char *} sys/../agi.h:382:54: note: in definition of macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/sys_dir.c:101:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 101 | end = path_cpy + strlen(path_cpy) - 1; | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/sys_dir.c: In function 'dir_preset_change': sys/sys_dir.c:172:59: warning: pointer targets in passing argument 1 of 'chdir' differ in signedness [-Wpointer-sign] 172 | return chdir(dir_preset[preset_id]->data); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/unistd.h:517:31: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 517 | extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur; | ~~~~~~~~~~~~^~~~~~ sys/sys_dir.c: In function 'vstring_getcwd': sys/sys_dir.c:186:36: warning: pointer targets in passing argument 1 of 'getcwd' differ in signedness [-Wpointer-sign] 186 | value = getcwd(buff->data, buff->size); | ~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/unistd.h:86:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 86 | __NTH (getcwd (char *__buf, size_t __size)) | ^~~~~ sys/sys_dir.c:186:23: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 186 | value = getcwd(buff->data, buff->size); | ^ sys/sys_dir.c: In function 'file_exists': sys/sys_dir.c:208:68: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] 208 | if (strcasecmp(ep->d_name, f_name) == 0) | ^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/string.h:462: /usr/include/strings.h:116:54: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/sys_dir.c: In function 'dir_exists': sys/sys_dir.c:225:22: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] 225 | dp = opendir(d_name); | ^~~~~~ | | | u8 * {aka unsigned char *} In file included from sys/sys_dir.c:20: /usr/include/dirent.h:141:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 141 | extern DIR *opendir (const char *__name) __nonnull ((1)) | ~~~~~~~~~~~~^~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/vstring.c -o sys/vstring.o sys/vstring.c: In function 'vstring_new': sys/vstring.c:57:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 57 | if ( (str != 0) && ((strlen(str)+1) > vs_new->min) ) | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h: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:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c:58:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 58 | vs_new->size = strlen(str)+1; // +1 for null character at end of string | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c:67:30: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 67 | strcpy(vs_new->data, str); | ~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34: /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/vstring.c:67:38: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 67 | strcpy(vs_new->data, str); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/vstring.c:68:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 68 | vs_new->data[strlen(str)] = 0; | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c: In function 'vstring_shrink': sys/vstring.c:90:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 90 | vs->size = strlen(vs->data)+1; | ~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c: In function 'vstring_set_text': sys/vstring.c:107:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 107 | str_size = strlen(str)+1; | ^~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/vstring.c:112:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 112 | strcpy(vs->data, str); | ~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/vstring.c:112:34: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 112 | strcpy(vs->data, str); | ^~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/vstring.c: In function 'vstring_shift': sys/vstring.c:139:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 139 | if (strlen(vs->data) < shift_size) | ~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/ini_config.c -o sys/ini_config.o sys/ini_config.c: In function 'ini_section': sys/ini_config.c:200:44: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 200 | if (strcmp(sect_name, ini->cur_ptr) == 0) | ^~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h: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:156:32: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/ini_config.c:200:58: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 200 | if (strcmp(sect_name, ini->cur_ptr) == 0) | ~~~^~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/ini_config.c: In function 'ini_key': sys/ini_config.c:237:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 237 | if (strcmp(key_name, ini->cur_ptr) == 0) | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/ini_config.c:237:49: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 237 | if (strcmp(key_name, ini->cur_ptr) == 0) | ~~~^~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/ini_config.c:243:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 243 | ini->cur_ptr = strchr(ini->cur_ptr, '=') + 1; | ~~~^~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ sys/ini_config.c:243:46: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 243 | ini->cur_ptr = strchr(ini->cur_ptr, '=') + 1; | ^ sys/ini_config.c: In function 'ini_recursive': sys/ini_config.c:285:41: warning: pointer targets in passing argument 2 of 'ini_key' differ in signedness [-Wpointer-sign] 285 | key_data = ini_key(ini, "inherits"); | ^~~~~~~~~~ | | | char * sys/ini_config.c:222:27: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 222 | u8 *ini_key(INI *ini, u8 *key_name) | ~~~~^~~~~~~~ In file included from /usr/include/stdlib.h:706, from /usr/include/SDL/SDL_stdinc.h:40: sys/ini_config.c:288:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 288 | inherits = alloca(strlen(key_data) + 1); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/ini_config.c:289:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 289 | strcpy(inherits, key_data); | ^~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34: /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/ini_config.c:289:42: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 289 | strcpy(inherits, key_data); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/gfx.c -o sys/gfx.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/vid_render.c -o sys/vid_render.o sys/vid_render.c: In function 'render_init': sys/vid_render.c:107:33: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 107 | if (!strcasecmp(c_vid_renderer, "cga0")) | ^~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} In file included from /usr/include/string.h:462, from /usr/include/SDL/SDL_stdinc.h: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:38: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 109 | else if (!strcasecmp(c_vid_renderer, "cga1")) | ^~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} /usr/include/strings.h:116:36: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/drv_dummy.c -o sys/drv_dummy.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/drv_sdl.c -o sys/drv_sdl.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/drv_video.c -o sys/drv_video.o sys/drv_video.c: In function 'vid_init': sys/drv_video.c:45:25: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 45 | if (strcasecmp (c_vid_driver, "SDL") == 0) | ^~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} In file included from /usr/include/string.h:462, from /usr/include/SDL/SDL_stdinc.h: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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/chargen.c -o sys/chargen.o In file included from /usr/include/stdlib.h:706, from /usr/include/SDL/SDL_stdinc.h: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:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 105 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} sys/chargen.c:105:16: note: in expansion of macro 'strdupa' 105 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/../agi.h:382:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 382 | strcpy(blah, str_data); \ | ^~~~ | | | u8 * {aka unsigned char *} sys/chargen.c:105:16: note: in expansion of macro 'strdupa' 105 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34: /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/chargen.c:105:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 105 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~~~~~~~~~~~~ | | | CONF_STRING {aka unsigned char *} sys/../agi.h:382:54: note: in definition of macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/chargen.c:106:26: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] 106 | token = strtok_r(list, ";", (char**)&running); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:366:41: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ sys/chargen.c:106:15: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 106 | token = strtok_r(list, ";", (char**)&running); | ^ sys/chargen.c:110:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 110 | fullpath = malloc( strlen(token) + strlen("/usr/share/nagi/")+1 ); | ^~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sys/chargen.c:111:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 111 | strcpy( fullpath, "/usr/share/nagi/" ); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/chargen.c:112:25: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 112 | strcat( fullpath, token ); | ^~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:128:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/chargen.c:112:36: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 112 | strcat( fullpath, token ); | ^~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:128:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/chargen.c:113:34: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 113 | cur_file = fopen(fullpath, "rb"); | ^~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:37: /usr/include/stdio.h:263:44: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 263 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ sys/chargen.c:138:23: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 138 | token = strtok_r(0, ";", (char**)&running); | ^ sys/chargen.c: In function 'font_load': sys/chargen.c:172:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | fread(&font_data[font_chsize*ch], font_chsize, 1, font_stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/agi_file.c -o sys/agi_file.o sys/agi_file.c: In function 'find_first': sys/agi_file.c:59:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 59 | strcpy(token->name, name); | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/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:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/agi_file.c:64:49: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 64 | if(!strcmp(token->file->d_name, name)) | ^~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h:60: /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sys/agi_file.c:65:32: warning: pointer targets in returning 'char *' from a function with return type 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 65 | return token->file->d_name; | ^~~~~ sys/agi_file.c:67:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 67 | tok = strtok(name, "*"); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:356:39: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ sys/agi_file.c:75:34: warning: pointer targets in returning 'char *' from a function with return type 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 75 | if(found) return token->file->d_name; | ^~~~~ sys/agi_file.c: In function 'find_next': sys/agi_file.c:94:32: warning: pointer targets in returning 'char *' from a function with return type 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 94 | return token->file->d_name; | ^~~~~ sys/agi_file.c:104:34: warning: pointer targets in returning 'char *' from a function with return type 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 104 | if(found) return token->file->d_name; | ^~~~~ sys/agi_file.c: In function 'fopen_nocase': sys/agi_file.c:132:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 132 | strcpy(name, orig_name); | ^~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/agi_file.c:135:22: warning: pointer targets in passing argument 1 of 'string_lower' differ in signedness [-Wpointer-sign] 135 | string_lower(name); | ^~~~ | | | char * In file included from sys/agi_file.c:29: sys/../ui/string.h:7:29: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 7 | extern u8 *string_lower(u8 *str); | ~~~~^~~ sys/../agi.h:382:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 382 | strcpy(blah, str_data); \ | ^~~~ | | | u8 * {aka unsigned char *} sys/agi_file.c:140:28: note: in expansion of macro 'strdupa' 140 | testname = strdupa(fileent->d_name); | ^~~~~~~ /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sys/agi_file.c:140:26: warning: pointer targets in assignment from 'u8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 140 | testname = strdupa(fileent->d_name); | ^ sys/agi_file.c:141:30: warning: pointer targets in passing argument 1 of 'string_lower' differ in signedness [-Wpointer-sign] 141 | string_lower(testname); | ^~~~~~~~ | | | char * sys/../ui/string.h:7:29: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 7 | extern u8 *string_lower(u8 *str); | ~~~~^~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c picture/pic_render.c -o picture/pic_render.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c picture/pic_res.c -o picture/pic_res.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c picture/sbuf_util.c -o picture/sbuf_util.o picture/sbuf_util.c: In function 'sbuff_xline': picture/sbuf_util.c:98:2: warning: #warning replicated from sbuff_plot code [-Wcpp] 98 | #warning replicated from sbuff_plot code | ^~~~~~~ picture/sbuf_util.c: In function 'sbuff_picfill': picture/sbuf_util.c:197:12: warning: variable 'mask_bh' set but not used [-Wunused-but-set-variable] 197 | u8 mask_bh, mask_dl, colour_bl; | ^~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c picture/pic_add.c -o picture/pic_add.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/arithmetic.c -o logic/arithmetic.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/cmd_table.c -o logic/cmd_table.o logic/cmd_table.c:90:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 90 | {"return.false", cmd_ret_false, 0, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:90:26: note: (near initialization for 'eval_table[0].func_name') logic/cmd_table.c:91:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 91 | {"equal.n", cmd_equal_n, 2, 0x80}, // fix flags later | ^~~~~~~~~ logic/cmd_table.c:91:26: note: (near initialization for 'eval_table[1].func_name') logic/cmd_table.c:92:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 92 | {"equal.v", cmd_equal_v, 2, 0xC0}, | ^~~~~~~~~ logic/cmd_table.c:92:26: note: (near initialization for 'eval_table[2].func_name') logic/cmd_table.c:93:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 93 | {"less.n", cmd_less_n, 2, 0x80}, | ^~~~~~~~ logic/cmd_table.c:93:26: note: (near initialization for 'eval_table[3].func_name') logic/cmd_table.c:94:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 94 | {"less.v", cmd_less_v, 2, 0xC0}, | ^~~~~~~~ logic/cmd_table.c:94:26: note: (near initialization for 'eval_table[4].func_name') logic/cmd_table.c:95:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 95 | {"greater.n", cmd_greater_n, 2, 0x80}, | ^~~~~~~~~~~ logic/cmd_table.c:95:26: note: (near initialization for 'eval_table[5].func_name') logic/cmd_table.c:96:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 96 | {"greater.v", cmd_greater_v, 2, 0xC0}, | ^~~~~~~~~~~ logic/cmd_table.c:96:26: note: (near initialization for 'eval_table[6].func_name') logic/cmd_table.c:97:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 97 | {"isset", cmd_isset, 1, 0}, | ^~~~~~~ logic/cmd_table.c:97:26: note: (near initialization for 'eval_table[7].func_name') logic/cmd_table.c:98:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 98 | {"isset.v", cmd_isset_v, 1, 0x80}, | ^~~~~~~~~ logic/cmd_table.c:98:26: note: (near initialization for 'eval_table[8].func_name') logic/cmd_table.c:99:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 99 | {"has", cmd_has, 1, 0}, | ^~~~~ logic/cmd_table.c:99:26: note: (near initialization for 'eval_table[9].func_name') logic/cmd_table.c:100:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 100 | {"obj.in.room", cmd_obj_in_room, 2, 0x40}, | ^~~~~~~~~~~~~ logic/cmd_table.c:100:26: note: (near initialization for 'eval_table[10].func_name') logic/cmd_table.c:101:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 101 | {"posn", cmd_posn, 5, 0}, | ^~~~~~ logic/cmd_table.c:101:26: note: (near initialization for 'eval_table[11].func_name') logic/cmd_table.c:102:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 102 | {"controller", cmd_controller, 1, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:102:26: note: (near initialization for 'eval_table[12].func_name') logic/cmd_table.c:103:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 103 | {"have.key", cmd_have_key, 0, 0}, | ^~~~~~~~~~ logic/cmd_table.c:103:26: note: (near initialization for 'eval_table[13].func_name') logic/cmd_table.c:104:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 104 | {"said", cmd_said, 0, 0}, | ^~~~~~ logic/cmd_table.c:104:26: note: (near initialization for 'eval_table[14].func_name') logic/cmd_table.c:105:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 105 | {"compare.strings", cmd_compare_strings, 2, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:105:26: note: (near initialization for 'eval_table[15].func_name') logic/cmd_table.c:106:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 106 | {"obj.in.box", cmd_obj_in_box, 5, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:106:26: note: (near initialization for 'eval_table[16].func_name') logic/cmd_table.c:107:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 107 | {"center.posn", cmd_center_posn, 5, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:107:26: note: (near initialization for 'eval_table[17].func_name') logic/cmd_table.c:108:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 108 | {"right.posn", cmd_right_posn, 5, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:108:26: note: (near initialization for 'eval_table[18].func_name') logic/cmd_table.c:109:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 109 | {"unknown.19", cmd_ret_false, 0, 0} | ^~~~~~~~~~~~ logic/cmd_table.c:109:26: note: (near initialization for 'eval_table[19].func_name') logic/cmd_table.c:114:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 114 | {"cmd.return", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:114:26: note: (near initialization for 'cmd_table[0].func_name') logic/cmd_table.c:117:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 117 | {"cmd.increment", cmd_increment, 1, 0x80}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:117:26: note: (near initialization for 'cmd_table[1].func_name') logic/cmd_table.c:118:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 118 | {"cmd.decrement", cmd_decrement, 1, 0x80}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:118:26: note: (near initialization for 'cmd_table[2].func_name') logic/cmd_table.c:119:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 119 | {"cmd.assignn", cmd_assignn, 2, 0x80}, | ^~~~~~~~~~~~~ logic/cmd_table.c:119:26: note: (near initialization for 'cmd_table[3].func_name') logic/cmd_table.c:120:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 120 | {"cmd.assignv", cmd_assignv, 2, 0xC0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:120:26: note: (near initialization for 'cmd_table[4].func_name') logic/cmd_table.c:121:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 121 | {"cmd.addn", cmd_addn, 2, 0x80}, | ^~~~~~~~~~ logic/cmd_table.c:121:26: note: (near initialization for 'cmd_table[5].func_name') logic/cmd_table.c:122:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 122 | {"cmd.addv", cmd_addv, 2, 0xC0}, | ^~~~~~~~~~ logic/cmd_table.c:122:26: note: (near initialization for 'cmd_table[6].func_name') logic/cmd_table.c:123:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 123 | {"cmd.subn", cmd_subn, 2, 0x80}, | ^~~~~~~~~~ logic/cmd_table.c:123:26: note: (near initialization for 'cmd_table[7].func_name') logic/cmd_table.c:124:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 124 | {"cmd.subv", cmd_subv, 2, 0xC0}, | ^~~~~~~~~~ logic/cmd_table.c:124:26: note: (near initialization for 'cmd_table[8].func_name') logic/cmd_table.c:125:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 125 | {"cmd.lindirectv", cmd_lindirectv, 2, 0xC0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:125:26: note: (near initialization for 'cmd_table[9].func_name') logic/cmd_table.c:126:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 126 | {"cmd.rindirect", cmd_rindirect, 2, 0xC0}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:126:26: note: (near initialization for 'cmd_table[10].func_name') logic/cmd_table.c:127:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 127 | {"cmd.lindirectn", cmd_lindirectn, 2, 0x80}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:127:26: note: (near initialization for 'cmd_table[11].func_name') logic/cmd_table.c:130:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 130 | {"cmd.set", cmd_set, 1, 0}, | ^~~~~~~~~ logic/cmd_table.c:130:26: note: (near initialization for 'cmd_table[12].func_name') logic/cmd_table.c:131:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 131 | {"cmd.reset", cmd_reset, 1, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:131:26: note: (near initialization for 'cmd_table[13].func_name') logic/cmd_table.c:132:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 132 | {"cmd.toggle", cmd_toggle, 1, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:132:26: note: (near initialization for 'cmd_table[14].func_name') logic/cmd_table.c:133:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 133 | {"cmd.set.v", cmd_set_v, 1, 0x80}, | ^~~~~~~~~~~ logic/cmd_table.c:133:26: note: (near initialization for 'cmd_table[15].func_name') logic/cmd_table.c:134:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 134 | {"cmd.reset.v", cmd_reset_v, 1, 0x80}, | ^~~~~~~~~~~~~ logic/cmd_table.c:134:26: note: (near initialization for 'cmd_table[16].func_name') logic/cmd_table.c:135:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 135 | {"cmd.toggle.v", cmd_toggle_v, 1, 0x80}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:135:26: note: (near initialization for 'cmd_table[17].func_name') logic/cmd_table.c:138:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 138 | {"cmd.new.room", cmd_new_room, 1, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:138:26: note: (near initialization for 'cmd_table[18].func_name') logic/cmd_table.c:139:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 139 | {"cmd.new.room.v", cmd_new_room_v, 1, 0x80}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:139:26: note: (near initialization for 'cmd_table[19].func_name') logic/cmd_table.c:142:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 142 | {"cmd.load.logics", cmd_load_logics, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:142:26: note: (near initialization for 'cmd_table[20].func_name') logic/cmd_table.c:143:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 143 | {"cmd.load.logics.v", cmd_load_logics_v, 1, 0x80}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:143:26: note: (near initialization for 'cmd_table[21].func_name') logic/cmd_table.c:144:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 144 | {"cmd.call", cmd_call, 1, 0}, | ^~~~~~~~~~ logic/cmd_table.c:144:26: note: (near initialization for 'cmd_table[22].func_name') logic/cmd_table.c:145:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 145 | {"cmd.call.v", cmd_call_v, 1, 0x80}, | ^~~~~~~~~~~~ logic/cmd_table.c:145:26: note: (near initialization for 'cmd_table[23].func_name') logic/cmd_table.c:148:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 148 | {"cmd.load.pic", cmd_load_pic, 1, 0x80}, // actually at 24 | ^~~~~~~~~~~~~~ logic/cmd_table.c:148:26: note: (near initialization for 'cmd_table[24].func_name') logic/cmd_table.c:149:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 149 | {"cmd.draw.pic", cmd_draw_pic, 1, 0x80}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:149:26: note: (near initialization for 'cmd_table[25].func_name') logic/cmd_table.c:150:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 150 | {"cmd.show.pic", cmd_show_pic, 0, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:150:26: note: (near initialization for 'cmd_table[26].func_name') logic/cmd_table.c:151:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 151 | {"cmd.discard.pic", cmd_discard_pic, 1, 0x80}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:151:26: note: (near initialization for 'cmd_table[27].func_name') logic/cmd_table.c:152:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 152 | {"cmd.overlay.pic", cmd_overlay_pic, 1, 0x80}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:152:26: note: (near initialization for 'cmd_table[28].func_name') logic/cmd_table.c:153:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 153 | {"cmd.show.priority.screen (incomplete)", cmd_show_pri, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:153:26: note: (near initialization for 'cmd_table[29].func_name') logic/cmd_table.c:156:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 156 | {"cmd.load.view", cmd_load_view, 1, 0}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:156:26: note: (near initialization for 'cmd_table[30].func_name') logic/cmd_table.c:157:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 157 | {"cmd.load.view.v", cmd_load_view_v, 1, 0x80}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:157:26: note: (near initialization for 'cmd_table[31].func_name') logic/cmd_table.c:158:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 158 | {"cmd.discard.view", cmd_discard_view, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:158:26: note: (near initialization for 'cmd_table[32].func_name') logic/cmd_table.c:159:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 159 | {"cmd.animate.object", cmd_animate_obj, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:159:26: note: (near initialization for 'cmd_table[33].func_name') logic/cmd_table.c:160:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 160 | {"cmd.unanimate.all", cmd_unanimate_all, 0, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:160:26: note: (near initialization for 'cmd_table[34].func_name') logic/cmd_table.c:161:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 161 | {"cmd.draw", cmd_draw, 1, 0}, | ^~~~~~~~~~ logic/cmd_table.c:161:26: note: (near initialization for 'cmd_table[35].func_name') logic/cmd_table.c:162:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 162 | {"cmd.erase", cmd_erase, 1, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:162:26: note: (near initialization for 'cmd_table[36].func_name') logic/cmd_table.c:165:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 165 | {"cmd.position", cmd_position, 3, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:165:26: note: (near initialization for 'cmd_table[37].func_name') logic/cmd_table.c:166:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 166 | {"cmd.position.v", cmd_position_v, 3, 0x60}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:166:26: note: (near initialization for 'cmd_table[38].func_name') logic/cmd_table.c:167:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 167 | {"cmd.get.position", cmd_get_position, 3, 0x60}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:167:26: note: (near initialization for 'cmd_table[39].func_name') logic/cmd_table.c:168:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 168 | {"cmd.reposition", cmd_reposition, 3, 0x60}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:168:26: note: (near initialization for 'cmd_table[40].func_name') logic/cmd_table.c:171:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 171 | {"cmd.set.view", cmd_set_view, 2, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:171:26: note: (near initialization for 'cmd_table[41].func_name') logic/cmd_table.c:172:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 172 | {"cmd.set.view.v", cmd_set_view_v, 2, 0x40}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:172:26: note: (near initialization for 'cmd_table[42].func_name') logic/cmd_table.c:173:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 173 | {"cmd.set.loop", cmd_set_loop, 2, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:173:26: note: (near initialization for 'cmd_table[43].func_name') logic/cmd_table.c:174:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 174 | {"cmd.set.loop.v", cmd_set_loop_v, 2, 0x40}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:174:26: note: (near initialization for 'cmd_table[44].func_name') logic/cmd_table.c:175:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 175 | {"cmd.fix.loop", cmd_fix_loop, 1, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:175:26: note: (near initialization for 'cmd_table[45].func_name') logic/cmd_table.c:176:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 176 | {"cmd.release.loop", cmd_release_loop,1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:176:26: note: (near initialization for 'cmd_table[46].func_name') logic/cmd_table.c:177:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 177 | {"cmd.set.cel", cmd_set_cel, 2, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:177:26: note: (near initialization for 'cmd_table[47].func_name') logic/cmd_table.c:178:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 178 | {"cmd.set.cel.v", cmd_set_cel_v, 2, 0x40}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:178:26: note: (near initialization for 'cmd_table[48].func_name') logic/cmd_table.c:179:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 179 | {"cmd.last.cel", cmd_last_cel, 2, 0x40}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:179:26: note: (near initialization for 'cmd_table[49].func_name') logic/cmd_table.c:180:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 180 | {"cmd.current.cel", cmd_current_cel, 2, 0x40}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:180:26: note: (near initialization for 'cmd_table[50].func_name') logic/cmd_table.c:181:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 181 | {"cmd.current.loop", cmd_current_loop, 2, 0x40}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:181:26: note: (near initialization for 'cmd_table[51].func_name') logic/cmd_table.c:182:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 182 | {"cmd.current.view", cmd_current_view, 2, 0x40}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:182:26: note: (near initialization for 'cmd_table[52].func_name') logic/cmd_table.c:183:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 183 | {"cmd.num.of.loops", cmd_number_of_loops, 2, 0x40}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:183:26: note: (near initialization for 'cmd_table[53].func_name') logic/cmd_table.c:186:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 186 | {"cmd.set.priority", cmd_set_priority, 2, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:186:26: note: (near initialization for 'cmd_table[54].func_name') logic/cmd_table.c:187:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 187 | {"cmd.set.priority.v", cmd_set_priority_v, 2, 0x40}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:187:26: note: (near initialization for 'cmd_table[55].func_name') logic/cmd_table.c:188:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 188 | {"cmd.release.priority", cmd_release_priority, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:188:26: note: (near initialization for 'cmd_table[56].func_name') logic/cmd_table.c:189:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 189 | {"cmd.get.priority", cmd_get_priority, 2, 0x40}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:189:26: note: (near initialization for 'cmd_table[57].func_name') logic/cmd_table.c:192:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 192 | {"cmd.stop.update", cmd_stop_update, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:192:26: note: (near initialization for 'cmd_table[58].func_name') logic/cmd_table.c:193:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 193 | {"cmd.start.update", cmd_start_update, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:193:26: note: (near initialization for 'cmd_table[59].func_name') logic/cmd_table.c:194:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 194 | {"cmd.force.update", cmd_force_update, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:194:26: note: (near initialization for 'cmd_table[60].func_name') logic/cmd_table.c:197:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 197 | {"cmd.ignore.horizon", cmd_ignore_horizon, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:197:26: note: (near initialization for 'cmd_table[61].func_name') logic/cmd_table.c:198:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 198 | {"cmd.observe.horizon", cmd_observe_horizon, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:198:26: note: (near initialization for 'cmd_table[62].func_name') logic/cmd_table.c:199:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 199 | {"cmd.set.horizon", cmd_set_horizon, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:199:26: note: (near initialization for 'cmd_table[63].func_name') logic/cmd_table.c:200:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 200 | {"cmd.obj.on.water", cmd_obj_on_water, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:200:26: note: (near initialization for 'cmd_table[64].func_name') logic/cmd_table.c:201:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 201 | {"cmd.obj.on.land", cmd_obj_on_land, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:201:26: note: (near initialization for 'cmd_table[65].func_name') logic/cmd_table.c:202:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 202 | {"cmd.obj.on.anything", cmd_obj_on_anything, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:202:26: note: (near initialization for 'cmd_table[66].func_name') logic/cmd_table.c:205:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 205 | {"cmd.ignore.objects", cmd_ignore_objects, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:205:26: note: (near initialization for 'cmd_table[67].func_name') logic/cmd_table.c:206:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 206 | {"cmd.observe.objects", cmd_observe_objects, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:206:26: note: (near initialization for 'cmd_table[68].func_name') logic/cmd_table.c:207:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 207 | {"cmd.distance", cmd_distance, 3, 0x20}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:207:26: note: (near initialization for 'cmd_table[69].func_name') logic/cmd_table.c:209:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 209 | {"cmd.stop.cycling", cmd_stop_cycling, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:209:26: note: (near initialization for 'cmd_table[70].func_name') logic/cmd_table.c:210:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 210 | {"cmd.start.cycling", cmd_start_cycling, 1, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:210:26: note: (near initialization for 'cmd_table[71].func_name') logic/cmd_table.c:211:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 211 | {"cmd.normal.cycle", cmd_normal_cycle, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:211:26: note: (near initialization for 'cmd_table[72].func_name') logic/cmd_table.c:212:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 212 | {"cmd.end.of.loop", cmd_end_of_loop, 2, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:212:26: note: (near initialization for 'cmd_table[73].func_name') logic/cmd_table.c:213:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 213 | {"cmd.reverse.cycle", cmd_reverse_cycle, 1, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:213:26: note: (near initialization for 'cmd_table[74].func_name') logic/cmd_table.c:214:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 214 | {"cmd.reverse.loop", cmd_reverse_loop, 2, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:214:26: note: (near initialization for 'cmd_table[75].func_name') logic/cmd_table.c:215:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 215 | {"cmd.cycle.time", cmd_cycle_time, 2, 0x40}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:215:26: note: (near initialization for 'cmd_table[76].func_name') logic/cmd_table.c:218:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 218 | {"cmd.stop.motion", cmd_stop_motion, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:218:26: note: (near initialization for 'cmd_table[77].func_name') logic/cmd_table.c:219:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 219 | {"cmd.start.motion", cmd_start_motion, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:219:26: note: (near initialization for 'cmd_table[78].func_name') logic/cmd_table.c:220:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 220 | {"cmd.step.size", cmd_step_size, 2, 0x40}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:220:26: note: (near initialization for 'cmd_table[79].func_name') logic/cmd_table.c:221:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 221 | {"cmd.step.time", cmd_step_time, 2, 0x40}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:221:26: note: (near initialization for 'cmd_table[80].func_name') logic/cmd_table.c:222:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 222 | {"cmd.move.obj", cmd_move_obj, 5, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:222:26: note: (near initialization for 'cmd_table[81].func_name') logic/cmd_table.c:223:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 223 | {"cmd.move.obj.v", cmd_move_obj_v, 5, 0x70}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:223:26: note: (near initialization for 'cmd_table[82].func_name') logic/cmd_table.c:224:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 224 | {"cmd.follow.ego", cmd_follow_ego, 3, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:224:26: note: (near initialization for 'cmd_table[83].func_name') logic/cmd_table.c:225:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 225 | {"cmd.wander", cmd_wander, 1, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:225:26: note: (near initialization for 'cmd_table[84].func_name') logic/cmd_table.c:226:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 226 | {"cmd.normal.motion", cmd_normal_motion, 1, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:226:26: note: (near initialization for 'cmd_table[85].func_name') logic/cmd_table.c:227:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 227 | {"cmd.set.dir", cmd_set_dir, 2, 0x40}, | ^~~~~~~~~~~~~ logic/cmd_table.c:227:26: note: (near initialization for 'cmd_table[86].func_name') logic/cmd_table.c:228:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 228 | {"cmd.get.dir", cmd_get_dir, 2, 0x40}, | ^~~~~~~~~~~~~ logic/cmd_table.c:228:26: note: (near initialization for 'cmd_table[87].func_name') logic/cmd_table.c:231:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 231 | {"cmd.ignore.blocks", cmd_ignore_blocks, 1, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:231:26: note: (near initialization for 'cmd_table[88].func_name') logic/cmd_table.c:232:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 232 | {"cmd.observe.blocks", cmd_observe_blocks, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:232:26: note: (near initialization for 'cmd_table[89].func_name') logic/cmd_table.c:233:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 233 | {"cmd.block", cmd_block, 4, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:233:26: note: (near initialization for 'cmd_table[90].func_name') logic/cmd_table.c:234:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 234 | {"cmd.unblock", cmd_unblock, 0, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:234:26: note: (near initialization for 'cmd_table[91].func_name') logic/cmd_table.c:237:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 237 | {"cmd.get", cmd_get, 1, 0}, | ^~~~~~~~~ logic/cmd_table.c:237:26: note: (near initialization for 'cmd_table[92].func_name') logic/cmd_table.c:238:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 238 | {"cmd.get.v", cmd_get_v, 1, 0x80}, | ^~~~~~~~~~~ logic/cmd_table.c:238:26: note: (near initialization for 'cmd_table[93].func_name') logic/cmd_table.c:239:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 239 | {"cmd.drop", cmd_drop, 1, 0}, | ^~~~~~~~~~ logic/cmd_table.c:239:26: note: (near initialization for 'cmd_table[94].func_name') logic/cmd_table.c:240:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 240 | {"cmd.put", cmd_put, 2, 0}, | ^~~~~~~~~ logic/cmd_table.c:240:26: note: (near initialization for 'cmd_table[95].func_name') logic/cmd_table.c:241:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 241 | {"cmd.put.v", cmd_put_v, 2, 0x40}, | ^~~~~~~~~~~ logic/cmd_table.c:241:26: note: (near initialization for 'cmd_table[96].func_name') logic/cmd_table.c:242:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 242 | {"cmd.get.room.v", cmd_get_room_v, 2, 0xC0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:242:26: note: (near initialization for 'cmd_table[97].func_name') logic/cmd_table.c:245:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 245 | {"cmd.load.sound",cmd_load_sound , 1, 0}, //cmd_load_sound | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:245:26: note: (near initialization for 'cmd_table[98].func_name') logic/cmd_table.c:246:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 246 | {"cmd.sound", cmd_sound, 2, 0},//cmd_sound | ^~~~~~~~~~~ logic/cmd_table.c:246:26: note: (near initialization for 'cmd_table[99].func_name') logic/cmd_table.c:247:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 247 | {"cmd.stop.sound",cmd_stop_sound , 0, 0}, //cmd_stop_sound | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:247:26: note: (near initialization for 'cmd_table[100].func_name') logic/cmd_table.c:248:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 248 | {"cmd.print", cmd_print, 1, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:248:26: note: (near initialization for 'cmd_table[101].func_name') logic/cmd_table.c:249:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 249 | {"cmd.print.v", cmd_print_v, 1, 0x80}, | ^~~~~~~~~~~~~ logic/cmd_table.c:249:26: note: (near initialization for 'cmd_table[102].func_name') logic/cmd_table.c:250:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 250 | {"cmd.display", cmd_display, 3, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:250:26: note: (near initialization for 'cmd_table[103].func_name') logic/cmd_table.c:251:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 251 | {"cmd.display.v", cmd_display_v, 3, 0xE0}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:251:26: note: (near initialization for 'cmd_table[104].func_name') logic/cmd_table.c:252:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 252 | {"cmd.clear.lines", cmd_clear_lines, 3, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:252:26: note: (near initialization for 'cmd_table[105].func_name') logic/cmd_table.c:253:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 253 | {"cmd.text.screen", cmd_text_screen, 0, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:253:26: note: (near initialization for 'cmd_table[106].func_name') logic/cmd_table.c:254:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 254 | {"cmd.graphics", cmd_graphics, 0, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:254:26: note: (near initialization for 'cmd_table[107].func_name') logic/cmd_table.c:257:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 257 | {"cmd.set.cursor.char", cmd_set_cursor_char, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:257:26: note: (near initialization for 'cmd_table[108].func_name') logic/cmd_table.c:258:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 258 | {"cmd.set.text.attrib", cmd_set_text_attribute, 2, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:258:26: note: (near initialization for 'cmd_table[109].func_name') logic/cmd_table.c:259:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 259 | {"cmd.shake.screen (incomplete)", cmd_do_nothing, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:259:26: note: (near initialization for 'cmd_table[110].func_name') logic/cmd_table.c:260:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 260 | {"cmd.config.screen", cmd_config_screen, 3, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:260:26: note: (near initialization for 'cmd_table[111].func_name') logic/cmd_table.c:261:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 261 | {"cmd.status.line.on", cmd_status_line_on, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:261:26: note: (near initialization for 'cmd_table[112].func_name') logic/cmd_table.c:262:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 262 | {"cmd.status.line.off", cmd_status_line_off, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:262:26: note: (near initialization for 'cmd_table[113].func_name') logic/cmd_table.c:263:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 263 | {"cmd.set.string", cmd_set_string, 2, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:263:26: note: (near initialization for 'cmd_table[114].func_name') logic/cmd_table.c:264:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 264 | {"cmd.get.string", cmd_get_string, 5, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:264:26: note: (near initialization for 'cmd_table[115].func_name') logic/cmd_table.c:265:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 265 | {"cmd.word.to.string", cmd_word_to_string, 2, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:265:26: note: (near initialization for 'cmd_table[116].func_name') logic/cmd_table.c:266:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 266 | {"cmd.parse", cmd_parse, 1, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:266:26: note: (near initialization for 'cmd_table[117].func_name') logic/cmd_table.c:269:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 269 | {"cmd.get.num", cmd_get_num, 2, 0x40}, | ^~~~~~~~~~~~~ logic/cmd_table.c:269:26: note: (near initialization for 'cmd_table[118].func_name') logic/cmd_table.c:270:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 270 | {"cmd.prevent.input", cmd_prevent_input, 0, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:270:26: note: (near initialization for 'cmd_table[119].func_name') logic/cmd_table.c:271:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 271 | {"cmd.accept.input", cmd_accept_input, 0, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:271:26: note: (near initialization for 'cmd_table[120].func_name') logic/cmd_table.c:272:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 272 | {"cmd.set.key", cmd_set_key, 3, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:272:26: note: (near initialization for 'cmd_table[121].func_name') logic/cmd_table.c:273:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 273 | {"cmd.add.to.pic", cmd_add_to_pic, 7, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:273:26: note: (near initialization for 'cmd_table[122].func_name') logic/cmd_table.c:274:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 274 | {"cmd.add.to.pic.v", cmd_add_to_pic_v, 7, 0xFE}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:274:26: note: (near initialization for 'cmd_table[123].func_name') logic/cmd_table.c:275:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 275 | {"cmd.status", cmd_status, 0, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:275:26: note: (near initialization for 'cmd_table[124].func_name') logic/cmd_table.c:276:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 276 | {"cmd.save.game (incomplete)", cmd_save_game, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:276:26: note: (near initialization for 'cmd_table[125].func_name') logic/cmd_table.c:277:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 277 | {"cmd.restore.game (incomplete)", cmd_restore_game, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:277:26: note: (near initialization for 'cmd_table[126].func_name') logic/cmd_table.c:278:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 278 | {"cmd.init.disk (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:278:26: note: (near initialization for 'cmd_table[127].func_name') logic/cmd_table.c:281:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 281 | {"cmd.restart.game", cmd_restart_game, 0, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:281:26: note: (near initialization for 'cmd_table[128].func_name') logic/cmd_table.c:282:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 282 | {"cmd.show.obj", cmd_show_obj, 1, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:282:26: note: (near initialization for 'cmd_table[129].func_name') logic/cmd_table.c:283:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 283 | {"cmd.random", cmd_random, 3, 0x20}, | ^~~~~~~~~~~~ logic/cmd_table.c:283:26: note: (near initialization for 'cmd_table[130].func_name') logic/cmd_table.c:284:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 284 | {"cmd.program.control", cmd_program_control, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:284:26: note: (near initialization for 'cmd_table[131].func_name') logic/cmd_table.c:285:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 285 | {"cmd.player.control", cmd_player_control, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:285:26: note: (near initialization for 'cmd_table[132].func_name') logic/cmd_table.c:286:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 286 | {"cmd.obj.status.v (incomplete)", cmd_do_nothing, 1, 0x80}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:286:26: note: (near initialization for 'cmd_table[133].func_name') logic/cmd_table.c:287:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 287 | {"cmd.quit", cmd_quit, 1, 0}, | ^~~~~~~~~~ logic/cmd_table.c:287:26: note: (near initialization for 'cmd_table[134].func_name') logic/cmd_table.c:288:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 288 | {"cmd.show.mem (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:288:26: note: (near initialization for 'cmd_table[135].func_name') logic/cmd_table.c:289:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 289 | {"cmd.pause", cmd_pause, 0, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:289:26: note: (near initialization for 'cmd_table[136].func_name') logic/cmd_table.c:290:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 290 | {"cmd.echo.line", cmd_echo_line, 0, 0}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:290:26: note: (near initialization for 'cmd_table[137].func_name') logic/cmd_table.c:293:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 293 | {"cmd.cancel.line", cmd_cancel_line, 0, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:293:26: note: (near initialization for 'cmd_table[138].func_name') logic/cmd_table.c:294:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 294 | {"cmd.init.joy (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:294:26: note: (near initialization for 'cmd_table[139].func_name') logic/cmd_table.c:295:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 295 | {"cmd.toggle.monitor", cmd_toggle_monitor, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:295:26: note: (near initialization for 'cmd_table[140].func_name') logic/cmd_table.c:296:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 296 | {"cmd.version", cmd_version, 0, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:296:26: note: (near initialization for 'cmd_table[141].func_name') logic/cmd_table.c:297:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 297 | {"cmd.script.size", cmd_script_size, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:297:26: note: (near initialization for 'cmd_table[142].func_name') logic/cmd_table.c:298:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 298 | {"cmd.set.game.id", cmd_set_game_id, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:298:26: note: (near initialization for 'cmd_table[143].func_name') logic/cmd_table.c:299:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 299 | {"cmd.log", cmd_log, 1, 0}, | ^~~~~~~~~ logic/cmd_table.c:299:26: note: (near initialization for 'cmd_table[144].func_name') logic/cmd_table.c:300:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 300 | {"cmd.set.scan.start", cmd_set_scan_start, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:300:26: note: (near initialization for 'cmd_table[145].func_name') logic/cmd_table.c:301:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 301 | {"cmd.reset.scan.start", cmd_reset_scan_start, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:301:26: note: (near initialization for 'cmd_table[146].func_name') logic/cmd_table.c:304:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 304 | {"cmd.reposition.to", cmd_reposition_to, 3, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:304:26: note: (near initialization for 'cmd_table[147].func_name') logic/cmd_table.c:305:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 305 | {"cmd.reposition.to.v", cmd_reposition_to_v, 3, 0x60}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:305:26: note: (near initialization for 'cmd_table[148].func_name') logic/cmd_table.c:308:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 308 | {"cmd.trace.on", cmd_trace_on, 0, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:308:26: note: (near initialization for 'cmd_table[149].func_name') logic/cmd_table.c:309:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 309 | {"cmd.trace.info", cmd_trace_info, 3, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:309:26: note: (near initialization for 'cmd_table[150].func_name') logic/cmd_table.c:310:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 310 | {"cmd.print.at", cmd_print_at, 4, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:310:26: note: (near initialization for 'cmd_table[151].func_name') logic/cmd_table.c:311:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 311 | {"cmd.print.at.v", cmd_print_at_v, 4, 0x80}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:311:26: note: (near initialization for 'cmd_table[152].func_name') logic/cmd_table.c:312:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 312 | {"cmd.discard.view.v", cmd_discard_view_v, 1, 0x80}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:312:26: note: (near initialization for 'cmd_table[153].func_name') logic/cmd_table.c:313:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 313 | {"cmd.clear.text.rect", cmd_clear_text_rect, 5, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:313:26: note: (near initialization for 'cmd_table[154].func_name') logic/cmd_table.c:314:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 314 | {"cmd.set.upper.left", cmd_set_upper_left, 2, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:314:26: note: (near initialization for 'cmd_table[155].func_name') logic/cmd_table.c:317:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 317 | {"cmd.set.menu", cmd_set_menu, 1, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:317:26: note: (near initialization for 'cmd_table[156].func_name') logic/cmd_table.c:318:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 318 | {"cmd.set.menu.item", cmd_set_menu_item, 2, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:318:26: note: (near initialization for 'cmd_table[157].func_name') logic/cmd_table.c:319:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 319 | {"cmd.submit.menu", cmd_submit_menu, 0, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:319:26: note: (near initialization for 'cmd_table[158].func_name') logic/cmd_table.c:320:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 320 | {"cmd.enable.item", cmd_enable_item, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:320:26: note: (near initialization for 'cmd_table[159].func_name') logic/cmd_table.c:321:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 321 | {"cmd.disable.item", cmd_disable_item, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:321:26: note: (near initialization for 'cmd_table[160].func_name') logic/cmd_table.c:322:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 322 | {"cmd.menu.input", cmd_menu_input, 0, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:322:26: note: (near initialization for 'cmd_table[161].func_name') logic/cmd_table.c:325:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 325 | {"cmd.show.obj.v", cmd_show_obj_v, 1, 1}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:325:26: note: (near initialization for 'cmd_table[162].func_name') logic/cmd_table.c:326:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 326 | {"cmd.open.dialogue", cmd_open_dialogue, 0, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:326:26: note: (near initialization for 'cmd_table[163].func_name') logic/cmd_table.c:327:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 327 | {"cmd.close.dialogue", cmd_close_dialogue, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:327:26: note: (near initialization for 'cmd_table[164].func_name') logic/cmd_table.c:330:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 330 | {"cmd.mult.n", cmd_multn, 2, 0x80}, | ^~~~~~~~~~~~ logic/cmd_table.c:330:26: note: (near initialization for 'cmd_table[165].func_name') logic/cmd_table.c:331:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 331 | {"cmd.mult.v", cmd_multv, 2, 0xC0}, | ^~~~~~~~~~~~ logic/cmd_table.c:331:26: note: (near initialization for 'cmd_table[166].func_name') logic/cmd_table.c:332:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 332 | {"cmd.div.n", cmd_divn, 2, 0x80}, | ^~~~~~~~~~~ logic/cmd_table.c:332:26: note: (near initialization for 'cmd_table[167].func_name') logic/cmd_table.c:333:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 333 | {"cmd.div.v", cmd_divv, 2, 0xC0}, | ^~~~~~~~~~~ logic/cmd_table.c:333:26: note: (near initialization for 'cmd_table[168].func_name') logic/cmd_table.c:336:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 336 | {"cmd.close.window", cmd_close_window, 0, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:336:26: note: (near initialization for 'cmd_table[169].func_name') logic/cmd_table.c:339:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 339 | {"cmd.set.simple", cmd_unknown_170, 1, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:339:26: note: (near initialization for 'cmd_table[170].func_name') logic/cmd_table.c:340:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 340 | {"cmd.push.script", cmd_unknown_171, 0, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:340:26: note: (near initialization for 'cmd_table[171].func_name') logic/cmd_table.c:341:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 341 | {"cmd.pop.script", cmd_unknown_172, 0, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:341:26: note: (near initialization for 'cmd_table[172].func_name') logic/cmd_table.c:342:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 342 | {"cmd.hold.key", cmd_unknown_173, 0, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:342:26: note: (near initialization for 'cmd_table[173].func_name') logic/cmd_table.c:343:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 343 | {"cmd.set.pri.base", cmd_unknown_174, 1, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:343:26: note: (near initialization for 'cmd_table[174].func_name') logic/cmd_table.c:344:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 344 | {"cmd.discard.sound (incomplete)", cmd_do_nothing, 1, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:344:26: note: (near initialization for 'cmd_table[175].func_name') logic/cmd_table.c:345:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 345 | {"cmd.hide.mouse (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:345:26: note: (near initialization for 'cmd_table[176].func_name') logic/cmd_table.c:346:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 346 | {"cmd.allow.menu", cmd_unknown_177, 1, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:346:26: note: (near initialization for 'cmd_table[177].func_name') logic/cmd_table.c:347:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 347 | {"cmd.show.mouse (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:347:26: note: (near initialization for 'cmd_table[178].func_name') logic/cmd_table.c:348:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 348 | {"cmd.fence.mouse (incomplete)", cmd_do_nothing, 4, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:348:26: note: (near initialization for 'cmd_table[179].func_name') logic/cmd_table.c:350:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 350 | {"cmd.mouse.posn (incomplete)", cmd_do_nothing, 2, 0xC0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:350:26: note: (near initialization for 'cmd_table[180].func_name') logic/cmd_table.c:351:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 351 | {"cmd.release.key", cmd_unknown_181, 0, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:351:26: note: (near initialization for 'cmd_table[181].func_name') logic/cmd_table.c:352:26: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 352 | {"cmd.adj.ego.move.to.x.y (incomplete)", cmd_do_nothing, 0, 0} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:352:26: note: (near initialization for 'cmd_table[182].func_name') gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/logic_base.c -o logic/logic_base.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/logic_eval.c -o logic/logic_eval.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/logic_execute.c -o logic/logic_execute.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/view_base.c -o view/view_base.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_update.c -o view/obj_update.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_blit.c -o view/obj_blit.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_base.c -o view/obj_base.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_proximity.c -o view/obj_proximity.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_position.c -o view/obj_position.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_loop.c -o view/obj_loop.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_motion.c -o view/obj_motion.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_drawerase.c -o view/obj_drawerase.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_cycle.c -o view/obj_cycle.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_motion_cmd.c -o view/obj_motion_cmd.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_block.c -o view/obj_block.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_priority.c -o view/obj_priority.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c view/obj_picbuff.c -o view/obj_picbuff.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/sound_base.c -o sound/sound_base.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/pcm_out.c -o sound/pcm_out.o sound/pcm_out.c:35:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 35 | {"sdl", pcm_out_sdl_drv_init} | ^~~~~ sound/pcm_out.c:35:10: note: (near initialization for 'pcm_out_init_list[0].name') gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/pcm_out_sdl.c -o sound/pcm_out_sdl.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/sound_gen.c -o sound/sound_gen.o sound/sound_gen.c: In function 'volume_calc': sound/sound_gen.c:188:39: warning: pointer targets in assignment from 's8 *' {aka 'signed char *'} to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 188 | dissolve_data = dissolve_data_v2; | ^ sound/sound_gen.c:192:39: warning: pointer targets in assignment from 's8 *' {aka 'signed char *'} to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 192 | dissolve_data = dissolve_data_v3; | ^ sound/sound_gen.c: In function 'sndgen_callback': sound/sound_gen.c:284:2: warning: #warning if chan 2.. change noise chan if appropriate [-Wcpp] 284 | #warning if chan 2.. change noise chan if appropriate | ^~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/tone.c -o sound/tone.o sound/tone.c:42:10: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 42 | {"pcm_16bit", tone_pcm_drv_init} | ^~~~~~~~~~~ sound/tone.c:42:10: note: (near initialization for 'tone_init_list[0].name') gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/tone_pcm.c -o sound/tone_pcm.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/drvpick.c -o sys/drvpick.o sys/drvpick.c: In function 'drvpick_first': sys/drvpick.c:54:52: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] 54 | while ((i" thing? | ~~~~~~~~~~~~^~~ | | | u8 * {aka unsigned char *} In file included from ui/cmd_input.c:18: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/cmd_input.c:136:40: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 136 | strcpy(input_prev, input); | ^~~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26: /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ui/cmd_input.c:136:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 136 | strcpy(input_prev, input); | ^~~~~ | | | u8 * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ui/cmd_input.c: In function 'input_echo': ui/cmd_input.c:174:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 174 | if ( input_cur < strlen(input_prev)) | ^~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/controller.c -o ui/controller.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/status.c -o ui/status.o ui/status.c: In function 'inventory': ui/status.c:110:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 110 | si->col = 39 - strlen(si->name); | ~~^~~~~~ | | | u8 * {aka unsigned char *} In file included from ui/status.c:12: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/status.c:123:26: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 123 | si->name = "nothing"; // name | ^ ui/status.c:139:2: warning: #warning need the joystick BUTT map.. [-Wcpp] 139 | #warning need the joystick BUTT map.. | ^~~~~~~ ui/status.c: In function 'invent_display': ui/status.c:171:20: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 171 | agi_printf("You are carrying:"); | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from ui/status.c:24: ui/../ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/status.c:187:28: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 187 | agi_printf("Press ENTER to select, ESC to cancel"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/../ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/status.c:192:28: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 192 | agi_printf("Press a key to return to the game"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * ui/../ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/status.c: In function 'status_line_write': ui/status.c:252:28: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 252 | agi_printf("Score:%d of %d", state.var[V03_SCORE], state.var[V07_MAXSCORE]); | ^~~~~~~~~~~~~~~~ | | | char * ui/../ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/status.c:256:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 256 | agi_printf("Sound:%s", "off"); | ^~~~~~~~~~ | | | char * ui/../ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/status.c:258:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 258 | agi_printf("Sound:%s", "on"); | ^~~~~~~~~~ | | | char * ui/../ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/menu.c -o ui/menu.o ui/menu.c: In function 'cmd_set_menu': ui/menu.c:63:25: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 63 | m_name = strdup(logic_msg(*(c++))); | ^~~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} In file included from ui/menu.c:20: /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c:63:16: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 63 | m_name = strdup(logic_msg(*(c++))); | ^ ui/menu.c:88:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 88 | menu_col += strlen(m_name) + 1; | ^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c: In function 'cmd_set_menu_item': ui/menu.c:103:23: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 103 | name = strdup(logic_msg(*(c++))); | ^~~~~~~~~~~~~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c:103:14: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 103 | name = strdup(logic_msg(*(c++))); | ^ ui/menu.c:127:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 127 | if ((strlen(name) + menu_cur->col) < 0x27) | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c:130:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 130 | menu_item_col = 0x27 - strlen(name); | ^~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/menu.c: In function 'menu_calc_size': ui/menu.c:454:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 454 | menu_size_width = (strlen((m->head)->name) << 2) + 8; | ~~~~~~~~~^~~~~~ | | | u8 * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/mouse.c -o ui/mouse.o ui/mouse.c: In function 'mouse_init': ui/mouse.c:223:50: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 223 | cmd_table[171].func_name = "cmd.poll.mouse"; | ^ ui/mouse.c:249:50: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 249 | cmd_table[171].func_name = "cmd.push.script"; | ^ ui/mouse.c: In function 'mouse_shutdown': ui/mouse.c:273:34: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 273 | cmd_table[171].func_name = "cmd.push.script"; | ^ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fcommon -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/list_box.c -o ui/list_box.o ui/list_box.c: In function 'list_print': ui/list_box.c:53:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 53 | if ((strlen(list[i]) > 550) || (size->w >= 500)) | ~~~~^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/SDL/SDL_stdinc.h: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:407:35: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ui/list_box.c:54:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 54 | agi_printf(" - *TOO LONG*"); | ^~~~~~~~~~~~~~~ | | | char * In file included from ui/list_box.c:20: ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/list_box.c:57:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 57 | sprintf(str, " - %s", list[i]); | ^~~ | | | u8 * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34: /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ui/list_box.c:59:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 59 | agi_printf("%s", str); | ^~~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/list_box.c:67:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 67 | agi_printf("U"); | ^~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/list_box.c:69:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 69 | agi_printf(" "); | ^~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/list_box.c:73:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 73 | agi_printf("D"); | ^~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ ui/list_box.c:75:36: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] 75 | agi_printf(" "); | ^~~ | | | char * ui/printf.h:1:28: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 1 | extern void agi_printf(u8 *var8, ...); | ~~~~^~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -lSDL -lpthread -o ../bin/nagi make: Leaving directory '/usr/src/RPM/BUILD/nagi/src' + docbook2man /usr/src/RPM/SOURCES/nagi.sgml Using catalogs: /etc/sgml/sgml-docbook-4.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.15/docbook-utils.dsl#print Working on: /usr/src/RPM/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 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.92945 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/nagi-buildroot + : + /bin/rm -rf -- /usr/src/tmp/nagi-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd nagi + mkdir -p /usr/src/tmp/nagi-buildroot//usr/bin + install -Dp -m755 bin/nagi /usr/src/tmp/nagi-buildroot//usr/bin/nagi + mkdir -p /usr/src/tmp/nagi-buildroot/usr/share/nagi + install -Dp -m644 bin/font_16x16.nbf bin/font_4x8.nbf bin/font_8x8.nbf /usr/src/tmp/nagi-buildroot/usr/share/nagi/ + mkdir -p /usr/src/tmp/nagi-buildroot/etc/nagi + install -Dp -m644 bin/nagi.ini /usr/src/tmp/nagi-buildroot/etc/nagi/ + install -Dp -m644 bin/standard.ini /usr/src/tmp/nagi-buildroot/etc/nagi/ + mkdir -p /usr/src/tmp/nagi-buildroot/usr/share/man/man1 + install -Dp -m644 src/nagi.1 /usr/src/tmp/nagi-buildroot/usr/share/man/man1 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/nagi-buildroot (auto) Verifying and fixing files in /usr/src/tmp/nagi-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/nagi-buildroot/ (default) Compressing files in /usr/src/tmp/nagi-buildroot (auto) Verifying ELF objects in /usr/src/tmp/nagi-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/nagi-buildroot Processing files: nagi-2.06-alt2_33 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.72527 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd nagi + DOCDIR=/usr/src/tmp/nagi-buildroot/usr/share/doc/nagi-2.06 + export DOCDIR + rm -rf /usr/src/tmp/nagi-buildroot/usr/share/doc/nagi-2.06 + /bin/mkdir -p /usr/src/tmp/nagi-buildroot/usr/share/doc/nagi-2.06 + cp -prL --no-dereference license.txt /usr/src/tmp/nagi-buildroot/usr/share/doc/nagi-2.06 + chmod -R go-w /usr/src/tmp/nagi-buildroot/usr/share/doc/nagi-2.06 + chmod -R a+rX /usr/src/tmp/nagi-buildroot/usr/share/doc/nagi-2.06 + cp -prL readme.html /usr/src/tmp/nagi-buildroot/usr/share/doc/nagi-2.06 + chmod -R go-w /usr/src/tmp/nagi-buildroot/usr/share/doc/nagi-2.06 + chmod -R a+rX /usr/src/tmp/nagi-buildroot/usr/share/doc/nagi-2.06 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AXGJXs find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Oq3ndv find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libSDL-1.2.so.0()(64bit) >= set:lg84ZKiPV72PZ2G8Dia2WAECPCPJ4SoqSXHQ8Nbu0kTcwEE5BROy4TEDou6oD1FXIupZil7jV9, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.azXcs8 Creating nagi-debuginfo package Processing files: nagi-debuginfo-2.06-alt2_33 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qkQYPa find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.430VNO find-requires: running scripts (debuginfo) Requires: nagi = 2.06-alt2_33, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libSDL-1.2.so.0), debug64(libc.so.6) Adding to nagi-debuginfo a strict dependency on nagi Wrote: /usr/src/RPM/RPMS/x86_64/nagi-2.06-alt2_33.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/nagi-debuginfo-2.06-alt2_33.x86_64.rpm (w2.lzdio) 5.20user 2.95system 0:11.05elapsed 73%CPU (0avgtext+0avgdata 71428maxresident)k 0inputs+0outputs (0major+463295minor)pagefaults 0swaps 3.59user 2.82system 0:25.18elapsed 25%CPU (0avgtext+0avgdata 137260maxresident)k 0inputs+0outputs (0major+222679minor)pagefaults 0swaps --- nagi-2.06-alt2_33.x86_64.rpm.repo 2023-04-20 20:27:26.000000000 +0000 +++ nagi-2.06-alt2_33.x86_64.rpm.hasher 2024-12-25 03:23:43.917592968 +0000 @@ -23,2 +23,3 @@ Requires: libc.so.6(GLIBC_2.4)(64bit) +Requires: libc.so.6(GLIBC_2.7)(64bit) Requires: rtld(GNU_HASH) @@ -29,3 +30,3 @@ File: /etc/nagi/standard.ini 100644 root:root 4cc4c50762aaef8fd94a1835db0b80b9 -File: /usr/bin/nagi 100755 root:root 4d31fb8ddebfce874c103b8356bb4aa0 +File: /usr/bin/nagi 100755 root:root 7673000be2c8947ffd603bd942dc47af File: /usr/share/doc/nagi-2.06 40755 root:root @@ -38,2 +39,2 @@ File: /usr/share/nagi/font_8x8.nbf 100644 root:root 645e2e1c62880ed37df4b9e456eddb4b -RPMIdentity: ad60b1711c79086af82242bdf829b809ac02624f8dfde71949fd397aeeea2155066f07cc7e3a298f533091cf48d30a89f2e9488ee281ce4cf88ca1da61b02293 +RPMIdentity: 97ff683dd175059fc0dd495c8f8f6d935b44cb6ced3d11ae49754d4ed334a751b7bd9e4ab9a7a67c9e25a1e859012c9419f6e187dce62bdbb02b48b91238ea49 --- nagi-debuginfo-2.06-alt2_33.x86_64.rpm.repo 2023-04-20 20:27:26.000000000 +0000 +++ nagi-debuginfo-2.06-alt2_33.x86_64.rpm.hasher 2024-12-25 03:23:44.019594508 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/ad 40755 root:root -/usr/lib/debug/.build-id/ad/4ba09cdf4d8f4fc02eeb2121ae2f8d4cd11bbd 120777 root:root ../../../../bin/nagi -/usr/lib/debug/.build-id/ad/4ba09cdf4d8f4fc02eeb2121ae2f8d4cd11bbd.debug 120777 root:root ../../usr/bin/nagi.debug +/usr/lib/debug/.build-id/1e 40755 root:root +/usr/lib/debug/.build-id/1e/e3f51453cb15778ee5ed25e11ac47c92b29c68 120777 root:root ../../../../bin/nagi +/usr/lib/debug/.build-id/1e/e3f51453cb15778ee5ed25e11ac47c92b29c68.debug 120777 root:root ../../usr/bin/nagi.debug /usr/lib/debug/usr/bin/nagi.debug 100644 root:root @@ -187,6 +187,6 @@ Provides: nagi-debuginfo = 2.06-alt2_33:sisyphus+318994.100.1.1 -File: /usr/lib/debug/.build-id/ad 40755 root:root -File: /usr/lib/debug/.build-id/ad/4ba09cdf4d8f4fc02eeb2121ae2f8d4cd11bbd 120777 root:root ../../../../bin/nagi -File: /usr/lib/debug/.build-id/ad/4ba09cdf4d8f4fc02eeb2121ae2f8d4cd11bbd.debug 120777 root:root ../../usr/bin/nagi.debug -File: /usr/lib/debug/usr/bin/nagi.debug 100644 root:root d57d4a590d0dad98262091d930062cc1 +File: /usr/lib/debug/.build-id/1e 40755 root:root +File: /usr/lib/debug/.build-id/1e/e3f51453cb15778ee5ed25e11ac47c92b29c68 120777 root:root ../../../../bin/nagi +File: /usr/lib/debug/.build-id/1e/e3f51453cb15778ee5ed25e11ac47c92b29c68.debug 120777 root:root ../../usr/bin/nagi.debug +File: /usr/lib/debug/usr/bin/nagi.debug 100644 root:root 9ad6af4ada8ea72130eb77de6a3c75f0 File: /usr/src/debug/nagi 40755 root:root @@ -368,2 +368,2 @@ File: /usr/src/debug/nagi/src/view/view_base.h 100644 root:root 4bda6fb5f705ed629ab2e78bedeb6c31 -RPMIdentity: f88cd520f99f604a7c7cd48d7cd2620d74532da40c687d57b6acbca511c39d8350d12330580de9e9115641681474e6a202000fac97c26e552522759866b5642b +RPMIdentity: 5f19296abc47c292e280642e0c06047b22a57bc432d0241bcc92f95ec3cd31607ec035a1e925df555119ad294f5bfca2a8503ed57a0f58a0531656806d61a26e