=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/nagi", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nagi-20021114nb7 clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c base.c -o base.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c debug.c -o debug.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c decrypt.c -o decrypt.o base.c:16:2: warning: base.c needs work [-W#warnings] 16 | #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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 34 | message_box(" Game paused.\nPress Enter to continue." ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:10:28: note: passing argument to parameter 'var8' here 10 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 45 | 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 10 | extern u16 message_box(u8 *var8); | ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c flags.c -o flags.o decrypt.c:10:6: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 10 | u8 *d_string = ""; | ^ ~~ decrypt.c:18:13: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 18 | d_string = DECRYPT_STRING; | ^ ~~~~~~~~~~~~~~ 2 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c nagi_main.c -o nagi_main.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c initialise.c -o initialise.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c agi_string.c -o agi_string.o nagi_main.c:76:11: warning: passing 'char *' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 76 | dir_init(argv[0]); | ^~~~~~~ ./sys/sys_dir.h:20:26: note: passing argument to parameter 'argv0' here 20 | extern void dir_init(u8 *argv0); | ^ initialise.c:106:22: warning: passing 'char[9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 106 | ini_nagi = ini_open("nagi.ini"); | ^~~~~~~~~~ ./sys/ini_config.h:24:26: note: passing argument to parameter 'ini_name' here 24 | extern INI *ini_open(u8 *ini_name); | ^ initialise.c:168:2: warning: keyboard needs a bit of cleanup [-W#warnings] 168 | #warning keyboard needs a bit of cleanup | ^ initialise.c:206:29: warning: passing 'char[10]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | words_tok_data = file_load("words.tok", 0); | ^~~~~~~~~~~ ./res/res.h:26:26: note: passing argument to parameter 'name' here 26 | extern u8 *file_load(u8 *name, u8 *buff); | ^ 1 warning generated. 3 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c new_room.c -o new_room.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c objects.c -o objects.o agi_string.c:95:10: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 95 | strncpy(di, logic_msg(*(c++)), STRING_SIZE); | ^~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' 128 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 95 | strncpy(di, logic_msg(*(c++)), STRING_SIZE); | ^~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' 128 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 103 | strncpy(di, word_string[*(c++)], STRING_SIZE); | ^~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ agi_string.c:103:14: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 103 | strncpy(di, word_string[*(c++)], STRING_SIZE); | ^~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ agi_string.c:120:10: warning: passing 'u8[40]' (aka 'unsigned char[40]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 120 | strncpy(buff, str, len-1); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ agi_string.c:120:16: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 120 | strncpy(buff, str, len-1); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ agi_string.c:122:26: warning: passing 'u8[40]' (aka 'unsigned char[40]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | str_cur = buff + strlen(buff); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ agi_string.c:152:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 152 | strcpy(str, buff); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ agi_string.c:152:17: warning: passing 'u8[40]' (aka 'unsigned char[40]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 152 | strcpy(str, buff); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ agi_string.c:176:10: warning: passing 'u8[21]' (aka 'unsigned char[21]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | strncpy(state.id, logic_msg(*(c++)), ID_SIZE); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' 128 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | strncpy(state.id, logic_msg(*(c++)), ID_SIZE); | ^~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' 128 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 267 | if ((str_size<=disp_size)||(strlen(str_edit) < disp_size)) | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 270 | str_disp = str_edit + strlen(str_edit) - ((percent*disp_size)/100); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ agi_string.c:297:9: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 297 | strcpy(str_edit, str); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 297 | strcpy(str_edit, str); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 298 | str_tail = str_edit + strlen(str_edit); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 339 | strcpy(str, str_edit); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 339 | strcpy(str, str_edit); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ objects.c:64:23: warning: passing 'char[7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 64 | obj_data = file_load("object", 0); | ^~~~~~~~ ./res/res.h:26:26: note: passing argument to parameter 'name' here 26 | extern u8 *file_load(u8 *name, u8 *buff); | ^ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c state_io.c -o state_io.o 18 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c agi.c -o agi.o 1 warning generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c state_info.c -o state_info.o state_io.c:74:29: warning: passing 'char[67]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 74 | 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 10 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ^~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ^~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 124 | msg = alloca(200 + strlen(save_filename->data)); | ^~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ agi.c:/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h125::9633::28 :warning: use of GNU old-style field designator extension [-Wgnu-designator]note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__ s); | ^ 125 | {"log_debug", "nagi", CT_BOOL, b:{&c_nagi_log_debug, 0} }, | ^~ | .b = state_io.c:126:30: warning: agi.c:126:26: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | msg = allocwarning: use of GNU old-style field designator extension [-Wgnu-designator] 126 | {"consoale",( 200,0 C+T _sBtOrOlLe,n (save_dir->b:{&c_nagdata)); i_console, 1} } | ^~~~~~~~~~~~~~, | ^~ | .b = /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) agi.c:127:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] 127 | __builtin_all {"font_benocca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | shize_t strlen(conmsta rckh"a,r 0, CT_BOOL, b:{&c_na*g_i__sf)o;n t_benchmark, | ^ 0} }, | ^~ | .b = agi.c:128:28: warning: use of GNU old-style field designator extension [-Wgnu-designator] 128 | {"crc_print", 0, CT_state_io.cB:O129O:L12,: bwarning: :passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]{ &c_nagi_c 129 | sprintf(msg,rc_print, 0} }, | ^~ | .b = "About to restore the game\ndescribed as:\n\nagi.c:129:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 129 | %s\n\nfrom file:\n % {"dir_list", 0,s \CnT\_nS%TsR"I,N G ,| ^~~s :{&c_nagi_/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:d50:28: note: expanded from macro 'sprintf' 50 | __buiiltri_nlist, "."} },___sprintf_chk (str, 0, __darwin | ^~ | .s = _obsz(str), __VA_ARGS__) | ^~~ agi.c:130:25: warning: use of GNU old-style field designator extension [-Wgnu-designator] 130 | {"sort", 0, CT_STRING, s:{&c_nagi_sort, "alpha"} }, | ^~ state_io.c :| 136 .s = : 23: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 136 | rest_agi.c:131:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] 131 | {"sdtriver", "vrideam = fopen"(s,a vCT_Se_filename->data, "rbT")R;I N G| , ^~~~~~~~~~~~~~~~~~~ s:/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h{:&243c:_37v:i dnote: _passing argument to parameter '__filename' hered river, "s dl"} }, | ^~ 243 | | F .s = I LE *fopen(const char * __restrict __fiagi.c:132:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] l ename, const char * 132__restrict __mode) | {"scale", 0, CT___DAIRNWTI,N _iA:L{I&AcS__vSiTdA_RsTcIaNlGe(,_ _2M,A C1_,1 0-_16}, }_,_ I P| H ^~O N E| _ .i = 2 _0, __DARWIN_ALIAS(fopeagi.cn:)133):;30 : | warning: ^use of GNU old-style field designator extension [-Wgnu-designator] state_io.c:139:12 :133 | warning: {passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]" full_screen", 0, CT_BOOL, b:{&c_vid_full _screen, 0} }, | ^~ 139 | sprintf(msg, "Can't open file| .b = :\n %s"agi.c,:134:29 :s warning: use of GNU old-style field designator extension [-Wgnu-designator] ave_ f134i | l ename->data);{ | " ^~~r enderer"/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h,: 500:, CT28_STRING, s:{&: note: expanded from macro 'sprintf' c_vid 50 | _ r_e_nbdueirletri,n _"_e_gsap"r}i n}t,f _ c| h ^~k (str, 0, __darwin | .s = _obsz(str), __VA_ARGS__) agi.c| ^~~ :135:27: warning: use of GNU old-style field designator extension [-Wgnu-designator] 135 | {"pal_16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, | ^~ | .s = agi.c:136:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 136 | {"pal_text", 0, CT_STRING, s:{&c_vid_pstate_io.c:159:16: warning: passing 'char[46]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 159 | message_baox("Error in restoring gla_mtee.x\t, "npal_text.pal"} }, | ^~ | .s = Press ENTER to quit."); | agi.c:137:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 137 | {" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pal_cga0",./ui/msg.h :10:28: note: passing argument to parameter 'var8' here 0, CT _10S | exTRING, s:{&c_vid_pal_cga0, "ptale_rcng au01.6p amle"s} }, | ^~ | .s = sage_box(u8 *var8); | ^ agi.c:138:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 138 | {"pal_cga1", 0, CT_STRING, s:{&c_vid_pal_cga1, "pal_cga1.pal"} }, | ^~ | .s = agi.c:139:27: warning: use of GNU old-style field designator extension [-Wgnu-designator] 139 | {"pal_bw", 0, CT_STRING, s:{&c_vid_pal_bw, "pal_bw.pal"} }, | ^~ | .s = agi.c:140:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] 140 | {"fonts_bitmap", 0, CT_STRING, s:{&c_vid_fonts_bitmap, "font_4x8.nbf;font_8x8.nbf;font_16x16.nbf"} }, | ^~ | .s = agi.c:141:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] 141 | {"fonts_vector", 0, CT_STRING, s:{&c_vid_fonts_vector, "none.nvf"} }, | ^~ | .s = agi.c:142:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] 142 | {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, | ^~ | .s = agi.c:143:25: warning: use of GNU old-style field designator extension [-Wgnu-designator] 143 | {"state_io.cen:a212b:l10e:" warning: passing 'u8[50]' (aka 'unsigned char[50]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 212 | strncpy(sta, 0, CT_BOOL,te_name_a b:{&c_snd_enable, 1} }, | ^~ uto, state.s | .b = tring[*(agi.cc:+144+:)25]:, warning: 3use of GNU old-style field designator extension [-Wgnu-designator]1 ); | ^~~~~~~~~~~~~~~144 | {"sing/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.hl:e128":,28 :0 ,note: expanded from macro 'strncpy'C T_BOOL ,128 | b : {_&c_snd_single, 0} }, | ^~ | .b = _builtin__agi.c_:s145t:r26n:c pwarning: yuse of GNU old-style field designator extension [-Wgnu-designator]_ chk 145( | d est, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ {"dissolve", 0, CT_INT, i:{&state_io.cc:_212s:n27d:_ dwarning: ipassing 'u8[40]' (aka 'unsigned char[40]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]s solve, 3 ,212 | 0 ,s t3r}n c}p,y ( s| t ^~a t e| _ .i = name_auto, state.agi.c:146:27: warning: use of GNU old-style field designator extension [-Wgnu-designator] string [146* | ( c{+"+r)e]a,d _3var", 0, 1); | ^~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128C:34: note: expanded from macro 'strncpy' 128 | __T_BOOL, b:{&c_snd_read_builtin___strncpy_chkvar, 0} }, | ^~ | .b = (dest, __VA_ARGS__, __darwin_obsz (dest)) agi.c| : ^~~~~~~~~~~147 :24: warning: use of GNU old-style field designator extension [-Wgnu-designator] 147 | {"volume", 0, CT_INT, i:{&c_snd_volume, 0x7FFF, 0, 0x7FFF} }, | ^~ | .i = agi.c:148:34: warning: use of GNU old-style field designator extension [-Wgnu-designator] 148 | {"drv_video", "sdl", CT_STRING, s:{&c_sdl_drv_video, ""} }, | ^~ | .s = agi.c:149:30: warning: use of GNU old-style field designator extension [-Wgnu-designator] 149 | {"drv_sound", 0, CT_STRING, s:{&c_sdl_drv_sound, state_io.c:"235:14"} }, | ^~ | .s = : warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] agi.c:150:3: warning: 235use of GNU old-style field designator extension [-Wgnu-designator] | if (strlen(save_filename->dat 150 | {key:a) > strlen(save_di r->data)) 0} | ^~~~ | .key = | ^~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ agi.c:125:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | {"log_debug", "nagi", CT_BOOL, b:{&c_nagi_log_debug, 0} }, | ^~~~~~~~~~~ agi.c:125:state_io.c:235:44: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 16: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | { 235 | "log_debug", "nagi", CT_BOO Lif (,s tbr:{&c_nagi_log_delbuegn,( s0a}v e}_,f i l| ename->data) ^~~~~~> strlen(save_dir->data)) | ^~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ state_io.c:236:30:agi.c :warning: 126passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]: 3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 236 | 126 | m{s"gc o=n saollleo"c,a (02,0 0C T+_ BsOtOrLl,e nb(:s{a&vce__nfaiglie_ncaomnes-o>ldea,t a1)}) ;} , | ^~~~~~~~~~~~~~~~~~~| ^~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #dagi.c:127:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] e f127i | n e{ "aflolnotc_ab(esniczhe) __alloca(size) | ^~~~ mark/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h":,43 :041,: Cnote: Texpanded from macro '__alloca'_ BOOL, b43: | {#&dce_fniangei __f_oanltl_obcean(cshimzaer)k ,_ _0b}u i}l,t i n| _ ^~~~~~~~~~~~~~~~a lloca(size) | ^~~~ agi.c:128:/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h3::96 :warning: 28initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]: 128 | {" crnote: cpassing argument to parameter '__s' here_ prin t96" | ,s i0z,e _CtT _ BsOtOrLl,e nb(const ch:a{&c_nagi_crc_print, 0} }, | ^~~~~~~~~~~ r *__s); | ^ agi.c:129:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 129 | {"dir_list", 0, CT_STRING, s:{&c_nagi_dir_list, "."} }, | ^~~~~~~~~~ state_io.c:agi.c:129:50: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]238 : 129 | {"dir_list", 0, CT_STR30ING,: swarning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] :{&c 238 | m_nagi_dir_list, "."} }, s g = alloca(200 + strlen| ^~~ (save_dir->dagi.c:130:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130ata)); | | ^~~~~~~~~~~~~~ {"sort",/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h :042,: 31C:T _note: Sexpanded from macro 'alloca'T RING, s:{&c_nagi_s or42t | ,#defi "alne alloca(size) __alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:43:41: note: pexpanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:ha"} }, 96 :| 28 ^~~~~~: note: passing argument to parameter '__s' here agi.c:130:42: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | {96"sort" | , 0, CT_STRsINiGz,e _st: { &sct_rnlaegni(_csonst char *__s); ort, "alpha"} | }, ^ | ^~~~~~~ agi.c:131:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 131 | {"driver", "vid", CT_STRINGstate_io.c, s:{:&241c:_12v:i dwarning: _passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] driver, "sdl241"} | sprintf(msg, "About to s ave }t,h e | g ^~~~~~~~a me\ndescribed as:\n\n%s\n\ninagi.c :131:13: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 131 | {"driver"f, "viild", CT_e:\n %STRING, s:{&c_vid_ds\n\n%s", | ^~~ r/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.hi:50:28: note: expanded from macro 'sprintf' ver ,50 | " s d_l_"b}u i}l,t | ^~~~~ in___sprintf_chk (str, 0, __darwin_oagi.c:131:49: warning: bsz(str), __VA_ARGinitializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 131 | {"driver", S"vid_"_,) C T| _ ^~~S TRING, s:{&c_vid_driver, "sdl"} }, | ^~~~~ agi.c:132:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 132 | {"scalestate_io.c:250:23: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] " 250, | sa 0, CT_INT, i:{&c_vid_scale, v2, 1e,_ s-t1r}e a}m, = | f ^~~~~~~o pen(save_filename->data,agi.c:133:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 133 | "w {"full_screbe"n)";, 0| , ^~~~~~~~~~~~~~~~~~~ CT_B/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.hO:O243L:,37 :b :{&c_vid_full_screen, note: 0passing argument to parameter '__filename' here} }, | ^~~~~~~~~~~~~ 243agi.c:134: | 3F:I Lwarning: Einitializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *fope n134( | c o{n"srte ncdhearre r*" ,_ _0r,e CT_STRsItNrGi,c t __filename, const char * _s:{&c_vid_renderer, "e_ga"} }, | ^~~~~~~~~~ restrict __mode) __DARWIN_ALIAS_STARTING(agi.c:134:49: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] _ 134_ | M A{C"_r1e0n_d6e,r e_r_IPHONE_2_0, _"_DARWIN_ALIAS(fopen)); , 0, CT| ^ _STRING, s:{&c_vid_renderer, "ega"} }, | ^~~~~ state_io.c:253:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 253 | agi.c :s135p:r3i:n twarning: finitializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]( msg, "135T | h e{ "dpiarle_c1t6o"r,y \0n, C T%_sS\TnR IiNsG ,f usl:l{ &ocr_ vtihde_ pdails_k1 6i,s "wprailt_e1-6p.rpoatle"c}t e}d,. \ n| P ^~~~~~~~r ess ENTER to contagi.ci:n135u:e45.:" warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]| ^~~ 135 | {"pal_16", 0, CT_STRING,/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h: 50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprints:{&cf__vcihdk_ p(asl_16,tr, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ "pal_16.pal"} }, | ^~~~~~~~~~~~ agi.c:136:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 136 | {"pal_text", 0, CT_STRING, s:{&c_vid_pal_text, "pal_text.pal"} }, | ^~~~~~~~~~ agi.c:136:49: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 136 | {"pal_text", 0,state_io.c:275:11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 275 | re CT_STRING, s:{&cm_voivde_(psaalve_filename->data); | ^~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:268:25: note: passing argument to parameter here _tex t268, | i"npta l _rteemxotv.ep(aclo"n}s t} ,c h a| r ^~~~~~~~~~~~~~ *); | ^ agi.cstate_io.c::137:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 276 :13716 | : {warning: "passing 'char[43]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]p al_cga 0276" | , 0 ,m eCsTs_aSge_box("ThTeR IdNiGs,k si:s{ &fcu_lvli.d\_npParle_scsg aE0N,T E"Rp atlo_ ccgoa0.pal"} }, n t| i ^~~~~~~~~~n ue.");agi.c:137: 49 :| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 137./ui/msg.h:10:28: | {"pal_cgnote: passing argument to parameter 'var8' here 10 | extern u16 messagea0", 0, CT_STRING, s_box(u8 *var8);:{&c_vid_pal_c | ^ ga0, "pal_cga0.pal"} }, | ^~~~~~~~~~~~~~ agi.c:138:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 138 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 138 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | {"fonts_bitmap", state_io.c:330:2: warning: clear_memory() not implemented [-W#warnings] 330 | #warni0, CT_STRINnGg, s:{&c_vid_fclear_memonts_bitmap, "fonot_r4yx(8). nnboft; fiomnptl_e8mxe8n.tnebdf ; f| o ^n t_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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 141 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 141 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 142 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 142 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 142 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 143 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 144 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 145 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 146 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 147 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 148 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 148 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 148 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 149 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 149 | {"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] 156 | {"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] 157 | {"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] 158 | {"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] 159 | {"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] 160 | {"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] 161 | {"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] 162 | {"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] 163 | {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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 157 | {"agi_list", 0, CT_STRING, s:{&c_standard_agi_list, "pc_2_936;pc_3_002_149;amiga_2;amiga_3"} }, | ^~~~~~~~~~ agi.c:157:54: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[38]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 157 | {"agi_list", 0, CT_STRING, s:{&c_standard_agi_list, "pc_2_936;pc_3_002_149;amiga_2;amiga_3"} }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agi.c:158:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 158 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 158 | {"force", 0, CT_STRING, s:{&c_standard_force, "not defined"} }, | ^~~~~~~~~~~~~ agi.c:159:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 159 | {"v2_default", 0, CT_STRING, s:{&c_standard_v2_default, "pc_2_936"} }, | ^~~~~~~~~~~~ agi.c:159:58: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 159 | {"v2_default", 0, CT_STRING, s:{&c_standard_v2_default, "pc_2_936"} }, | ^~~~~~~~~~ agi.c:160:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 160 | {"v3_default", 0, CT_STRING, s:{&c_standard_v3_default, "pc_3_002_149"} }, | ^~~~~~~~~~~~ agi.c:160:58: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 160 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 161 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 161 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 162 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 162 | {"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] 169 | {"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] 170 | {"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] 171 | {"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] 173 | {"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] 174 | {"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] 175 | {"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] 176 | {"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] 177 | {"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] 178 | {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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 170 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 171 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 173 | {"id", 0, CT_STRING, s:{&c_game_state_info.ci:d104, 0} }, | ^~~~ :23: warning: passing 'char[50]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 104 | if (state_get_text("Hagi.c:174:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 174 | {"objecot_decrwy pwto"uld you l,i ke0 ,t oC Td_eBsOcOrLi,b eb :t{h&ics_ gsaamvee_do bgjaemcet?_\dne\cnr"y,p ts,a v1e}_ d}e,s c r| i ^~~~~~~~~~~~~~~~p tion, sizeof(save_description)) == 0)agi.c : 175| : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3 : warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 175 | {"object_packestate_info.cd:"60,: 24: note: passing argument to parameter 'msg' here0 , CT_BO O60L, b:{&c_game_object_ | pacuk1e6d state_get,_text(u8 *msg, u80 }* s}t,r , | u ^~~~~~~~~~~~~~~1 6 str_alloc); | ^ agi.c:176:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 177 | {"dir_type", 0, CT_INT, i:{&c_game_dir_type, 1, 0, 3} }, | ^~~~~~~~~~ state_info.c:169:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | sprintf(msg->data, | ^~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ state_info.c:173:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 173 | sprintf(msg->data, | ^~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ state_info.c:188:38: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | vstring_set_size(msg, 100 + strlen(save_dir->data)); | ^~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ state_info.c:190:11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | sprintf(msg->data, | ^~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ state_info.c:288:33: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 288 | temp1f0 = alloca(100 + strlen(save_dir->data)); | ^~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ state_info.c:290:11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 290 | sprintf(temp1f0, "There are no games to\nrestore in\n\n %s\n\nPress ENTER to continue.", | ^~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARG109 warnings generated. S__) | ^~~ state_info.c:298:10: warning: passing 'u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 298 | strcpy(save_description, state_name_auto); | ^~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ state_info.c:298:28: warning: passing 'u8[50]' (aka 'unsigned char[50]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 298 | strcpy(save_description, state_name_auto); | ^~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ state_info.c:300:15: warning: passing 'u8[50]' (aka 'unsigned char[50]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 300 | if (strcmp(state_name_auto, temp18c[temp1f2].diz) == 0) | ^~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ state_info.c:300:32: warning: passing 'u8[31]' (aka 'unsigned char[31]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 300 | if (strcmp(state_name_auto, temp18c[temp1f2].diz) == 0) | ^~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ state_info.c:305:20: warning: passing 'u8[31]' (aka 'unsigned char[31]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 305 | if (strcmp("", temp18c[temp1f2].diz) == 0) | ^~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ state_info.c:322:21: warning: passing 'char[131]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 322 | message_box_draw("Use the arrow keys to select the slot in which you wish to save the game. Press ENTER to save in the slot, ESC to not save a game.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:11:34: note: passing argument to parameter 'str' here 11 | extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); | ^ state_info.c:325:21: warning: passing 'char[125]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 325 | message_box_draw("Use the arrow keys to select the game which you wish to restore. Press ENTER to restore the game, ESC to not restore a game.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:11:34: note: passing argument to parameter 'str' here 11 | extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); | ^ state_info.c:331:20: warning: passing 'char[143]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 331 | message_box_draw(" Sorry, this disk is full.\nPosition pointer and press ENTER\n to overwrite a saved game\nor press ESC and try again \n with another disk\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:11:34: note: passing argument to parameter 'str' here 11 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 337 | message_box_draw("Use the arrow keys to move\n the pointer to your name.\nThen press ENTER\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:11:34: note: passing argument to parameter 'str' here 11 | extern void message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); | ^ state_info.c:347:14: warning: passing 'char[6]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 347 | agi_printf(" - %s", temp18c[temp1f2].diz); | ^~~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ state_info.c:363:15: warning: passing 'u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 363 | strcpy(save_description, temp18c[temp1f2].diz); | ^~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ state_info.c:363:33: warning: passing 'u8[31]' (aka 'unsigned char[31]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 363 | strcpy(save_description, temp18c[temp1f2].diz); | ^~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ state_info.c:367:16: warning: passing 'u8[50]' (aka 'unsigned char[50]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 367 | strcpy(state_name_auto, temp18c[temp1f2].diz); | ^~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ state_info.c:367:33: warning: passing 'u8[31]' (aka 'unsigned char[31]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 367 | strcpy(state_naclang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c obj_show.c -o obj_show.o me_auto, temp18c[temp1f2].diz); | ^~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ state_info.c:434:23: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 434 | state_stream = fopen(name_temp->data, "rb"); | ^~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:243:37: note: passing argument to parameter '__filename' here 243 | 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]' (aka 'unsigned char[21]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 449 | if (strcmp(state_id, state.id) != 0) | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ state_info.c:449:23: warning: passing 'u8[21]' (aka 'unsigned char[21]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 449 | if (strcmp(state_id, state.id) != 0) | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 481 | if ((strlen(save_dir->data)>0)&&(strchr("\\/", save_dir->data[strlen(save_dir->data)-1]) != 0)) | ^~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ state_info.c:481:71: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 481 | if ((strlen(save_dir->data)>0)&&(strchr("\\/", save_dir->data[strlen(save_dir->data)-1]) != 0)) | ^~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ state_info.c:482:11: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 482 | dir_sep = ""; | ^ ~~ state_info.c:483:18: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 483 | else if (strchr(save_dir->data, '/')==0) | ^~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:88:37: note: passing argument to parameter '__s' here 88 | char *_LIBC_CSTR 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 484 | dir_sep = "\\"; | ^ ~~~~ state_info.c:486:11: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 486 | dir_sep = "/"; | ^ ~~~ state_info.c:493:10: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 493 | sprintf(filename->data, "%s%s%ssg.%d", save_dir->data, dir_sep, string_lower(state.id), save_num); | ^~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ state_info.c:545:28: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 545 | vstring_shift(dir, strspn(dir->data, " ")); | ^~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:109:28: note: passing argument to parameter '__s' here 109 | size_t strspn(const char *__s, const char *__charset); | ^ state_info.c:547:13: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 547 | if (strlen(dir->data) == 0) | ^~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ state_info.c:550:22: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 550 | path_size = strlen( dir->data); | ^~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ state_info.c:569:40: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 569 | if ( (dir->data[1] == ':') && (strlen(dir->data)==2) ) | ^~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ 21 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c game_id.c -o game_id.o 35 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c cmd_misc.c -o cmd_misc.o obj_show.c:65:15: warning: passing 'char[9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 65 | message_box("Not now."); | ^~~~~~~~~~ ./ui/msg.h:10:28: note: passing argument to parameter 'var8' here 10 | extern u16 message_box(u8 *var8); | ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c trace.c -o trace.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c config.c -o config.o cmd_misc.c:16:14: warning: passing 'char[29]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 16 | message_box(" NAGI\nBy Nick Sonneveld"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:10:28: note: passing argument to parameter 'var8' here 10 | extern u16 message_box(u8 *var8); | ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c list.c -o list.o config.c:48:33: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 48 | *conf_ptr->b.ptr = (strtol(key_data, 0, 10) != 0); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:186:26: note: passing argument to parameter '__str' here 186 | long strtol(const char *__str, char *_LIBC_CSTR *__endptr, int __base); | ^ config.c:54:36: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 54 | if ((key_data != 0) && (strcmp(key_data, conf_ptr->s.def)) ) | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ config.c:54:46: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 54 | if ((key_data != 0) && (strcmp(key_data, conf_ptr->s.def)) ) | ^~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 55 | *(conf_ptr->s.ptr) = strdup(key_data); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:141:40: note: passing argument to parameter '__s1' here 141 | char *_LIBC_CSTR strdup(const char *__s1); | ^ config.c:55:25: warning: assigning to 'CONF_STRING' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 55 | *(conf_ptr->s.ptr) = strdup(key_data); | ^ ~~~~~~~~~~~~~~~~ config.c:63:42: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 63 | *conf_ptr->i.ptr = (CONF_INT)strtol(key_data, 0, 0); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:186:26: note: passing argument to parameter '__str' here 186 | long strtol(const char *__str, char *_LIBC_CSTR *__endptr, int __base); | ^ trace.c:184:14: warning: passing 'char[27]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 184 | agi_printf("=========================="); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ trace.c:190:14: warning: passing 'char[11]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | agi_printf("%d: cmd.%d", logic_orig->num, op); | ^~~~~~~~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ trace.c:195:15: warning: passing 'char[7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 195 | agi_printf("%d: %s", logic_orig->num, "return"); | ^~~~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ trace.c:200:16: warning: passing 'char[7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 200 | agi_printf("%d: %s", logic_orig->num, logic_msg(op + table_offset)); | ^~~~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ trace.c:204:17: warning: passing 'char[12]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | agi_printf("%d: eval.%d", logic_orig->num, op); | ^~~~~~~~~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ trace.c:206:17: warning: passing 'char[11]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | agi_printf("%d: cmd.%d", logic_orig->num, op); | ^~~~~~~~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | agi_printf(" :%c", 'F'); | ^~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ trace.c:221:15: warning: passing 'char[5]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 221 | agi_printf(" :%c", 'T'); | ^~~~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ trace.c:266:15: warning: passing 'char[3]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 266 | agi_printf("%d", var_value); | ^~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ trace.c:268:15: warning: passing 'char[3]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 268 | agi_printf("%u", var_value); | ^~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ trace.c:288:16: warning: passing 'char[3]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 288 | agi_printf("%d",var_value); | ^~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 290 | agi_printf("%d", state.var[var_value]); | ^~~~ ./ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ 6 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c log.c -o log.o 12 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c version/agi_crc.c -o version/agi_crc.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c version/standard.c -o version/standard.o log.c:51:12: warning: passing 'u8[1000]' (aka 'unsigned char[1000]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 51 | sprintf(msg, "\n\nRoom %d\nInput line: %s\n", state.var[0], | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ log.c:53:23: warning: passing 'u8[1000]' (aka 'unsigned char[1000]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 53 | fwrite(msg, strlen(msg), 1, log_stream); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ log.c:55:23: warning: passing 'u8[1000]' (aka 'unsigned char[1000]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 55 | fwrite(msg, strlen(msg), 1, log_stream); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ 3 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c res/res_dir.c -o res/res_dir.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c res/res_vol.c -o res/res_vol.o version/standard.c:136:18: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 136 | st_end = strstr(ptr, ",\0\n\r"); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:110:40: note: passing argument to parameter '__big' here 110 | char *_LIBC_CSTR 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 136 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 165 | if (file_crc_gen("object", &agicrc->object) != 0) | ^~~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here 103 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | if (file_crc_gen("words.tok", &agicrc->words) != 0) | ^~~~~~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here 103 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 173 | if (file_crc_gen("vol.0", &agicrc->vol[0]) == 0) | ^~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here 103 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 183 | fname = find_first(&find_vol, "*vol.0"); | ^~~~~~~~ version/../sys/agi_file.h:35:40: note: passing argument to parameter 'name' here 35 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | tail = strstr(fname, "vol.0"); // get id | ^~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:110:40: note: passing argument to parameter '__big' here 110 | char *_LIBC_CSTR 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | tail = strstr(fname, "vol.0"); // get id | ^ ~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:196:13: warning: passing 'u8[21]' (aka 'unsigned char[21]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 196 | strcpy(info->file_id, fname); | ^~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 196 | strcpy(info->file_id, fname); | ^~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 211 | if ( (file_crc_gen("logdir", &agicrc->dir.log) | | ^~~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here 103 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 212 | file_crc_gen("snddir", &agicrc->dir.snd) | | ^~~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here 103 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | file_crc_gen("viewdir", &agicrc->dir.view) | | ^~~~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here 103 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 214 | file_crc_gen("picdir", &agicrc->dir.pic)) == 0) | ^~~~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here 103 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 221 | else if (file_crc_gen("dirs", &agicrc->dir_comb) == 0) | ^~~~~~ version/standard.c:103:22: note: passing argument to parameter 'file_name' here 103 | int file_crc_gen(u8 *file_name, u32 *crc32) | ^ version/standard.c:229:11: warning: passing 'u8[40]' (aka 'unsigned char[40]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 229 | sprintf(name, "%sdir", info->file_id); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ version/standard.c:243:11: warning: passing 'u8[40]' (aka 'unsigned char[40]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 243 | sprintf(name, "%svol.%d", info->file_id, i); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ version/standard.c:270:11: warning: passing 'u8[20]' (aka 'unsigned char[20]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 270 | sprintf(key_vol, "crc_vol_%d", i); | ^~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 325 | CRC_FUDGE("crc_object", object, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' 303 | #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 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ^ version/standard.c:325:2: warning: cast to smaller integer type 'int' from 'u8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 325 | CRC_FUDGE("crc_object", object, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:67: note: expanded from macro 'CRC_FUDGE' 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~~~~~~ version/standard.c:325:2: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 325 | CRC_FUDGE("crc_object", object, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:194:23: note: passing argument to parameter '__str' here 194 | strtoul(const char *__str, char *_LIBC_CSTR *__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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 328 | CRC_FUDGE("crc_words", words, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' 303 | #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 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ^ version/standard.c:328:2: warning: cast to smaller integer type 'int' from 'u8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 328 | CRC_FUDGE("crc_words", words, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:67: note: expanded from macro 'CRC_FUDGE' 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~~~~~~ version/standard.c:328:2: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 328 | CRC_FUDGE("crc_words", words, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:194:23: note: passing argument to parameter '__str' here 194 | strtoul(const char *__str, char *_LIBC_CSTR *__endptr, int __base); | ^ version/standard.c:333:11: warning: passing 'u8[20]' (aka 'unsigned char[20]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 333 | sprintf(key_vol, "crc_vol_%d", i); | ^~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ version/standard.c:334:3: warning: cast to smaller integer type 'int' from 'u8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 334 | CRC_FUDGE(key_vol, vol[i], i+3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:67: note: expanded from macro 'CRC_FUDGE' 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~~~~~~ version/standard.c:334:3: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 334 | CRC_FUDGE(key_vol, vol[i], i+3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:194:23: note: passing argument to parameter '__str' here 194 | strtoul(const char *__str, char *_LIBC_CSTR *__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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 342 | CRC_FUDGE("crc_dir", dir_comb, 19); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' 303 | #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 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ^ version/standard.c:342:4: warning: cast to smaller integer type 'int' from 'u8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 342 | CRC_FUDGE("crc_dir", dir_comb, 19); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:67: note: expanded from macro 'CRC_FUDGE' 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~~~~~~ version/standard.c:342:4: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 342 | CRC_FUDGE("crc_dir", dir_comb, 19); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:194:23: note: passing argument to parameter '__str' here 194 | strtoul(const char *__str, char *_LIBC_CSTR *__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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 348 | CRC_FUDGE("crc_dir_log", dir.log, 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' 303 | #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 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ^ version/standard.c:348:4: warning: cast to smaller integer type 'int' from 'u8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 348 | CRC_FUDGE("crc_dir_log", dir.log, 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:67: note: expanded from macro 'CRC_FUDGE' 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~~~~~~ version/standard.c:348:4: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 348 | CRC_FUDGE("crc_dir_log", dir.log, 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:194:23: note: passing argument to parameter '__str' here 194 | strtoul(const char *__str, char *_LIBC_CSTR *__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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 350 | CRC_FUDGE("crc_dir_pic", dir.pic, 21); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' 303 | #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 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ^ version/standard.c:350:4: warning: cast to smaller integer type 'int' from 'u8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 350 | CRC_FUDGE("crc_dir_pic", dir.pic, 21); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:67: note: expanded from macro 'CRC_FUDGE' 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~~~~~~ version/standard.c:350:4: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 350 | CRC_FUDGE("crc_dir_pic", dir.pic, 21); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:194:23: note: passing argument to parameter '__str' here 194 | strtoul(const char *__str, char *_LIBC_CSTR *__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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 352 | CRC_FUDGE("crc_dir_view", dir.view, 22); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' 303 | #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 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ^ version/standard.c:352:4: warning: cast to smaller integer type 'int' from 'u8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 352 | CRC_FUDGE("crc_dir_view", dir.view, 22); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:67: note: expanded from macro 'CRC_FUDGE' 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~~~~~~ version/standard.c:352:4: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 352 | CRC_FUDGE("crc_dir_view", dir.view, 22); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:194:23: note: passing argument to parameter '__str' here 194 | strtoul(const char *__str, char *_LIBC_CSTR *__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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 354 | CRC_FUDGE("crc_dir_snd", dir.snd, 23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:45: note: expanded from macro 'CRC_FUDGE' 303 | #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 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ^ version/standard.c:354:4: warning: cast to smaller integer type 'int' from 'u8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 354 | CRC_FUDGE("crc_dir_snd", dir.snd, 23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:303:67: note: expanded from macro 'CRC_FUDGE' 303 | #define CRC_FUDGE(x, y, z) key=ini_key(ini, (x) ); key_touched |= (int)key; \ | ^~~~~~~~ version/standard.c:354:4: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 354 | CRC_FUDGE("crc_dir_snd", dir.snd, 23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:305:31: note: expanded from macro 'CRC_FUDGE' 305 | && (agicrc->y != strtoul(key, 0, 16)) ) \ | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:194:23: note: passing argument to parameter '__str' here 194 | strtoul(const char *__str, char *_LIBC_CSTR *__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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~~~~~~~~~~~~~ version/../agi.h:381:55: note: expanded from macro 'strdupa' 381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \ | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ version/standard.c:377:13: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/../agi.h:382:13: note: expanded from macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 377 | crc_list = strdupa(c_standard_crc_list); | ^~~~~~~~~~~~~~~~~~~ version/../agi.h:382:19: note: expanded from macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 379 | token = strtok_r(crc_list, ",", (char**)&running); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:126:35: note: passing argument to parameter '__str' here 126 | strtok_r(char *_LIBC_CSTR __str, const char *__sep, | ^ version/standard.c:379:8: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 379 | token = strtok_r(crc_list, ",", (char**)&running); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:387:9: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 387 | token = strtok_r(0, ",", (char**)&running); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:413:23: warning: passing 'char[5]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 413 | name = ini_key(ini, "name"); | ^~~~~~ version/../sys/ini_config.h:27:34: note: passing argument to parameter 'key_name' here 27 | extern u8 *ini_key(INI *ini, u8 *key_name); | ^ version/standard.c:423:22: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 423 | str_size = strlen(dir_sub) + strlen(dir) + 10 + strlen("/ - AGI v"); | ^~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ version/standard.c:423:40: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 423 | str_size = strlen(dir_sub) + strlen(dir) + 10 + strlen("/ - AGI v"); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 425 | sprintf(name, "%s/%s - AGI v%d", dir_sub, dir, info->ver_type); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ version/standard.c:430:22: warning: passing 'u8[21]' (aka 'unsigned char[21]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 430 | str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); | ^~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 430 | str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); | ^~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 430 | str_size = strlen(info->file_id) + strlen(dir_sub) + strlen(dir) + 10 + strlen(" @ / - AGI v"); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 432 | sprintf(name, "%s @ %s/%s - AGI v%d", info->file_id, dir_sub, dir, info->ver_type); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ version/standard.c:438:10: warning: passing 'u8[81]' (aka 'unsigned char[81]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 438 | strncpy(info->name, name, 80); | ^~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ version/standard.c:438:22: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 438 | strncpy(info->name, name, 80); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' 128 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 439 | if (strlen(name) >= 80) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ version/standard.c:442:21: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 442 | info->name[strlen(name)] = 0; | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ version/standard.c:489:11: warning: passing 'u8[25]' (aka 'unsigned char[25]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 489 | sprintf(msg, "Games found: %d", game_count); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ version/standard.c:511:21: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~~~~~~~~~ version/../agi.h:381:55: note: expanded from macro 'strdupa' 381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \ | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ version/standard.c:511:13: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~~~~~~~~~~~~~~~~~~ version/../agi.h:382:13: note: expanded from macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ version/standard.c:511:21: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 511 | dir_list = strdupa(c_nagi_dir_list); | ^~~~~~~~~~~~~~~ version/../agi.h:382:19: note: expanded from macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 512 | token = strtok_r(dir_list, ";", (char**)&running); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:126:35: note: passing argument to parameter '__str' here 126 | strtok_r(char *_LIBC_CSTR __str, const char *__sep, | ^ version/standard.c:512:8: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 512 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 517 | dp = opendir(token); | ^~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/dirent.h:110:26: note: passing argument to parameter here 110 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 523 | if ( (chdir(token) != -1) && | ^~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:438:24: note: passing argument to parameter here 438 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 530 | gameinfo_add(list, ini, ep->d_name, token); | ^~~~~~~~~~ version/standard.c:452:45: note: passing argument to parameter 'dir_sub' here 452 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 536 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 581 | str_list[0] = "Use the arrow keys to select the game which you wish to play.\nPress ENTER to play the game, ESC to not play a game."; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/standard.c:611:30: warning: passing 'u8[81]' (aka 'unsigned char[81]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 611 | msg = a_malloc(200 + strlen(info->name) + strlen(info->dir->data)); | ^~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 611 | msg = a_malloc(200 + strlen(info->name) + strlen(info->dir->data)); | ^~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 614 | sprintf(msg, "About to execute the game\ndescribed as:\n\n%s\n\nfrom dir:\n %s\n\n%s", | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 652 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 661 | config_game[0].s.def = "v2.917"; | ^ ~~~~~~~~ version/standard.c:706:9: warning: passing 'u8[21]' (aka 'unsigned char[21]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 706 | strcpy(c_game_file_id, game->file_id); | ^~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ version/standard.c:706:25: warning: passing 'u8[21]' (aka 'unsigned char[21]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 706 | strcpy(c_game_file_id, game->file_id); | ^~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ version/standard.c:723:36: warning: passing 'u8[81]' (aka 'unsigned char[81]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 723 | window_caption = a_malloc(strlen(game->name) + strlen("NAGI - ") + 10); | ^~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 724 | sprintf(window_caption, "%s - NAGI", game->name); | ^~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 727 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 728 | SDL_WM_SetCaption(window_caption, 0); | ^~~~~~~~~~~~~~ /var/tmp/work/games/nagi/work/.buildlink/include/SDL/SDL_video.h:885:60: note: passing argument to parameter 'title' here 885 | extern DECLSPEC void SDLCALL SDL_WM_SetCaption(const char *title, const char *icon); | ^ version/standard.c:743:20: warning: passing 'const u8[81]' (aka 'const unsigned char[81]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 743 | return strcasecmp(info_a->name, info_b->name); | ^~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_strings.h:81:29: note: passing argument to parameter here 81 | int strcasecmp(const char *, const char *); | ^ version/standard.c:743:34: warning: passing 'const u8[81]' (aka 'const unsigned char[81]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 743 | return strcasecmp(info_a->name, info_b->name); | ^~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_strings.h:81:43: note: passing argument to parameter here 81 | int strcasecmp(const char *, const char *); | ^ version/standard.c:773:13: warning: passing 'char[31]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 773 | agi_printf("New Adventure Game Interpreter"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 797 | ini_standard = ini_open("standard.ini"); | ^~~~~~~~~~~~~~ version/../sys/ini_config.h:24:26: note: passing argument to parameter 'ini_name' here 24 | extern INI *ini_open(u8 *ini_name); | ^ 86 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c res/res_lzw.c -o res/res_lzw.o res/res_dir.c:87:32: warning: passing 'char[7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 87 | dir_log_data = file_to_buf("logdir"); | ^~~~~~~~ res/../sys/agi_file.h:33:28: note: passing argument to parameter 'file_name' here 33 | extern u8 *file_to_buf(u8 *file_name); | ^ res/res_dir.c:88:32: warning: passing 'char[7]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 88 | dir_pic_data = file_to_buf("picdir"); | ^~~~~~~~ res/../sys/agi_file.h:33:28: note: passing argument to parameter 'file_name' here 33 | extern u8 *file_to_buf(u8 *file_name); | ^ res/res_dir.c:89:33: warning: passing 'char[8]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 89 | dir_view_data = file_to_buf("viewdir"); | ^~~~~~~~~ res/../sys/agi_file.h:33:28: note: passing argument to parameter 'file_name' here 33 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 90 | dir_snd_data = file_to_buf("snddir"); | ^~~~~~~~ res/../sys/agi_file.h:33:28: note: passing argument to parameter 'file_name' here 33 | extern u8 *file_to_buf(u8 *file_name); | ^ res/res_dir.c:101:13: warning: passing 'u8[24]' (aka 'unsigned char[24]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | sprintf(dir_v3_name, "%sdir", c_game_file_id); | ^~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ res/res_dir.c:108:13: warning: passing 'u8[24]' (aka 'unsigned char[24]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 108 | sprintf(dir_v3_name, "dirs"); | ^~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ res/res_dir.c:176:10: warning: passing 'u8[100]' (aka 'unsigned char[100]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | sprintf(str, "%s %d not found", name, num); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ res/res_dir.c:186:13: warning: passing 'char[6]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 186 | dir_erres/res_vol.c:269:11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] r 269 | o r (s"plroignitcf(", num); | ^~~~~~~ msg, "Pres/res_dir.cl:e173ase insert disk %d\nand press ENT:20: note: passing argument to parameter 'name' here E 173R | .void dir"_e, rror(u8 *name, u16 num) | ^ | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintres/res_dir.c:195:13f_chk (str, 0, __darwin_obsz(str), _: warning: passing 'char[5]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] _ VA_ARGS__) | ^~~ 195 | dir_error("view", num); | res/res_vol.c ^~~~~~: 272:11: res/res_dir.cwarning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 272 | sp:173:20: note: rpassing argument to parameter 'name' herei ntf(msg ,173 | "vPolieda sdei ri_nesrerrotr (dui8s k* n%adm\e, u16 num) | ^ nand press ENTER.", | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darres/res_dir.cw:i204n:_13o:b warning: passing 'char[8]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | s zd(isrt_re)r,r o_r_(V"Ap_iAcRtGuSr_e", num);_ ) | ^~~~~~~~~| ^~~ res/res_dir.c:173:20: note: passing argument to parameter 'name' here 173 | void dir_error(u8 *name, u16 num) | ^ res/res_dir.c:213:13: warning: passing 'char[6]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | dir_error("sound", num); | ^~~~~~~ res/res_dir.c:173:20: note: passing argument to parameter 'name' here 173 | void dir_res/res_vol.c:284:10: warning: passing 'u8[200]' (aka 'unsigned char[200]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] error(u 8284 | * nsapmrei,n tu1f6( mnsugm_)main, "% | ^ s%s\n%s", "That is the wrong disk.\n\n", | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ res/res_vol.c:306:12: warning: passing 'u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 306 | sprintf(name, "%svol.%d", c_game_file_id, i); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ res/res_vol.c:308:12: warning: passing 'u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 308 | sprintf(name, "vol.%d", i); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ res/res_vol.c:352:11: warning: passing 'u8[100]' (aka 'unsigned char[100]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 352 | sprintf(msg, "Can't find %s.%s%s", name, | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ res/res_vol.c:370:7: warning: comparison of function 'print_err_code' equal to a null pointer is always false [-Wtautological-pointer-compare] 370 | if (print_err_code == 0) | ^~~~~~~~~~~~~~ ~ res/res_vol.c:370:7: note: prefix with the address-of operator to silence this warning 370 | if (print_err_code == 0) | ^ | & res/res_vol.c:370:7: note: suffix with parentheses to turn this into a function call 370 | if (print_err_code == 0) | ^ | () 11 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c res/res_pic.c -o res/res_pic.o 7 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/script.c -o sys/script.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/error.c -o sys/error.o sys/script.c:51:2: warning: set_mem_rm0() not implemented [-W#warnings] 51 | #warning set_mem_rm0() not implemented | ^ sys/script.c:66:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 66 | script_name = "load.logic"; | ^ ~~~~~~~~~~~~ sys/script.c:69:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 69 | script_name = "load.view"; | ^ ~~~~~~~~~~~ sys/script.c:72:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 72 | script_name = "load.pic"; | ^ ~~~~~~~~~~ sys/script.c:75:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 75 | script_name = "load.sound"; | ^ ~~~~~~~~~~~~ sys/script.c:78:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 78 | script_name = "draw.pic"; | ^ ~~~~~~~~~~ sys/script.c:81:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 81 | script_name = "add.to.pic"; | ^ ~~~~~~~~~~~~ sys/script.c:84:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 84 | script_name = "discard.pic"; | ^ ~~~~~~~~~~~~~ sys/script.c:87:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 87 | script_name = "discard.view"; | ^ ~~~~~~~~~~~~~~ sys/script.c:90:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 90 | script_name = "overlay.pic"; | ^ ~~~~~~~~~~~~~ sys/script.c:93:16: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 93 | script_name = "unknown"; | ^ ~~~~~~~~~ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/glob_sys.c -o sys/glob_sys.o 11 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/delay.c -o sys/delay.o sys/error.c:37:2: warning: beep_speaker() incomplete [-W#warnings] 37 | #warning beep_speaker() incomplete | ^ sys/error.c:51:2: warning: set_agi_error() incomplete [-W#warnings] 51 | #warning set_agi_error() incomplete | ^ sys/error.c:106:13: warning: passing 'u8[100]' (aka 'unsigned char[100]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 106 | snprintf(str, sizeof(str), "Disk error:\n%s\n", strerror(errno) ); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:60:29: note: expanded from macro 'snprintf' 60 | __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~ sys/error.c:109:65: warning: passing 'u8[100]' (aka 'unsigned char[100]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 109 | strncat(str, "\nPress ENTER to try again.", sizeof(str)-strlen(str)-1); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:143:34: note: expanded from macro 'strncat' 143 | __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ sys/error.c:109:10: warning: passing 'u8[100]' (aka 'unsigned char[100]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 109 | strncat(str, "\nPress ENTER to try again.", sizeof(str)-strlen(str)-1); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:143:28: note: expanded from macro 'strncat' 143 | __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ sys/error.c:110:58: warning: passing 'u8[100]' (aka 'unsigned char[100]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 110 | strncat(str, "\nPress ESC to quit.", sizeof(str)-strlen(str)-1); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:143:34: note: expanded from macro 'strncat' 143 | __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ sys/error.c:110:10: warning: passing 'u8[100]' (aka 'unsigned char[100]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 110 | strncat(str, "\nPress ESC to quit.", sizeof(str)-strlen(str)-1); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:143:28: note: expanded from macro 'strncat' 143 | __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ 7 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/memory.c -o sys/memory.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/rand.c -o sys/rand.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/endian.c -o sys/endian.o sys/memory.c:39:2: warning: text mode support needed [-W#warnings] 39 | #warning text mode support needed | ^ sys/memory.c:52:2: warning: move this screen buffer thingy to somewhere else [-W#warnings] 52 | #warning move this screen buffer thingy to somewhere else | ^ sys/memory.c:83:2: warning: need to fix error statement [-W#warnings] 83 | #warning need to fix error statement | ^ sys/memory.c:133:2: warning: finish cmd_show_mem [-W#warnings] 133 | #warning finish cmd_show_mem | ^ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/time.c -o sys/time.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/mem_wrap.c -o sys/mem_wrap.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/sys_dir.c -o sys/sys_dir.o sys/time.c:21:2: warning: check base.c disable clock and denit time [-W#warnings] 21 | #warning check base.c disable clock and denit time | ^ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/vstring.c -o sys/vstring.o 1 warning generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/ini_config.c -o sys/ini_config.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 96 | path_cpy = strdupa(argv0); | ^~~~~ sys/../agi.h:381:55: note: expanded from macro 'strdupa' 381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \ | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 96 | path_cpy = strdupa(argv0); | ^~~~~~~~~~~~~~ sys/../agi.h:382:13: note: expanded from macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 96 | path_cpy = strdupa(argv0); | ^~~~~ sys/../agi.h:382:19: note: expanded from macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ sys/sys_dir.c:101:27: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | end = path_cpy + strlen(path_cpy) - 1; | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ sys/sys_dir.c:172:17: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 172 | return chdir(dir_preset[preset_id]->data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:438:24: note: passing argument to parameter here 438 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 186 | value = getcwd(buff->data, buff->size); | ^~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:453:58: note: passing argument to parameter here 453 | char *_LIBC_CSTR getcwd(char *_LIBC_COUNT_OR_NULL(__size), size_t __size); | ^ sys/sys_dir.c:186:9: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 186 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 208 | if (strcasecmp(ep->d_name, f_name) == 0) | ^~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_strings.h:81:43: note: passing argument to parameter here 81 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | dp = opendir(d_name); | ^~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/dirent.h:110:26: note: passing argument to parameter here 110 | DIR *opendir(const char *) __DARWIN_ALIAS_I(opendir); | ^ 9 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/gfx.c -o sys/gfx.o sys/vstring.c:57:30: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 57 | if ( (str != 0) && ((strlen(str)+1) > vs_new->min) ) | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 58 | vs_new->size = strlen(str)+1; // +1 for null character at end of string | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 67 | strcpy(vs_new->data, str); | ^~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 67 | strcpy(vs_new->data, str); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 68 | vs_new->data[strlen(str)] = 0; | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 90 | vs->size = strlen(vs->data)+1; | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 107 | str_size = strlen(str)+1; | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | strcpy(vs->data, str); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | strcpy(vs->data, str); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | if (strlen(vs->data) < shift_size) | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ sys/ini_config.c:200:16: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 200 | if (strcmp(sect_name, ini->cur_ptr) == 0) | ^~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 200 | if (strcmp(sect_name, ini->cur_ptr) == 0) | ^~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 237 | if (strcmp(key_name, ini->cur_ptr) == 0) | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here 89 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 237 | if (strcmp(key_name, ini->cur_ptr) == 0) | ^~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 243 | ini->cur_ptr = strchr(ini->cur_ptr, '=') + 1; | ^~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:88:37: note: passing argument to parameter '__s' here 88 | char *_LIBC_CSTR 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 243 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 285 | key_data = ini_key(ini, "inherits"); | ^~~~~~~~~~ sys/ini_config.c:222:27: note: passing argument to parameter 'key_name' here 222 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 288 | inherits = alloca(strlen(key_data) + 1); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 289 | strcpy(inherits, key_data); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 289 | strcpy(inherits, key_data); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ 10 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/vid_render.c -o sys/vid_render.o 10 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/drv_dummy.c -o sys/drv_dummy.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/drv_sdl.c -o sys/drv_sdl.o 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 107 | if (!strcasecmp(c_vid_renderer, "cga0")) | ^~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_strings.h:81:29: note: passing argument to parameter here 81 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 109 | else if (!strcasecmp(c_vid_renderer, "cga1")) | ^~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_strings.h:81:29: note: passing argument to parameter here 81 | int strcasecmp(const char *, const char *); | ^ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/drv_video.c -o sys/drv_video.o 2 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/chargen.c -o sys/chargen.o clang -pipe -Os -I/opt/pkg/include/SDL -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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 45 | if (strcasecmp (c_vid_driver, "SDL") == 0) | ^~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_strings.h:81:29: note: passing argument to parameter here 81 | int strcasecmp(const char *, const char *); | ^ 1 warning generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c picture/pic_render.c -o picture/pic_render.o sys/chargen.c:104:17: warning: passing 'CONF_STRING' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 104 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~~~~~~~~~~~~ sys/../agi.h:381:55: note: expanded from macro 'strdupa' 381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \ | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 104 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sys/../agi.h:382:13: note: expanded from macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 104 | list = strdupa(c_vid_fonts_bitmap); | ^~~~~~~~~~~~~~~~~~ sys/../agi.h:382:19: note: expanded from macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 105 | token = strtok_r(list, ";", (char**)&running); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:126:35: note: passing argument to parameter '__str' here 126 | strtok_r(char *_LIBC_CSTR __str, const char *__sep, | ^ sys/chargen.c:105:8: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 105 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 109 | cur_file = fopen(token, "rb"); | ^~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:243:37: note: passing argument to parameter '__filename' here 243 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 133 | token = strtok_r(0, ";", (char**)&running); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sys/agi_file.c:59:22: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 59 | strcpy(token->name, name); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 64 | if(!strcmp(token->file->d_name, name)) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 65 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 67 | tok = strtok(name, "*"); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:111:45: note: passing argument to parameter '__str' here 111 | char *_LIBC_CSTR strtok(char *_LIBC_CSTR __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 75 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 94 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 104 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 132 | string_lower(strdupa(name)); | ^~~~ sys/../agi.h:381:55: note: expanded from macro 'strdupa' 381 | #define strdupa(str_data) ({ u8 *blah = alloca(strlen(str_data)+1); \ | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 132 | string_lower(strdupa(name)); | ^~~~~~~~~~~~~ sys/../agi.h:382:13: note: expanded from macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 132 | string_lower(strdupa(name)); | ^~~~ sys/../agi.h:382:19: note: expanded from macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 137 | testname = strdupa(fileent->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~ sys/../agi.h:382:13: note: expanded from macro 'strdupa' 382 | strcpy(blah, str_data); \ | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 137 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 138 | string_lower(testname); | ^~~~~~~~ sys/../ui/string.h:7:29: note: passing argument to parameter 'str' here 7 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | if(!strcmp(testname, name)) { | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | int strcmp(const char *__s1, const char *__s2); | ^ 14 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c picture/pic_res.c -o picture/pic_res.o 7 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c picture/sbuf_util.c -o picture/sbuf_util.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c picture/pic_add.c -o picture/pic_add.o picture/sbuf_util.c:98:2: warning: replicated from sbuff_plot code [-W#warnings] 98 | #warning replicated from sbuff_plot code | ^ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c logic/arithmetic.c -o logic/arithmetic.o 1 warning generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c logic/cmd_table.c -o logic/cmd_table.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c logic/logic_base.c -o logic/logic_base.o clang -pipe -Os -I/opt/pkg/include/SDL -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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 90 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 91 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 93 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 94 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 95 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 96 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 97 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 98 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 99 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 100 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 102 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 103 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 104 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 105 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 106 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 107 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 108 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 109 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 114 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 117 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 118 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 119 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 120 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 121 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 124 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 131 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 132 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 133 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 134 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 135 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 138 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | {"cmd.new.room.v", cmd_new_room_v, 1, 0x80}, | ^~~~~~~~~~~~~~~~ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 142 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 143 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 144 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 145 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 148 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 149 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 150 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 151 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 152 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 153 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 157 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 158 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 159 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 160 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 161 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 162 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 165 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 166 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 167 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 168 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 171 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 172 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 173 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 174 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 175 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 177 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 178 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 179 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 180 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 181 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 182 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 183 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 186 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 187 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 189 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 192 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 193 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 194 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 197 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 198 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 199 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 200 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 201 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 202 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 207 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 210 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 211 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 212 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 213 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 214 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 215 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 218 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 220 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 221 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 222 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 223 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 224 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 225 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 226 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 227 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 228 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 231 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 232 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 233 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 234 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 237 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 238 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 239 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 240 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 241 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 242 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 245 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 246 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 247 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 248 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 249 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 250 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 251 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 252 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 253 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 254 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 258 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 259 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 260 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 261 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 262 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 263 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 264 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 265 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 266 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 269 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 270 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 271 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 272 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 274 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 275 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 276 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 277 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 278 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 281 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 282 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 283 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 284 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 285 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 286 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 287 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 288 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 289 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 290 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 293 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 294 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 295 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 296 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 297 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 298 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 300 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 301 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 304 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 305 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 308 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 309 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 310 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 311 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 312 | {"cmd.discard.view.v", cmd_discard_view_v, 1, 0x80}, | ^~~~~~~~~~~~~~~~~~~~ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 313 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 314 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 317 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 318 | {"cmd.set.menu.item", cmd_set_menu_item, 2, 0}, | ^~~~~~~~~~~~~~~~~~~ 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 319 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 320 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 321 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 322 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 325 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 326 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 327 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 330 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 331 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 332 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 333 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 336 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 339 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 340 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 341 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 342 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 343 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 344 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 345 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 346 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 347 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 348 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 350 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 351 | {"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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 352 | {"cmd.adj.ego.move.to.x.y (incomplete)", cmd_do_nothing, 0, 0} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c logic/logic_execute.c -o logic/logic_execute.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/view_base.c -o view/view_base.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_update.c -o view/obj_update.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_blit.c -o view/obj_blit.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_base.c -o view/obj_base.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_proximity.c -o view/obj_proximity.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_position.c -o view/obj_position.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_loop.c -o view/obj_loop.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_motion.c -o view/obj_motion.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_drawerase.c -o view/obj_drawerase.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_cycle.c -o view/obj_cycle.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_motion_cmd.c -o view/obj_motion_cmd.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_block.c -o view/obj_block.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_priority.c -o view/obj_priority.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/obj_picbuff.c -o view/obj_picbuff.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/sound_base.c -o sound/sound_base.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/pcm_out.c -o sound/pcm_out.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/pcm_out_sdl.c -o sound/pcm_out_sdl.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/sound_gen.c -o sound/sound_gen.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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 35 | {"sdl", pcm_out_sdl_drv_init} | ^~~~~ 1 warning generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/tone.c -o sound/tone.o sound/sound_gen.c:188:18: warning: assigning to 'u8 *' (aka 'unsigned char *') from 's8[68]' (aka 'signed char[68]') converts between pointers to integer types with different sign [-Wpointer-sign] 188 | dissolve_data = dissolve_data_v2; | ^ ~~~~~~~~~~~~~~~~ sound/sound_gen.c:192:18: warning: assigning to 'u8 *' (aka 'unsigned char *') from 's8[78]' (aka 'signed char[78]') converts between pointers to integer types with different sign [-Wpointer-sign] 192 | dissolve_data = dissolve_data_v3; | ^ ~~~~~~~~~~~~~~~~ sound/sound_gen.c:284:2: warning: if chan 2.. change noise chan if appropriate [-W#warnings] 284 | #warning if chan 2.. change noise chan if appropriate | ^ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/tone_pcm.c -o sound/tone_pcm.o 3 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/drvpick.c -o sys/drvpick.o sound/tone.c:42:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 42 | {"pcm_16bit", tone_pcm_drv_init} | ^~~~~~~~~~~ 1 warning generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c ui/parse.c -o ui/parse.o sys/drvpick.c:54:33: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 54 | while ((i" thing? | ^~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ ui/cmd_input.c:138:12: warning: passing 'u8[42]' (aka 'unsigned char[42]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 138 | strcpy(input_prev, input); | ^~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ ui/cmd_input.c:138:24: warning: passing 'u8[42]' (aka 'unsigned char[42]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 138 | strcpy(input_prev, input); | ^~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ ui/cmd_input.c:176:26: warning: passing 'u8[42]' (aka 'unsigned char[42]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | if ( input_cur < strlen(input_prev)) | ^~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ 4 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c ui/menu.c -o ui/menu.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c ui/mouse.c -o ui/mouse.o ui/status.c:110:28: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 110 | si->col = 39 - strlen(si->name); | ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | si->name = "nothing"; // name | ^ ~~~~~~~~~ ui/status.c:139:2: warning: need the joystick BUTT map.. [-W#warnings] 139 | #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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 171 | agi_printf("You are carrying:"); | ^~~~~~~~~~~~~~~~~~~ ui/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 187 | agi_printf("Press ENTER to select, ESC to cancel"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 192 | agi_printf("Press a key to return to the game"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ ui/status.c:252:14: warning: passing 'char[15]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 252 | 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 1 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 256 | agi_printf("Sound:%s", "off"); | ^~~~~~~~~~ ui/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 258 | agi_printf("Sound:%s", "on"); | ^~~~~~~~~~ ui/../ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ 9 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c ui/list_box.c -o ui/list_box.o ui/menu.c:63:18: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 63 | m_name = strdup(logic_msg(*(c++))); | ^~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:141:40: note: passing argument to parameter '__s1' here 141 | char *_LIBC_CSTR strdup(const char *__s1); | ^ ui/menu.c:63:9: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 63 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 88 | menu_col += strlen(m_name) + 1; | ^~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 103 | name = strdup(logic_msg(*(c++))); | ^~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:141:40: note: passing argument to parameter '__s1' here 141 | char *_LIBC_CSTR strdup(const char *__s1); | ^ ui/menu.c:103:7: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 103 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | if ((strlen(name) + menu_cur->col) < 0x27) | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | menu_item_col = 0x27 - strlen(name); | ^~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 456 | menu_size_width = (strlen((m->head)->name) << 2) + 8; | ^~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 223 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 249 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | cmd_table[171].func_name = "cmd.push.script"; | ^ ~~~~~~~~~~~~~~~~~ 3 warnings generated. 8 warnings generated. ui/list_box.c:53:15: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 53 | if ((strlen(list[i]) > 550) || (size->w >= 500)) | ^~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 54 | agi_printf(" - *TOO LONG*"); | ^~~~~~~~~~~~~~~ ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ ui/list_box.c:57:12: warning: passing 'u8[500]' (aka 'unsigned char[500]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 57 | sprintf(str, " - %s", list[i]); | ^~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 59 | agi_printf("%s", str); | ^~~~ ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 67 | agi_printf("U"); | ^~~ ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 69 | agi_printf(" "); | ^~~ ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 73 | agi_printf("D"); | ^~~ ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | 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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 75 | agi_printf(" "); | ^~~ ui/printf.h:1:28: note: passing argument to parameter 'var8' here 1 | extern void agi_printf(u8 *var8, ...); | ^ 8 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -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 -lSDLmain -lSDL -lpthread -lcompat -o ../bin/nagi ld: library 'compat' not found 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 making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/nagi *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/nagi