=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for nagi-20021114nb6 clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c base.c -o base.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c debug.c -o debug.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c decrypt.c -o decrypt.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c flags.c -o flags.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c nagi_main.c -o nagi_main.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c initialise.c -o initialise.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c agi_string.c -o agi_string.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c new_room.c -o new_room.o nagi_main.c:76:11: warning: passing 'char *' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] dir_init(argv[0]); ^~~~~~~ ./sys/sys_dir.h:20:26: note: passing argument to parameter 'argv0' here extern void dir_init(u8 *argv0); ^ decrypt.c:10:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] u8 *d_string = ""; ^ ~~ decrypt.c:18:13: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] d_string = DECRYPT_STRING; ^ ~~~~~~~~~~~~~~ base.c:16:2: warning: base.c needs work [-W#warnings] #warning base.c needs work ^ base.c:34:14: warning: passing 'char [44]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] message_box(" Game paused.\nPress Enter to continue." ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:10:28: note: passing argument to parameter 'var8' here extern u16 message_box(u8 *var8); ^ base.c:45:18: warning: passing 'char [48]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (message_box("Press ENTER to quit.\nPress ESC to keep playing.") == 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:10:28: note: passing argument to parameter 'var8' here extern u16 message_box(u8 *var8); ^ 2 warnings generated. 3 warnings generated. agi_string.c:95:10: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(di, logic_msg(*(c++)), STRING_SIZE); ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ agi_string.c:95:14: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(di, logic_msg(*(c++)), STRING_SIZE); ^~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ agi_string.c:103:10: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(di, word_string[*(c++)], STRING_SIZE); ^~ initialise.c:106:22: warning: passing 'char [9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h ini_nagi = ini_open("nagi.ini"); ^~~~~~~~~~ :128:28: note: expanded from macro 'strncpy' ./sys/ini_config.h:24:26: note: passing argument to parameter 'ini_name' here __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ extern INI *ini_open(u8 *ini_name); ^ agi_string.c:103:14: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(di, word_string[*(c++)], STRING_SIZE); ^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ initialise.c:168:2: warning: keyboard needs a bit of cleanup [-W#warnings] #warning keyboard needs a bit of cleanup ^ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c objects.c -o objects.o agi_string.c:120:10: warning: passing 'u8 [40]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buff, str, len-1); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: noteinitialise.c:206: :291 warning generated. expanded from macro 'strncpy' : warning: passing 'char [10]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ words_tok_data = file_load("words.tok", 0); ^~~~~~~~~~~ ./res/res.h:26:26clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c state_io.c -o state_io.o : note: passing argument to parameter 'name' here agi_string.c:120:16: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buff, str, len-1); ^~~ extern u8 *file_load(u8 *name, u8 *buff); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.hclang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c agi.c -o agi.o :128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ agi_string.c:122:26: warning: passing 'u8 [40]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] str_cur = buff + strlen(buff); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ agi_string.c:clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c state_info.c -o state_info.o 152:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(str, buff); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ agi_string.c:152:17: warning: passing 'u8 [40]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(str, buff); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ agi_string.c:176:10: warning: passing 'u8 [21]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(state.id, logic_msg(*(c++)), ID_SIZE); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ agi_string.c:176:20: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(state.id, logic_msg(*(c++)), ID_SIZE); ^~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ agi_string.c:267:37: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((str_size<=disp_size)||(strlen(str_edit) < disp_size)) ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ agi_string.c:270:32: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] str_disp = str_edit + strlen(str_edit) - ((percent*disp_size)/100); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c obj_show.c -o obj_show.o agi_string.c:297:9: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(str_edit, str); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ agi_string.c:297:19: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(str_edit, str); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ agi_string.c:298:31: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] str_tail = str_edit + strlen(str_edit); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ agi_string.c:339:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(str, str_edit); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ agi_string.c:339:17: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(str, str_edit); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c game_id.c -o game_id.o 3 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c cmd_misc.c -o cmd_misc.o 18 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c trace.c -o trace.o objects.c:64:23: warning: passing 'char [7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] obj_data = file_load("object", 0); ^~~~~~~~ ./res/res.h:26:26: note: passing argument to parameter 'name' here extern u8 *file_load(u8 *name, u8 *buff); ^ state_io.c:74:29: warning: passing 'char [67]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] user_result = message_box("Press ENTER to restart\nthe game.\n\nPress ESC to continue\nthis game."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:10:28: note: passing argument to parameter 'var8' here extern u16 message_box(u8 *var8); ^ state_io.c:123:14: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(save_filename->data) > strlen(save_dir->data)) ^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ state_io.c:123:44: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(save_filename->data) > strlen(save_dir->data)) ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ state_io.c:124:30: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] msg = alloca(200 + strlen(save_filename->data)); ^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:39:31: note: expanded from macro 'alloca' #define alloca(size) __alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:40:41: note: expanded from macro '__alloca' #define __alloca(size) __builtin_alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ state_io.c:126:30: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] msg = alloca(200 + strlen(save_dir->data)); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:39:31: note: expanded from macro 'alloca' #define alloca(size) __alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:40:41: note: expanded from macro '__alloca' #define __alloca(size) __builtin_alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ state_io.c:129:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(msg, "About to restore the game\ndescribed as:\n\n%s\n\nfrom file:\n %s\n\n%s", ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ state_io.c:136:23: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] rest_stream = fopen(save_filename->data, "rb"); ^~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:153:37obj_show.c:65:15: warning: passing 'char [9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] : message_box("Not now.");note: passing argument to parameter '__filename' here FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ state_io.c:139:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(msg, "Can't open file:\n %s", save_filename->data); ^~~ agi.c:125:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h ^~~~~~~~~~:47:28 : {"log_debug", "nagi", CT_BOOL, b:{&c_nagi_log_debug, 0} }, ^~ .b = note: expanded from macro 'sprintf' ./ui/msg.h:10: __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ 28: note: passing argument to parameter 'var8' here extern u16 message_box(u8 *var8); ^ agi.c:126:26: warning: use of GNU old-style field designator extension [-Wgnu-designator] state_io.c:159:16: warning: passing 'char [46]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] {"console", 0, CT_BOOL, b:{&c_nagi_console, 1} },state_info.c :104:23 ^~: message_box("Error in restoring game.\nPress ENTER to quit."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h :10:28: note: passing argument to parameter 'var8' here warning: passing 'char [50]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] .b = extern u16 message_box(u8 *var8); ^ agi.c:127:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] if (state_get_text("How would you like to describe this saved game?\n\n", save_description, sizeof(save_description)) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {"font_benchmark", 0, CT_BOOL, b:{&c_nagi_font_benchmark, 0} }, ^~ .b = state_info.c:60:24: note: passing argument to parameter 'msg' here agi.c:128:28: warning: use of GNU old-style field designator extension [-Wgnu-designator] u16 state_get_text(u8 *msg, u8 *str, u16 str_alloc); ^ {"crc_print", 0, CT_BOOL, b:{&c_nagi_crc_print, 0} }, ^~ .b = agi.c:129:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"dir_list", 0, CT_STRING, s:{&c_nagi_dir_list, "."} }, ^~ .s = agi.c:130:25: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"sort", 0, CT_STRING, s:{&c_nagi_sort, "alpha"} }, ^~ .s = agi.c:131:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, ^~ .s = agi.c:132:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"scale", 0, CT_INT, i:{&c_vid_scale, 2, 1, -1} }, ^~ .i = agi.c:133:30: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"full_screen", 0, CT_BOOL, b:{&c_vid_full_screen, 0} }, ^~ .b = agi.cstate_info.c:134:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] :169:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] {"renderer", 0, CT_STRING, s:{&c_vid_renderer, "ega"} }, ^~ .s = agi.c:135:27: warning: use of GNU old-style field designator extension [-Wgnu-designator] sprintf(msg->data, ^~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ {"pal_16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, ^~ .s = state_io.c:212:agi.c:136:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 10: warning: passing 'u8 [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] {"pal_text", 0, CT_STRING, s:{&c_vid_pal_text, "pal_text.pal"} }, ^~ .s = strncpy(state_name_auto, state.string[*(c++)], 31); ^~~~~~~~~~~~~~~ state_info.c/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:agi.cclang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c config.c -o config.o 28: note: expanded from macro 'strncpy' :173:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :137 sprintf(msg->data, ^~~~~~~~~ :29: warning: use of GNU old-style field designator extension [-Wgnu-designator] __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' ^~~~ {"pal_cga0", 0, CT_STRING, s:{&c_vid_pal_cga0, "pal_cga0.pal"} }, __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ ^~ .s = state_io.c:212:27: warning: passing 'u8 [40]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] agi.c: strncpy(state_name_auto, state.string[*(c++)], 31); ^~~~~~~~~~~~~~~~~~~~ 138:29:state_info.c:188 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' :38: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ vstring_set_size(msg, 100 + strlen(save_dir->data)); ^~~~~~~~~~~~~~ warning: use of GNU old-style field designator extension [-Wgnu-designator] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here {"pal_cga1", 0, CT_STRING, s:{&c_vid_pal_cga1, "pal_cga1.pal"} }, ^~ .s = size_t strlen(const char *__s); ^ agi.c:139:27: warning: use of GNU old-style field designator extension [-Wgnu-designator] state_info.c:190:11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] {"pal_bw", 0, CT_STRING, s:{&c_vid_pal_bw, "pal_bw.pal"} }, sprintf(msg->data, ^~~~~~~~~ state_io.c:235:14: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~ if (strlen(save_filename->data) > strlen(save_dir->data)) ^~~~~~~~~~~~~~~~~~~ .s = /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:size_t strlen(const char *__s);28: note: expanded from macro 'sprintf' 1 __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ ^ warning generated. state_io.c:235:44: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(save_filename->data) > strlen(save_dir->data)) ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here agi.c:140:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] size_t strlen(const char *__s); ^ {"fonts_bitmap", 0, CT_STRING, s:{&c_vid_fonts_bitmap, "font_4x8.nbf;font_8x8.nbf;font_16x16.nbf"} }, ^~ .s = state_io.cstate_info.c:288:33: agi.c:warning236: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :30: temp1f0 = alloca(100 + strlen(save_dir->data)); ^~~~~~~~~~~~~~ warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :141:33:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:39:31: note: expanded from macro 'alloca' msg = alloca(200 + strlen(save_filename->data)); #define alloca(size) __alloca(size) ^~~~ ^~~~~~~~~~~~~~~~~~~ warning: use of GNU old-style field designator extension [-Wgnu-designator] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:40: {"fonts_vector", 0, CT_STRING, s:{&c_vid_fonts_vector, "none.nvf"} }, ^~ .s = 41: note: expanded from macro '__alloca' agi.c:142#define __alloca(size) __builtin_alloca(size) ^~~~ :31: warning: use of GNU old-style field designator extension [-Wgnu-designator] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:39:31: note: expanded from macro 'alloca' {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} },/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h ^~ .s = :82:28: note: passing argument to parameter '__s' here agi.c:143:25: warning: use of GNU old-style field designator extension [-Wgnu-designator]size_t strlen(const char *__s); #define alloca(size) __alloca(size) ^~~~ ^ {"enable", 0, CT_BOOL, b:{&c_snd_enable, 1} }, ^~ .b = /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:40:41: agi.c:144:25: warning: use of GNU old-style field designator extension [-Wgnu-designator]clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c list.c -o list.o note: expanded from macro '__alloca' {"single", 0, CT_BOOL, b:{&c_snd_single, 0} }, ^~state_info.c:290:11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]#define __alloca(size) __builtin_alloca(size) ^~~~ .b = /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h: sprintf(temp1f0, "There are no games to\nrestore in\n\n %s\n\nPress ENTER to continue.",82 ^~~~~~~agi.c::145:26: warning: use of GNU old-style field designator extension [-Wgnu-designator] 28 {"dissolve", 0, CT_INT, i:{&c_snd_dissolve, 3, 0, 3} }, ^~ .i = : note: agi.c:146:27: warning: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28passing argument to parameter '__s' here: note: expanded from macro 'sprintf'use of GNU old-style field designator extension [-Wgnu-designator] __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) size_t strlen(const char *__s); ^ ^~~ {"read_var", 0, CT_BOOL, b:{&c_snd_read_var, 0} }, ^~ .b = state_info.c:298:10: warning: passing 'u8 [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] state_io.c:238 strcpy(save_description, state_name_auto); ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27agi.c:::30: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] note: expanded from macro 'strcpy' msg = alloca(200 + strlen(save_dir->data)); ^~~~~~~~~~~~~~ __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:39:state_info.c147:24: warning: use of GNU old-style field designator extension [-Wgnu-designator] :298:28: warning: passing 'u8 [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] {"volume", 0, CT_INT, i:{&c_snd_volume, 0x7FFF, 0, 0x7FFF} }, ^~ .i = 31: note: expanded from macro 'alloca' agi.c:#define alloca(size) __alloca(size) ^~~~ 148:34: warning: use of GNU old-style field designator extension [-Wgnu-designator] strcpy(save_description, state_name_auto); ^~~~~~~~~~~~~~~ {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, ^~ .s = /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:40:41: agi.cnote: expanded from macro '__alloca' :149:30: warning: use of GNU old-style field designator extension [-Wgnu-designator] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84 {"drv_sound", 0, CT_STRING, s:{&c_sdl_drv_sound, ""} }, ^~ .s = :33: agi.c:150:3: warning#define __alloca(size) __builtin_alloca(size) note: use of GNU old-style field designator extension [-Wgnu-designator] ^~~~ : expanded from macro 'strcpy' {key: 0} ^~~~ .key = __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28 ^~~~~~~~~~~ : note: passing argument to parameter '__s' here agi.c:125:3: size_t strlen(const char *__s); ^state_info.c:300:15: warning: passing 'u8 [50]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] warning if (strcmp(state_name_auto, temp18c[temp1f2].diz) == 0) ^~~~~~~~~~~~~~~ : initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.hcmd_misc.c:: {"log_debug", "nagi", CT_BOOL, b:{&c_nagi_log_debug, 0} },16:14: 77 ^~~~~~~~~~~: state_io.c warning: passing 'char [29]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] 25:agi.c:125:16: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] message_box(" NAGI\nBy Nick Sonneveld"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :note: passing argument to parameter '__s1' here 241 {"log_debug", "nagi", CT_BOOL, b:{&c_nagi_log_debug, 0} },:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ./ui/msg.hint strcmp(const char *__s1, const char *__s2);: 10 ^ ^~~~~~:28state_info.c::300:32: note: warning passing argument to parameter 'var8' here sprintf(msg, "About to save the game\ndescribed as:\n\n%s\n\nin file:\n %s\n\n%s",agi.c: extern u16 message_box(u8 *var8); ^ :126:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~ {"console", 0, CT_BOOL, b:{&c_nagi_console, 1} }, ^~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: agi.c:127:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] note: expanded from macro 'sprintf' passing 'u8 [31]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] {"font_benchmark", 0, CT_BOOL, b:{&c_nagi_font_benchmark, 0} }, ^~~~~~~~~~~~~~~~ if (strcmp(state_name_auto, temp18c[temp1f2].diz) == 0) __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ agi.c:128:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~~~~~~~~~~~~~~~~~ {"crc_print", 0, CT_BOOL, b:{&c_nagi_crc_print, 0} }, ^~~~~~~~~~~ state_io.c:250:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here 23agi.cint strcmp(const char *__s1, const char *__s2); ^ :129:3: warning:: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] warning: state_info.cpassing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] {"dir_list", 0, CT_STRING, s:{&c_nagi_dir_list, "."} }, ^~~~~~~~~~ 1 warning generated. :305:20: warning: passing 'u8 [31]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] agi.c:129:50: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp("", temp18c[temp1f2].diz) == 0) ^~~~~~~~~~~~~~~~~~~~ {"dir_list", 0, CT_STRING, s:{&c_nagi_dir_list, "."} }, ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: agi.c:130:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] passing argument to parameter '__s2' here {"sort", 0, CT_STRING, s:{&c_nagi_sort, "alpha"} }, ^~~~~~ int strcmp(const char *__s1, const char *__s2); ^ agi.c:130:42: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] state_info.c:322:21: warning: passing 'char [131]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] save_stream = fopen(save_filename->data, "wb"); {"sort", 0, CT_STRING, s:{&c_nagi_sort, "alpha"} }, ^~~~~~~~~~~~~~~~~~~ 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.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~ ./ui/msg.h:11:34: note: passing argument to parameter 'str' here agi.c:131/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:3: :extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); ^ warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] 153:state_info.c:325:21: warning: passing 'char [125]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] 37: 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.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:11:34: note: passing argument to parameter 'str' here extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); ^ 1 warning {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} },note: passing argument to parameter '__filename' here generated . FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ state_info.c ^~~~~~~~ :331:state_io.c:253:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] agi.c:131:13: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] 20: warning: passing 'char [143]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, ^~~~~ sprintf(msg, "The directory\n %s\n is full or the disk is write-protected.\nPress ENTER to continue." ^~~ agi.c:131/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:49: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] :47:28: note: expanded from macro 'sprintf' {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, ^~~~~ 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", __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ agi.c:132:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {"scale", 0, CT_INT, i:{&c_vid_scale, 2, 1, -1} },./ui/msg.h:11:state_io.c:275:11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] 34: note: passing argument to parameter 'str' here remove(save_filename->data); ^~~~~~~~~~~~~~~~~~~ extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); ^ ^~~~~~~ state_info.c:337:20: warning: passing 'char [76]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h: message_box_draw("Use the arrow keys to move\n the pointer to your name.\nThen press ENTER\n",clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c log.c -o log.o ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agi.c:133:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] 174:25: note: passing argument to parameter here int remove(const char *); ^ {"full_screen", 0, CT_BOOL, b:{&c_vid_full_screen, 0} }, ^~~~~~~~~~~~~ state_io.c:276:16: warning: ./ui/msg.h:11:34: note: passing argument to parameter 'str' here passing 'char [43]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi.c:134 message_box("The disk is full.\nPress ENTER to continue.");:3clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c version/agi_crc.c -o version/agi_crc.o : warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:10:28: {"renderer", 0, CT_STRING, s:{&c_vid_renderer, "ega"} }, ^~~~~~~~~~ note: passing argument to parameter 'var8' here agi.c:134:49: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] extern u16 message_box(u8 *var8); ^ extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); ^ {"renderer", 0, CT_STRING, s:{&c_vid_renderer, "ega"} }, ^~~~~ agi.c:135:3:state_info.c:347:14: warning: passing 'char [6]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf(" - %s", temp18c[temp1f2].diz); warning: ^~~~~~~initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] ./ui/printf.h {"pal_16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, ^~~~~~~~ agi.c:135:45: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"pal_16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, ^~~~~~~~~~~~ :1:agi.c28:136:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] : {"pal_text", 0, CT_STRING, s:{&c_vid_pal_text, "pal_text.pal"} }, ^~~~~~~~~~ note: passing argument to parameter 'var8' hereagi.c:136:49: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] extern void agi_printf(u8 *var8, ...); ^ {"pal_text", 0, CT_STRING, s:{&c_vid_pal_text, "pal_text.pal"} }, ^~~~~~~~~~~~~~ state_io.c:330:2: warning: clear_memory() not implemented [-W#warnings] agi.c:137:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] state_info.c:363:15: warning: passing 'u8 [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] #warning clear_memory() not implemented ^ strcpy(save_description, temp18c[temp1f2].diz); ^~~~~~~~~~~~~~~~ {"pal_cga0", 0, CT_STRING, s:{&c_vid_pal_cga0, "pal_cga0.pal"} }, ^~~~~~~~~~ agi.c:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:13784:27: note: expanded from macro 'strcpy' :49: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ {"pal_cga0", 0, CT_STRING, s:{&c_vid_pal_cga0, "pal_cga0.pal"} }, ^~~~~~~~~~~~~~ state_info.c:363:33: warning: passing 'u8 [31]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(save_description, temp18c[temp1f2].diz); ^~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ agi.c:138:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"pal_cga1", 0, CT_STRING, s:{&c_vid_pal_cga1, "pal_cga1.pal"} }, ^~~~~~~~~~ agi.c:138:49: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"pal_cga1", 0, CT_STRING, s:{&c_vid_pal_cga1, "pal_cga1.pal"} }, ^~~~~~~~~~~~~~ agi.c:139:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] {"pal_bw", 0, CT_STRING, s:{&c_vid_pal_bw, "pal_bw.pal"} }, ^~~~~~~~ agi.c:139:45: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"pal_bw", 0, CT_STRING, s:{&c_vid_pal_bw, "pal_bw.pal"} }, ^~~~~~~~~~~~ agi.c:140:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-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: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [41]' converts between pointers to integer types with different sign [-Wpointer-sign] {"fonts_bitmap", 0, CT_STRING, s:{&c_vid_fonts_bitmap, "font_4x8.nbf;font_8x8.nbf;font_16x16.nbf"} }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agi.c:141:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"fonts_vector", 0, CT_STRING, s:{&c_vid_fonts_vector, "none.nvf"} }, ^~~~~~~~~~~~~~ agi.c:141:57: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"fonts_vector", 0, CT_STRING, s:{&c_vid_fonts_vector, "none.nvf"} }, ^~~~~~~~~~ agi.c:142:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, ^~~~~~~~ agi.c:142:13: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, ^~~~~ agi.c:142:49: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, ^~~~~ agi.c:143:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] {"enable", 0, CT_BOOL, b:{&c_snd_enable, 1} }, ^~~~~~~~ agi.c:144:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] {"single", 0, CT_BOOL, b:{&c_snd_single, 0} }, ^~~~~~~~ agi.c:145:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"dissolve", 0, CT_INT, i:{&c_snd_dissolve, 3, 0, 3} }, ^~~~~~~~~~ agi.c:146:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"read_var", 0, CT_BOOL, b:{&c_snd_read_var, 0} }, ^~~~~~~~~~ agi.c:147:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] {"volume", 0, CT_INT, i:{&c_snd_volume, 0x7FFF, 0, 0x7FFF} }, ^~~~~~~~ agi.c:148:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, ^~~~~~~~~~~ agi.c:148:16: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, ^~~~~ agi.c:148:55: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, ^~ agi.c:149:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"drv_sound", 0, CT_STRING, s:{&c_sdl_drv_sound, ""} }, ^~~~~~~~~~~ agi.c:149:51: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] {"drv_sound", 0, CT_STRING, s:{&c_sdl_drv_sound, ""} }, ^~ agi.c:156:38: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, ^~ .s = agi.c:157:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"agi_list", 0, CT_STRING, s:{&c_standard_agi_list, "pc_2_936;pc_3_002_149;amiga_2;amiga_3"} }, ^~ .s = agi.c:158:26: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"force", 0, CT_STRING, s:{&c_standard_force, "not defined"} }, ^~ .s = agi.c:159:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"v2_default", 0, CT_STRING, s:{&c_standard_v2_default, "pc_2_936"} }, ^~ .s = agi.c:160:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"v3_default", 0, CT_STRING, s:{&c_standard_v3_default, "pc_3_002_149"} }, ^~ .s = agi.c:161:37: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"amiga_v2_default", 0, CT_STRING, s:{&c_standard_amiga_v2_default, "amiga_2"} }, ^~ .s = agi.c:162:37: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"amiga_v3_default", 0, CT_STRING, s:{&c_standard_amiga_v3_default, "amiga_3"} }, ^~ .s = agi.c:163:3: warning: use of GNU old-style field designator extension [-Wgnu-designator] {key: 0} ^~~~ .key = agi.c:156:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, ^~~~~~~~~~ agi.c:156:15: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, ^~~~~~~~~~ agi.c:156:63: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] {"crc_list", "standard", CT_STRING, s:{&c_standard_crc_list, "none"} }, ^~~~~~ agi.c:157:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-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: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [38]' converts between pointers to integer types with different sign [-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:158:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] {"force", 0, CT_STRING, s:{&c_standard_force, "not defined"} }, ^~~~~~~ agi.c:158:48: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"force", 0, CT_STRING, s:{&c_standard_force, "not defined"} }, state_info.c ^~~~~~~~~~~~~ :367:16: warning: agi.c:159passing 'u8 [50]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(state_name_auto, temp18c[temp1f2].diz); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: {"v2_default", 0, CT_STRING, s:{&c_standard_v2_default, "pc_2_936"} }, ^~~~~~~~~~~~ note: expanded from macro 'strcpy' agi.c:159: __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ 58: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] state_info.c:367:33: warning: passing 'u8 [31]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] {"v2_default", 0, CT_STRING, s:{&c_standard_v2_default, "pc_2_936"} }, ^~~~~~~~~~ strcpy(state_name_auto, temp18c[temp1f2].diz); ^~~~~~~~~~~~~~~~~~~~ agi.c:160:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33 {"v3_default", 0, CT_STRING, s:{&c_standard_v3_default, "pc_3_002_149"} }, ^~~~~~~~~~~~ : note: expanded from macro 'strcpy' agi.c:160:58: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) {"v3_default", 0, CT_STRING, s:{&c_standard_v3_default, "pc_3_002_149"} }, ^~~~~~~~~~~~~~ ^~~~~~~~~~~ agi.c:161:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"amiga_v2_default", 0, CT_STRING, s:{&c_standard_amiga_v2_default, "amiga_2"} }, ^~~~~~~~~~~~~~~~~~ agi.c:161:70: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"amiga_v2_default", 0, CT_STRING, s:{&c_standard_amiga_v2_default, "amiga_2"} }, ^~~~~~~~~ agi.c:162:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"amiga_v3_default", 0, CT_STRING, s:{&c_standard_amiga_v3_default, "amiga_3"} }, ^~~~~~~~~~~~~~~~~~ agi.c:162:70: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"amiga_v3_default", 0, CT_STRING, s:{&c_standard_amiga_v3_default, "amiga_3"} }, ^~~~~~~~~ agi.c:169:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"version_info", 0, CT_STRING, s:{&c_game_version_info, 0} }, ^~ .s = agi.c:170:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"mouse", 0, CT_INT, i:{&c_game_mouse, 0, 0, 20} }, ^~ .i = agi.c:171:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"loop_update", 0, CT_INT, i:{&c_game_loop_update, 0, 0, 4} }, ^~ .i = agi.c:173:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"id", 0, CT_STRING, s:{&c_game_id, 0} }, ^~ .s = agi.c:174:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"object_decrypt", 0, CT_BOOL, b:{&c_game_object_decrypt, 1} }, ^~ .b = agi.c:175:32: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"object_packed", 0, CT_BOOL, b:{&c_game_object_packed, 0} }, ^~ .b = agi.c:176:30: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"compression", 0, CT_BOOL, b:{&c_game_compression, 0} }, ^~ .b = agi.c:177:26: warning: use of GNU old-style field designator extension [-Wgnu-designator] {"dir_type", 0, CT_INT, i:{&c_game_dir_type, 1, 0, 3} }, ^~ .i = agi.c:178:3: warning: use of GNU old-style field designator extension [-Wgnu-designator] {key: 0} ^~~~ .key = agi.c:169:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"version_info", 0, CT_STRING, s:{&c_game_version_info, 0} }, ^~~~~~~~~~~~~~ agi.c:170:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] {"mouse", 0, CT_INT, i:{&c_game_mouse, 0, 0, 20} }, ^~~~~~~ agi.c:171:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"loop_update", 0, CT_INT, i:{&c_game_loop_update, 0, 0, 4} }, ^~~~~~~~~~~~~ agi.c:173:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign] {"id", 0, CT_STRING, s:{&c_game_id, 0} }, ^~~~ agi.c:174:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"object_decrypt", 0, CT_BOOL, b:{&c_game_object_decrypt, 1} }, ^~~~~~~~~~~~~~~~ agi.c:175:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] {"object_packed", 0, CT_BOOL, b:{&c_game_object_packed, 0} }, ^~~~~~~~~~~~~~~ agi.c:176:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"compression", 0, CT_BOOL, b:{&c_game_compression, 0} }, ^~~~~~~~~~~~~ agi.c:177:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"dir_type", 0, CT_INT, i:{&c_game_dir_type, 1, 0, 3} }, ^~~~~~~~~~ state_info.c:434:23: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] state_stream = fopen(name_temp->data, "rb"); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:153:37: note: passing argument to parameter '__filename' here FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ state_info.c:449:13: warning: passing 'u8 [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]109 warnings generated. if (strcmp(state_id, state.id) != 0) ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ state_info.c:449:23: warning: passing 'u8 [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(state_id, state.id) != 0) ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ state_info.c:481:14: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(save_dir->data)>0)&&(strchr("\\/", save_dir->data[strlen(save_dir->data)-1]) != 0)) ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ trace.cclang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c version/standard.c -o version/standard.o :184:14: warning: passing 'char [27]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("=========================="); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here state_info.c:481:71: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] extern void agi_printf(u8 *var8, ...); ^ if ((strlen(save_dir->data)>0)&&(strchr("\\/", save_dir->data[strlen(save_dir->data)-1]) != 0)) ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here trace.c:190:14: warning: passing 'char [11]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("%d: cmd.%d", logic_orig->num, op); ^~~~~~~~~~~~ ./ui/printf.h:size_t strlen(const char *__s); ^ 1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ state_info.c:482:11: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] trace.c:195:15: warning: passing 'char [7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] dir_sep = ""; ^ ~~ agi_printf("%d: %s", logic_orig->num, "return"); ^~~~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ trace.c:200:16: state_info.c:483:18: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] warning: passing 'char [7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] else if (strchr(save_dir->data, '/')==0) ^~~~~~~~~~~~~~ agi_printf("%d: %s", logic_orig->num, logic_msg(op + table_offset)); ^~~~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:76:26: note: extern void agi_printf(u8 *var8, ...);passing argument to parameter '__s' here ^ char *strchr(const char *__s, int __c); ^ state_info.c:484:11: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] trace.c:204:17: warning: passing 'char [12]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] dir_sep = "\\"; ^ ~~~~ agi_printf("%d: eval.%d", logic_orig->num, op); ^~~~~~~~~~~~~ state_info.c:486:11: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [2]' converts between pointers to integer types with different sign [-Wpointer-sign] ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ dir_sep = "/"; ^ ~~~ trace.c:206:17: warning: passing 'char [11]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("%d: cmd.%d", logic_orig->num, op); ^~~~~~~~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ trace.c:219:15: warning: passing 'char [5]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf(" :%c", 'F'); ^~~~~~ ./ui/printf.h:1:28: notestate_info.c: passing argument to parameter 'var8' here config.c:48:33: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] extern void agi_printf(u8 *var8, ...); ^ *conf_ptr->b.ptr = (strtol(key_data, 0, 10) != 0); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:26: note: passing argument to parameter '__str' here trace.c:221:15: warning: passing 'char [5]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] long strtol(const char *__str, char **__endptr, int __base); ^ :493:10: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf(" :%c", 'T'); ^~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here config.c:54:36: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] extern void agi_printf(u8 *var8, ...); ^ if ((key_data != 0) && (strcmp(key_data, conf_ptr->s.def)) ) ^~~~~~~~ sprintf(filename->data, "%s%s%ssg.%d", save_dir->data, dir_sep, string_lower(state.id), save_num); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' int strcmp(const char *__s1, const char *__s2); ^ __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ config.c:54:46: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((key_data != 0) && (strcmp(key_data, conf_ptr->s.def)) ) ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ config.c:55:34: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] *(conf_ptr->s.ptr) = strdup(key_data); ^~~~~~~~ state_info.c:545:28: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here vstring_shift(dir, strspn(dir->data, " ")); ^~~~~~~~~ char *strdup(const char *__s1); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:88:28: note: passing argument to parameter '__s' heretrace.c config.c:55:25:: warning: assigning to 'CONF_STRING' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] size_t strspn(const char *__s, const char *__charset); ^ *(conf_ptr->s.ptr) = strdup(key_data); ^ ~~~~~~~~~~~~~~~~ 266:15: warning: passing 'char [3]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]config.c:state_info.c:547:13: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] 63: if (strlen(dir->data) == 0) ^~~~~~~~~ 42: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here *conf_ptr->i.ptr = (CONF_INT)strtol(key_data, 0, 0); ^~~~~~~~ agi_printf("%d", var_value); ^~~~ size_t strlen(const char *__s); ^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:26: note: passing argument to parameter '__str' here ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here long strtol(const char *__str, char **__endptr, int __base); ^ extern void agi_printf(u8 *var8, ...); ^ state_info.c:550:22: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] trace.c:268:15: warning: path_size = strlen( dir->data); ^~~~~~~~~ passing 'char [3]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here agi_printf("%u", var_value); size_t strlen(const char *__s); ^ ^~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here state_info.c:569:40: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] extern void agi_printf(u8 *var8, ...); ^ if ( (dir->data[1] == ':') && (strlen(dir->data)==2) ) ^~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^trace.c:288:16: warning: passing 'char [3]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("%d",var_value); ^~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ trace.c:290:16: warning: passing 'char [3]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("%d", state.var[var_value]); ^~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ 6 warnings generated. 21 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c res/res_dir.c -o res/res_dir.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c res/res_vol.c -o res/res_vol.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c res/res_lzw.c -o res/res_lzw.o log.c:51:12: warning: passing 'u8 [1000]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(msg, "\n\nRoom %d\nInput line: %s\n", state.var[0], ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ log.c:53:23: warning: passing 'u8 [1000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fwrite(msg, strlen(msg), 1, log_stream); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ log.c:55:23: warning: passing 'u8 [1000]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] fwrite(msg, strlen(msg), 1, log_stream); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ 3 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c res/res_pic.c -o res/res_pic.o 12 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/script.c -o sys/script.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/error.c -o sys/error.o 35 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/glob_sys.c -o sys/glob_sys.o version/standard.c:136:18: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] st_end = strstr(ptr, ",\0\n\r"); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here char *strstr(const char *__big, const char *__little); ^ version/standard.c:136:9: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] st_end = strstr(ptr, ",\0\n\r"); ^ ~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:165:19: warning: passing 'char [7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (file_crc_gen("object", &agicrc->object) != 0) ^~~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here int file_crc_gen(u8 *file_name, u32 *crc32) ^ version/standard.c:169:19: warning: passing 'char [10]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (file_crc_gen("words.tok", &agicrc->words) != 0) ^~~~~~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here int file_crc_gen(u8 *file_name, u32 *crc32) ^ version/standard.c:173:19: warning: passing 'char [6]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (file_crc_gen("vol.0", &agicrc->vol[0]) == 0) ^~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here int file_crc_gen(u8 *file_name, u32 *crc32) ^ version/standard.c:183:33: warning: passing 'char [7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] fname = find_first(&find_vol, "*vol.0"); ^~~~~~~~ version/../sys/agi_file.h:35:40: note: passing argument to parameter 'name' here extern u8 *find_first(FIND *token, u8 *name); ^ version/standard.c:188:18: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] tail = strstr(fname, "vol.0"); // get id ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here char *strstr(const char *__big, const char *__little); ^ version/standard.c:188:9: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] tail = strstr(fname, "vol.0"); // get id ^ ~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:196:13: warning: passing 'u8 [21]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(info->file_id, fname); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ version/standard.c:196:28: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(info->file_id, fname); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ version/standard.c:211:21: warning: passing 'char [7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ( (file_crc_gen("logdir", &agicrc->dir.log) | ^~~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here int file_crc_gen(u8 *file_name, u32 *crc32) ^ version/standard.c:212:16: warning: passing 'char [7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] file_crc_gen("snddir", &agicrc->dir.snd) | ^~~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here int file_crc_gen(u8 *file_name, u32 *crc32) ^ version/standard.c:213:16: warning: passing 'char [8]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] file_crc_gen("viewdir", &agicrc->dir.view) | ^~~~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here int file_crc_gen(u8 *file_name, u32 *crc32) ^ version/standard.c:214:16: warning: passing 'char [7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] file_crc_gen("picdir", &agicrc->dir.pic)) == 0) ^~~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here int file_crc_gen(u8 *file_name, u32 *crc32) ^ version/standard.c:221:24: warning: passing 'char [5]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] else if (file_crc_gen("dirs", &agicrc->dir_comb) == 0) ^~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here int file_crc_gen(u8 *file_name, u32 *crc32) ^ version/standard.c:229:11: warning: passing 'u8 [40]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(name, "%sdir", info->file_id); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ version/standard.c:243:11: warning: passing 'u8 [40]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(name, "%svol.%d", info->file_id, i); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ version/standard.c:270:11: warning: passing 'u8 [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(key_vol, "crc_vol_%d", i); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ version/standard.c:325:2: warning: passing 'char [11]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_object", object, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/../sys/ini_config.h:27:34: note: passing argument to parameter 'key_name' here extern u8 *ini_key(INI *ini, u8 *key_name); ^ version/standard.c:325:2: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_object", object, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:23: note: passing argument to parameter '__str' here strtoul(const char *__str, char **__endptr, int __base); ^ version/standard.c:328:2: warning: passing 'char [10]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_words", words, 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/../sys/ini_config.h:27:34: note: passing argument to parameter 'key_name' here extern u8 *ini_key(INI *ini, u8 *key_name); ^ version/standard.c:328:2: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_words", words, 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:23: note: passing argument to parameter '__str' here strtoul(const char *__str, char **__endptr, int __base); ^ version/standard.c:333:11: warning: passing 'u8 [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(key_vol, "crc_vol_%d", i); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ version/standard.c:334:3: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE(key_vol, vol[i], i+3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:23: note: passing argument to parameter '__str' here strtoul(const char *__str, char **__endptr, int __base); ^ version/standard.c:342:4: warning: passing 'char [8]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_dir", dir_comb, 19); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/../sys/ini_config.h:27:34: note: passing argument to parameter 'key_name' here extern u8 *ini_key(INI *ini, u8 *key_name); ^ version/standard.c:342:4: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_dir", dir_comb, 19); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:23: note: passing argument to parameter '__str' here strtoul(const char *__str, char **__endptr, int __base); ^ version/standard.c:348:4: warning: passing 'char [12]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_dir_log", dir.log, 20); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/../sys/ini_config.h:27:34: note: passing argument to parameter 'key_name' here extern u8 *ini_key(INI *ini, u8 *key_name); ^ version/standard.c:348:4: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_dir_log", dir.log, 20); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:23: note: passing argument to parameter '__str' here strtoul(const char *__str, char **__endptr, int __base); ^ version/standard.c:350:4: warning: passing 'char [12]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_dir_pic", dir.pic, 21); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/../sys/ini_config.h:27:34: note: passing argument to parameter 'key_name' here extern u8 *ini_key(INI *ini, u8 *key_name); ^ version/standard.c:350:4: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_dir_pic", dir.pic, 21); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:23: note: passing argument to parameter '__str' here strtoul(const char *__str, char **__endptr, int __base); ^ version/standard.c:352:4: warning: passing 'char [13]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_dir_view", dir.view, 22); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/../sys/ini_config.h:27:34: note: passing argument to parameter 'key_name' here extern u8 *ini_key(INI *ini, u8 *key_name); ^ version/standard.c:352:4: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_dir_view", dir.view, 22); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:23: note: passing argument to parameter '__str' here strtoul(const char *__str, char **__endptr, int __base); ^ version/standard.c:354:4: warning: passing 'char [12]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_dir_snd", dir.snd, 23); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ ^~~ version/../sys/ini_config.h:27:34: note: passing argument to parameter 'key_name' here extern u8 *ini_key(INI *ini, u8 *key_name); ^ version/standard.c:354:4: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] CRC_FUDGE("crc_dir_snd", dir.snd, 23); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' && (agicrc->y != strtoul(key, 0, 16)) ) \ ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:175:23: note: passing argument to parameter '__str' here strtoul(const char *__str, char **__endptr, int __base); ^ version/standard.c:377:21: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] crc_list = strdupa(c_standard_crc_list); ^~~~~~~~~~~~~~~~~~~ version/../agi.h:381:55: note: expanded from macro 'strdupa' #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \ ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:39:31: note: expanded from macro 'alloca' #define alloca(size) __alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:40:41: note: expanded from macro '__alloca' #define __alloca(size) __builtin_alloca(size) res/res_vol.c:269:11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~~ sprintf(msg, "Please insert disk %d\nand press ENTER.", ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' size_t strlen(const char *__s); ^ __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ version/standard.c:377:13: warningres/res_vol.c:272:11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] : passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(msg, "Please insert disk %d\nand press ENTER.", ^~~ crc_list = strdupa(c_standard_crc_list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' version/../agi.h:382:13: note: expanded from macro 'strdupa' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ strcpy(blah, str_data); \ ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ version/standard.c:377:21: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] crc_list = strdupa(c_standard_crc_list); ^~~~~~~~~~~~~~~~~~~ version/../agi.h:382:19: note: expanded from macro 'strdupa' res/res_vol.c:284:10: warning: passing 'u8 [200]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(blah, str_data); \ ^~~~~~~~ sprintf(msg_main, "%s%s\n%s", "That is the wrong disk.\n\n", ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ version/standard.c:379:19: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] token = strtok_r(crc_list, ",", (char**)&running); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:104:22: note: passing argument to parameter '__str' here res/res_dir.c:char *strtok_r(char *__str, const char *__sep, char **__lasts); ^ 87:32: warning: passing 'char [7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] res/res_vol.c:306:12: warning: passing 'u8 [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] dir_log_data = file_to_buf("logdir"); ^~~~~~~~ version/standard.cres/../sys/agi_file.h sprintf(name, "%svol.%d", c_game_file_id, i); ^~~~ :33:379::8: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: token = strtok_r(crc_list, ",", (char**)&running); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28: note: passing argument to parameter 'file_name' here expanded from macro 'sprintf' extern u8 *file_to_buf(u8 *file_name); ^ __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ version/standard.c:387:9res/res_dir.c:res/res_vol.c:308:12: warning: passing 'u8 [32]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] 88:32: warning: passing 'char [7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(name, "vol.%d", i); dir_pic_data = file_to_buf("picdir"); ^~~~~~~~ ^~~~ : warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] res/../sys/agi_file.h:33:28: note: passing argument to parameter 'file_name' here token = strtok_r(0, ",", (char**)&running); extern u8 *file_to_buf(u8 *file_name); ^ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' res/res_dir.c:89:33: warning: passing 'char [8]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ dir_view_data = file_to_buf("viewdir"); ^~~~~~~~~ res/../sys/agi_file.h:33:28: note: passing argument to parameter 'file_name' here extern u8 *file_to_buf(u8 *file_name); ^ res/res_dir.c:90:32: warning: passing 'char [7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] dir_snd_data = file_to_buf("snddir"); ^~~~~~~~ res/../sys/agi_file.h:33:28: note: passing argument to parameter 'file_name' here extern u8 *file_to_buf(u8 *file_name); ^ version/standard.c:413:23: warning: passing 'char [5]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] res/res_dir.c:101:13: warning: res/res_vol.c:352:11: warning: passing 'u8 [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] passing 'u8 [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] name = ini_key(ini, "name"); ^~~~~~ sprintf(msg, "Can't find %s.%s%s", name, ^~~ sprintf(dir_v3_name, "%sdir", c_game_file_id); ^~~~~~~~~~~ version/../sys/ini_config.h:27:34: note: passing argument to parameter 'key_name' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' extern u8 *ini_key(INI *ini, u8 *key_name); ^ __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ version/standard.c:423:22: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] res/res_dir.c:108:13: warning: passing 'u8 [24]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] str_size = strlen(dir_sub) + strlen(dir) + 10 + strlen("/ - AGI v"); sprintf(dir_v3_name, "dirs"); ^~~~~~~~~~~ ^~~~~~~ res/res_vol.c:370:7: warning: comparison of function 'print_err_code' equal to a null pointer is always false [-Wtautological-pointer-compare] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47 if (print_err_code == 0) ^~~~~~~~~~~~~~ ~ :28: note: expanded from macro 'sprintf' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ res/res_vol.c:370:7: note: prefix with the address-of operator to silence this warning size_t strlen(const char *__s); ^ if (print_err_code == 0) ^version/standard.c:423:40: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] & str_size = strlen(dir_sub) + strlen(dir) + 10 + strlen("/ - AGI v"); ^~~ res/res_vol.c:370:7: note: suffix with parentheses to turn this into a function call /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here if (print_err_code == 0) ^ () size_t strlen(const char *__s); ^ version/standard.c:425:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(name, "%s/%s - AGI v%d", dir_sub, dir, info->ver_type); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ version/standard.c:430:22: warning: passing 'u8 [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ version/standard.c:430:46: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ version/standard.c:430:64: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] res/res_dir.c:176:10: warning: passing 'u8 [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); ^~~ sprintf(str, "%s %d not found", name, num); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) size_t strlen(const char *__s); ^ ^~~ version/standard.c:432:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(name, "%s @ %s/%s - AGI v%d", info->file_id, dir_sub, dir, info->ver_type); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' res/res_dir.c:186:13: warning: passing 'char [6]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ dir_error("logic", num); ^~~~~~~ res/res_dir.c:173:20: note: passing argument to parameter 'name' here void dir_error(u8 *name, u16 num) ^ version/standard.c:438:10: warning: passing 'u8 [81]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(info->name, name, 80); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' res/res_dir.c:195:13: warning: passing 'char [5]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ dir_error("view", num); ^~~~~~ version/standard.c:438:22: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] res/res_dir.c: strncpy(info->name, name, 80); ^~~~ 173:20: note: passing argument to parameter 'name' here /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' void dir_error(u8 *name, u16 num) ^ __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ version/standard.c:439:13: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(name) >= 80) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ res/res_dir.c:204:13: warning: passing 'char [8]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] version/standard.c:442:21: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dir_error("picture", num); info->name[strlen(name)] = 0; ^~~~ ^~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here res/res_dir.c:173:20: note: passing argument to parameter 'name' here size_t strlen(const char *__s); ^ void dir_error(u8 *name, u16 num) ^ sys/error.c:37:2: warning: beep_speaker() incomplete [-W#warnings] #warning beep_speaker() incomplete ^ res/res_dir.c:213:13: warning: passing 'char [6]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] dir_error("sound", num); ^~~~~~~ res/res_dir.csys/error.c:51:2: warning: set_agi_error() incomplete [-W#warnings] #warning set_agi_error() incomplete ^ version/standard.c:489:11: warning: passing 'u8 [25]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sys/script.c:51:2: warning: set_mem_rm0() not implemented [-W#warnings] sprintf(msg, "Games found: %d", game_count); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:#warning set_mem_rm0() not implemented ^ 47:28: note: expanded from macro 'sprintf' :173:20: note: passing argument to parameter 'name' here sys/error.c:106:13 __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)void dir_error(u8 *name, u16 num) ^~~ : warning: passing 'u8 [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^ snprintf(str, sizeof(str), "Disk error:\n%s\n", strerror(errno) ); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:29: note: expanded from macro 'snprintf' sys/script.c:66:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ script_name = "load.logic"; ^ ~~~~~~~~~~~~ sys/script.c:69:16:sys/error.c:109:65: warning: passing 'u8 [100]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] strncat(str, "\nPress ENTER to try again.", sizeof(str)-strlen(str)-1); ^~~ script_name = "load.view"; ^ ~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:143:34: note: expanded from macro 'strncat' version/standard.c:511: __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ 21:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] sys/script.c:72:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] dir_list = strdupa(c_nagi_dir_list); script_name = "load.pic"; ^ ~~~~~~~~~~ ^~~~~~~~~~~~~~~ size_t strlen(const char *__s);version/../agi.h:381:55: note: expanded from macro 'strdupa' ^ sys/script.c:75:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \ ^~~~~~~~ script_name = "load.sound"; ^ ~~~~~~~~~~~~ sys/error.c:109:10: warning: passing 'u8 [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:39: strncat(str, "\nPress ENTER to try again.", sizeof(str)-strlen(str)-1); ^~~ 31: note: expanded from macro 'alloca' sys/script.c:78:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h: script_name = "draw.pic"; ^ ~~~~~~~~~~ 143:28: note: expanded from macro 'strncat' #define alloca(size) __alloca(size) ^~~~ __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ sys/script.c:81:16: warningsys/error.c:110:58: warning: passing 'u8 [100]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] : assigning to 'u8 *' (aka 'unsigned char *') from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:40:41: note: expanded from macro '__alloca' #define __alloca(size) __builtin_alloca(size) ^~~~ strncat(str, "\nPress ESC to quit.", sizeof(str)-strlen(str)-1); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h script_name = "add.to.pic"; ^ ~~~~~~~~~~~~ :143sys/script.c:34: note: expanded from macro 'strncat' :84:16: __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here script_name = "discard.pic"; ^ ~~~~~~~~~~~~~ size_t strlen(const char *__s); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here sys/script.c:87:16: warningversion/standard.c:511size_t strlen(const char *__s);: assigning to 'u8 *' (aka 'unsigned char *') from 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] :13: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] script_name = "discard.view"; ^ ~~~~~~~~~~~~~~ ^ dir_list = strdupa(c_nagi_dir_list); ^~~~~~~~~~~~~~~~~~~~~~~~ sys/script.c:90:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] version/../agi.h:382: script_name = "overlay.pic"; ^ ~~~~~~~~~~~~~ 13: note: expanded from macro 'strdupa' sys/error.c:110:10: sys/script.c strcpy(blah, str_data); \ ^~~~ warning: passing 'u8 [100]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h ::93 strncat(str, "\nPress ESC to quit.", sizeof(str)-strlen(str)-1);clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/delay.c -o sys/delay.o :84:27: note: expanded from macro 'strcpy' 16: __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] version/standard.c:511:21: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ^~~ script_name = "unknown"; ^ ~~~~~~~~~ dir_list = strdupa(c_nagi_dir_list); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:143:28: note: expanded from macro 'strncat' version/../agi.h:382:19: note: expanded from macro 'strdupa' __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ strcpy(blah, str_data); \ ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ version/standard.c:512:19: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] token = strtok_r(dir_list, ";", (char**)&running); ^~~~~~~~ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/memory.c -o sys/memory.o /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:104:22: note: passing argument to parameter '__str' here char *strtok_r(char *__str, const char *__sep, char **__lasts); ^ version/standard.c:512:8: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] token = strtok_r(dir_list, ";", (char**)&running); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:517:16: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dp = opendir(token); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/dirent.h:107:26: note: passing argument to parameter here DIR *opendir(const char *) __DARWIN_ALIAS_I(opendir); ^ version/standard.c:523:17: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( (chdir(token) != -1) && ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:434:24: note: passing argument to parameter here int chdir(const char *); ^ version/standard.c:530:30: warning: passing 'char [1024]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] gameinfo_add(list, ini, ep->d_name, token); ^~~~~~~~~~ version/standard.c:452:45: note: passing argument to parameter 'dir_sub' here void gameinfo_add(LIST *list, INI *ini, u8 *dir_sub, u8 *dir) ^ version/standard.c:536:9: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] token = strtok_r(0, ";", (char**)&running); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:581:14: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [116]' converts between pointers to integer types with different sign [-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:30: warning: passing 'u8 [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] msg = a_malloc(200 + strlen(info->name) + strlen(info->dir->data)); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ version/standard.c:611:51: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] msg = a_malloc(200 + strlen(info->name) + strlen(info->dir->data)); ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ version/standard.c:614:10: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(msg, "About to execute the game\ndescribed as:\n\n%s\n\nfrom dir:\n %s\n\n%s", ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ version/standard.c:652:25: warning: assigning to 'CONF_STRING' (aka 'unsigned char *') from 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] config_game[0].s.def = "v3.002.149"; ^ ~~~~~~~~~~~~ version/standard.c:661:25: warning: assigning to 'CONF_STRING' (aka 'unsigned char *') from 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] config_game[0].s.def = "v2.917"; ^ ~~~~~~~~ version/standard.c:706:9: warning: passing 'u8 [21]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(c_game_file_id, game->file_id); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ version/standard.c:706:25: warning: passing 'u8 [21]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(c_game_file_id, game->file_id); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ version/standard.c:723:36: warning: passing 'u8 [81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] window_caption = a_malloc(strlen(game->name) + strlen("NAGI - ") + 10); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ version/standard.c:724:11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(window_caption, "%s - NAGI", game->name); ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ version/standard.c:727:18: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/rand.c -o sys/rand.o window_caption = "NAGI"; ^ ~~~~~~ version/standard.c:728:20: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] SDL_WM_SetCaption(window_caption, 0); ^~~~~~~~~~~~~~ /opt/work/games/nagi/work/.buildlink/include/SDL/SDL_video.h:885:60: note: passing argument to parameter 'title' here extern DECLSPEC void SDLCALL SDL_WM_SetCaption(const char *title, const char *icon); ^ version/standard.c:743:20: warning: passing 'u8 const[81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return strcasecmp(info_a->name, info_b->name); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ 7 warnings generated. version/standard.c:743:34: warning: passing 'u8 const[81]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return strcasecmp(info_a->name, info_b->name); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/strings.h:78:43: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ version/standard.c:773clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/endian.c -o sys/endian.o :13: warning: passing 'char [31]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("New Adventure Game Interpreter"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ version/standard.c:797:26: warning: passing 'char [13]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ini_standard = ini_open("standard.ini"); ^~~~~~~~~~~~~~ version/../sys/ini_config.h:24:26: note: passing argument to parameter 'ini_name' here extern INI *ini_open(u8 *ini_name); ^ 11 warnings generated. 11 warnings generated. 7 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/time.c -o sys/time.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/mem_wrap.c -o sys/mem_wrap.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/sys_dir.c -o sys/sys_dir.o sys/memory.c:39:2: warning: text mode support needed [-W#warnings] #warning text mode support needed ^ sys/memory.c:52:2: warning: move this screen buffer thingy to somewhere else [-W#warnings] #warning move this screen buffer thingy to somewhere else ^ sys/memory.c:83:2: warning: need to fix error statement [-W#warnings] #warning need to fix error statement ^ sys/memory.c:133:2: warning: finish cmd_show_mem [-W#warnings] #warning finish cmd_show_mem ^ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/vstring.c -o sys/vstring.o sys/time.c:21:2: warning: check base.c disable clock and denit time [-W#warnings] #warning check base.c disable clock and denit time ^ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/ini_config.c -o sys/ini_config.o 4 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/gfx.c -o sys/gfx.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/vid_render.c -o sys/vid_render.o 1 warning generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/drv_dummy.c -o sys/drv_dummy.o sys/sys_dir.c:96:22: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] path_cpy = strdupa(argv0); ^~~~~ sys/../agi.h:381:55: note: expanded from macro 'strdupa' #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \ ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:39:31: note: expanded from macro 'alloca' #define alloca(size) __alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:40:41: note: expanded from macro '__alloca' #define __alloca(size) __builtin_alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sys/sys_dir.c:96:14: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] path_cpy = strdupa(argv0); ^~~~~~~~~~~~~~ sys/../agi.h:382:13: note: expanded from macro 'strdupa' strcpy(blah, str_data); \ ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ sys/sys_dir.c:96:22: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] path_cpy = strdupa(argv0); ^~~~~ sys/../agi.h:382:19: note: expanded from macro 'strdupa' strcpy(blah, str_data); \ ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ 78 warnings generated. sys/sys_dir.c:101:27: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] end = path_cpy + strlen(path_cpy) - 1; ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/drv_sdl.c -o sys/drv_sdl.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/drv_video.c -o sys/drv_video.o sys/sys_dir.c:172:17: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] return chdir(dir_preset[preset_id]->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:434:24: note: passing argument to parameter here int chdir(const char *); ^ sys/sys_dir.c:186:18: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] value = getcwd(buff->data, buff->size); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:449:20: note: passing argument to parameter here char *getcwd(char *, size_t); ^ sys/sys_dir.c:186:9: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] value = getcwd(buff->data, buff->size); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sys/sys_dir.c:208:33: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcasecmp(ep->d_name, f_name) == 0) ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/strings.h:78:43: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ sys/sys_dir.c:225:15: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dp = opendir(d_name); ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/dirent.h:107:26: note: passing argument to parameter here DIR *opendir(const char *) __DARWIN_ALIAS_I(opendir); ^ 9 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/chargen.c -o sys/chargen.o sys/ini_config.c:200:16: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(sect_name, ini->cur_ptr) == 0) ^~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ sys/ini_config.c:200:27: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(sect_name, ini->cur_ptr) == 0) ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ sys/ini_config.c:237:15: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(key_name, ini->cur_ptr) == 0) ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here int strcmp(const char *__s1, const char *__s2); ^ sys/ini_config.c:237:25: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcmp(key_name, ini->cur_ptr) == 0) ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ sys/ini_config.c:243:27: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ini->cur_ptr = strchr(ini->cur_ptr, '=') + 1; ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ sys/ini_config.c:243:18: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ini->cur_ptr = strchr(ini->cur_ptr, '=') + 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sys/ini_config.c:285:27: warning: passing 'char [9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] key_data = ini_key(ini, "inherits"); ^~~~~~~~~~ sys/ini_config.c:222:27: note: passing argument to parameter 'key_name' here u8 *ini_key(INI *ini, u8 *key_name) ^ sys/ini_config.c:288:29: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] inherits = alloca(strlen(key_data) + 1); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:39:31: note: expanded from macro 'alloca' #define alloca(size) __alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:40:41: note: expanded from macro '__alloca' #define __alloca(size) __builtin_alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sys/ini_config.c:289:11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(inherits, key_data); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ sys/ini_config.c:289:21: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(inherits, key_data); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ sys/vid_render.c:107:19: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcasecmp(c_vid_renderer, "cga0")) ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ sys/vid_render.c:109:24: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!strcasecmp(c_vid_renderer, "cga1")) ^~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ sys/vstring.c:57:30: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( (str != 0) && ((strlen(str)+1) > vs_new->min) ) ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sys/vstring.c:58:25: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] vs_new->size = strlen(str)+1; // +1 for null character at end of string ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sys/vstring.c:67:10: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vs_new->data, str); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ sys/vstring.c:67:24: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vs_new->data, str); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ sys/vstring.c:68:23: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] vs_new->data[strlen(str)] = 0; ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sys/vstring.c:90:21: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] vs->size = strlen(vs->data)+1; ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sys/vstring.c:107:21: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] str_size = strlen(str)+1; ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sys/vstring.c:112:10: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vs->data, str); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ sys/vstring.c:112:20: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(vs->data, str); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ sys/vstring.c:139:14: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(vs->data) < shift_size) ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/agi_file.c -o sys/agi_file.o sys/drv_video.c:45:18: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcasecmp (c_vid_driver, "SDL") == 0) ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/strings.h:78:29: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ 10 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c picture/pic_render.c -o picture/pic_render.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c picture/pic_res.c -o picture/pic_res.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c picture/sbuf_util.c -o picture/sbuf_util.o 1 warning generated. sys/chargen.c:104:17: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] list = strdupa(c_vid_fonts_bitmap); ^~~~~~~~~~~~~~~~~~ sys/../agi.h:10clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c picture/pic_add.c -o picture/pic_add.o 381:55: note: expanded from macro 'strdupa' warnings generated. #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \ ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:39:31: note: expanded from macro 'alloca' #define alloca(size) __alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:40:41: note: expanded from macro '__alloca' #define __alloca(size) __builtin_alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sys/chargen.c:104:9: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] list = strdupa(c_vid_fonts_bitmap); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sys/../agi.h:382:13: note: expanded from macro 'strdupa' strcpy(blah, str_data); \ ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ sys/chargen.c:104:17: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] list = strdupa(c_vid_fonts_bitmap); ^~~~~~~~~~~~~~~~~~ sys/../agi.h:382:19: note: expanded from macro 'strdupa' strcpy(blah, str_data); \ ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ sys/chargen.c:105:19: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] token = strtok_r(list, ";", (char**)&running); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:104:22: note: passing argument to parameter '__str' here char *strtok_r(char *__str, const char *__sep, char **__lasts); ^ sys/chargen.c:105:8: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] token = strtok_r(list, ";", (char**)&running); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sys/chargen.c:109:20: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] cur_file = fopen(token, "rb"); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:153:37: note: passing argument to parameter '__filename' here FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ sys/chargen.c:133:9: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] token = strtok_r(0, ";", (char**)&running); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c logic/arithmetic.c -o logic/arithmetic.o 2 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c logic/cmd_table.c -o logic/cmd_table.o sys/agi_file.c:59:22: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(token->name, name); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ sys/agi_file.c:64:35: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strcmp(token->file->d_name, name)) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ sys/agi_file.c:65:11: warning: returning 'char [1024]' from a function with result type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] return token->file->d_name; ^~~~~~~~~~~~~~~~~~~ sys/agi_file.c:67:16: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] tok = strtok(name, "*"); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:90:20: note: passing argument to parameter '__str' here char *strtok(char *__str, const char *__sep); ^ sys/agi_file.c:75:20: warning: returning 'char [1024]' from a function with result type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if(found) return token->file->d_name; ^~~~~~~~~~~~~~~~~~~ sys/agi_file.c:94:11: warning: returning 'char [1024]' from a function with result type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] return token->file->d_name; ^~~~~~~~~~~~~~~~~~~ sys/agi_file.c:104:20: warning: returning 'char [1024]' from a function with result type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if(found) return token->file->d_name; ^~~~~~~~~~~~~~~~~~~ sys/agi_file.c:132:23: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] string_lower(strdupa(name)); ^~~~ sys/../agi.h:381:55: note: expanded from macro 'strdupa' #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \ ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:39:31: note: expanded from macro 'alloca' #define alloca(size) __alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/alloca.h:40:41: note: expanded from macro '__alloca' #define __alloca(size) __builtin_alloca(size) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ sys/agi_file.c:132:15: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] string_lower(strdupa(name)); ^~~~~~~~~~~~~ sys/../agi.h:382:13: note: expanded from macro 'strdupa' strcpy(blah, str_data); \ ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ sys/agi_file.c:132:23: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] string_lower(strdupa(name)); ^~~~ sys/../agi.h:382:19: note: expanded from macro 'strdupa' strcpy(blah, str_data); \ ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ sys/agi_file.c:137:14: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] testname = strdupa(fileent->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~ sys/../agi.h:382:13: note: expanded from macro 'strdupa' strcpy(blah, str_data); \ ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ sys/agi_file.c:137:12: warning: assigning to 'char *' from 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] testname = strdupa(fileent->d_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ sys/agi_file.c:138:16: warning: passing 'char *' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] string_lower(testname); ^~~~~~~~ sys/../ui/string.h:7:29: note: passing argument to parameter 'str' here extern u8 *string_lower(u8 *str); ^ sys/agi_file.c:140:24: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!strcmp(testname, name)) { ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ 7 warnings generated. 14 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c logic/logic_base.c -o logic/logic_base.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c logic/logic_eval.c -o logic/logic_eval.o logic/cmd_table.c:90:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"return.false", cmd_ret_false, 0, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:91:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"equal.n", cmd_equal_n, 2, 0x80}, // fix flags later ^~~~~~~~~ logic/cmd_table.c:92:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"equal.v", cmd_equal_v, 2, 0xC0}, ^~~~~~~~~ logic/cmd_table.c:93:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] {"less.n", cmd_less_n, 2, 0x80}, ^~~~~~~~ logic/cmd_table.c:94:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign] {"less.v", cmd_less_v, 2, 0xC0}, ^~~~~~~~ logic/cmd_table.c:95:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"greater.n", cmd_greater_n, 2, 0x80}, ^~~~~~~~~~~ logic/cmd_table.c:96:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"greater.v", cmd_greater_v, 2, 0xC0}, ^~~~~~~~~~~ logic/cmd_table.c:97:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign] {"isset", cmd_isset, 1, 0}, ^~~~~~~ logic/cmd_table.c:98:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"isset.v", cmd_isset_v, 1, 0x80}, ^~~~~~~~~ logic/cmd_table.c:99:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] {"has", cmd_has, 1, 0}, ^~~~~ logic/cmd_table.c:100:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"obj.in.room", cmd_obj_in_room, 2, 0x40}, ^~~~~~~~~~~~~ logic/cmd_table.c:101:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] {"posn", cmd_posn, 5, 0}, ^~~~~~ logic/cmd_table.c:102:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"controller", cmd_controller, 1, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:103:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"have.key", cmd_have_key, 0, 0}, ^~~~~~~~~~ logic/cmd_table.c:104:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [5]' converts between pointers to integer types with different sign [-Wpointer-sign] {"said", cmd_said, 0, 0}, ^~~~~~ logic/cmd_table.c:105:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"compare.strings", cmd_compare_strings, 2, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:106:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"obj.in.box", cmd_obj_in_box, 5, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:107:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"center.posn", cmd_center_posn, 5, 0}, ^~~~~~~~~~~~~ logic/cmd_table.c:108:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"right.posn", cmd_right_posn, 5, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:109:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"unknown.19", cmd_ret_false, 0, 0} ^~~~~~~~~~~~ logic/cmd_table.c:114:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.return", cmd_do_nothing, 0, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:117:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.increment", cmd_increment, 1, 0x80}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:118:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.decrement", cmd_decrement, 1, 0x80}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:119:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.assignn", cmd_assignn, 2, 0x80}, ^~~~~~~~~~~~~ logic/cmd_table.c:120:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.assignv", cmd_assignv, 2, 0xC0}, ^~~~~~~~~~~~~ logic/cmd_table.c:121:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.addn", cmd_addn, 2, 0x80}, ^~~~~~~~~~ logic/cmd_table.c:122:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.addv", cmd_addv, 2, 0xC0}, ^~~~~~~~~~ logic/cmd_table.c:123:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.subn", cmd_subn, 2, 0x80}, ^~~~~~~~~~ logic/cmd_table.c:124:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.subv", cmd_subv, 2, 0xC0}, ^~~~~~~~~~ logic/cmd_table.c:125:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.lindirectv", cmd_lindirectv, 2, 0xC0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:126:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.rindirect", cmd_rindirect, 2, 0xC0}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:127:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.lindirectn", cmd_lindirectn, 2, 0x80}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:130:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set", cmd_set, 1, 0}, ^~~~~~~~~ logic/cmd_table.c:131:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.reset", cmd_reset, 1, 0}, ^~~~~~~~~~~ logic/cmd_table.c:132:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.toggle", cmd_toggle, 1, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:133:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.v", cmd_set_v, 1, 0x80}, ^~~~~~~~~~~ logic/cmd_table.c:134:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.reset.v", cmd_reset_v, 1, 0x80}, ^~~~~~~~~~~~~ logic/cmd_table.c:135:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c logic/logic_execute.c -o logic/logic_execute.o {"cmd.toggle.v", cmd_toggle_v, 1, 0x80}, ^~~~~~~~~~~~~~ logic/cmd_table.c:138:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.new.room", cmd_new_room, 1, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:139:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.new.room.v", cmd_new_room_v, 1, 0x80},picture/sbuf_util.c:98:2: warning: replicated from sbuff_plot code [-W#warnings] #warning replicated from sbuff_plot code ^~~~~~~~~~~~~~~~ ^ logic/cmd_table.c:142:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.load.logics", cmd_load_logics, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:143:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.load.logics.v", cmd_load_logics_v, 1, 0x80}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:144:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.call", cmd_call, 1, 0}, ^~~~~~~~~~ logic/cmd_table.c:145:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.call.v", cmd_call_v, 1, 0x80}, ^~~~~~~~~~~~ logic/cmd_table.c:148:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.load.pic", cmd_load_pic, 1, 0x80}, // actually at 24 ^~~~~~~~~~~~~~ logic/cmd_table.c:149:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.draw.pic", cmd_draw_pic, 1, 0x80}, ^~~~~~~~~~~~~~ logic/cmd_table.c:150:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.show.pic", cmd_show_pic, 0, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:151:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.discard.pic", cmd_discard_pic, 1, 0x80}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:152:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.overlay.pic", cmd_overlay_pic, 1, 0x80}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:153:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [38]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.show.priority.screen (incomplete)", cmd_show_pri, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:156:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.load.view", cmd_load_view, 1, 0}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:157:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.load.view.v", cmd_load_view_v, 1, 0x80}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:158:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.discard.view", cmd_discard_view, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:159:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.animate.object", cmd_animate_obj, 1, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:160:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.unanimate.all", cmd_unanimate_all, 0, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:161:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.draw", cmd_draw, 1, 0}, ^~~~~~~~~~ logic/cmd_table.c:162:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.erase", cmd_erase, 1, 0}, ^~~~~~~~~~~ logic/cmd_table.c:165:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.position", cmd_position, 3, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:166:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.position.v", cmd_position_v, 3, 0x60}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:167:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.get.position", cmd_get_position, 3, 0x60}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:168:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.reposition", cmd_reposition, 3, 0x60}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:171:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.view", cmd_set_view, 2, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:172:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.view.v", cmd_set_view_v, 2, 0x40}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:173:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.loop", cmd_set_loop, 2, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:174:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.loop.v", cmd_set_loop_v, 2, 0x40}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:175:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.fix.loop", cmd_fix_loop, 1, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:176:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.release.loop", cmd_release_loop,1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:177:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.cel", cmd_set_cel, 2, 0}, ^~~~~~~~~~~~~ logic/cmd_table.c:178:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.cel.v", cmd_set_cel_v, 2, 0x40}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:179:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.last.cel", cmd_last_cel, 2, 0x40}, ^~~~~~~~~~~~~~ logic/cmd_table.c:180:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.current.cel", cmd_current_cel, 2, 0x40}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:181:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.current.loop", cmd_current_loop, 2, 0x40}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:182:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.current.view", cmd_current_view, 2, 0x40}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:183:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.num.of.loops", cmd_number_of_loops, 2, 0x40}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:186:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.priority", cmd_set_priority, 2, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:187:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.priority.v", cmd_set_priority_v, 2, 0x40}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:188:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.release.priority", cmd_release_priority, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:189:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.get.priority", cmd_get_priority, 2, 0x40}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:192:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.stop.update", cmd_stop_update, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:193:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.start.update", cmd_start_update, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:194:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.force.update", cmd_force_update, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:197:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.ignore.horizon", cmd_ignore_horizon, 1, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:198:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.observe.horizon", cmd_observe_horizon, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:199:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.horizon", cmd_set_horizon, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:200:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.obj.on.water", cmd_obj_on_water, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:201:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.obj.on.land", cmd_obj_on_land, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:202:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.obj.on.anything", cmd_obj_on_anything, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:205:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.ignore.objects", cmd_ignore_objects, 1, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:206:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.observe.objects", cmd_observe_objects, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:207:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.distance", cmd_distance, 3, 0x20}, ^~~~~~~~~~~~~~ logic/cmd_table.c:209:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.stop.cycling", cmd_stop_cycling, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:210:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.start.cycling", cmd_start_cycling, 1, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:211:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.normal.cycle", cmd_normal_cycle, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:212:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.end.of.loop", cmd_end_of_loop, 2, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:213:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.reverse.cycle", cmd_reverse_cycle, 1, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:214:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.reverse.loop", cmd_reverse_loop, 2, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:215:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.cycle.time", cmd_cycle_time, 2, 0x40}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:218:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.stop.motion", cmd_stop_motion, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:219:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.start.motion", cmd_start_motion, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:220:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.step.size", cmd_step_size, 2, 0x40}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:221:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.step.time", cmd_step_time, 2, 0x40}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:222:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.move.obj", cmd_move_obj, 5, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:223:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.move.obj.v", cmd_move_obj_v, 5, 0x70}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:224:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.follow.ego", cmd_follow_ego, 3, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:225:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.wander", cmd_wander, 1, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:226:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.normal.motion", cmd_normal_motion, 1, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:227:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.dir", cmd_set_dir, 2, 0x40}, ^~~~~~~~~~~~~ logic/cmd_table.c:228:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.get.dir", cmd_get_dir, 2, 0x40}, ^~~~~~~~~~~~~ logic/cmd_table.c:231:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.ignore.blocks", cmd_ignore_blocks, 1, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:232:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.observe.blocks", cmd_observe_blocks, 1, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:233:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.block", cmd_block, 4, 0}, ^~~~~~~~~~~ logic/cmd_table.c:234:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.unblock", cmd_unblock, 0, 0}, ^~~~~~~~~~~~~ logic/cmd_table.c:237:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.get", cmd_get, 1, 0}, ^~~~~~~~~ logic/cmd_table.c:238:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.get.v", cmd_get_v, 1, 0x80}, ^~~~~~~~~~~ logic/cmd_table.c:239:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.drop", cmd_drop, 1, 0}, ^~~~~~~~~~ logic/cmd_table.c:240:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.put", cmd_put, 2, 0}, ^~~~~~~~~ logic/cmd_table.c:241:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.put.v", cmd_put_v, 2, 0x40}, ^~~~~~~~~~~ logic/cmd_table.c:242:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.get.room.v", cmd_get_room_v, 2, 0xC0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:245:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.load.sound",cmd_load_sound , 1, 0}, //cmd_load_sound ^~~~~~~~~~~~~~~~ logic/cmd_table.c:246:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.sound", cmd_sound, 2, 0},//cmd_sound ^~~~~~~~~~~ logic/cmd_table.c:247:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.stop.sound",cmd_stop_sound , 0, 0}, //cmd_stop_sound ^~~~~~~~~~~~~~~~ logic/cmd_table.c:248:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.print", cmd_print, 1, 0}, ^~~~~~~~~~~ logic/cmd_table.c:249:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.print.v", cmd_print_v, 1, 0x80}, ^~~~~~~~~~~~~ logic/cmd_table.c:250:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.display", cmd_display, 3, 0}, ^~~~~~~~~~~~~ logic/cmd_table.c:251:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.display.v", cmd_display_v, 3, 0xE0}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:252:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.clear.lines", cmd_clear_lines, 3, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:253:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.text.screen", cmd_text_screen, 0, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:254:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.graphics", cmd_graphics, 0, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:257:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.cursor.char", cmd_set_cursor_char, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:258:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.text.attrib", cmd_set_text_attribute, 2, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:259:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [30]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.shake.screen (incomplete)", cmd_do_nothing, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:260:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.config.screen", cmd_config_screen, 3, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:261:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.status.line.on", cmd_status_line_on, 0, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:262:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.status.line.off", cmd_status_line_off, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:263:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.string", cmd_set_string, 2, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:264:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.get.string", cmd_get_string, 5, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:265:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.word.to.string", cmd_word_to_string, 2, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:266:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.parse", cmd_parse, 1, 0}, ^~~~~~~~~~~ logic/cmd_table.c:269:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.get.num", cmd_get_num, 2, 0x40}, ^~~~~~~~~~~~~ logic/cmd_table.c:270:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.prevent.input", cmd_prevent_input, 0, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:271:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.accept.input", cmd_accept_input, 0, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:272:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.key", cmd_set_key, 3, 0}, ^~~~~~~~~~~~~ logic/cmd_table.c:273:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.add.to.pic", cmd_add_to_pic, 7, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:274:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.add.to.pic.v", cmd_add_to_pic_v, 7, 0xFE}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:275:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.status", cmd_status, 0, 0}, ^~~~~~~~~~~~ logic/cmd_table.c:276:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.save.game (incomplete)", cmd_save_game, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:277:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [30]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.restore.game (incomplete)", cmd_restore_game, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:278:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [27]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.init.disk (incomplete)", cmd_do_nothing, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:281:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.restart.game", cmd_restart_game, 0, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:282:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.show.obj", cmd_show_obj, 1, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:283:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.random", cmd_random, 3, 0x20}, ^~~~~~~~~~~~ logic/cmd_table.c:284:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.program.control", cmd_program_control, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:285:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.player.control", cmd_player_control, 0, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:286:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [30]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.obj.status.v (incomplete)", cmd_do_nothing, 1, 0x80}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:287:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.quit", cmd_quit, 1, 0}, ^~~~~~~~~~ logic/cmd_table.c:288:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.show.mem (incomplete)", cmd_do_nothing, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:289:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.pause", cmd_pause, 0, 0}, ^~~~~~~~~~~ logic/cmd_table.c:290:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.echo.line", cmd_echo_line, 0, 0}, ^~~~~~~~~~~~~~~ logic/cmd_table.c:293:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.cancel.line", cmd_cancel_line, 0, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:294:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.init.joy (incomplete)", cmd_do_nothing, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:295:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.toggle.monitor", cmd_toggle_monitor, 0, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:296:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [12]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.version", cmd_version, 0, 0}, ^~~~~~~~~~~~~ logic/cmd_table.c:297:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.script.size", cmd_script_size, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:298:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.game.id", cmd_set_game_id, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:299:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.log", cmd_log, 1, 0}, ^~~~~~~~~ logic/cmd_table.c:300:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.scan.start", cmd_set_scan_start, 0, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:301:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [21]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.reset.scan.start", cmd_reset_scan_start, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:304:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.reposition.to", cmd_reposition_to, 3, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:305:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.reposition.to.v", cmd_reposition_to_v, 3, 0x60}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:308:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.trace.on", cmd_trace_on, 0, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:309:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.trace.info", cmd_trace_info, 3, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:310:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.print.at", cmd_print_at, 4, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:311:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.print.at.v", cmd_print_at_v, 4, 0x80}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:312:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.discard.view.v", cmd_discard_view_v, 1, 0x80}, ^~~~~~~~~~~~~~~~~~~~ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/view_base.c -o view/view_base.o logic/cmd_table.c:313:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [20]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.clear.text.rect", cmd_clear_text_rect, 5, 0}, ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:314:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.upper.left", cmd_set_upper_left, 2, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:317:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.menu", cmd_set_menu, 1, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:318:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.menu.item", cmd_set_menu_item, 2, 0}, ^~~~~~~~~~~~~~~~~~~ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_update.c -o view/obj_update.o logic/cmd_table.c:319:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.submit.menu", cmd_submit_menu, 0, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:320:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.enable.item", cmd_enable_item, 1, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:321:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.disable.item", cmd_disable_item, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:322:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.menu.input", cmd_menu_input, 0, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:325:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.show.obj.v", cmd_show_obj_v, 1, 1}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:326:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.open.dialogue", cmd_open_dialogue, 0, 0}, ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:327:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.close.dialogue", cmd_close_dialogue, 0, 0}, ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:330:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.mult.n", cmd_multn, 2, 0x80}, ^~~~~~~~~~~~ logic/cmd_table.c:331:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.mult.v", cmd_multv, 2, 0xC0}, ^~~~~~~~~~~~ logic/cmd_table.c:332:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.div.n", cmd_divn, 2, 0x80}, ^~~~~~~~~~~ logic/cmd_table.c:333:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.div.v", cmd_divv, 2, 0xC0}, ^~~~~~~~~~~ logic/cmd_table.c:336:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.close.window", cmd_close_window, 0, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:339:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.simple", cmd_unknown_170, 1, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:340:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.push.script", cmd_unknown_171, 0, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:341:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.pop.script", cmd_unknown_172, 0, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:342:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [13]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.hold.key", cmd_unknown_173, 0, 0}, ^~~~~~~~~~~~~~ logic/cmd_table.c:343:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.set.pri.base", cmd_unknown_174, 1, 0}, ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:344:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [31]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.discard.sound (incomplete)", cmd_do_nothing, 1, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:345:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.hide.mouse (incomplete)", cmd_do_nothing, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:346:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.allow.menu", cmd_unknown_177, 1, 0}, ^~~~~~~~~~~~~~~~ logic/cmd_table.c:347:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.show.mouse (incomplete)", cmd_do_nothing, 0, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:348:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [29]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.fence.mouse (incomplete)", cmd_do_nothing, 4, 0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:350:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [28]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.mouse.posn (incomplete)", cmd_do_nothing, 2, 0xC0}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:351:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.release.key", cmd_unknown_181, 0, 0}, ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:352:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [37]' converts between pointers to integer types with different sign [-Wpointer-sign] {"cmd.adj.ego.move.to.x.y (incomplete)", cmd_do_nothing, 0, 0} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 warnings generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_blit.c -o view/obj_blit.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_base.c -o view/obj_base.o 1 warning generated. clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_proximity.c -o view/obj_proximity.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_position.c -o view/obj_position.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_loop.c -o view/obj_loop.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_motion.c -o view/obj_motion.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_drawerase.c -o view/obj_drawerase.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_cycle.c -o view/obj_cycle.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_motion_cmd.c -o view/obj_motion_cmd.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_block.c -o view/obj_block.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_priority.c -o view/obj_priority.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_picbuff.c -o view/obj_picbuff.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/sound_base.c -o sound/sound_base.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/pcm_out.c -o sound/pcm_out.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/pcm_out_sdl.c -o sound/pcm_out_sdl.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/sound_gen.c -o sound/sound_gen.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/tone.c -o sound/tone.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/tone_pcm.c -o sound/tone_pcm.o clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/drvpick.c -o sys/drvpick.o sound/sound_gen.c:188:18: warning: assigning to 'u8 *' (aka 'unsigned char *') from 's8 [68]' converts between pointers to integer types with different sign [-Wpointer-sign] dissolve_data = dissolve_data_v2; ^ ~~~~~~~~~~~~~~~~ sound/sound_gen.c:192:18: warning: assigning to 'u8 *' (aka 'unsigned char *') from 's8 [78]' converts between pointers to integer types with different sign [-Wpointer-sign] dissolve_data = dissolve_data_v3; ^ ~~~~~~~~~~~~~~~~ sound/sound_gen.c:284:2: warning: if chan 2.. change noise chan if appropriate [-W#warnings] #warning if chan 2.. change noise chan if appropriate ^ sound/tone.c:42:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign] {"pcm_16bit", tone_pcm_drv_init} ^~~~~~~~~~~ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c ui/parse.c -o ui/parse.o sound/pcm_out.c:35:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign] {"sdl", pcm_out_sdl_drv_init} ^~~~~ 3 warnings generated. sys/drvpick.c:54:33: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((i" thing? ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ ui/cmd_input.c:138:12: warning: passing 'u8 [42]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(input_prev, input); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ ui/cmd_input.c:138:24: warning: passing 'u8 [42]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(input_prev, input); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ ui/cmd_input.c:176:26: warning: passing 'u8 [42]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( input_cur < strlen(input_prev)) ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ clang -O2 -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c ui/list_box.c -o ui/list_box.o 8 warnings generated. 4 warnings generated. ui/menu.c:63:18: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] m_name = strdup(logic_msg(*(c++))); ^~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ ui/menu.c:63:9: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] m_name = strdup(logic_msg(*(c++))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ ui/menu.c:88:22: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] menu_col += strlen(m_name) + 1; ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ ui/menu.c:103:16: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] name = strdup(logic_msg(*(c++))); ^~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ ui/menu.c:103:7: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] name = strdup(logic_msg(*(c++))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ ui/menu.c:127:16: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(name) + menu_cur->col) < 0x27) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ ui/menu.c:130:35: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] menu_item_col = 0x27 - strlen(name); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ ui/menu.c:456:28: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] menu_size_width = (strlen((m->head)->name) << 2) + 8; ^~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ ui/mouse.c:223:29: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [15]' converts between pointers to integer types with different sign [-Wpointer-sign] cmd_table[171].func_name = "cmd.poll.mouse"; ^ ~~~~~~~~~~~~~~~~ ui/mouse.c:249:29: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] cmd_table[171].func_name = "cmd.push.script"; ^ ~~~~~~~~~~~~~~~~~ ui/mouse.c:273:27: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [16]' converts between pointers to integer types with different sign [-Wpointer-sign] cmd_table[171].func_name = "cmd.push.script"; ^ ~~~~~~~~~~~~~~~~~ ui/list_box.c:53:15: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((strlen(list[i]) > 550) || (size->w >= 500)) ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ ui/list_box.c:54:15: warning: passing 'char [14]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf(" - *TOO LONG*"); ^~~~~~~~~~~~~~~ ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ ui/list_box.c:57:12: warning: passing 'u8 [500]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] sprintf(str, " - %s", list[i]); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ ui/list_box.c:59:15: warning: passing 'char [3]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("%s", str); ^~~~ ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ ui/list_box.c:67:15: warning: passing 'char [2]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("U"); ^~~ ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ ui/list_box.c:69:15: warning: passing 'char [2]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf(" "); ^~~ ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ ui/list_box.c:73:15: warning: passing 'char [2]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("D"); ^~~ ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ ui/list_box.c:75:15: warning: passing 'char [2]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf(" "); ^~~ ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ 4 warnings generated. ui/status.c:110:28: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] si->col = 39 - strlen(si->name); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ ui/status.c:123:12: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign] si->name = "nothing"; // name ^ ~~~~~~~~~ ui/status.c:139:2: warning: need the joystick BUTT map.. [-W#warnings] #warning need the joystick BUTT map.. ^ ui/status.c:171:13: warning: passing 'char [18]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("You are carrying:"); ^~~~~~~~~~~~~~~~~~~ ui/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ ui/status.c:187:14: warning: passing 'char [37]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("Press ENTER to select, ESC to cancel"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ ui/status.c:192:14: warning: passing 'char [34]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("Press a key to return to the game"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ 3 warnings generated. ui/status.c:252:14: warning: passing 'char [15]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("Score:%d of %d", state.var[V03_SCORE], state.var[V07_MAXSCORE]); ^~~~~~~~~~~~~~~~ ui/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ ui/status.c:256:15: warning: passing 'char [9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("Sound:%s", "off"); ^~~~~~~~~~ ui/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ ui/status.c:258:15: warning: passing 'char [9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] agi_printf("Sound:%s", "on"); ^~~~~~~~~~ ui/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here extern void agi_printf(u8 *var8, ...); ^ 8 warnings generated. 8 warnings generated. 9 warnings generated. clang -O2 -I/opt/pkg/include -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 -L/opt/pkg/lib -L/usr/lib -lSDLmain -lSDL -lpthread -lcompat -o ../bin/nagi ld: library not found for -lcompat clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [Makefile.linux:12: ../bin/nagi] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/games/nagi *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/games/nagi