<86>Dec 6 02:06:07 userdel[2246233]: delete user 'rooter' <86>Dec 6 02:06:07 userdel[2246233]: removed group 'rooter' owned by 'rooter' <86>Dec 6 02:06:07 userdel[2246233]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 6 02:06:07 groupadd[2246249]: group added to /etc/group: name=rooter, GID=642 <86>Dec 6 02:06:07 groupadd[2246249]: group added to /etc/gshadow: name=rooter <86>Dec 6 02:06:07 groupadd[2246249]: new group: name=rooter, GID=642 <86>Dec 6 02:06:07 useradd[2246266]: new user: name=rooter, UID=642, GID=642, home=/root, shell=/bin/bash <86>Dec 6 02:06:07 userdel[2246293]: delete user 'builder' <86>Dec 6 02:06:07 userdel[2246293]: removed group 'builder' owned by 'builder' <86>Dec 6 02:06:07 userdel[2246293]: removed shadow group 'builder' owned by 'builder' <86>Dec 6 02:06:07 groupadd[2246311]: group added to /etc/group: name=builder, GID=643 <86>Dec 6 02:06:07 groupadd[2246311]: group added to /etc/gshadow: name=builder <86>Dec 6 02:06:07 groupadd[2246311]: new group: name=builder, GID=643 <86>Dec 6 02:06:08 useradd[2246327]: new user: name=builder, UID=643, GID=643, home=/usr/src, shell=/bin/bash <13>Dec 6 02:06:11 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300644 installed <13>Dec 6 02:06:11 rpmi: libglvnd-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 02:06:11 rpmi: sgml-common-0.6.3-alt15 1423664786 installed <13>Dec 6 02:06:11 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Dec 6 02:06:11 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Dec 6 02:06:11 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Dec 6 02:06:11 rpmi: libOpenSP-1.5.2-alt3.qa1 1365943428 installed <13>Dec 6 02:06:11 rpmi: OpenSP-1.5.2-alt3.qa1 1365943428 installed <13>Dec 6 02:06:11 rpmi: libOpenGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 02:06:11 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586301784 installed <13>Dec 6 02:06:11 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Dec 6 02:06:11 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Dec 6 02:06:11 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Dec 6 02:06:11 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Dec 6 02:06:11 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Dec 6 02:06:12 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Dec 6 02:06:12 rpmi: libsystemd-1:243.9-alt1 p9+258476.300.4.1 1601997124 installed <13>Dec 6 02:06:12 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Dec 6 02:06:12 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Dec 6 02:06:12 rpmi: libalsa-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826762 installed <13>Dec 6 02:06:12 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Dec 6 02:06:12 rpmi: libX11-locales-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 6 02:06:12 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Dec 6 02:06:12 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Dec 6 02:06:12 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Dec 6 02:06:12 rpmi: libX11-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 6 02:06:12 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Dec 6 02:06:12 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Dec 6 02:06:12 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Dec 6 02:06:12 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Dec 6 02:06:12 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed <13>Dec 6 02:06:12 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Dec 6 02:06:14 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Dec 6 02:06:14 rpmi: libX11-devel-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 6 02:06:14 rpmi: libpulseaudio-13.0-alt4 p9+261614.100.2.1 1605550488 installed <13>Dec 6 02:06:14 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Dec 6 02:06:14 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Dec 6 02:06:14 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Dec 6 02:06:14 rpmi: libdrm-1:2.4.102-alt1 p9+252863.100.1.1 1591372623 installed <13>Dec 6 02:06:14 rpmi: libGLX-mesa-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 02:06:14 rpmi: libGLX-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 02:06:14 rpmi: libGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 02:06:14 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Dec 6 02:06:14 rpmi: libgbm-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 02:06:14 rpmi: libEGL-mesa-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 02:06:14 rpmi: libEGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 02:06:14 rpmi: libglvnd-devel-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 6 02:06:14 rpmi: libGL-devel-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 6 02:06:14 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Dec 6 02:06:14 rpmi: xml-utils-1:2.9.10-alt4 p9+261133.100.1.1 1604676294 installed <13>Dec 6 02:06:14 rpmi: docbook-dtds-4.5-alt1 1223476557 installed <13>Dec 6 02:06:14 rpmi: openjade-1.3.2-alt15 sisyphus+219815.100.1.1 1548167848 installed <13>Dec 6 02:06:15 rpmi: docbook-style-dsssl-1.79-alt3 1324062818 installed <13>Dec 6 02:06:15 rpmi: perl-SGMLSpm-1:1.1-alt1 sisyphus+222076.100.1.1 1550600553 installed <13>Dec 6 02:06:15 rpmi: docbook-utils-0.6.14-alt4 1285177233 installed <13>Dec 6 02:06:15 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/nagi-2.06-alt2_20.nosrc.rpm Installing nagi-2.06-alt2_20.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.95777 + 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): + /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.95777 + 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' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + cd src + make -f Makefile.linux make: Entering directory '/usr/src/RPM/BUILD/nagi/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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] #warning base.c needs work ^~~~~~~ base.c: In function 'cmd_pause': base.c:34:14: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] message_box(" Game paused.\nPress Enter to continue." ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from base.c:14: ui/msg.h:10:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u16 message_box(u8 *var8); ^~~~~~~~~~~ base.c: In function 'cmd_quit': base.c:45:18: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] if (message_box("Press ENTER to quit.\nPress ESC to keep playing.") == 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from base.c:14: ui/msg.h:10:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u16 message_box(u8 *var8); ^~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c debug.c -o debug.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c decrypt.c -o decrypt.o decrypt.c: In function 'decrypt_string': decrypt.c:10:17: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] u8 *d_string = ""; ^~ decrypt.c:18:13: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] d_string = DECRYPT_STRING; ^ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c flags.c -o flags.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c nagi_main.c -o nagi_main.o nagi_main.c: In function 'main': nagi_main.c:76:15: warning: pointer targets in passing argument 1 of 'dir_init' differ in signedness [-Wpointer-sign] dir_init(argv[0]); ~~~~^~~ In file included from nagi_main.c:53: sys/sys_dir.h:20:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void dir_init(u8 *argv0); ^~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c initialise.c -o initialise.o initialise.c: In function 'nagi_init': initialise.c:108:22: warning: pointer targets in passing argument 1 of 'ini_open' differ in signedness [-Wpointer-sign] ini_nagi = ini_open(tmp); ^~~ In file included from initialise.c:56: sys/ini_config.h:24:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern INI *ini_open(u8 *ini_name); ^~~~~~~~ initialise.c:170:2: warning: #warning keyboard needs a bit of cleanup [-Wcpp] #warning keyboard needs a bit of cleanup ^~~~~~~ initialise.c: In function 'agi_init': initialise.c:208:29: warning: pointer targets in passing argument 1 of 'file_load' differ in signedness [-Wpointer-sign] words_tok_data = file_load("words.tok", 0); ^~~~~~~~~~~ In file included from initialise.c:30: res/res.h:26:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u8 *file_load(u8 *name, u8 *buff); ^~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c agi_string.c -o agi_string.o agi_string.c: In function 'cmd_set_string': agi_string.c:95:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(di, logic_msg(*(c++)), STRING_SIZE); ^~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agi_string.c:95:14: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(di, logic_msg(*(c++)), STRING_SIZE); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agi_string.c: In function 'cmd_word_to_string': agi_string.c:103:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(di, word_string[*(c++)], STRING_SIZE); ^~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agi_string.c:103:25: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(di, word_string[*(c++)], STRING_SIZE); ~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agi_string.c: In function 'string_edit_old': agi_string.c:120:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(buff, str, len-1); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agi_string.c:120:16: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(buff, str, len-1); ^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agi_string.c:122:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] str_cur = buff + strlen(buff); ^~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ agi_string.c:152:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(str, buff); ^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agi_string.c:152:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(str, buff); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agi_string.c: In function 'cmd_set_game_id': agi_string.c:176:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(state.id, logic_msg(*(c++)), ID_SIZE); ~~~~~^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agi_string.c:176:20: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(state.id, logic_msg(*(c++)), ID_SIZE); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ agi_string.c: In function 'stredit_disp': agi_string.c:267:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((str_size<=disp_size)||(strlen(str_edit) < disp_size)) ^~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ agi_string.c:270:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] str_disp = str_edit + strlen(str_edit) - ((percent*disp_size)/100); ^~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ agi_string.c: In function 'string_edit': agi_string.c:297:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(str_edit, str); ^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agi_string.c:297:19: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(str_edit, str); ^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agi_string.c:298:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] str_tail = str_edit + strlen(str_edit); ^~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ agi_string.c:339:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(str, str_edit); ^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ agi_string.c:339:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(str, str_edit); ^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from agi_string.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c objects.c -o objects.o objects.c: In function 'object_file_load': objects.c:64:23: warning: pointer targets in passing argument 1 of 'file_load' differ in signedness [-Wpointer-sign] obj_data = file_load("object", 0); ^~~~~~~~ In file included from objects.c:15: res/res.h:26:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u8 *file_load(u8 *name, u8 *buff); ^~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c state_io.c -o state_io.o state_io.c: In function 'cmd_restart_game': state_io.c:74:29: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] user_result = message_box("Press ENTER to restart\nthe game.\n\nPress ESC to continue\nthis game."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from state_io.c:33: ui/msg.h:10:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u16 message_box(u8 *var8); ^~~~~~~~~~~ state_io.c: In function 'cmd_restore_game': state_io.c:123:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(save_filename->data) > strlen(save_dir->data)) ~~~~~~~~~~~~~^~~~~~ In file included from state_io.c:11: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ state_io.c:123:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(save_filename->data) > strlen(save_dir->data)) ~~~~~~~~^~~~~~ In file included from state_io.c:11: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/stdlib.h:566, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_io.c:13: state_io.c:124:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] msg = alloca(200 + strlen(save_filename->data)); ~~~~~~~~~~~~~^~~~~~ In file included from state_io.c:11: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/stdlib.h:566, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_io.c:13: state_io.c:126:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] msg = alloca(200 + strlen(save_dir->data)); ~~~~~~~~^~~~~~ In file included from state_io.c:11: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ state_io.c:129:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg, "About to restore the game\ndescribed as:\n\n%s\n\nfrom file:\n %s\n\n%s", ^~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ state_io.c:136:36: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] rest_stream = fopen(save_filename->data, "rb"); ~~~~~~~~~~~~~^~~~~~ In file included from state_io.c:10: /usr/include/stdio.h:232:14: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern FILE *fopen (const char *__restrict __filename, ^~~~~ state_io.c:139:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg, "Can't open file:\n %s", save_filename->data); ^~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ state_io.c:159:16: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] message_box("Error in restoring game.\nPress ENTER to quit."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from state_io.c:33: ui/msg.h:10:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u16 message_box(u8 *var8); ^~~~~~~~~~~ state_io.c: In function 'cmd_unknown_170': state_io.c:212:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(state_name_auto, state.string[*(c++)], 31); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from state_io.c:10: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ state_io.c:212:39: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(state_name_auto, state.string[*(c++)], 31); ~~~~~~~~~~~~^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from state_io.c:10: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ state_io.c: In function 'cmd_save_game': state_io.c:235:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(save_filename->data) > strlen(save_dir->data)) ~~~~~~~~~~~~~^~~~~~ In file included from state_io.c:11: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ state_io.c:235:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(save_filename->data) > strlen(save_dir->data)) ~~~~~~~~^~~~~~ In file included from state_io.c:11: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/stdlib.h:566, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_io.c:13: state_io.c:236:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] msg = alloca(200 + strlen(save_filename->data)); ~~~~~~~~~~~~~^~~~~~ In file included from state_io.c:11: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/stdlib.h:566, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_io.c:13: state_io.c:238:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] msg = alloca(200 + strlen(save_dir->data)); ~~~~~~~~^~~~~~ In file included from state_io.c:11: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ state_io.c:241:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg, "About to save the game\ndescribed as:\n\n%s\n\nin file:\n %s\n\n%s", ^~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ state_io.c:250:36: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] save_stream = fopen(save_filename->data, "wb"); ~~~~~~~~~~~~~^~~~~~ In file included from state_io.c:10: /usr/include/stdio.h:232:14: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern FILE *fopen (const char *__restrict __filename, ^~~~~ state_io.c:253:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg, "The directory\n %s\n is full or the disk is write-protected.\nPress ENTER to continue." ^~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ state_io.c:275:24: warning: pointer targets in passing argument 1 of 'remove' differ in signedness [-Wpointer-sign] remove(save_filename->data); ~~~~~~~~~~~~~^~~~~~ In file included from state_io.c:10: /usr/include/stdio.h:144:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int remove (const char *__filename) __THROW; ^~~~~~ state_io.c:276:16: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] message_box("The disk is full.\nPress ENTER to continue."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from state_io.c:33: ui/msg.h:10:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 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] #warning clear_memory() not implemented ^~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c agi.c -o agi.o agi.c:125:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"log_debug", "nagi", CT_BOOL, b:{&c_nagi_log_debug, 0} }, ^~~~~~~~~~~ agi.c:125:3: note: (near initialization for 'config_nagi[0].key') agi.c:125:16: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"log_debug", "nagi", CT_BOOL, b:{&c_nagi_log_debug, 0} }, ^~~~~~ agi.c:125:16: note: (near initialization for 'config_nagi[0].section') agi.c:126:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"console", 0, CT_BOOL, b:{&c_nagi_console, 1} }, ^~~~~~~~~ agi.c:126:3: note: (near initialization for 'config_nagi[1].key') agi.c:127:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"font_benchmark", 0, CT_BOOL, b:{&c_nagi_font_benchmark, 0} }, ^~~~~~~~~~~~~~~~ agi.c:127:3: note: (near initialization for 'config_nagi[2].key') agi.c:128:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"crc_print", 0, CT_BOOL, b:{&c_nagi_crc_print, 0} }, ^~~~~~~~~~~ agi.c:128:3: note: (near initialization for 'config_nagi[3].key') agi.c:129:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"dir_list", 0, CT_STRING, s:{&c_nagi_dir_list, "."} }, ^~~~~~~~~~ agi.c:129:3: note: (near initialization for 'config_nagi[4].key') agi.c:129:50: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"dir_list", 0, CT_STRING, s:{&c_nagi_dir_list, "."} }, ^~~ agi.c:129:50: note: (near initialization for 'config_nagi[4].s.def') agi.c:130:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"sort", 0, CT_STRING, s:{&c_nagi_sort, "alpha"} }, ^~~~~~ agi.c:130:3: note: (near initialization for 'config_nagi[5].key') agi.c:130:42: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"sort", 0, CT_STRING, s:{&c_nagi_sort, "alpha"} }, ^~~~~~~ agi.c:130:42: note: (near initialization for 'config_nagi[5].s.def') agi.c:131:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, ^~~~~~~~ agi.c:131:3: note: (near initialization for 'config_nagi[6].key') agi.c:131:13: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, ^~~~~ agi.c:131:13: note: (near initialization for 'config_nagi[6].section') agi.c:131:49: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, ^~~~~ agi.c:131:49: note: (near initialization for 'config_nagi[6].s.def') agi.c:132:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"scale", 0, CT_INT, i:{&c_vid_scale, 2, 1, -1} }, ^~~~~~~ agi.c:132:3: note: (near initialization for 'config_nagi[7].key') agi.c:133:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"full_screen", 0, CT_BOOL, b:{&c_vid_full_screen, 0} }, ^~~~~~~~~~~~~ agi.c:133:3: note: (near initialization for 'config_nagi[8].key') agi.c:134:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"renderer", 0, CT_STRING, s:{&c_vid_renderer, "ega"} }, ^~~~~~~~~~ agi.c:134:3: note: (near initialization for 'config_nagi[9].key') agi.c:134:49: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"renderer", 0, CT_STRING, s:{&c_vid_renderer, "ega"} }, ^~~~~ agi.c:134:49: note: (near initialization for 'config_nagi[9].s.def') agi.c:135:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"pal_16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, ^~~~~~~~ agi.c:135:3: note: (near initialization for 'config_nagi[10].key') agi.c:135:45: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"pal_16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, ^~~~~~~~~~~~ agi.c:135:45: note: (near initialization for 'config_nagi[10].s.def') agi.c:136:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"pal_text", 0, CT_STRING, s:{&c_vid_pal_text, "pal_text.pal"} }, ^~~~~~~~~~ agi.c:136:3: note: (near initialization for 'config_nagi[11].key') agi.c:136:49: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"pal_text", 0, CT_STRING, s:{&c_vid_pal_text, "pal_text.pal"} }, ^~~~~~~~~~~~~~ agi.c:136:49: note: (near initialization for 'config_nagi[11].s.def') agi.c:137:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"pal_cga0", 0, CT_STRING, s:{&c_vid_pal_cga0, "pal_cga0.pal"} }, ^~~~~~~~~~ agi.c:137:3: note: (near initialization for 'config_nagi[12].key') agi.c:137:49: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"pal_cga0", 0, CT_STRING, s:{&c_vid_pal_cga0, "pal_cga0.pal"} }, ^~~~~~~~~~~~~~ agi.c:137:49: note: (near initialization for 'config_nagi[12].s.def') agi.c:138:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"pal_cga1", 0, CT_STRING, s:{&c_vid_pal_cga1, "pal_cga1.pal"} }, ^~~~~~~~~~ agi.c:138:3: note: (near initialization for 'config_nagi[13].key') agi.c:138:49: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"pal_cga1", 0, CT_STRING, s:{&c_vid_pal_cga1, "pal_cga1.pal"} }, ^~~~~~~~~~~~~~ agi.c:138:49: note: (near initialization for 'config_nagi[13].s.def') agi.c:139:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"pal_bw", 0, CT_STRING, s:{&c_vid_pal_bw, "pal_bw.pal"} }, ^~~~~~~~ agi.c:139:3: note: (near initialization for 'config_nagi[14].key') agi.c:139:45: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"pal_bw", 0, CT_STRING, s:{&c_vid_pal_bw, "pal_bw.pal"} }, ^~~~~~~~~~~~ agi.c:139:45: note: (near initialization for 'config_nagi[14].s.def') agi.c:140:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"fonts_bitmap", 0, CT_STRING, s:{&c_vid_fonts_bitmap, "font_4x8.nbf;font_8x8.nbf;font_16x16.nbf"} }, ^~~~~~~~~~~~~~ agi.c:140:3: note: (near initialization for 'config_nagi[15].key') agi.c:140:57: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"fonts_bitmap", 0, CT_STRING, s:{&c_vid_fonts_bitmap, "font_4x8.nbf;font_8x8.nbf;font_16x16.nbf"} }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agi.c:140:57: note: (near initialization for 'config_nagi[15].s.def') agi.c:141:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"fonts_vector", 0, CT_STRING, s:{&c_vid_fonts_vector, "none.nvf"} }, ^~~~~~~~~~~~~~ agi.c:141:3: note: (near initialization for 'config_nagi[16].key') agi.c:141:57: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"fonts_vector", 0, CT_STRING, s:{&c_vid_fonts_vector, "none.nvf"} }, ^~~~~~~~~~ agi.c:141:57: note: (near initialization for 'config_nagi[16].s.def') agi.c:142:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, ^~~~~~~~ agi.c:142:3: note: (near initialization for 'config_nagi[17].key') agi.c:142:13: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, ^~~~~ agi.c:142:13: note: (near initialization for 'config_nagi[17].section') agi.c:142:49: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, ^~~~~ agi.c:142:49: note: (near initialization for 'config_nagi[17].s.def') agi.c:143:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"enable", 0, CT_BOOL, b:{&c_snd_enable, 1} }, ^~~~~~~~ agi.c:143:3: note: (near initialization for 'config_nagi[18].key') agi.c:144:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"single", 0, CT_BOOL, b:{&c_snd_single, 0} }, ^~~~~~~~ agi.c:144:3: note: (near initialization for 'config_nagi[19].key') agi.c:145:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"dissolve", 0, CT_INT, i:{&c_snd_dissolve, 3, 0, 3} }, ^~~~~~~~~~ agi.c:145:3: note: (near initialization for 'config_nagi[20].key') agi.c:146:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"read_var", 0, CT_BOOL, b:{&c_snd_read_var, 0} }, ^~~~~~~~~~ agi.c:146:3: note: (near initialization for 'config_nagi[21].key') agi.c:147:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"volume", 0, CT_INT, i:{&c_snd_volume, 0x7FFF, 0, 0x7FFF} }, ^~~~~~~~ agi.c:147:3: note: (near initialization for 'config_nagi[22].key') agi.c:148:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, ^~~~~~~~~~~ agi.c:148:3: note: (near initialization for 'config_nagi[23].key') agi.c:148:16: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, ^~~~~ agi.c:148:16: note: (near initialization for 'config_nagi[23].section') agi.c:148:55: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, ^~ agi.c:148:55: note: (near initialization for 'config_nagi[23].s.def') agi.c:149:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"drv_sound", 0, CT_STRING, s:{&c_sdl_drv_sound, ""} }, ^~~~~~~~~~~ agi.c:149:3: note: (near initialization for 'config_nagi[24].key') agi.c:149:51: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"drv_sound", 0, CT_STRING, s:{&c_sdl_drv_sound, ""} }, ^~ agi.c:149:51: note: (near initialization for 'config_nagi[24].s.def') agi.c:156:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, ^~~~~~~~~~ agi.c:156:3: note: (near initialization for 'config_standard[0].key') agi.c:156:15: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, ^~~~~~~~~~ agi.c:156:15: note: (near initialization for 'config_standard[0].section') agi.c:156:63: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, ^~~~~~ agi.c:156:63: note: (near initialization for 'config_standard[0].s.def') agi.c:157:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"agi_list", 0, CT_STRING, s:{&c_standard_agi_list, "pc_2_936;pc_3_002_149;amiga_2;amiga_3"} }, ^~~~~~~~~~ agi.c:157:3: note: (near initialization for 'config_standard[1].key') agi.c:157:54: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"agi_list", 0, CT_STRING, s:{&c_standard_agi_list, "pc_2_936;pc_3_002_149;amiga_2;amiga_3"} }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agi.c:157:54: note: (near initialization for 'config_standard[1].s.def') agi.c:158:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"force", 0, CT_STRING, s:{&c_standard_force, "not defined"} }, ^~~~~~~ agi.c:158:3: note: (near initialization for 'config_standard[2].key') agi.c:158:48: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"force", 0, CT_STRING, s:{&c_standard_force, "not defined"} }, ^~~~~~~~~~~~~ agi.c:158:48: note: (near initialization for 'config_standard[2].s.def') agi.c:159:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"v2_default", 0, CT_STRING, s:{&c_standard_v2_default, "pc_2_936"} }, ^~~~~~~~~~~~ agi.c:159:3: note: (near initialization for 'config_standard[3].key') agi.c:159:58: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"v2_default", 0, CT_STRING, s:{&c_standard_v2_default, "pc_2_936"} }, ^~~~~~~~~~ agi.c:159:58: note: (near initialization for 'config_standard[3].s.def') agi.c:160:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"v3_default", 0, CT_STRING, s:{&c_standard_v3_default, "pc_3_002_149"} }, ^~~~~~~~~~~~ agi.c:160:3: note: (near initialization for 'config_standard[4].key') agi.c:160:58: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"v3_default", 0, CT_STRING, s:{&c_standard_v3_default, "pc_3_002_149"} }, ^~~~~~~~~~~~~~ agi.c:160:58: note: (near initialization for 'config_standard[4].s.def') agi.c:161:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"amiga_v2_default", 0, CT_STRING, s:{&c_standard_amiga_v2_default, "amiga_2"} }, ^~~~~~~~~~~~~~~~~~ agi.c:161:3: note: (near initialization for 'config_standard[5].key') agi.c:161:70: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"amiga_v2_default", 0, CT_STRING, s:{&c_standard_amiga_v2_default, "amiga_2"} }, ^~~~~~~~~ agi.c:161:70: note: (near initialization for 'config_standard[5].s.def') agi.c:162:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"amiga_v3_default", 0, CT_STRING, s:{&c_standard_amiga_v3_default, "amiga_3"} }, ^~~~~~~~~~~~~~~~~~ agi.c:162:3: note: (near initialization for 'config_standard[6].key') agi.c:162:70: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"amiga_v3_default", 0, CT_STRING, s:{&c_standard_amiga_v3_default, "amiga_3"} }, ^~~~~~~~~ agi.c:162:70: note: (near initialization for 'config_standard[6].s.def') agi.c:169:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"version_info", 0, CT_STRING, s:{&c_game_version_info, 0} }, ^~~~~~~~~~~~~~ agi.c:169:3: note: (near initialization for 'config_game[0].key') agi.c:170:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"mouse", 0, CT_INT, i:{&c_game_mouse, 0, 0, 20} }, ^~~~~~~ agi.c:170:3: note: (near initialization for 'config_game[1].key') agi.c:171:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"loop_update", 0, CT_INT, i:{&c_game_loop_update, 0, 0, 4} }, ^~~~~~~~~~~~~ agi.c:171:3: note: (near initialization for 'config_game[2].key') agi.c:173:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"id", 0, CT_STRING, s:{&c_game_id, 0} }, ^~~~ agi.c:173:3: note: (near initialization for 'config_game[3].key') agi.c:174:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"object_decrypt", 0, CT_BOOL, b:{&c_game_object_decrypt, 1} }, ^~~~~~~~~~~~~~~~ agi.c:174:3: note: (near initialization for 'config_game[4].key') agi.c:175:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"object_packed", 0, CT_BOOL, b:{&c_game_object_packed, 0} }, ^~~~~~~~~~~~~~~ agi.c:175:3: note: (near initialization for 'config_game[5].key') agi.c:176:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"compression", 0, CT_BOOL, b:{&c_game_compression, 0} }, ^~~~~~~~~~~~~ agi.c:176:3: note: (near initialization for 'config_game[6].key') agi.c:177:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"dir_type", 0, CT_INT, i:{&c_game_dir_type, 1, 0, 3} }, ^~~~~~~~~~ agi.c:177:3: note: (near initialization for 'config_game[7].key') gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c state_info.c -o state_info.o state_info.c: In function 'state_get_info': state_info.c:104:23: warning: pointer targets in passing argument 1 of 'state_get_text' differ in signedness [-Wpointer-sign] if (state_get_text("How would you like to describe this saved game?\n\n", save_description, sizeof(save_description)) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state_info.c:60:5: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' u16 state_get_text(u8 *msg, u8 *str, u16 str_alloc); ^~~~~~~~~~~~~~ state_info.c: In function 'state_get_path': state_info.c:169:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg->data, ~~~^~~~~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ state_info.c:173:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg->data, ~~~^~~~~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ state_info.c:188:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] vstring_set_size(msg, 100 + strlen(save_dir->data)); ~~~~~~~~^~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ state_info.c:190:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg->data, ~~~^~~~~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ In file included from /usr/include/stdlib.h:566, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: state_info.c: In function 'state_get_filename': state_info.c:288:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] temp1f0 = alloca(100 + strlen(save_dir->data)); ~~~~~~~~^~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ state_info.c:290:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(temp1f0, "There are no games to\nrestore in\n\n %s\n\nPress ENTER to continue.", ^~~~~~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ state_info.c:298:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(save_description, state_name_auto); ^~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ state_info.c:298:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(save_description, state_name_auto); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ state_info.c:300:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(state_name_auto, temp18c[temp1f2].diz) == 0) ^~~~~~~~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ state_info.c:300:48: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(state_name_auto, temp18c[temp1f2].diz) == 0) ~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ state_info.c:305:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp("", temp18c[temp1f2].diz) == 0) ~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ state_info.c:322:21: warning: pointer targets in passing argument 1 of 'message_box_draw' differ in signedness [-Wpointer-sign] 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.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from state_info.c:27: ui/msg.h:11:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); ^~~~~~~~~~~~~~~~ state_info.c:325:21: warning: pointer targets in passing argument 1 of 'message_box_draw' differ in signedness [-Wpointer-sign] 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.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from state_info.c:27: ui/msg.h:11:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); ^~~~~~~~~~~~~~~~ state_info.c:331:20: warning: pointer targets in passing argument 1 of 'message_box_draw' differ in signedness [-Wpointer-sign] 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", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from state_info.c:27: ui/msg.h:11:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); ^~~~~~~~~~~~~~~~ state_info.c:337:20: warning: pointer targets in passing argument 1 of 'message_box_draw' differ in signedness [-Wpointer-sign] message_box_draw("Use the arrow keys to move\n the pointer to your name.\nThen press ENTER\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from state_info.c:27: ui/msg.h:11:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); ^~~~~~~~~~~~~~~~ state_info.c:347:14: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf(" - %s", temp18c[temp1f2].diz); ^~~~~~~ In file included from state_info.c:30: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ state_info.c:363:15: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(save_description, temp18c[temp1f2].diz); ^~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ state_info.c:363:49: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(save_description, temp18c[temp1f2].diz); ~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ state_info.c:367:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(state_name_auto, temp18c[temp1f2].diz); ^~~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ state_info.c:367:49: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(state_name_auto, temp18c[temp1f2].diz); ~~~~~~~~~~~~~~~~^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ state_info.c: In function 'state_get_diz': state_info.c:434:32: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] state_stream = fopen(name_temp->data, "rb"); ~~~~~~~~~^~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/stdio.h:232:14: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern FILE *fopen (const char *__restrict __filename, ^~~~~ state_info.c:449:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(state_id, state.id) != 0) ^~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ state_info.c:449:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(state_id, state.id) != 0) ~~~~~^~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ state_info.c: In function 'state_name_create': state_info.c:481:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((strlen(save_dir->data)>0)&&(strchr("\\/", save_dir->data[strlen(save_dir->data)-1]) != 0)) ~~~~~~~~^~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ state_info.c:481:79: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((strlen(save_dir->data)>0)&&(strchr("\\/", save_dir->data[strlen(save_dir->data)-1]) != 0)) ~~~~~~~~^~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ state_info.c:482:11: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] dir_sep = ""; ^ state_info.c:483:26: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] else if (strchr(save_dir->data, '/')==0) ~~~~~~~~^~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern char *strchr (const char *__s, int __c) ^~~~~~ state_info.c:484:11: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] dir_sep = "\\"; ^ state_info.c:486:11: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] dir_sep = "/"; ^ state_info.c:493:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(filename->data, "%s%s%ssg.%d", save_dir->data, dir_sep, string_lower(state.id), save_num); ~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ state_info.c: In function 'state_dir_check': state_info.c:545:31: warning: pointer targets in passing argument 1 of 'strspn' differ in signedness [-Wpointer-sign] vstring_shift(dir, strspn(dir->data, " ")); ~~~^~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:277:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strspn (const char *__s, const char *__accept) ^~~~~~ state_info.c:547:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(dir->data) == 0) ~~~^~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ state_info.c:550:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] path_size = strlen( dir->data); ~~~^~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ state_info.c:569:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ( (dir->data[1] == ':') && (strlen(dir->data)==2) ) ~~~^~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from state_info.c:13: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ state_info.c: In function 'state_get_diz': state_info.c:444:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(s_item->diz, sizeof(u8), sizeof(s_item->diz), state_stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state_info.c:446:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(state_id, sizeof(u8), sizeof(state.id), state_stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c obj_show.c -o obj_show.o obj_show.c: In function 'obj_show': obj_show.c:65:15: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] message_box("Not now."); ^~~~~~~~~~ In file included from obj_show.c:18: ui/msg.h:10:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u16 message_box(u8 *var8); ^~~~~~~~~~~ obj_show.c:53:6: warning: variable 'obj_size' set but not used [-Wunused-but-set-variable] u16 obj_size; ^~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c cmd_misc.c -o cmd_misc.o cmd_misc.c: In function 'cmd_version': cmd_misc.c:16:14: warning: pointer targets in passing argument 1 of 'message_box' differ in signedness [-Wpointer-sign] message_box(" NAGI\nBy Nick Sonneveld"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cmd_misc.c:10: ui/msg.h:10:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u16 message_box(u8 *var8); ^~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c trace.c -o trace.o trace.c: In function 'trace_add': trace.c:184:14: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("=========================="); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from trace.c:33: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ trace.c:190:14: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("%d: cmd.%d", logic_orig->num, op); ^~~~~~~~~~~~ In file included from trace.c:33: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ trace.c:195:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("%d: %s", logic_orig->num, "return"); ^~~~~~~~ In file included from trace.c:33: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ trace.c:200:16: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("%d: %s", logic_orig->num, logic_msg(op + table_offset)); ^~~~~~~~ In file included from trace.c:33: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ trace.c:204:17: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("%d: eval.%d", logic_orig->num, op); ^~~~~~~~~~~~~ In file included from trace.c:33: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ trace.c:206:17: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("%d: cmd.%d", logic_orig->num, op); ^~~~~~~~~~~~ In file included from trace.c:33: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ trace.c:219:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf(" :%c", 'F'); ^~~~~~ In file included from trace.c:33: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ trace.c:221:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf(" :%c", 'T'); ^~~~~~ In file included from trace.c:33: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ trace.c: In function 'trace_var_print': trace.c:266:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("%d", var_value); ^~~~ In file included from trace.c:33: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ trace.c:268:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("%u", var_value); ^~~~ In file included from trace.c:33: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ trace.c:288:16: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("%d",var_value); ^~~~ In file included from trace.c:33: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ trace.c:290:16: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("%d", state.var[var_value]); ^~~~ In file included from trace.c:33: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c config.c -o config.o config.c: In function 'config_load': config.c:48:33: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] *conf_ptr->b.ptr = (strtol(key_data, 0, 10) != 0); ^~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from config.c:6: /usr/include/stdlib.h:176:17: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern long int strtol (const char *__restrict __nptr, ^~~~~~ config.c:54:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if ((key_data != 0) && (strcmp(key_data, conf_ptr->s.def)) ) ^~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from config.c:6: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ config.c:54:57: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if ((key_data != 0) && (strcmp(key_data, conf_ptr->s.def)) ) ~~~~~~~~~~~^~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from config.c:6: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ config.c:55:34: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] *(conf_ptr->s.ptr) = strdup(key_data); ^~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from config.c:6: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ config.c:55:25: warning: pointer targets in assignment from 'char *' to 'CONF_STRING' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] *(conf_ptr->s.ptr) = strdup(key_data); ^ config.c:63:42: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] *conf_ptr->i.ptr = (CONF_INT)strtol(key_data, 0, 0); ^~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from config.c:6: /usr/include/stdlib.h:176:17: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern long int strtol (const char *__restrict __nptr, ^~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c list.c -o list.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c log.c -o log.o log.c: In function 'cmd_log': log.c:51:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg, "\n\nRoom %d\nInput line: %s\n", state.var[0], ^~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ log.c:53:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] fwrite(msg, strlen(msg), 1, log_stream); ^~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from log.c:6: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ log.c:55:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] fwrite(msg, strlen(msg), 1, log_stream); ^~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from agi.h:5, from log.c:6: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c version/standard.c -o version/standard.o version/standard.c: In function 'stand_sep': version/standard.c:136:18: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] st_end = strstr(ptr, ",\0\n\r"); ^~~ 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:330:14: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ version/standard.c:136:9: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] st_end = strstr(ptr, ",\0\n\r"); ^ version/standard.c: In function 'dir_get_info': version/standard.c:165:19: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] if (file_crc_gen("object", &agicrc->object) != 0) ^~~~~~~~ version/standard.c:103:5: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' int file_crc_gen(u8 *file_name, u32 *crc32) ^~~~~~~~~~~~ version/standard.c:169:19: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] if (file_crc_gen("words.tok", &agicrc->words) != 0) ^~~~~~~~~~~ version/standard.c:103:5: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' int file_crc_gen(u8 *file_name, u32 *crc32) ^~~~~~~~~~~~ version/standard.c:173:19: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] if (file_crc_gen("vol.0", &agicrc->vol[0]) == 0) ^~~~~~~ version/standard.c:103:5: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' int file_crc_gen(u8 *file_name, u32 *crc32) ^~~~~~~~~~~~ version/standard.c:183:33: warning: pointer targets in passing argument 2 of 'find_first' differ in signedness [-Wpointer-sign] fname = find_first(&find_vol, "*vol.0"); ^~~~~~~~ In file included from version/standard.c:31: version/../sys/agi_file.h:34:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u8 *find_first(FIND *token, u8 *name); ^~~~~~~~~~ version/standard.c:188:18: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] tail = strstr(fname, "vol.0"); // get id ^~~~~ 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:330:14: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ version/standard.c:188:9: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] tail = strstr(fname, "vol.0"); // get id ^ version/standard.c:196:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(info->file_id, fname); ~~~~^~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ version/standard.c:196:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(info->file_id, fname); ^~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ version/standard.c:211:21: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] if ( (file_crc_gen("logdir", &agicrc->dir.log) | ^~~~~~~~ version/standard.c:103:5: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' int file_crc_gen(u8 *file_name, u32 *crc32) ^~~~~~~~~~~~ version/standard.c:212:16: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] file_crc_gen("snddir", &agicrc->dir.snd) | ^~~~~~~~ version/standard.c:103:5: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' int file_crc_gen(u8 *file_name, u32 *crc32) ^~~~~~~~~~~~ version/standard.c:213:16: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] file_crc_gen("viewdir", &agicrc->dir.view) | ^~~~~~~~~ version/standard.c:103:5: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' int file_crc_gen(u8 *file_name, u32 *crc32) ^~~~~~~~~~~~ version/standard.c:214:16: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] file_crc_gen("picdir", &agicrc->dir.pic)) == 0) ^~~~~~~~ version/standard.c:103:5: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' int file_crc_gen(u8 *file_name, u32 *crc32) ^~~~~~~~~~~~ version/standard.c:221:24: warning: pointer targets in passing argument 1 of 'file_crc_gen' differ in signedness [-Wpointer-sign] else if (file_crc_gen("dirs", &agicrc->dir_comb) == 0) ^~~~~~ version/standard.c:103:5: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' int file_crc_gen(u8 *file_name, u32 *crc32) ^~~~~~~~~~~~ version/standard.c:229:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(name, "%sdir", info->file_id); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ version/standard.c:243:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(name, "%svol.%d", info->file_id, i); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ version/standard.c: In function 'crc_print': version/standard.c:270:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(key_vol, "crc_vol_%d", i); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/standard.c:325:2: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_object", object, 1); ^~~~~~~~~ In file included from version/standard.c:28: version/../sys/ini_config.h:27:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^ version/standard.c:325:2: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_object", object, 1); ^~~~~~~~~ version/standard.c:305:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ version/standard.c:325:2: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_object", object, 1); ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/standard.c:328:2: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_words", words, 2); ^~~~~~~~~ In file included from version/standard.c:28: version/../sys/ini_config.h:27:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^ version/standard.c:328:2: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_words", words, 2); ^~~~~~~~~ version/standard.c:305:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ version/standard.c:328:2: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_words", words, 2); ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ version/standard.c:333:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(key_vol, "crc_vol_%d", i); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^ version/standard.c:334:3: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE(key_vol, vol[i], i+3); ^~~~~~~~~ version/standard.c:305:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ version/standard.c:334:3: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE(key_vol, vol[i], i+3); ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/standard.c:342:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir", dir_comb, 19); ^~~~~~~~~ In file included from version/standard.c:28: version/../sys/ini_config.h:27:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^ version/standard.c:342:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir", dir_comb, 19); ^~~~~~~~~ version/standard.c:305:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ version/standard.c:342:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir", dir_comb, 19); ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/standard.c:348:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir_log", dir.log, 20); ^~~~~~~~~ In file included from version/standard.c:28: version/../sys/ini_config.h:27:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^ version/standard.c:348:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir_log", dir.log, 20); ^~~~~~~~~ version/standard.c:305:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ version/standard.c:348:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir_log", dir.log, 20); ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/standard.c:350:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir_pic", dir.pic, 21); ^~~~~~~~~ In file included from version/standard.c:28: version/../sys/ini_config.h:27:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^ version/standard.c:350:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir_pic", dir.pic, 21); ^~~~~~~~~ version/standard.c:305:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ version/standard.c:350:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir_pic", dir.pic, 21); ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/standard.c:352:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir_view", dir.view, 22); ^~~~~~~~~ In file included from version/standard.c:28: version/../sys/ini_config.h:27:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^ version/standard.c:352:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir_view", dir.view, 22); ^~~~~~~~~ version/standard.c:305:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ version/standard.c:352:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir_view", dir.view, 22); ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/standard.c:354:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir_snd", dir.snd, 23); ^~~~~~~~~ In file included from version/standard.c:28: version/../sys/ini_config.h:27:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' 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] #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^ version/standard.c:354:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir_snd", dir.snd, 23); ^~~~~~~~~ version/standard.c:305:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ version/standard.c:354:4: note: in expansion of macro 'CRC_FUDGE' CRC_FUDGE("crc_dir_snd", dir.snd, 23); ^~~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ In file included from /usr/include/stdlib.h:566, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: version/standard.c: In function 'crc_search': version/standard.c:377:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] crc_list = strdupa(c_standard_crc_list); ^~~~~~~~~~~~~~~~~~~ version/standard.c:377:13: note: in expansion of macro 'strdupa' crc_list = strdupa(c_standard_crc_list); ^~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ In file included from version/standard.c:7: version/../agi.h:382:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(blah, str_data); \ ^~~~ version/standard.c:377:13: note: in expansion of macro 'strdupa' crc_list = strdupa(c_standard_crc_list); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ In file included from version/standard.c:7: version/standard.c:377:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] crc_list = strdupa(c_standard_crc_list); ^~~~~~~~~~~~~~~~~~~ version/../agi.h:382:19: note: in definition of macro 'strdupa' strcpy(blah, str_data); \ ^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ version/standard.c:379:19: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] token = strtok_r(crc_list, ",", (char**)&running); ^~~~~~~~ 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:346:14: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, ^~~~~~~~ version/standard.c:379:8: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] token = strtok_r(crc_list, ",", (char**)&running); ^ version/standard.c:387:9: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] token = strtok_r(0, ",", (char**)&running); ^ version/standard.c: In function 'gameinfo_namegen': version/standard.c:413:23: warning: pointer targets in passing argument 2 of 'ini_key' differ in signedness [-Wpointer-sign] name = ini_key(ini, "name"); ^~~~~~ In file included from version/standard.c:28: version/../sys/ini_config.h:27:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u8 *ini_key(INI *ini, u8 *key_name); ^~~~~~~ version/standard.c:423:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] str_size = strlen(dir_sub) + strlen(dir) + 10 + strlen("/ - AGI v"); ^~~~~~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ version/standard.c:423:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] str_size = strlen(dir_sub) + strlen(dir) + 10 + strlen("/ - AGI v"); ^~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ version/standard.c:425:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(name, "%s/%s - AGI v%d", dir_sub, dir, info->ver_type); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ version/standard.c:430:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); ~~~~^~~~~~~~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ version/standard.c:430:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); ^~~~~~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ version/standard.c:430:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); ^~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ version/standard.c:432:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(name, "%s @ %s/%s - AGI v%d", info->file_id, dir_sub, dir, info->ver_type); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ version/standard.c:438:14: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(info->name, name, 80); ~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ version/standard.c:438:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(info->name, name, 80); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ version/standard.c:439:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(name) >= 80) ^~~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ version/standard.c:442:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] info->name[strlen(name)] = 0; ^~~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ version/standard.c: In function 'gameinfo_add': version/standard.c:489:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg, "Games found: %d", game_count); ^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ In file included from /usr/include/stdlib.h:566, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: version/standard.c: In function 'gi_list_init': version/standard.c:511:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] dir_list = strdupa(c_nagi_dir_list); ^~~~~~~~~~~~~~~ version/standard.c:511:13: note: in expansion of macro 'strdupa' dir_list = strdupa(c_nagi_dir_list); ^~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ In file included from version/standard.c:7: version/../agi.h:382:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(blah, str_data); \ ^~~~ version/standard.c:511:13: note: in expansion of macro 'strdupa' dir_list = strdupa(c_nagi_dir_list); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ In file included from version/standard.c:7: version/standard.c:511:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] dir_list = strdupa(c_nagi_dir_list); ^~~~~~~~~~~~~~~ version/../agi.h:382:19: note: in definition of macro 'strdupa' strcpy(blah, str_data); \ ^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ version/standard.c:512:19: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] token = strtok_r(dir_list, ";", (char**)&running); ^~~~~~~~ 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:346:14: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, ^~~~~~~~ version/standard.c:512:8: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] token = strtok_r(dir_list, ";", (char**)&running); ^ version/standard.c:517:16: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] dp = opendir(token); ^~~~~ In file included from version/standard.c:22: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern DIR *opendir (const char *__name) __nonnull ((1)); ^~~~~~~ version/standard.c:523:17: warning: pointer targets in passing argument 1 of 'chdir' differ in signedness [-Wpointer-sign] if ( (chdir(token) != -1) && ^~~~~ In file included from version/standard.c:16: /usr/include/unistd.h:497:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur; ^~~~~ version/standard.c:530:32: warning: pointer targets in passing argument 3 of 'gameinfo_add' differ in signedness [-Wpointer-sign] gameinfo_add(list, ini, ep->d_name, token); ~~^~~~~~~~ version/standard.c:452:6: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' void gameinfo_add(LIST *list, INI *ini, u8 *dir_sub, u8 *dir) ^~~~~~~~~~~~ version/standard.c:536:9: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] token = strtok_r(0, ";", (char**)&running); ^ version/standard.c: In function 'gi_list_menu': version/standard.c:581:14: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] str_list[0] = "Use the arrow keys to select the game which you wish to play.\nPress ENTER to play the game, ESC to not play a game."; ^ version/standard.c:611:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] msg = a_malloc(200 + strlen(info->name) + strlen(info->dir->data)); ~~~~^~~~~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ version/standard.c:611:60: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] msg = a_malloc(200 + strlen(info->name) + strlen(info->dir->data)); ~~~~~~~~~^~~~~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ version/standard.c:614:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg, "About to execute the game\ndescribed as:\n\n%s\n\nfrom dir:\n %s\n\n%s", ^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ version/standard.c: In function 'standard_init_ng': version/standard.c:652:25: warning: pointer targets in assignment from 'char *' to 'CONF_STRING' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] config_game[0].s.def = "v3.002.149"; ^ version/standard.c:661:25: warning: pointer targets in assignment from 'char *' to 'CONF_STRING' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] config_game[0].s.def = "v2.917"; ^ version/standard.c:706:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(c_game_file_id, game->file_id); ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ version/standard.c:706:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(c_game_file_id, game->file_id); ~~~~^~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ version/standard.c:723:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] window_caption = a_malloc(strlen(game->name) + strlen("NAGI - ") + 10); ~~~~^~~~~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ version/standard.c:724:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(window_caption, "%s - NAGI", game->name); ^~~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ version/standard.c:727:18: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] window_caption = "NAGI"; ^ version/standard.c:728:20: warning: pointer targets in passing argument 1 of 'SDL_WM_SetCaption' differ in signedness [-Wpointer-sign] SDL_WM_SetCaption(window_caption, 0); ^~~~~~~~~~~~~~ In file included from /usr/include/SDL/SDL_mouse.h:32, from /usr/include/SDL/SDL_events.h:35, from /usr/include/SDL/SDL.h:37, from version/../agi.h:5, from version/standard.c:7: /usr/include/SDL/SDL_video.h:885:30: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern DECLSPEC void SDLCALL SDL_WM_SetCaption(const char *title, const char *icon); ^~~~~~~~~~~~~~~~~ version/standard.c: In function 'gameinfo_compare': version/standard.c:743:26: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] return strcasecmp(info_a->name, info_b->name); ~~~~~~^~~~~~ In file included from /usr/include/string.h:432, from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'const u8 *' {aka 'const unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ version/standard.c:743:40: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] return strcasecmp(info_a->name, info_b->name); ~~~~~~^~~~~~ In file included from /usr/include/string.h:432, from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from version/../agi.h:5, from version/standard.c:7: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'const u8 *' {aka 'const unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ version/standard.c: In function 'text_init': version/standard.c:773:13: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("New Adventure Game Interpreter"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from version/standard.c:43: version/../ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ version/standard.c: In function 'standard_select_ng': version/standard.c:799:26: warning: pointer targets in passing argument 1 of 'ini_open' differ in signedness [-Wpointer-sign] ini_standard = ini_open(tmp); ^~~ In file included from version/standard.c:28: version/../sys/ini_config.h:24:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern INI *ini_open(u8 *ini_name); ^~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c res/res_dir.c -o res/res_dir.o res/res_dir.c: In function 'dir_load': res/res_dir.c:87:32: warning: pointer targets in passing argument 1 of 'file_to_buf' differ in signedness [-Wpointer-sign] dir_log_data = file_to_buf("logdir"); ^~~~~~~~ In file included from res/res_dir.c:29: res/../sys/agi_file.h:32:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u8 *file_to_buf(u8 *file_name); ^~~~~~~~~~~ res/res_dir.c:88:32: warning: pointer targets in passing argument 1 of 'file_to_buf' differ in signedness [-Wpointer-sign] dir_pic_data = file_to_buf("picdir"); ^~~~~~~~ In file included from res/res_dir.c:29: res/../sys/agi_file.h:32:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u8 *file_to_buf(u8 *file_name); ^~~~~~~~~~~ res/res_dir.c:89:33: warning: pointer targets in passing argument 1 of 'file_to_buf' differ in signedness [-Wpointer-sign] dir_view_data = file_to_buf("viewdir"); ^~~~~~~~~ In file included from res/res_dir.c:29: res/../sys/agi_file.h:32:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u8 *file_to_buf(u8 *file_name); ^~~~~~~~~~~ res/res_dir.c:90:32: warning: pointer targets in passing argument 1 of 'file_to_buf' differ in signedness [-Wpointer-sign] dir_snd_data = file_to_buf("snddir"); ^~~~~~~~ In file included from res/res_dir.c:29: res/../sys/agi_file.h:32:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u8 *file_to_buf(u8 *file_name); ^~~~~~~~~~~ res/res_dir.c:101:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(dir_v3_name, "%sdir", c_game_file_id); ^~~~~~~~~~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ res/res_dir.c:108:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(dir_v3_name, "dirs"); ^~~~~~~~~~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ res/res_dir.c: In function 'dir_error': res/res_dir.c:176:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(str, "%s %d not found", name, num); ^~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ res/res_dir.c: In function 'dir_logic': res/res_dir.c:186:13: warning: pointer targets in passing argument 1 of 'dir_error' differ in signedness [-Wpointer-sign] dir_error("logic", num); ^~~~~~~ res/res_dir.c:173:6: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' void dir_error(u8 *name, u16 num) ^~~~~~~~~ res/res_dir.c: In function 'dir_view': res/res_dir.c:195:13: warning: pointer targets in passing argument 1 of 'dir_error' differ in signedness [-Wpointer-sign] dir_error("view", num); ^~~~~~ res/res_dir.c:173:6: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' void dir_error(u8 *name, u16 num) ^~~~~~~~~ res/res_dir.c: In function 'dir_picture': res/res_dir.c:204:13: warning: pointer targets in passing argument 1 of 'dir_error' differ in signedness [-Wpointer-sign] dir_error("picture", num); ^~~~~~~~~ res/res_dir.c:173:6: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' void dir_error(u8 *name, u16 num) ^~~~~~~~~ res/res_dir.c: In function 'dir_sound': res/res_dir.c:213:13: warning: pointer targets in passing argument 1 of 'dir_error' differ in signedness [-Wpointer-sign] dir_error("sound", num); ^~~~~~~ res/res_dir.c:173:6: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' void dir_error(u8 *name, u16 num) ^~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c res/res_vol.c -o res/res_vol.o res/res_vol.c: In function 'err_msg': res/res_vol.c:269:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg, "Please insert disk %d\nand press ENTER.", ^~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ res/res_vol.c:272:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg, "Please insert disk %d\nand press ENTER.", ^~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ res/res_vol.c: In function 'err_wrong_disk': res/res_vol.c:284:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg_main, "%s%s\n%s", "That is the wrong disk.\n\n", ^~~~~~~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ res/res_vol.c: In function 'volumes_open': res/res_vol.c:306:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(name, "%svol.%d", c_game_file_id, i); ^~~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ res/res_vol.c:308:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(name, "vol.%d", i); ^~~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ res/res_vol.c: In function 'file_load': res/res_vol.c:352:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(msg, "Can't find %s.%s%s", name, ^~~ In file included from /usr/include/features.h:428, 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:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ res/res_vol.c:370:22: warning: the comparison will always evaluate as 'false' for the address of 'print_err_code' will never be NULL [-Waddress] if (print_err_code == 0) ^~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c res/res_lzw.c -o res/res_lzw.o res/res_lzw.c: In function 'lzw_buff_fill': res/res_lzw.c:144:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(lzw_buff+cur_byte, sizeof(u8), temp2, lzw_res_stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c res/res_pic.c -o res/res_pic.o res/res_pic.c: In function 'pd_buff_fill': res/res_pic.c:103:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(pd_buff+byte_cur, sizeof(u8), size, pd_stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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] #warning set_mem_rm0() not implemented ^~~~~~~ sys/script.c: In function 'script_write': sys/script.c:66:16: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] script_name = "load.logic"; ^ sys/script.c:69:16: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] script_name = "load.view"; ^ sys/script.c:72:16: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] script_name = "load.pic"; ^ sys/script.c:75:16: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] script_name = "load.sound"; ^ sys/script.c:78:16: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] script_name = "draw.pic"; ^ sys/script.c:81:16: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] script_name = "add.to.pic"; ^ sys/script.c:84:16: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] script_name = "discard.pic"; ^ sys/script.c:87:16: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] script_name = "discard.view"; ^ sys/script.c:90:16: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] script_name = "overlay.pic"; ^ sys/script.c:93:16: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] script_name = "unknown"; ^ sys/script.c:61:6: warning: variable 'script_name' set but not used [-Wunused-but-set-variable] u8 *script_name = 0; ^~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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] #warning beep_speaker() incomplete ^~~~~~~ sys/error.c: In function 'set_agi_error': sys/error.c:51:2: warning: #warning set_agi_error() incomplete [-Wcpp] #warning set_agi_error() incomplete ^~~~~~~ sys/error.c: In function 'print_err_code': sys/error.c:106:13: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] snprintf(str, sizeof(str), "Disk error:\n%s\n", strerror(errno) ); ^~~ In file included from /usr/include/features.h:428, 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:61:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (snprintf (char *__restrict __s, size_t __n, ^~~~~ sys/error.c:109:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncat(str, "\nPress ENTER to try again.", sizeof(str)-strlen(str)-1); ^~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/error.c:11: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ sys/error.c:109:10: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(str, "\nPress ENTER to try again.", sizeof(str)-strlen(str)-1); ^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/error.c:11: /usr/include/bits/string_fortified.h:133:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^~~~~ sys/error.c:110:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncat(str, "\nPress ESC to quit.", sizeof(str)-strlen(str)-1); ^~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/error.c:11: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ sys/error.c:110:10: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness [-Wpointer-sign] strncat(str, "\nPress ESC to quit.", sizeof(str)-strlen(str)-1); ^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/error.c:11: /usr/include/bits/string_fortified.h:133:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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] #warning text mode support needed ^~~~~~~ sys/memory.c:52:2: warning: #warning move this screen buffer thingy to somewhere else [-Wcpp] #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] #warning need to fix error statement ^~~~~~~ sys/memory.c: At top level: sys/memory.c:133:2: warning: #warning finish cmd_show_mem [-Wcpp] #warning finish cmd_show_mem ^~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/rand.c -o sys/rand.o gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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] #warning check base.c disable clock and denit time ^~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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:566, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/sys_dir.c:13: sys/sys_dir.c: In function 'dir_init': sys/sys_dir.c:96:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] path_cpy = strdupa(argv0); ^~~~~ sys/sys_dir.c:96:14: note: in expansion of macro 'strdupa' path_cpy = strdupa(argv0); ^~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/sys_dir.c:13: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ In file included from sys/sys_dir.c:13: sys/../agi.h:382:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(blah, str_data); \ ^~~~ sys/sys_dir.c:96:14: note: in expansion of macro 'strdupa' path_cpy = strdupa(argv0); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/unistd.h:25, from sys/sys_dir.c:8: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ In file included from sys/sys_dir.c:13: sys/sys_dir.c:96:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] path_cpy = strdupa(argv0); ^~~~~ sys/../agi.h:382:19: note: in definition of macro 'strdupa' strcpy(blah, str_data); \ ^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/unistd.h:25, from sys/sys_dir.c:8: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ sys/sys_dir.c:101:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] end = path_cpy + strlen(path_cpy) - 1; ^~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/sys_dir.c:13: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ sys/sys_dir.c: In function 'dir_preset_change': sys/sys_dir.c:172:38: warning: pointer targets in passing argument 1 of 'chdir' differ in signedness [-Wpointer-sign] return chdir(dir_preset[preset_id]->data); ~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from sys/sys_dir.c:8: /usr/include/unistd.h:497:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur; ^~~~~ sys/sys_dir.c: In function 'vstring_getcwd': sys/sys_dir.c:186:22: warning: pointer targets in passing argument 1 of 'getcwd' differ in signedness [-Wpointer-sign] value = getcwd(buff->data, buff->size); ~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/unistd.h:25, from sys/sys_dir.c:8: /usr/include/bits/unistd.h:200:1: note: expected 'char *' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (getcwd (char *__buf, size_t __size)) ^~~~~ sys/sys_dir.c:186:9: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] value = getcwd(buff->data, buff->size); ^ sys/sys_dir.c: In function 'file_exists': sys/sys_dir.c:208:33: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] if (strcasecmp(ep->d_name, f_name) == 0) ^~~~~~ In file included from /usr/include/string.h:432, from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/sys_dir.c:13: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ sys/sys_dir.c: In function 'dir_exists': sys/sys_dir.c:225:15: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness [-Wpointer-sign] dp = opendir(d_name); ^~~~~~ In file included from sys/sys_dir.c:20: /usr/include/dirent.h:134:13: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern DIR *opendir (const char *__name) __nonnull ((1)); ^~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/vstring.c -o sys/vstring.o sys/vstring.c: In function 'vstring_new': sys/vstring.c:57:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ( (str != 0) && ((strlen(str)+1) > vs_new->min) ) ^~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ sys/vstring.c:58:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] vs_new->size = strlen(str)+1; // +1 for null character at end of string ^~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ sys/vstring.c:67:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(vs_new->data, str); ~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ sys/vstring.c:67:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(vs_new->data, str); ^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ sys/vstring.c:68:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] vs_new->data[strlen(str)] = 0; ^~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ sys/vstring.c: In function 'vstring_shrink': sys/vstring.c:90:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] vs->size = strlen(vs->data)+1; ~~^~~~~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ sys/vstring.c: In function 'vstring_set_text': sys/vstring.c:107:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] str_size = strlen(str)+1; ^~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ sys/vstring.c:112:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(vs->data, str); ~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ sys/vstring.c:112:20: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(vs->data, str); ^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/vstring.c:22: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ sys/vstring.c: In function 'vstring_shift': sys/vstring.c:139:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen(vs->data) < shift_size) ~~^~~~~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/ini_config.c -o sys/ini_config.o sys/ini_config.c: In function 'ini_section': sys/ini_config.c:200:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(sect_name, ini->cur_ptr) == 0) ^~~~~~~~~ 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:137:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ sys/ini_config.c:200:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(sect_name, ini->cur_ptr) == 0) ~~~^~~~~~~~~ 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:137:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ sys/ini_config.c: In function 'ini_key': sys/ini_config.c:237:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(key_name, ini->cur_ptr) == 0) ^~~~~~~~ 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:137:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ sys/ini_config.c:237:28: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(key_name, ini->cur_ptr) == 0) ~~~^~~~~~~~~ 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:137:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ sys/ini_config.c:243:30: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] ini->cur_ptr = strchr(ini->cur_ptr, '=') + 1; ~~~^~~~~~~~~ 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:226:14: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern char *strchr (const char *__s, int __c) ^~~~~~ sys/ini_config.c:243:18: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] ini->cur_ptr = strchr(ini->cur_ptr, '=') + 1; ^ sys/ini_config.c: In function 'ini_recursive': sys/ini_config.c:285:27: warning: pointer targets in passing argument 2 of 'ini_key' differ in signedness [-Wpointer-sign] key_data = ini_key(ini, "inherits"); ^~~~~~~~~~ sys/ini_config.c:222:5: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' u8 *ini_key(INI *ini, u8 *key_name) ^~~~~~~ In file included from /usr/include/stdlib.h:566, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/ini_config.c:10: sys/ini_config.c:288:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] inherits = alloca(strlen(key_data) + 1); ^~~~~~~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ sys/ini_config.c:289:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(inherits, key_data); ^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/ini_config.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ sys/ini_config.c:289:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(inherits, key_data); ^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/ini_config.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/vid_render.c -o sys/vid_render.o sys/vid_render.c: In function 'render_init': sys/vid_render.c:107:19: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] if (!strcasecmp(c_vid_renderer, "cga0")) ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:432, 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:12: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ sys/vid_render.c:109:24: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] else if (!strcasecmp(c_vid_renderer, "cga1")) ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:432, 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:12: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/drv_video.c -o sys/drv_video.o sys/drv_video.c: In function 'vid_init': sys/drv_video.c:45:18: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] if (strcasecmp (c_vid_driver, "SDL") == 0) ^~~~~~~~~~~~ In file included from /usr/include/string.h:432, 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:12: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} extern int strcasecmp (const char *__s1, const char *__s2) ^~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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:566, from /usr/include/SDL/SDL_stdinc.h:40, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: sys/chargen.c: In function 'font_open': sys/chargen.c:105:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] list = strdupa(c_vid_fonts_bitmap); ^~~~~~~~~~~~~~~~~~ sys/chargen.c:105:9: note: in expansion of macro 'strdupa' list = strdupa(c_vid_fonts_bitmap); ^~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ In file included from sys/chargen.c:8: sys/../agi.h:382:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(blah, str_data); \ ^~~~ sys/chargen.c:105:9: note: in expansion of macro 'strdupa' list = strdupa(c_vid_fonts_bitmap); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ In file included from sys/chargen.c:8: sys/chargen.c:105:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] list = strdupa(c_vid_fonts_bitmap); ^~~~~~~~~~~~~~~~~~ sys/../agi.h:382:19: note: in definition of macro 'strdupa' strcpy(blah, str_data); \ ^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'CONF_STRING' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ sys/chargen.c:106:19: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] token = strtok_r(list, ";", (char**)&running); ^~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/string.h:346:14: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, ^~~~~~~~ sys/chargen.c:106:8: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 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] fullpath = malloc( strlen(token) + strlen("/usr/share/nagi/")+1 ); ^~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} 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] strcpy( fullpath, "/usr/share/nagi/" ); ^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __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] strcat( fullpath, token ); ^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __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] strcat( fullpath, token ); ^~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ sys/chargen.c:113:20: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] cur_file = fopen(fullpath, "rb"); ^~~~~~~~ In file included from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/chargen.c:8: /usr/include/stdio.h:232:14: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern FILE *fopen (const char *__restrict __filename, ^~~~~ sys/chargen.c:138:9: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] token = strtok_r(0, ";", (char**)&running); ^ sys/chargen.c: In function 'font_load': sys/chargen.c:172:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&font_data[font_chsize*ch], font_chsize, 1, font_stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/agi_file.c -o sys/agi_file.o sys/agi_file.c: In function 'find_first': sys/agi_file.c:59:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(token->name, name); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/agi_file.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ sys/agi_file.c:64:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(token->file->d_name, name)) ^~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/agi_file.c:10: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ sys/agi_file.c:65:11: warning: pointer targets in returning 'char *' from a function with return type 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return token->file->d_name; ^~~~~ sys/agi_file.c:67:16: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] tok = strtok(name, "*"); ^~~~ In file included from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/agi_file.c:10: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ sys/agi_file.c:75:20: warning: pointer targets in returning 'char *' from a function with return type 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if(found) return token->file->d_name; ^~~~~ sys/agi_file.c: In function 'find_next': sys/agi_file.c:94:11: warning: pointer targets in returning 'char *' from a function with return type 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] return token->file->d_name; ^~~~~ sys/agi_file.c:104:20: warning: pointer targets in returning 'char *' from a function with return type 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if(found) return token->file->d_name; ^~~~~ sys/agi_file.c: In function 'fopen_nocase': sys/agi_file.c:132:15: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(name, orig_name); ^~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/agi_file.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ sys/agi_file.c:135:15: warning: pointer targets in passing argument 1 of 'string_lower' differ in signedness [-Wpointer-sign] string_lower(name); ^~~~ In file included from sys/agi_file.c:29: sys/../ui/string.h:7:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u8 *string_lower(u8 *str); ^~~~~~~~~~~~ In file included from sys/agi_file.c:10: sys/../agi.h:382:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(blah, str_data); \ ^~~~ sys/agi_file.c:140:14: note: in expansion of macro 'strdupa' testname = strdupa(fileent->d_name); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from sys/../agi.h:5, from sys/agi_file.c:10: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ sys/agi_file.c:140:12: warning: pointer targets in assignment from 'u8 *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] testname = strdupa(fileent->d_name); ^ sys/agi_file.c:141:16: warning: pointer targets in passing argument 1 of 'string_lower' differ in signedness [-Wpointer-sign] string_lower(testname); ^~~~~~~~ In file included from sys/agi_file.c:29: sys/../ui/string.h:7:12: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern u8 *string_lower(u8 *str); ^~~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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] #warning replicated from sbuff_plot code ^~~~~~~ picture/sbuf_util.c: In function 'sbuff_picfill': picture/sbuf_util.c:197:5: warning: variable 'mask_bh' set but not used [-Wunused-but-set-variable] u8 mask_bh, mask_dl, colour_bl; ^~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c logic/cmd_table.c -o logic/cmd_table.o logic/cmd_table.c:90:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"return.false", cmd_ret_false, 0, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:90:5: note: (near initialization for 'eval_table[0].func_name') logic/cmd_table.c:91:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"equal.n", cmd_equal_n, 2, 0x80}, // fix flags later ^~~~~~~~~ logic/cmd_table.c:91:5: note: (near initialization for 'eval_table[1].func_name') logic/cmd_table.c:92:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"equal.v", cmd_equal_v, 2, 0xC0}, ^~~~~~~~~ logic/cmd_table.c:92:5: note: (near initialization for 'eval_table[2].func_name') logic/cmd_table.c:93:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"less.n", cmd_less_n, 2, 0x80}, ^~~~~~~~ logic/cmd_table.c:93:5: note: (near initialization for 'eval_table[3].func_name') logic/cmd_table.c:94:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"less.v", cmd_less_v, 2, 0xC0}, ^~~~~~~~ logic/cmd_table.c:94:5: note: (near initialization for 'eval_table[4].func_name') logic/cmd_table.c:95:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"greater.n", cmd_greater_n, 2, 0x80}, ^~~~~~~~~~~ logic/cmd_table.c:95:5: note: (near initialization for 'eval_table[5].func_name') logic/cmd_table.c:96:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"greater.v", cmd_greater_v, 2, 0xC0}, ^~~~~~~~~~~ logic/cmd_table.c:96:5: note: (near initialization for 'eval_table[6].func_name') logic/cmd_table.c:97:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"isset", cmd_isset, 1, 0}, ^~~~~~~ logic/cmd_table.c:97:5: note: (near initialization for 'eval_table[7].func_name') logic/cmd_table.c:98:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"isset.v", cmd_isset_v, 1, 0x80}, ^~~~~~~~~ logic/cmd_table.c:98:5: note: (near initialization for 'eval_table[8].func_name') logic/cmd_table.c:99:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"has", cmd_has, 1, 0}, ^~~~~ logic/cmd_table.c:99:5: note: (near initialization for 'eval_table[9].func_name') logic/cmd_table.c:100:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"obj.in.room", cmd_obj_in_room, 2, 0x40}, ^~~~~~~~~~~~~ logic/cmd_table.c:100:5: note: (near initialization for 'eval_table[10].func_name') logic/cmd_table.c:101:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"posn", cmd_posn, 5, 0}, ^~~~~~ logic/cmd_table.c:101:5: note: (near initialization for 'eval_table[11].func_name') logic/cmd_table.c:102:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"controller", cmd_controller, 1, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:102:5: note: (near initialization for 'eval_table[12].func_name') logic/cmd_table.c:103:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"have.key", cmd_have_key, 0, 0}, ^~~~~~~~~~ logic/cmd_table.c:103:5: note: (near initialization for 'eval_table[13].func_name') logic/cmd_table.c:104:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"said", cmd_said, 0, 0}, ^~~~~~ logic/cmd_table.c:104:5: note: (near initialization for 'eval_table[14].func_name') logic/cmd_table.c:105:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"compare.strings", cmd_compare_strings, 2, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:105:5: note: (near initialization for 'eval_table[15].func_name') logic/cmd_table.c:106:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"obj.in.box", cmd_obj_in_box, 5, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:106:5: note: (near initialization for 'eval_table[16].func_name') logic/cmd_table.c:107:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"center.posn", cmd_center_posn, 5, 0}, ^~~~~~~~~~~~~ logic/cmd_table.c:107:5: note: (near initialization for 'eval_table[17].func_name') logic/cmd_table.c:108:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"right.posn", cmd_right_posn, 5, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:108:5: note: (near initialization for 'eval_table[18].func_name') logic/cmd_table.c:109:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"unknown.19", cmd_ret_false, 0, 0} ^~~~~~~~~~~~ logic/cmd_table.c:109:5: note: (near initialization for 'eval_table[19].func_name') logic/cmd_table.c:114:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.return", cmd_do_nothing, 0, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:114:5: note: (near initialization for 'cmd_table[0].func_name') logic/cmd_table.c:117:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.increment", cmd_increment, 1, 0x80}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:117:5: note: (near initialization for 'cmd_table[1].func_name') logic/cmd_table.c:118:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.decrement", cmd_decrement, 1, 0x80}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:118:5: note: (near initialization for 'cmd_table[2].func_name') logic/cmd_table.c:119:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.assignn", cmd_assignn, 2, 0x80}, ^~~~~~~~~~~~~ logic/cmd_table.c:119:5: note: (near initialization for 'cmd_table[3].func_name') logic/cmd_table.c:120:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.assignv", cmd_assignv, 2, 0xC0}, ^~~~~~~~~~~~~ logic/cmd_table.c:120:5: note: (near initialization for 'cmd_table[4].func_name') logic/cmd_table.c:121:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.addn", cmd_addn, 2, 0x80}, ^~~~~~~~~~ logic/cmd_table.c:121:5: note: (near initialization for 'cmd_table[5].func_name') logic/cmd_table.c:122:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.addv", cmd_addv, 2, 0xC0}, ^~~~~~~~~~ logic/cmd_table.c:122:5: note: (near initialization for 'cmd_table[6].func_name') logic/cmd_table.c:123:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.subn", cmd_subn, 2, 0x80}, ^~~~~~~~~~ logic/cmd_table.c:123:5: note: (near initialization for 'cmd_table[7].func_name') logic/cmd_table.c:124:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.subv", cmd_subv, 2, 0xC0}, ^~~~~~~~~~ logic/cmd_table.c:124:5: note: (near initialization for 'cmd_table[8].func_name') logic/cmd_table.c:125:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.lindirectv", cmd_lindirectv, 2, 0xC0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:125:5: note: (near initialization for 'cmd_table[9].func_name') logic/cmd_table.c:126:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.rindirect", cmd_rindirect, 2, 0xC0}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:126:5: note: (near initialization for 'cmd_table[10].func_name') logic/cmd_table.c:127:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.lindirectn", cmd_lindirectn, 2, 0x80}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:127:5: note: (near initialization for 'cmd_table[11].func_name') logic/cmd_table.c:130:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set", cmd_set, 1, 0}, ^~~~~~~~~ logic/cmd_table.c:130:5: note: (near initialization for 'cmd_table[12].func_name') logic/cmd_table.c:131:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.reset", cmd_reset, 1, 0}, ^~~~~~~~~~~ logic/cmd_table.c:131:5: note: (near initialization for 'cmd_table[13].func_name') logic/cmd_table.c:132:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.toggle", cmd_toggle, 1, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:132:5: note: (near initialization for 'cmd_table[14].func_name') logic/cmd_table.c:133:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.v", cmd_set_v, 1, 0x80}, ^~~~~~~~~~~ logic/cmd_table.c:133:5: note: (near initialization for 'cmd_table[15].func_name') logic/cmd_table.c:134:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.reset.v", cmd_reset_v, 1, 0x80}, ^~~~~~~~~~~~~ logic/cmd_table.c:134:5: note: (near initialization for 'cmd_table[16].func_name') logic/cmd_table.c:135:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.toggle.v", cmd_toggle_v, 1, 0x80}, ^~~~~~~~~~~~~~ logic/cmd_table.c:135:5: note: (near initialization for 'cmd_table[17].func_name') logic/cmd_table.c:138:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.new.room", cmd_new_room, 1, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:138:5: note: (near initialization for 'cmd_table[18].func_name') logic/cmd_table.c:139:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.new.room.v", cmd_new_room_v, 1, 0x80}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:139:5: note: (near initialization for 'cmd_table[19].func_name') logic/cmd_table.c:142:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.load.logics", cmd_load_logics, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:142:5: note: (near initialization for 'cmd_table[20].func_name') logic/cmd_table.c:143:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.load.logics.v", cmd_load_logics_v, 1, 0x80}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:143:5: note: (near initialization for 'cmd_table[21].func_name') logic/cmd_table.c:144:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.call", cmd_call, 1, 0}, ^~~~~~~~~~ logic/cmd_table.c:144:5: note: (near initialization for 'cmd_table[22].func_name') logic/cmd_table.c:145:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.call.v", cmd_call_v, 1, 0x80}, ^~~~~~~~~~~~ logic/cmd_table.c:145:5: note: (near initialization for 'cmd_table[23].func_name') logic/cmd_table.c:148:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.load.pic", cmd_load_pic, 1, 0x80}, // actually at 24 ^~~~~~~~~~~~~~ logic/cmd_table.c:148:5: note: (near initialization for 'cmd_table[24].func_name') logic/cmd_table.c:149:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.draw.pic", cmd_draw_pic, 1, 0x80}, ^~~~~~~~~~~~~~ logic/cmd_table.c:149:5: note: (near initialization for 'cmd_table[25].func_name') logic/cmd_table.c:150:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.show.pic", cmd_show_pic, 0, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:150:5: note: (near initialization for 'cmd_table[26].func_name') logic/cmd_table.c:151:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.discard.pic", cmd_discard_pic, 1, 0x80}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:151:5: note: (near initialization for 'cmd_table[27].func_name') logic/cmd_table.c:152:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.overlay.pic", cmd_overlay_pic, 1, 0x80}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:152:5: note: (near initialization for 'cmd_table[28].func_name') logic/cmd_table.c:153:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.show.priority.screen (incomplete)", cmd_show_pri, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:153:5: note: (near initialization for 'cmd_table[29].func_name') logic/cmd_table.c:156:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.load.view", cmd_load_view, 1, 0}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:156:5: note: (near initialization for 'cmd_table[30].func_name') logic/cmd_table.c:157:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.load.view.v", cmd_load_view_v, 1, 0x80}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:157:5: note: (near initialization for 'cmd_table[31].func_name') logic/cmd_table.c:158:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.discard.view", cmd_discard_view, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:158:5: note: (near initialization for 'cmd_table[32].func_name') logic/cmd_table.c:159:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.animate.object", cmd_animate_obj, 1, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:159:5: note: (near initialization for 'cmd_table[33].func_name') logic/cmd_table.c:160:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.unanimate.all", cmd_unanimate_all, 0, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:160:5: note: (near initialization for 'cmd_table[34].func_name') logic/cmd_table.c:161:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.draw", cmd_draw, 1, 0}, ^~~~~~~~~~ logic/cmd_table.c:161:5: note: (near initialization for 'cmd_table[35].func_name') logic/cmd_table.c:162:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.erase", cmd_erase, 1, 0}, ^~~~~~~~~~~ logic/cmd_table.c:162:5: note: (near initialization for 'cmd_table[36].func_name') logic/cmd_table.c:165:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.position", cmd_position, 3, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:165:5: note: (near initialization for 'cmd_table[37].func_name') logic/cmd_table.c:166:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.position.v", cmd_position_v, 3, 0x60}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:166:5: note: (near initialization for 'cmd_table[38].func_name') logic/cmd_table.c:167:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.get.position", cmd_get_position, 3, 0x60}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:167:5: note: (near initialization for 'cmd_table[39].func_name') logic/cmd_table.c:168:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.reposition", cmd_reposition, 3, 0x60}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:168:5: note: (near initialization for 'cmd_table[40].func_name') logic/cmd_table.c:171:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.view", cmd_set_view, 2, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:171:5: note: (near initialization for 'cmd_table[41].func_name') logic/cmd_table.c:172:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.view.v", cmd_set_view_v, 2, 0x40}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:172:5: note: (near initialization for 'cmd_table[42].func_name') logic/cmd_table.c:173:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.loop", cmd_set_loop, 2, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:173:5: note: (near initialization for 'cmd_table[43].func_name') logic/cmd_table.c:174:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.loop.v", cmd_set_loop_v, 2, 0x40}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:174:5: note: (near initialization for 'cmd_table[44].func_name') logic/cmd_table.c:175:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.fix.loop", cmd_fix_loop, 1, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:175:5: note: (near initialization for 'cmd_table[45].func_name') logic/cmd_table.c:176:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.release.loop", cmd_release_loop,1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:176:5: note: (near initialization for 'cmd_table[46].func_name') logic/cmd_table.c:177:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.cel", cmd_set_cel, 2, 0}, ^~~~~~~~~~~~~ logic/cmd_table.c:177:5: note: (near initialization for 'cmd_table[47].func_name') logic/cmd_table.c:178:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.cel.v", cmd_set_cel_v, 2, 0x40}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:178:5: note: (near initialization for 'cmd_table[48].func_name') logic/cmd_table.c:179:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.last.cel", cmd_last_cel, 2, 0x40}, ^~~~~~~~~~~~~~ logic/cmd_table.c:179:5: note: (near initialization for 'cmd_table[49].func_name') logic/cmd_table.c:180:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.current.cel", cmd_current_cel, 2, 0x40}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:180:5: note: (near initialization for 'cmd_table[50].func_name') logic/cmd_table.c:181:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.current.loop", cmd_current_loop, 2, 0x40}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:181:5: note: (near initialization for 'cmd_table[51].func_name') logic/cmd_table.c:182:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.current.view", cmd_current_view, 2, 0x40}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:182:5: note: (near initialization for 'cmd_table[52].func_name') logic/cmd_table.c:183:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.num.of.loops", cmd_number_of_loops, 2, 0x40}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:183:5: note: (near initialization for 'cmd_table[53].func_name') logic/cmd_table.c:186:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.priority", cmd_set_priority, 2, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:186:5: note: (near initialization for 'cmd_table[54].func_name') logic/cmd_table.c:187:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.priority.v", cmd_set_priority_v, 2, 0x40}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:187:5: note: (near initialization for 'cmd_table[55].func_name') logic/cmd_table.c:188:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.release.priority", cmd_release_priority, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:188:5: note: (near initialization for 'cmd_table[56].func_name') logic/cmd_table.c:189:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.get.priority", cmd_get_priority, 2, 0x40}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:189:5: note: (near initialization for 'cmd_table[57].func_name') logic/cmd_table.c:192:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.stop.update", cmd_stop_update, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:192:5: note: (near initialization for 'cmd_table[58].func_name') logic/cmd_table.c:193:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.start.update", cmd_start_update, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:193:5: note: (near initialization for 'cmd_table[59].func_name') logic/cmd_table.c:194:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.force.update", cmd_force_update, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:194:5: note: (near initialization for 'cmd_table[60].func_name') logic/cmd_table.c:197:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.ignore.horizon", cmd_ignore_horizon, 1, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:197:5: note: (near initialization for 'cmd_table[61].func_name') logic/cmd_table.c:198:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.observe.horizon", cmd_observe_horizon, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:198:5: note: (near initialization for 'cmd_table[62].func_name') logic/cmd_table.c:199:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.horizon", cmd_set_horizon, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:199:5: note: (near initialization for 'cmd_table[63].func_name') logic/cmd_table.c:200:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.obj.on.water", cmd_obj_on_water, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:200:5: note: (near initialization for 'cmd_table[64].func_name') logic/cmd_table.c:201:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.obj.on.land", cmd_obj_on_land, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:201:5: note: (near initialization for 'cmd_table[65].func_name') logic/cmd_table.c:202:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.obj.on.anything", cmd_obj_on_anything, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:202:5: note: (near initialization for 'cmd_table[66].func_name') logic/cmd_table.c:205:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.ignore.objects", cmd_ignore_objects, 1, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:205:5: note: (near initialization for 'cmd_table[67].func_name') logic/cmd_table.c:206:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.observe.objects", cmd_observe_objects, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:206:5: note: (near initialization for 'cmd_table[68].func_name') logic/cmd_table.c:207:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.distance", cmd_distance, 3, 0x20}, ^~~~~~~~~~~~~~ logic/cmd_table.c:207:5: note: (near initialization for 'cmd_table[69].func_name') logic/cmd_table.c:209:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.stop.cycling", cmd_stop_cycling, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:209:5: note: (near initialization for 'cmd_table[70].func_name') logic/cmd_table.c:210:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.start.cycling", cmd_start_cycling, 1, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:210:5: note: (near initialization for 'cmd_table[71].func_name') logic/cmd_table.c:211:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.normal.cycle", cmd_normal_cycle, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:211:5: note: (near initialization for 'cmd_table[72].func_name') logic/cmd_table.c:212:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.end.of.loop", cmd_end_of_loop, 2, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:212:5: note: (near initialization for 'cmd_table[73].func_name') logic/cmd_table.c:213:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.reverse.cycle", cmd_reverse_cycle, 1, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:213:5: note: (near initialization for 'cmd_table[74].func_name') logic/cmd_table.c:214:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.reverse.loop", cmd_reverse_loop, 2, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:214:5: note: (near initialization for 'cmd_table[75].func_name') logic/cmd_table.c:215:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.cycle.time", cmd_cycle_time, 2, 0x40}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:215:5: note: (near initialization for 'cmd_table[76].func_name') logic/cmd_table.c:218:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.stop.motion", cmd_stop_motion, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:218:5: note: (near initialization for 'cmd_table[77].func_name') logic/cmd_table.c:219:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.start.motion", cmd_start_motion, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:219:5: note: (near initialization for 'cmd_table[78].func_name') logic/cmd_table.c:220:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.step.size", cmd_step_size, 2, 0x40}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:220:5: note: (near initialization for 'cmd_table[79].func_name') logic/cmd_table.c:221:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.step.time", cmd_step_time, 2, 0x40}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:221:5: note: (near initialization for 'cmd_table[80].func_name') logic/cmd_table.c:222:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.move.obj", cmd_move_obj, 5, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:222:5: note: (near initialization for 'cmd_table[81].func_name') logic/cmd_table.c:223:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.move.obj.v", cmd_move_obj_v, 5, 0x70}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:223:5: note: (near initialization for 'cmd_table[82].func_name') logic/cmd_table.c:224:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.follow.ego", cmd_follow_ego, 3, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:224:5: note: (near initialization for 'cmd_table[83].func_name') logic/cmd_table.c:225:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.wander", cmd_wander, 1, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:225:5: note: (near initialization for 'cmd_table[84].func_name') logic/cmd_table.c:226:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.normal.motion", cmd_normal_motion, 1, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:226:5: note: (near initialization for 'cmd_table[85].func_name') logic/cmd_table.c:227:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.dir", cmd_set_dir, 2, 0x40}, ^~~~~~~~~~~~~ logic/cmd_table.c:227:5: note: (near initialization for 'cmd_table[86].func_name') logic/cmd_table.c:228:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.get.dir", cmd_get_dir, 2, 0x40}, ^~~~~~~~~~~~~ logic/cmd_table.c:228:5: note: (near initialization for 'cmd_table[87].func_name') logic/cmd_table.c:231:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.ignore.blocks", cmd_ignore_blocks, 1, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:231:5: note: (near initialization for 'cmd_table[88].func_name') logic/cmd_table.c:232:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.observe.blocks", cmd_observe_blocks, 1, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:232:5: note: (near initialization for 'cmd_table[89].func_name') logic/cmd_table.c:233:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.block", cmd_block, 4, 0}, ^~~~~~~~~~~ logic/cmd_table.c:233:5: note: (near initialization for 'cmd_table[90].func_name') logic/cmd_table.c:234:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.unblock", cmd_unblock, 0, 0}, ^~~~~~~~~~~~~ logic/cmd_table.c:234:5: note: (near initialization for 'cmd_table[91].func_name') logic/cmd_table.c:237:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.get", cmd_get, 1, 0}, ^~~~~~~~~ logic/cmd_table.c:237:5: note: (near initialization for 'cmd_table[92].func_name') logic/cmd_table.c:238:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.get.v", cmd_get_v, 1, 0x80}, ^~~~~~~~~~~ logic/cmd_table.c:238:5: note: (near initialization for 'cmd_table[93].func_name') logic/cmd_table.c:239:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.drop", cmd_drop, 1, 0}, ^~~~~~~~~~ logic/cmd_table.c:239:5: note: (near initialization for 'cmd_table[94].func_name') logic/cmd_table.c:240:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.put", cmd_put, 2, 0}, ^~~~~~~~~ logic/cmd_table.c:240:5: note: (near initialization for 'cmd_table[95].func_name') logic/cmd_table.c:241:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.put.v", cmd_put_v, 2, 0x40}, ^~~~~~~~~~~ logic/cmd_table.c:241:5: note: (near initialization for 'cmd_table[96].func_name') logic/cmd_table.c:242:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.get.room.v", cmd_get_room_v, 2, 0xC0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:242:5: note: (near initialization for 'cmd_table[97].func_name') logic/cmd_table.c:245:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.load.sound",cmd_load_sound , 1, 0}, //cmd_load_sound ^~~~~~~~~~~~~~~~ logic/cmd_table.c:245:5: note: (near initialization for 'cmd_table[98].func_name') logic/cmd_table.c:246:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.sound", cmd_sound, 2, 0},//cmd_sound ^~~~~~~~~~~ logic/cmd_table.c:246:5: note: (near initialization for 'cmd_table[99].func_name') logic/cmd_table.c:247:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.stop.sound",cmd_stop_sound , 0, 0}, //cmd_stop_sound ^~~~~~~~~~~~~~~~ logic/cmd_table.c:247:5: note: (near initialization for 'cmd_table[100].func_name') logic/cmd_table.c:248:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.print", cmd_print, 1, 0}, ^~~~~~~~~~~ logic/cmd_table.c:248:5: note: (near initialization for 'cmd_table[101].func_name') logic/cmd_table.c:249:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.print.v", cmd_print_v, 1, 0x80}, ^~~~~~~~~~~~~ logic/cmd_table.c:249:5: note: (near initialization for 'cmd_table[102].func_name') logic/cmd_table.c:250:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.display", cmd_display, 3, 0}, ^~~~~~~~~~~~~ logic/cmd_table.c:250:5: note: (near initialization for 'cmd_table[103].func_name') logic/cmd_table.c:251:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.display.v", cmd_display_v, 3, 0xE0}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:251:5: note: (near initialization for 'cmd_table[104].func_name') logic/cmd_table.c:252:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.clear.lines", cmd_clear_lines, 3, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:252:5: note: (near initialization for 'cmd_table[105].func_name') logic/cmd_table.c:253:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.text.screen", cmd_text_screen, 0, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:253:5: note: (near initialization for 'cmd_table[106].func_name') logic/cmd_table.c:254:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.graphics", cmd_graphics, 0, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:254:5: note: (near initialization for 'cmd_table[107].func_name') logic/cmd_table.c:257:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.cursor.char", cmd_set_cursor_char, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:257:5: note: (near initialization for 'cmd_table[108].func_name') logic/cmd_table.c:258:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.text.attrib", cmd_set_text_attribute, 2, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:258:5: note: (near initialization for 'cmd_table[109].func_name') logic/cmd_table.c:259:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.shake.screen (incomplete)", cmd_do_nothing, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:259:5: note: (near initialization for 'cmd_table[110].func_name') logic/cmd_table.c:260:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.config.screen", cmd_config_screen, 3, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:260:5: note: (near initialization for 'cmd_table[111].func_name') logic/cmd_table.c:261:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.status.line.on", cmd_status_line_on, 0, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:261:5: note: (near initialization for 'cmd_table[112].func_name') logic/cmd_table.c:262:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.status.line.off", cmd_status_line_off, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:262:5: note: (near initialization for 'cmd_table[113].func_name') logic/cmd_table.c:263:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.string", cmd_set_string, 2, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:263:5: note: (near initialization for 'cmd_table[114].func_name') logic/cmd_table.c:264:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.get.string", cmd_get_string, 5, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:264:5: note: (near initialization for 'cmd_table[115].func_name') logic/cmd_table.c:265:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.word.to.string", cmd_word_to_string, 2, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:265:5: note: (near initialization for 'cmd_table[116].func_name') logic/cmd_table.c:266:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.parse", cmd_parse, 1, 0}, ^~~~~~~~~~~ logic/cmd_table.c:266:5: note: (near initialization for 'cmd_table[117].func_name') logic/cmd_table.c:269:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.get.num", cmd_get_num, 2, 0x40}, ^~~~~~~~~~~~~ logic/cmd_table.c:269:5: note: (near initialization for 'cmd_table[118].func_name') logic/cmd_table.c:270:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.prevent.input", cmd_prevent_input, 0, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:270:5: note: (near initialization for 'cmd_table[119].func_name') logic/cmd_table.c:271:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.accept.input", cmd_accept_input, 0, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:271:5: note: (near initialization for 'cmd_table[120].func_name') logic/cmd_table.c:272:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.key", cmd_set_key, 3, 0}, ^~~~~~~~~~~~~ logic/cmd_table.c:272:5: note: (near initialization for 'cmd_table[121].func_name') logic/cmd_table.c:273:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.add.to.pic", cmd_add_to_pic, 7, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:273:5: note: (near initialization for 'cmd_table[122].func_name') logic/cmd_table.c:274:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.add.to.pic.v", cmd_add_to_pic_v, 7, 0xFE}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:274:5: note: (near initialization for 'cmd_table[123].func_name') logic/cmd_table.c:275:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.status", cmd_status, 0, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:275:5: note: (near initialization for 'cmd_table[124].func_name') logic/cmd_table.c:276:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.save.game (incomplete)", cmd_save_game, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:276:5: note: (near initialization for 'cmd_table[125].func_name') logic/cmd_table.c:277:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.restore.game (incomplete)", cmd_restore_game, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:277:5: note: (near initialization for 'cmd_table[126].func_name') logic/cmd_table.c:278:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.init.disk (incomplete)", cmd_do_nothing, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:278:5: note: (near initialization for 'cmd_table[127].func_name') logic/cmd_table.c:281:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.restart.game", cmd_restart_game, 0, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:281:5: note: (near initialization for 'cmd_table[128].func_name') logic/cmd_table.c:282:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.show.obj", cmd_show_obj, 1, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:282:5: note: (near initialization for 'cmd_table[129].func_name') logic/cmd_table.c:283:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.random", cmd_random, 3, 0x20}, ^~~~~~~~~~~~ logic/cmd_table.c:283:5: note: (near initialization for 'cmd_table[130].func_name') logic/cmd_table.c:284:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.program.control", cmd_program_control, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:284:5: note: (near initialization for 'cmd_table[131].func_name') logic/cmd_table.c:285:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.player.control", cmd_player_control, 0, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:285:5: note: (near initialization for 'cmd_table[132].func_name') logic/cmd_table.c:286:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.obj.status.v (incomplete)", cmd_do_nothing, 1, 0x80}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:286:5: note: (near initialization for 'cmd_table[133].func_name') logic/cmd_table.c:287:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.quit", cmd_quit, 1, 0}, ^~~~~~~~~~ logic/cmd_table.c:287:5: note: (near initialization for 'cmd_table[134].func_name') logic/cmd_table.c:288:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.show.mem (incomplete)", cmd_do_nothing, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:288:5: note: (near initialization for 'cmd_table[135].func_name') logic/cmd_table.c:289:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.pause", cmd_pause, 0, 0}, ^~~~~~~~~~~ logic/cmd_table.c:289:5: note: (near initialization for 'cmd_table[136].func_name') logic/cmd_table.c:290:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.echo.line", cmd_echo_line, 0, 0}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:290:5: note: (near initialization for 'cmd_table[137].func_name') logic/cmd_table.c:293:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.cancel.line", cmd_cancel_line, 0, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:293:5: note: (near initialization for 'cmd_table[138].func_name') logic/cmd_table.c:294:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.init.joy (incomplete)", cmd_do_nothing, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:294:5: note: (near initialization for 'cmd_table[139].func_name') logic/cmd_table.c:295:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.toggle.monitor", cmd_toggle_monitor, 0, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:295:5: note: (near initialization for 'cmd_table[140].func_name') logic/cmd_table.c:296:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.version", cmd_version, 0, 0}, ^~~~~~~~~~~~~ logic/cmd_table.c:296:5: note: (near initialization for 'cmd_table[141].func_name') logic/cmd_table.c:297:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.script.size", cmd_script_size, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:297:5: note: (near initialization for 'cmd_table[142].func_name') logic/cmd_table.c:298:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.game.id", cmd_set_game_id, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:298:5: note: (near initialization for 'cmd_table[143].func_name') logic/cmd_table.c:299:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.log", cmd_log, 1, 0}, ^~~~~~~~~ logic/cmd_table.c:299:5: note: (near initialization for 'cmd_table[144].func_name') logic/cmd_table.c:300:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.scan.start", cmd_set_scan_start, 0, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:300:5: note: (near initialization for 'cmd_table[145].func_name') logic/cmd_table.c:301:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.reset.scan.start", cmd_reset_scan_start, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:301:5: note: (near initialization for 'cmd_table[146].func_name') logic/cmd_table.c:304:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.reposition.to", cmd_reposition_to, 3, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:304:5: note: (near initialization for 'cmd_table[147].func_name') logic/cmd_table.c:305:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.reposition.to.v", cmd_reposition_to_v, 3, 0x60}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:305:5: note: (near initialization for 'cmd_table[148].func_name') logic/cmd_table.c:308:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.trace.on", cmd_trace_on, 0, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:308:5: note: (near initialization for 'cmd_table[149].func_name') logic/cmd_table.c:309:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.trace.info", cmd_trace_info, 3, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:309:5: note: (near initialization for 'cmd_table[150].func_name') logic/cmd_table.c:310:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.print.at", cmd_print_at, 4, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:310:5: note: (near initialization for 'cmd_table[151].func_name') logic/cmd_table.c:311:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.print.at.v", cmd_print_at_v, 4, 0x80}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:311:5: note: (near initialization for 'cmd_table[152].func_name') logic/cmd_table.c:312:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.discard.view.v", cmd_discard_view_v, 1, 0x80}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:312:5: note: (near initialization for 'cmd_table[153].func_name') logic/cmd_table.c:313:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.clear.text.rect", cmd_clear_text_rect, 5, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:313:5: note: (near initialization for 'cmd_table[154].func_name') logic/cmd_table.c:314:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.upper.left", cmd_set_upper_left, 2, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:314:5: note: (near initialization for 'cmd_table[155].func_name') logic/cmd_table.c:317:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.menu", cmd_set_menu, 1, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:317:5: note: (near initialization for 'cmd_table[156].func_name') logic/cmd_table.c:318:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.menu.item", cmd_set_menu_item, 2, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:318:5: note: (near initialization for 'cmd_table[157].func_name') logic/cmd_table.c:319:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.submit.menu", cmd_submit_menu, 0, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:319:5: note: (near initialization for 'cmd_table[158].func_name') logic/cmd_table.c:320:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.enable.item", cmd_enable_item, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:320:5: note: (near initialization for 'cmd_table[159].func_name') logic/cmd_table.c:321:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.disable.item", cmd_disable_item, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:321:5: note: (near initialization for 'cmd_table[160].func_name') logic/cmd_table.c:322:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.menu.input", cmd_menu_input, 0, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:322:5: note: (near initialization for 'cmd_table[161].func_name') logic/cmd_table.c:325:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.show.obj.v", cmd_show_obj_v, 1, 1}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:325:5: note: (near initialization for 'cmd_table[162].func_name') logic/cmd_table.c:326:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.open.dialogue", cmd_open_dialogue, 0, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:326:5: note: (near initialization for 'cmd_table[163].func_name') logic/cmd_table.c:327:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.close.dialogue", cmd_close_dialogue, 0, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:327:5: note: (near initialization for 'cmd_table[164].func_name') logic/cmd_table.c:330:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.mult.n", cmd_multn, 2, 0x80}, ^~~~~~~~~~~~ logic/cmd_table.c:330:5: note: (near initialization for 'cmd_table[165].func_name') logic/cmd_table.c:331:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.mult.v", cmd_multv, 2, 0xC0}, ^~~~~~~~~~~~ logic/cmd_table.c:331:5: note: (near initialization for 'cmd_table[166].func_name') logic/cmd_table.c:332:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.div.n", cmd_divn, 2, 0x80}, ^~~~~~~~~~~ logic/cmd_table.c:332:5: note: (near initialization for 'cmd_table[167].func_name') logic/cmd_table.c:333:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.div.v", cmd_divv, 2, 0xC0}, ^~~~~~~~~~~ logic/cmd_table.c:333:5: note: (near initialization for 'cmd_table[168].func_name') logic/cmd_table.c:336:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.close.window", cmd_close_window, 0, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:336:5: note: (near initialization for 'cmd_table[169].func_name') logic/cmd_table.c:339:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.simple", cmd_unknown_170, 1, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:339:5: note: (near initialization for 'cmd_table[170].func_name') logic/cmd_table.c:340:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.push.script", cmd_unknown_171, 0, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:340:5: note: (near initialization for 'cmd_table[171].func_name') logic/cmd_table.c:341:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.pop.script", cmd_unknown_172, 0, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:341:5: note: (near initialization for 'cmd_table[172].func_name') logic/cmd_table.c:342:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.hold.key", cmd_unknown_173, 0, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:342:5: note: (near initialization for 'cmd_table[173].func_name') logic/cmd_table.c:343:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.set.pri.base", cmd_unknown_174, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:343:5: note: (near initialization for 'cmd_table[174].func_name') logic/cmd_table.c:344:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.discard.sound (incomplete)", cmd_do_nothing, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:344:5: note: (near initialization for 'cmd_table[175].func_name') logic/cmd_table.c:345:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.hide.mouse (incomplete)", cmd_do_nothing, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:345:5: note: (near initialization for 'cmd_table[176].func_name') logic/cmd_table.c:346:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.allow.menu", cmd_unknown_177, 1, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:346:5: note: (near initialization for 'cmd_table[177].func_name') logic/cmd_table.c:347:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.show.mouse (incomplete)", cmd_do_nothing, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:347:5: note: (near initialization for 'cmd_table[178].func_name') logic/cmd_table.c:348:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.fence.mouse (incomplete)", cmd_do_nothing, 4, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:348:5: note: (near initialization for 'cmd_table[179].func_name') logic/cmd_table.c:350:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.mouse.posn (incomplete)", cmd_do_nothing, 2, 0xC0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:350:5: note: (near initialization for 'cmd_table[180].func_name') logic/cmd_table.c:351:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.release.key", cmd_unknown_181, 0, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:351:5: note: (near initialization for 'cmd_table[181].func_name') logic/cmd_table.c:352:5: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"cmd.adj.ego.move.to.x.y (incomplete)", cmd_do_nothing, 0, 0} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:352:5: note: (near initialization for 'cmd_table[182].func_name') gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/pcm_out.c -o sound/pcm_out.o sound/pcm_out.c:35:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"sdl", pcm_out_sdl_drv_init} ^~~~~ sound/pcm_out.c:35:3: note: (near initialization for 'pcm_out_init_list[0].name') gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/sound_gen.c -o sound/sound_gen.o sound/sound_gen.c: In function 'volume_calc': sound/sound_gen.c:188:18: warning: pointer targets in assignment from 's8 *' {aka 'signed char *'} to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] dissolve_data = dissolve_data_v2; ^ sound/sound_gen.c:192:18: warning: pointer targets in assignment from 's8 *' {aka 'signed char *'} to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 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] #warning if chan 2.. change noise chan if appropriate ^~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sound/tone.c -o sound/tone.o sound/tone.c:42:3: warning: pointer targets in initialization of 'u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] {"pcm_16bit", tone_pcm_drv_init} ^~~~~~~~~~~ sound/tone.c:42:3: note: (near initialization for 'tone_init_list[0].name') gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c sys/drvpick.c -o sys/drvpick.o sys/drvpick.c: In function 'drvpick_first': sys/drvpick.c:54:45: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness [-Wpointer-sign] while ((i" thing? ~~~~~~~~~~~~^~~ In file included from ui/cmd_input.c:18: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ui/cmd_input.c:136:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(input_prev, input); ^~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ui/cmd_input.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ ui/cmd_input.c:136:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(input_prev, input); ^~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from ui/cmd_input.c:18: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ ui/cmd_input.c: In function 'input_echo': ui/cmd_input.c:174:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ( input_cur < strlen(input_prev)) ^~~~~~~~~~ In file included from ui/cmd_input.c:18: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/status.c -o ui/status.o ui/status.c: In function 'inventory': ui/status.c:110:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] si->col = 39 - strlen(si->name); ~~^~~~~~ In file included from ui/status.c:12: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ui/status.c:123:12: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] si->name = "nothing"; // name ^ ui/status.c:139:2: warning: #warning need the joystick BUTT map.. [-Wcpp] #warning need the joystick BUTT map.. ^~~~~~~ ui/status.c: In function 'invent_display': ui/status.c:171:13: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("You are carrying:"); ^~~~~~~~~~~~~~~~~~~ In file included from ui/status.c:24: ui/../ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ ui/status.c:187:14: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("Press ENTER to select, ESC to cancel"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ui/status.c:24: ui/../ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ ui/status.c:192:14: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("Press a key to return to the game"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ui/status.c:24: ui/../ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ ui/status.c: In function 'status_line_write': ui/status.c:252:14: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("Score:%d of %d", state.var[V03_SCORE], state.var[V07_MAXSCORE]); ^~~~~~~~~~~~~~~~ In file included from ui/status.c:24: ui/../ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ ui/status.c:256:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("Sound:%s", "off"); ^~~~~~~~~~ In file included from ui/status.c:24: ui/../ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ ui/status.c:258:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("Sound:%s", "on"); ^~~~~~~~~~ In file included from ui/status.c:24: ui/../ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/menu.c -o ui/menu.o ui/menu.c: In function 'cmd_set_menu': ui/menu.c:63:18: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] m_name = strdup(logic_msg(*(c++))); ^~~~~~~~~~~~~~~~~ In file included from ui/menu.c:20: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ ui/menu.c:63:9: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] m_name = strdup(logic_msg(*(c++))); ^ ui/menu.c:88:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] menu_col += strlen(m_name) + 1; ^~~~~~ In file included from ui/menu.c:20: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ui/menu.c: In function 'cmd_set_menu_item': ui/menu.c:103:16: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] name = strdup(logic_msg(*(c++))); ^~~~~~~~~~~~~~~~~ In file included from ui/menu.c:20: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ ui/menu.c:103:7: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] name = strdup(logic_msg(*(c++))); ^ ui/menu.c:127:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((strlen(name) + menu_cur->col) < 0x27) ^~~~ In file included from ui/menu.c:20: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ui/menu.c:130:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] menu_item_col = 0x27 - strlen(name); ^~~~ In file included from ui/menu.c:20: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ui/menu.c: In function 'menu_calc_size': ui/menu.c:454:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] menu_size_width = (strlen((m->head)->name) << 2) + 8; ~~~~~~~~~^~~~~~ In file included from ui/menu.c:20: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/mouse.c -o ui/mouse.o ui/mouse.c: In function 'mouse_init': ui/mouse.c:223:29: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] cmd_table[171].func_name = "cmd.poll.mouse"; ^ ui/mouse.c:249:29: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] cmd_table[171].func_name = "cmd.push.script"; ^ ui/mouse.c: In function 'mouse_shutdown': ui/mouse.c:273:27: warning: pointer targets in assignment from 'char *' to 'u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] cmd_table[171].func_name = "cmd.push.script"; ^ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -O2 -Wall -Winline -Wshadow -Wstrict-prototypes -DRAD_LINUX -DRAD_WARN -c ui/list_box.c -o ui/list_box.o ui/list_box.c: In function 'list_print': ui/list_box.c:53:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((strlen(list[i]) > 550) || (size->w >= 500)) ~~~~^~~ 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:385:15: note: expected 'const char *' but argument is of type 'u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ ui/list_box.c:54:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf(" - *TOO LONG*"); ^~~~~~~~~~~~~~~ In file included from ui/list_box.c:20: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ ui/list_box.c:57:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(str, " - %s", list[i]); ^~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/SDL/SDL_stdinc.h:34, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from ui/../agi.h:5, from ui/list_box.c:6: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ ui/list_box.c:59:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("%s", str); ^~~~ In file included from ui/list_box.c:20: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ ui/list_box.c:67:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("U"); ^~~ In file included from ui/list_box.c:20: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ ui/list_box.c:69:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf(" "); ^~~ In file included from ui/list_box.c:20: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ ui/list_box.c:73:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf("D"); ^~~ In file included from ui/list_box.c:20: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ ui/list_box.c:75:15: warning: pointer targets in passing argument 1 of 'agi_printf' differ in signedness [-Wpointer-sign] agi_printf(" "); ^~~ In file included from ui/list_box.c:20: ui/printf.h:1:13: note: expected 'u8 *' {aka 'unsigned char *'} but argument is of type 'char *' extern void agi_printf(u8 *var8, ...); ^~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -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.14/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.36234 + 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 + 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) 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) Hardlinking identical .pyc and .pyo files Processing files: nagi-2.06-alt2_20 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.77551 + 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 license.txt 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.7GoYUX find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yHYSCg find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,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.4)(64bit), libpthread.so.0(GLIBC_2.2.5)(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.y1QNKC Creating nagi-debuginfo package Processing files: nagi-debuginfo-2.06-alt2_20 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RooKl2 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TOj9qv find-requires: running scripts (debuginfo) Requires: nagi = 2.06-alt2_20, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libSDL-1.2.so.0), debug64(libc.so.6), debug64(libpthread.so.0) Wrote: /usr/src/RPM/RPMS/x86_64/nagi-2.06-alt2_20.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/nagi-debuginfo-2.06-alt2_20.x86_64.rpm 15.60user 4.10system 0:22.38elapsed 88%CPU (0avgtext+0avgdata 32108maxresident)k 0inputs+0outputs (0major+646867minor)pagefaults 0swaps 25.03user 10.76system 0:37.65elapsed 95%CPU (0avgtext+0avgdata 116564maxresident)k 5000inputs+0outputs (0major+1007855minor)pagefaults 0swaps