=> "/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 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); | ^ 3 warnings generated. agi_string.c:95:10: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 95 | strncpy(di, logic_msg(*(c++)), STRING_SIZE); | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 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] 96 | siz e_t st76r | ldier_inni(tc(oanrsgtv [c0h]a)r; * _| _ ^~~~~~~s ); | ^ ./sys/sys_dir.h:20:26: note: passing argument to parameter 'argv0' here 20 | extern void dir_init(u8 *argv0); | ^ 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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c new_room.c -o new_room.o 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)) | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ 1 warning generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c objects.c -o objects.o 18 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c state_io.c -o state_io.o 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 agi.c -o agi.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)) | ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)); | ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ state_io.c:126:30: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | msg = alloca(200 + strlen(save_dir->data)); | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ state_io.c:129:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 129 | sprintf(msg, "About to restore the game\ndescribed as:\n\n%s\n\nfrom file:\n %s\n\n%s", | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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_io.c:136: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_stream = fopen(save_filename->data, "rb"); | ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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_io.c:139: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] 139 | sprintf(msg, "Can't open file:\n %s", save_filename->data); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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_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_box("Error in restoring game.\nPress ENTER to quit."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:10:28: note: passing argument to parameter 'var8' here 10 | extern u16 message_box(u8 *var8); | ^ state_io.c:212:10: 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(state_name_auto, state.string[*(c++)], 31); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ state_io.c:212:27: 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] 212 | strncpy(state_name_auto, state.string[*(c++)], 31); | ^~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ state_io.c:235: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] 235 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ 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] 235 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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: 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] 236 | msg = alloca(200 + strlen(save_filename->data)); | ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ state_io.c:238: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] 238 | msg = alloca(200 + strlen(save_dir->data)); | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ state_io.c:241: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] 241 | sprintf(msg, "About to save the game\ndescribed as:\n\n%s\n\nin file:\n %s\n\n%s", | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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_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 | save_stream = fopen(save_filename->data, "wb"); | ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:243:37: note: passing argument to parameter '__filename' here 243 | FILE *fopen(const char * __restrict __filename, const char * __restrict __mo1 warning generated. de) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); | ^ 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 | sprintf(msg, "The directory\n %s\n is full or the disk is write-protected.\nPress ENTER to continue." | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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_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 | remove(save_filename->data); | ^~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:268:25: note: passing argument to parameter here 268 | int remove(const char *); | ^ state_io.c:276:16: 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] 276 | message_box("The disk is full.\nPress ENTER to continue."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:10:28: note: passing argument to parameter 'var8' here 10 | extern u16 message_box(u8 *var8); | ^ state_io.c:330:2: warning: clear_memory() not implemented [-W#warnings] 330 | #warning clear_memory() not implemented | ^ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c state_info.c -o state_info.o 21 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c obj_show.c -o obj_show.o agi.c:125:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] 125 | {"log_debug", "nagi", CT_BOOL, b:{&c_nagi_log_debug, 0} }, | ^~ | .b = agi.c:126:26: warning: use of GNU old-style field designator extension [-Wgnu-designator] 126 | {"console", 0, CT_BOOL, b:{&c_nagi_console, 1} }, | ^~ | .b = agi.c:127:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] 127 | {"font_benchmark", 0, CT_BOOL, b:{&c_nagi_font_benchmark, 0} }, | ^~ | .b = agi.c:128:28: warning: use of GNU old-style field designator extension [-Wgnu-designator] 128 | {"crc_print", 0, CT_BOOL, b:{&c_nagi_crc_print, 0} }, | ^~ | .b = agi.c:129:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 129 | {"dir_list", 0, CT_STRING, s:{&c_nagi_dir_list, "."} }, | ^~ | .s = agi.c:130:25: warning: use of GNU old-style field designator extension [-Wgnu-designator] 130 | {"sort", 0, CT_STRING, s:{&c_nagi_sort, "alpha"} }, | ^~ | .s = agi.c:131:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] 131 | {"driver", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, | ^~ | .s = agi.c:132:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] 132 | {"scale", 0, CT_INT, i:{&c_vid_scale, 2, 1, -1} }, | ^~ | .i = agi.c:133:30: warning: use of GNU old-style field designator extension [-Wgnu-designator] 133 | {"full_screen", 0, CT_BOOL, b:{&c_vid_full_screen, 0} }, | ^~ | .b = agi.c:134:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 134 | {"renderer", 0, CT_STRING, s:{&c_vid_renderer, "ega"} }, | ^~ | .s = agi.c:135:27: warning: use of GNU old-style field designator extension [-Wgnu-designator] 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_pal_text, "pal_text.pal"} }, | ^~ | .s = agi.c:137:29: warning: use of GNU old-style field designator extension [-Wgnu-designator] 137 | {"pal_cga0", 0, CT_STRING, s:{&c_vid_pal_cga0, "pal_cga0.pal"} }, | ^~ | .s = 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 | {"enable", 0, CT_BOOL, b:{&c_snd_enable, 1} }, | ^~ | .b = agi.c:144:25: warning: use of GNU old-style field designator extension [-Wgnu-designator] 144 | {"single", 0, CT_BOOL, b:{&c_snd_single, 0} }, | ^~ | .b = agi.c:145:26: warning: use of GNU old-style field designator extension [-Wgnu-designator] 145 | {"dissolve", 0, CT_INT, i:{&c_snd_dissolve, 3, 0, 3} }, | ^~ | .i = agi.c:146:27: warning: use of GNU old-style field designator extension [-Wgnu-designator] 146 | {"read_var", 0, CT_BOOL, b:{&c_snd_read_var, 0} }, | ^~ | .b = 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, ""} }, | ^~ | .s = agi.c:150:3: warning: use of GNU old-style field designator extension [-Wgnu-designator] 150 | {key: 0} | ^~~~ | .key = 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_nagiobj_show.c_log_debug, 0: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."); agi.c| ^~~~~~~~~~ :125:./ui/msg.h:10:28: note: passing argument to parameter 'var8' here 16 10 | :e xwarning: 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 | {"log_debtern u16 meussg", "nagi"a,ge_box(u8 *var C8); | ^ T_BOOL, b:{&c_nagi_log_debug, 0} }, | ^~~~~~ agi.c:126: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] 126 | {"console", 0, CT_BOOL, b:{&c_nagi_console, 1} }, | ^~~~~~~~~ agi.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] 127 | {"font_benchmark", 0, CT_BOOL, b:{&c_nagi_font_benchmark, 0} }, | ^~~~~~~~~~~~~~~~ agi.c:128: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] 128 | {"crc_print", 0, CT_BOOL, b:{&c_nagi_crc_printstate_info.c:104: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] , 0} }, | ^~~~~~~~~~~ 104 | if (state_get_text("How would you like to describe thiagi.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 | s{"dir_list", 0, CT_S TRsaved game?\n\ING, s:{&c_nagi_dirn", save_descriptio_n, lsiiszte,o f"(.s"a}v e}_,d | ^~~~~~~~~~ escriagi.cption):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] ) == 129 | {"dir_list", 0, CT_STRING, s:{0) & | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c_nagi_dir_list, "."} }, | ^~~ agi.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] 130 | {"sort", 0, CT_STRING, s:{&c_nagi_sort, "state_info.c:60:alpha24: note: passing argument to parameter 'msg' here"} }, | ^~~~~~ 60 | u16 state_get_text(u8 *msg, u8 *str, agi.cu1:6130 :s42t:r _warning: ainitializing '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]l loc); 130| | ^ {"sort", 0, CT_STRING, s:{&c_nagi_sort, "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_STRING, s:{&c_vid_driver, "sdl"} }, | ^~~~~~~~ agi.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", "vid", CT_STRING, s:{&c_vid_driver, "sdl"} }, | ^~~~~ agi.c:131: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] 131 | {"driver", "vid", CT_STRING, s:{&c_vid_drivstate_info.c:169er, "sdl"} }, | ^~~~~ :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(magi.cs:g132-:>3d:a twarning: 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 | {"scale", 0, CT_INT, i:{&c_vid_as,c ale, 2, 1, -1} }, | ^~~~~~~ | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __builtiagi.cn__:_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] spri133n | t f{_"cfhukl l(_sstcrr,e e0n," , _0, CT__BdOaOrLw,i nb_:o{b&scz_(vsitdr_)f,u l_l__VsAc_rAeen, 0} }, | ^~~~~~~~~~~~~ RGS__) | ^~~ agi.c:134: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] 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 | 134 sprintf(msg->data, | {"ren | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:derer", 0, CT_STRING, s:{&c_vid_renderer, "ega"28} }:, note: expanded from macro 'sprintf'| 50 | __builtin__ ^~~~~~~~~~_ 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] s134 | {p"rrintf_chk (str, 0, __darwienderer", 0, CT_STRING, s:{&c_vid_rne_obsz(str), __VA_ARGS__) | ^~~ nderer, "ega"} }, | ^~~~~ 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] agi.c: 188 | vstr135ing_set_size(ms: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] 135 | {"pag, 100 + strlen(save_dir->data)); | ^~~~~~~~~~~~~~ l/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(_const char *__s); | ^ 16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, | ^~~~~~~~ agi.c:135:45: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 135 | {"pal_1state_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 | s6", 0, CT_STRING, prins:{&c_vidt_pal_16, "pal_1f(msg->data, | ^~~~~~~~~6 .pal"} }/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h,: 50| : ^~~~~~~~~~~~28 : note: expanded from macro 'sprintf' 50 | __buiagi.cltin___spri: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] 136nt | {"pal_text", 0,f _chk (str, 0, __darwin_obsz(sCT_STRING, tr), __VA_s:{&c_vARGS__) | ^~~ id_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, CT_STRING, s:{&c_vid_pal_text, "pal_text.pal"} }, | ^~~~~~~~~~~~~~ agi.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] 137 | {"pal_cga0", 0, CT_STRING, s:{&c_vid_pal_cga0, "pal_cga0.pal"} }, | ^~~~~~~~~~ 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 | {"pal_cga0", 0, CT_STRING, s:{&c_vid_pal_cga0, "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", 0, CT_STRING, s:{&c_vid_fonts_bitmap, "font_4x8.nbf;font_8x8.nbfstate_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 = al;font_16x16.nbf"} }, | ^~~~~~~~~~~~~~ loca(100 + strlen(save_dir->data)); | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_aagi.c:140:57: warning: linitializing '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] loc 140 | a (size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t{"fonts_bitmap", 0 , CT_STsRtrIlNG, s:{e&nc_vid_f(const char *__s); | ^ onts_bitmap, "font_4x8.nbf;fstate_info.cont_8x8.:n290:bf;font_16x16.nbf"} }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 | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~s printf(temp1f0, "There are no games to\nrestore in\n\n %s\n\nPressagi.c:141: ENTER to3: 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_vect continoure.", | " ^~~~~~~, 0, CT_STRING, s/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h::50:28: note: expanded from macro 'sprintf' 50{ | __buil&tic_nvid_fonts_vector, _"none.nvf"} }, | ^~~~~~~~~~~~~~ __sprintf_chk (str, 0,agi.c :_141_:d57a:r wwarning: iinitializing '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]n _obsz(s t141r | ) ,{ "_f_oVnAt_sA_RvGeSc_t_o)r " ,| ^~~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_STstate_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]R ING, s :298{ | strcpy(save_des&c_snd_drivecrr,i p"sdl"} }, | ^~~~~ tion, state_name_auto); | ^~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84: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]27 : note: expanded from macro 'strcpy' 142 | 84{ | " d r_i_vbeuri"l,t i"ns_n_d_"s,t rCcpy_chk (dest, __VA_ARGS__, __daT_STRING, rsw:{&c_sin_obsz (dest)) | ^~~~ nd_driver, "sdl"} }, | ^~~~~ 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] 298agi.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_ | strcpy(save_descripBOOL, b:{&c_sndtion, sta_te_name_auenable, 1} },to); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84: | ^~~~~~~~ agi.c:144:3:33: note: expanded from macro 'strcpy' 84 | __builtin_warning: __sinitializing '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]t rcpy_ch 144 | {"single",k (de st0,, _C_TV_AB_ARGSO_OL_,, b :__da{r&wci_ns_nodb_ssingle, 0} }, | ^~~~~~~~ z (dest)) | ^~~~~~~~~~~ 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, istate_info.c:{&c_snd_dissolve, 3, 0, 3} }, | ^~~~~~~~~~ :300:agi.c15:146:: 3:warning: 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]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_v 300 | if (sar", 0, CT_BOOL, b:{&c_snd_read_var,trcmp (0state_name_auto, temp18c[temp1f2].diz) =}= }0) , | ^~~~~~~~~~ agi.c | ^~~~~~~~~~~~~~~: /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89147::253:: note: warning: passing argument to parameter '__s1' hereinitializing '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 | {"v 89 | int strcmp(const char *_olume"_,s1, const char *__s2); | ^ 0, CT_INT, i:{&c_snd_volume, 0state_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 (stxrcmp(state_7FnaFF, 0, 0x7FFF} }, me_auto ,| ^~~~~~~~t emp18agi.c:c148[:t3e:m pwarning: 1initializing '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]f 2].diz )148 | = ={ "0d)r v _| v ^~~~~~~~~~~~~~~~~~~~i deo", "/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.hs:dl", CT_STRING, s89:{:&43c:_ snote: dpassing argument to parameter '__s2' herel _drv _89v | ideo, ""} }, | ^~~~~~~~~~~i nt agi.cs: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:{trcmp(const char *__s1, con&sct_ scdhla_rd r*v___vsi2d)e;o , | ^ ""} }, | ^~~~~ 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_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 | ifdrv_video, ""} }, | ^~ (strcmagi.cp:("", temp11498:c[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 | temp1f2].diz) == 0) | {"drv_sound", 0 ^~~~~~~~~~~~~~~~~~~~, CT_STR/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.hI:N89G:,43 :s :note: {passing argument to parameter '__s2' here& c_sd l89_ | dirnvt_ s osutnrdc,m "p("} }, | ^~~~~~~~~~~ const char *__s1, consagi.ct: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 | {"dr char *__s2);v_sound", 0, CT_STR | ^ ING, s:{&c_sdl_drv_sound, ""} }, | ^~ 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, ESCagi.c :156:38t:o warning: nuse of GNU old-style field designator extension [-Wgnu-designator]o t save a g156a | m e{.""c,r c _| l ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~i st", "standard", CT_STRING,./ui/msg.h:11:34: note: passing argument to parameter 'str' here s:{&c_standard_cr11c_l | extern void ist, "none"} }, | ^~ | .s = messageagi.c_:b157o:x29_:d rwarning: ause of GNU old-style field designator extension [-Wgnu-designator]w (u8 *str, u16 row, u16 w, u16 toggle); | ^ 157 | {"agi_list", 0, CT_STRING, s:{&c_standard_agi_list, "pc_2_936;pc_3_002_1state_info.c49;a:m325i:ga_2;amiga_3"} }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 s, | ^~ | .s = elect agi.c:the game which158 y:o26u: wwarning: iuse of GNU old-style field designator extension [-Wgnu-designator]s h to r e158s | t o{r"ef.o rPcree"s,s 0E,N TCETR_STRING, s:{&c_standard_force, "not defi to restore the game, ESC tned"} }, | ^~ | .s = o not restore a game.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:11:34: note: passing argument to parameter 'str' here 11 | extern void message_box_draw(u8 agi.c:*159:str, u311:6 warning: row,use of GNU old-style field designator extension [-Wgnu-designator] 159 | {"v2_d efault", 0, CT_STRING, s:{&cu16 w, u16_ standtardo_gvg2l_ed)e;f a | ^ ult, "pc_2_936"} }, 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 | 1 warningm generatede. s| sag ^~e _ b| o .s = x _draw(" Sorry, this disk is full.\nPosition pointer and press ENTER\n to overwrite a saved game\nor press ESC and try agagi.ca:i160:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] n \n 160 | {"v3_defaul t", 0, CT_STRING, s:{&c_standard with another dis_v3_default, "pc_3_00k\n", 2_149"} }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:11:34: note: passing argument to parameter 'str' here | ^~ 11 | extern void message_box_draw(u8 *st | .s = r, u16 row, u16 w, u16 toggle); | ^ state_info.c:337:20: agi.cwarning: :161:37: warning: use of GNU old-style field designator extension [-Wgnu-designator] 161 | {"amiga_v2_defaupassing '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]lt", 0, CT_STRING, 337s | : { &mce_ssstaagned_box_draw("Use tard_amhie ga_v2_defaualtr,r o"wa mkiega_2"} }, | ^~ | ys to mov .s = e\n the agi.cp:o162i:n37t:er to your name.\nThen press ENTER\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:11 :34:warning: use of GNU old-style field designator extension [-Wgnu-designator] note: passing argument to parameter 'str' here 11 162 | {"am | iega_v3_defaultxtern void message_box_draw(u8 *str, u16 row, ", 0, CT_uSTRING16 w, u16 toggle); | ^ state_info.c:,347:14: swarning: :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]{ &c_s 347 | agi_printf(" - %s", temp18ctandard[temp1f_2]a.mdiigza)_;v3_default, " a| m ^~~~~~~i ga_3"} },./ui/printf.h : 1| : ^~28 : | .s = note: passing argument to parameter 'var8' here 1 | extern void agi _printf(u8 *var8, ..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", "state_info.cs:363:t15a:n dwarning: ard", CT_Spassing '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] TR 363I | NG, s:{&c_standard_cr c _ l i sstt,r c"pnyo(nsea"v}e _}d,e s c| r ^~~~~~~~~~i ption, temp18c[temp1f2].diz); | ^~~~~~~~~~~~~~~~ agi.c:156:/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h63::84 :warning: 27initializing '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]: note: expanded from macro 'strcpy' 156 | {"c r84c | _ l i_s_tb"u,i l"tsitna_n_d_strcpy_chk (dest, __VA_ARGS__, ard", CT_STRING, s:_{&c_s_datranwdard_circn_l_obsz (deisst)) | ^~~~ t, "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 | {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] "agi_lis 363 | strcpy(save_t", 0, CT_Sdescription, temTpRING, s:{&c_standard_agi_1list, "pc_2_936;p8cc_[3t_002_149;amigea_m2p;amiga_3"} }, | 1f2].diz); ^~~~~~~~~~ | ^~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33agi.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 | {"a:gi _list", 0, CT_note: expanded from macro 'strcpy' 84 | __builtin___strcpyST_Rchk (deIsNGt,, s_:_{V&Ac__ARGS__, _standard_agi_l_dist, "pc_2_936;pc_3_002_149;amigarwin_obsz (dest)) | ^~~~~~~~~~~ a_2;amiga_3"} }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27agi.c:158:3:: warning: note: expanded from macro 'strcpy'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 | { 84 | "force", 0, CT_ST __builtin___strcpy_cRhkI N(Gd,e sst:,{ &c_standard_force,__ V"An_oAtR GdSe_f_i,n e_d_"d}a r}w,i n _| o ^~~~~~~bsz (dest)) | ^~~~ agi.c:158:48clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c game_id.c -o game_id.o :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] 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", 367 | strcpy0, CT_STRING, (s:s{t&act_e_name_auto, tempstandar18c[temp1d_force, "not defined"}f2] .di}z,) ; | ^~~~~~~~~~~~~| ^~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __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, CTbuiltin___strcpy_chk (dest, __VA_ARGS__, _STRING, s:{_&_cd_asrtwainnd_aorbds_zv 2(_dest)) | ^~~~~~~~~~~ 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"} }, | ^~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:243:37: note: passing argument to parameter '__filename' here 243 | FILE *fopen(const char * __restrict __filename, coagi.c:169n:33: warning: suse of GNU old-style field designator extension [-Wgnu-designator]t char * 169_ | _ restrict __mode) __DARWIN_ALI{AS_ST"ARTvIeNrGs(i_o_nM_AiCnfo", 0, CT__S1T0RING_,6, __IPHON s:{&c_game_version_info, 0E_2_0,} __D }A,R | ^~ | .s = WIN_ALIAS(fopen)); | ^ agi.c:170:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] 170 | {"mouse", 0, CT_INstate_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(statTe_id, i:{&c_game_mouse, 0, 0, 20} }, | ^~ , | .i = state.id) != 0) | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:25: note: passing argument to parameter '__s1' here agi.c 89: | 171i:n29t: warning: suse of GNU old-style field designator extension [-Wgnu-designator]t rcmp(c onst char *__171s | 1 ,{ "cloonst cohapr_ u*p_d_ast2e)", 0, CT_INT, ; | ^ i:{&c_gastate_info.cm:e449_:l23o:o pwarning: _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]u pd 449 | if (strcmp(statea_itde,, s0t,a t0e,. i4}d )} ,! = | 0 ^~) | | .i = ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:89:43: note: passing argument to parameter '__s2' here 89 | int strcmp(constagi.c :c173har *__s1, const char *_:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] _s2); 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 = 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->daagi.c:177:26: warning: use of GNU old-style field designator extension [-Wgnu-designator] ta[strlen(save_dir 177 | {"dir_typ-e>d"at,a 0, CT_INT, i):-{&c_game_di1]r)_type, 1, 0, 3 != 0)) | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:} }, | ^~ | .i = 28: note: passing argument to parameter '__s' here 96 | size_t strlen(const agi.cc:h178a:r3 :* _warning: _use of GNU old-style field designator extension [-Wgnu-designator]s ); 178| | ^ {key: 0} | ^~~~ | .key = agi.cstate_info.c::481169: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] : 16971: 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" | v eirfs i(o(ns_tirnlfeon"(,s a0v,e _CdTi_rS-T>RdIaNtGa,) >s0:){&&&c(_sgtarmceh_rv(e"r\s\i/o"n,_ isnafvoe,_ d0i}r -}>,d a t| a ^~~~~~~~~~~~~~[ strlen(save_dir->data)-1]) !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 _0)) | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); I | ^ NT, i:{&c_game_mouse, 0, 0, 20} }, | ^~~~~~~ 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] 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] 482 | 171 | d{"iloop_update", 0, CT_INT, i:{&c_rg_sep = "";a | ^ ~~ me_loop_update, 0, 0, 4} }, | ^~~~~~~~~~~~~ agi.cstate_info.c:173:483:18:: warning: 3passing '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]: 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] 483 | else if (strchr(save_ 173 | {"id", 0, CT_dir->data, '/')==0)S | T ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:88:37: note: passing argument to parameter '__s' here 88 | char *_RLIBC_CSTR strchr(const chaING, s:{&c_game_id, 0} }, | ^~~~ agi.c:174:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 174 | {"object_decrypt", 0, CT_BOOL, b:{&c_game_objerct _*d_e_csr,y pitn,t __c); | ^ 1} }, | ^~~~~~~~~~~~~~~~ state_info.c:agi.c484: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 | :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]dir_sep = "\\"; | ^ ~~~~ state_info.c175: | 486 :{11":o bwarning: jassigning 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]e ct _486p | a c kdeidr", 0, CT_BOOL, b:{&c_sep = "/"; _game_object_packed, 0} }, | ^~~~~~~~~~~~~~~ | ^ ~~~ agi.c:176:state_info.c3::493 :warning: 10initializing '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]: 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] 176 | {" compression", 0, CT_BOOL, b:{&c_g493am | e _scpormipnrtefs(sfiiolne,n a0m}e -}>,d a t| a ^~~~~~~~~~~~~, "%s%s%ssg.%d", save_dir->data, dir_sep, strinagi.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] g 177 | _ l{o"wdeirr(_sttyaptee".,i d0), C, save_nTu_mI)N;T | ^~~~~~~~~~~~~~ , i:{&c_game_dir_type, 1, 0, 3} }, | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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, " ")); | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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) | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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) ) | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ 109 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 35 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c trace.c -o trace.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 config.c -o config.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c list.c -o list.o 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, ...); | ^ 12 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c log.c -o log.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) ) | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) ) | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^ 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], | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ 3 warnings generated. 6 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 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 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); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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"); | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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_error("logic", 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:195:13: 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] 195 | dir_error("view", 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:204:13: 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 | dir_error("picture", 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_error(u8 *name, u16 num) | ^ 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 11 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 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"); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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 | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) ) \ | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) ) \ | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) ) \ | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) ) \ | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) ) \ | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) ) \ | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) ) \ | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) ) \ | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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"); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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"); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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"); | ^~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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"); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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"); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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; | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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) && | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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", | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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_pic.c -o res/res_pic.o res/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] 269 | sprintf(msg, "Please insert disk %d\nand press ENTER.", | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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:272: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] 272 | sprintf(msg, "Please insert disk %d\nand press ENTER.", | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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: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] 284 | sprintf(msg_main, "%s%s\n%s", "That is the wrong disk.\n\n", | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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, | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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) | ^ | () clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/script.c -o sys/script.o 7 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/error.c -o sys/error.o 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 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"; | ^ ~~~~~~~~~ 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) ); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:143:34: note: expanded from macro 'strncat' 143 | __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:143:34: note: expanded from macro 'strncat' 143 | __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:143:28: note: expanded from macro 'strncat' 143 | __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ 11 warnings generated. 7 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 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 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/endian.c -o sys/endian.o 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/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) ) | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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 | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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; | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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: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); \ | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chksys/vstring.c: 90:(21d:e swarning: tpassing '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_ | V A _ARGS__, __darwin_obsz vs->size = strlen(vs->(data)+1; | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:d96e:s28t:) )note: passing argument to parameter '__s' here | ^~~~~~~~~~~ 96 | size_t strlen(const char *__s); | ^ 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; | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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; | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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) | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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) | ^~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/dirent.h:110:26: note: passing argument to parameter here 110 | DIR *opendir(const char *) __DARWIN_ALIAS_I(opendir); | ^ 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) | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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) | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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) | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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) | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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; | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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/gfx.c -o sys/gfx.o 9 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 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")) | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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")) | ^~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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_sdl.c -o sys/drv_sdl.o 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 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); \ | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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"); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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/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) | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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 sys/agi_file.c -o sys/agi_file.o 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 7 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 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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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, "*"); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:42:31: note: expanded from macro 'alloca' 42 | #define alloca(size) __alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h:43:41: note: expanded from macro '__alloca' 43 | #define __alloca(size) __builtin_alloca(size) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); \ | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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)) { | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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/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 clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c logic/arithmetic.c -o logic/arithmetic.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/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 1 warning generated. 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 | {"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 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.gclang -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 ame.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 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 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/sound_gen.c -o sound/sound_gen.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/tone.c -o sound/tone.o 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 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} | ^~~~~~~~~~~ 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 | ^ 1 warning 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 3 warnings 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 clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c ui/window.c -o ui/window.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? | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ ui/events.c:331:2: warning: perhaps another time we could check for non-input events and use them [-W#warnings] 331 | #warning perhaps another time we could check for non-input events and use them | ^ ui/events.c:332:2: warning: doesnt matter for the time being since i dont check for them anyways [-W#warnings] 332 | #warning doesnt matter for the time being since i dont check for them anyways | ^ ui/msg.c:221: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] ui/events.c:340:2: warning: this is because sometimes poll_event always returns 1 event left [-W#warnings] 340 | #war ni221 | sprintf(msg_err, "Message too verbose:\n\n\"%s...\"\n\nPress ESC to continue.ng th", str); | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:28: note: expanded from macro 'sprintf' 50 | __buiiltisui/cmd_input.c n___sprintf_chk (s:i176s: 26b:e cwarning: apassing '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]u se 176stomertimes, 0, __darwin_obs z( | st if pr)oll_e( input_cu,v __VA_ARGS__) | ^~~ ent always returns r1 event lef t< | ^ strlen(input_prev)) | ui/events.c ^~~~~~~~~~: 346:2: warning: a bit missing for joystick [-W#warnings]/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h :96:28: note: passing argument to parameter '__s' here 96 | size_t st r346l | e#nw(acronnisntg cah abri t* mis_s_isn)g; f o| r ^ joystick | ^ ui/msg.c:415:17: 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] 415 | msg = strcpy(disp_last_word+1, msg); | ^~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | ui/events.c:478:2: warning: SHITLOADS MISSING FOR JOYSTICK SUPPORT [-W#warnings] 478 | #warning S __bHITLOADS MISSING FOR JOYuSTIiClKt iSnU_P_P_OsRtTr | ^ cpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))ui/events.c : | ^~~~ 484:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 484 | ui/msg.c:415} while ( :(si == 0) ); | 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] ~~~^~~~ 415 | msg = strcpy(disp_last_word+1, msg); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpyui/events.c:_484:c17:h knote: remove extraneous parentheses around the comparison to silence this warning( dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ 484 | } while ( (si == 0) ); ui/msg.c| : ~ ^ ~415: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] 415 | msg = strcui/events.c:484:17py(d:isp_last_word+1 note: use '=' to turn this equality comparison into an assignment 484 | } wh,ile ( (si == msg); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0) ); | ^~ | = 4 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c ui/controller.c -o ui/controller.o 8 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c ui/status.c -o ui/status.o 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 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); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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, ...); | ^ 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++))); | ^~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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; | ^~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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++))); | ^~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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 = (sclang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c ui/mouse.c -o ui/mouse.o trlen((m->head)->name) << 2) + 8; | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ 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 8 warnings generated. 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"; | ^ ~~~~~~~~~~~~~~~~~ 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)) | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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]); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.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, ...); | ^ 3 warnings generated. 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