=> "/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 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 flags.c -o flags.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 nagi_main.c -o nagi_main.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c initialise.c -o initialise.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c agi_string.c -o agi_string.o nagi_main.c:76:11: warning: passing 'char *' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 76 | dir_init(argv[0]); | ^~~~~~~ ./sys/sys_dir.h:20:26: note: passing argument to parameter 'argv0' here 20 | extern void dir_init(u8 *argv0); | ^ initialise.c:106:22: warning: passing 'char[9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 106 | ini_nagi = ini_open("nagi.ini"); | ^~~~~~~~~~ ./sys/ini_config.h:24:26: note: passing argument to parameter 'ini_name' here 24 | extern INI *ini_open(u8 *ini_name); | ^ initialise.c:168:2: warning: keyboard needs a bit of cleanup [-W#warnings] 168 | #warning keyboard needs a bit of cleanup | ^ initialise.c:206:29: warning: passing 'char[10]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | words_tok_data = file_load("words.tok", 0); | ^~~~~~~~~~~ ./res/res.h:26:26: note: passing argument to parameter 'name' here 26 | extern u8 *file_load(u8 *name, u8 *buff); | ^ 1 warning generated. 3 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c new_room.c -o new_room.o clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c objects.c -o objects.o agi_string.c:95:10: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 95 | strncpy(di, logic_msg(*(c++)), STRING_SIZE); | ^~ /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 96 | size_t strlen(const char *__s); | ^ agi_string.c:152:12: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 152 | strcpy(str, buff); | ^~~ /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)) | ^~~~~~~~~~~ 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)) | ^~~~~~~~~~~ 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 1 warning generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c state_info.c -o state_info.o state_io.c:74:29: warning: passing 'char[67]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 74 | user_result = message_box("Press ENTER to restart\nthe game.\n\nPress ESC to continue\nthis game."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:10:28: note: passing argument to parameter 'var8' here 10 | extern u16 message_box(u8 *var8); | ^ state_io.c:123:14: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 123 | if (strlen(save_filename->data) > strlen(save_dir->data)) | ^~~~~~~~~~~~~~~~~~~ /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 __mode) __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 | ^ 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_nagi_log_debug, 0} }, | ^~~~~~~~~~~ agi.c:125:16: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | {"log_debug", "nagi", CT_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_print, 0} }, | ^~~~~~~~~~~ agi.c:129:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 129 | {"dir_list", 0, CT_STRING, s:{&c_nagi_dir_list, "."} }, | ^~~~~~~~~~ agi.c:129:50: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 129 | {"dir_list", 0, CT_STRING, s:{&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, "alpha"} }, | ^~~~~~ agi.c:130:42: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | {"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_driver, "sdl"} }, | ^~~~~ agi.c:132:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 132 | {"scale", 0, CT_INT, i:{&c_vid_scale, 2, 1, -1} }, state_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] | 104 | if (state_get_ ^~~~~~~ text("How would you like agi.ct:o describe this sa133:v3e: 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] d game?\n\n", save_desc 133 | ription, sizeof(save_description)) {"full_scre en", 0, CT_BOO== 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ L, b:{state_info.c:&60:24c: _note: passing argument to parameter 'msg' herev id 60 | u16 state__full_screen, 0} }, | ^~~~~~~~~~~~~ get_tagi.cex:t134:(u8 *msg,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] 134 | {u8 *"sretnr, u1d6e strer", 0, r_alloc); C | ^T _STRING, s:{&c_vid_renderer, "ega"} }, | ^~~~~~~~~~ agi.c:134:49: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 134 | {"renderer", 0, CT_STRING, s:{&c_vid_renderer, "ega"} }, | ^~~~~ agi.c:135: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 | {"pal_16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, | ^~~~~~~~ agi.c:135:45: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 135 | {"pal_16", 0, CT_STRING, s:{&c_vid_pal_16, "pal_16.pal"} }, | ^~~~~~~~~~~~ agi.c:136:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 136 | {"pal_text", 0, CT_STRING, s:{&c_vid_pal_text, "pal_text.pal"} }, | ^~~~~~~~~~ agi.c:136:49: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 136 | {"pal_text", 0, 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.nbf;font_16x16.nbf"} }, | ^~~~~~~~~~~~~~ agi.c:140:57: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[41]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | {"fonts_bitmap", 0, CT_STRING, s:{&c_vid_fonts_bitmap, "font_4x8.nbf;font_8x8.nbf;font_16x16.nbf"} }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agi.c:141:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 141 | {"fonts_vector", 0, CT_STRING, s:{&c_vid_fonts_vector, "none.nvf"} }, | ^~~~~~~~~~~~~~ agi.c:141:57: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 141 | {"fonts_vector", 0, CT_STRING, s:{&c_vid_fonts_vector, "none.nvf"} }, | ^~~~~~~~~~ agi.c:142:state_info.c:169:12: warning: 3passing '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]: 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 169 | sprintf(msg->,d ast:a{,& c_snd_driver, "s dl | ^~~~~~~~~ /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 | __builagi.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 | {"drtin___spriiver", "sndntf_chk (str," ,0 CT_S,TRIN G_, s:{&c_s_ndda_rwin_obsz(str), __VA_ARGS__) | d ^~~ river, "sdl"} }, | ^~~~~ agi.c:142:49: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 142 | {"driver", "snd", CT_STRING, s:{&c_snd_driver, "sdl"} }, | ^~~~~ agi.c:143:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 143 | {"enable", 0, CT_BOOL, b:{&c_snd_enable, 1} }, | ^~~~~~~~ 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] 173agi.c | :144:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 144 | {"single", 0, C T_BOOL, sprintf(m b:{&c_snd_single, 0} }, s g| - ^~~~~~~~ >data, | ^~~~~~~~~ agi.c:145:3: warning: /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.hinitializing '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]:50: 28: note: expanded from macro 'sprintf' 145 | {"d 50 | __builtiin___sprintf_cssolve", 0, CT_INT, i:{&hc_k (str, 0, snd_dissolve_,_ 3, 0, 3} }, | ^~~~~~~~~~ darwin_obsz(str), __VA_agi.cARGS__) | ^~~ :146:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 146 | {"read_var", 0, CT_BOOL, b:{&c_snd_read_var, 0} }, | ^~~~~~~~~~ state_info.c:188:38: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | vstring_set_size(msg, 100 + strlen(save_dir->data)); agi.c:147| : ^~~~~~~~~~~~~~ 3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] /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 147 | { " 96 | size_t strlen(const char *__vs); o l| u ^m e", 0, CT_INT, i:{&c_snd_volume, 0x7FFF, 0, 0x7FFF} }, | ^~~~~~~~ agi.c:148:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 148 | {"drv_video", "sdl", CT_Sstate_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 | TsprinRING, s:{&c_sdl_drv_vidtf(msg-e>o,d "a"ta, | ^~~~~~~~~ } }, | ^~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:28: agi.c:148:16: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 148 | {"drv_video", "sdl", CT_STRInote: expanded from macro 'sprintf' NG, s:{&c_sd 50 | l_drv_video, ""} }, | ^~~~~ __agi.c:148:55: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 148 | {"drbuiltin___sprinvtf__vcihdke o("s,t r",s d0l," ,_ _CdTarwin_obs_STRING, s:{&c_sdl_z(str), __VAd_ARGS__) | ^~~ rv_video, ""} }, | ^~ agi.c:149:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 149 | {"drv_sound", 0, CT_STRING, s:{&c_sdl_drv_sound, ""} }, | ^~~~~~~~~~~ agi.c:149:51: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 149 | {"drv_sound", 0, CT_STRING, s:{&c_sdl_drv_sound, ""} }, | ^~ agi.c:156:38: warning: use of GNU old-style field designator extension [-Wgnu-designator] 156 | {"crc_lisstate_info.c:288:33: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 288 | temp1f0 = alloca(100 + st", "standard", CT_STRING, s:{&tc_srtlaennd(asradv_ec_rdci_rl-i>sdta,t a")n)o;n e "| } }, | ^~ | .s = ^~~~~~~~~~~~~~ agi.c/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/alloca.h::15742::2931:: warning: note: use of GNU old-style field designator extension [-Wgnu-designator]expanded from macro 'alloca' 42157 | | # 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{(si"zaeg)i __l_ibsuti"l,t i0n,_ aClTl_oScTaR(IsNiGz,e )s : {| & ^~~~c _standard_agi_/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(constl char *is_t_,s); | ^" pc_2_936;pc_3_002state_info.c:_149290;:a11: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 290 | sprintf(temp1f0, "There are no games to\nrestore in\n\n %s\n\nPress ENTER tomiga_2; continuaem."i,g a _3"| } }, | ^~ | ^~~~~~~ .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__) | ^~~ agi.c:158:26: warning: use of GNU old-style field designator extension [-Wgnu-designator] 158 | {"force", 0, CT_STRING, s:{&c_standard_force, "not defined"} }, | ^~ | .s = state_info.c:298:10: agi.c:159:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] 159 | {"v2_default", 0, CTwarning: 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] _STRING, s:{298&c | _ s sttracnpdya(rsda_vve2__ddeesfcaruilptt,i o"np,c _s2t_a9t3e6_"na}m e}, | ^~ | .s = _auto); | ^~~~~~~~~~~~~~~~ agi.c:160:31: warning: use of GNU old-style field designator extension [-Wgnu-designator] /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h: 84:27: 160note: expanded from macro 'strcpy' | {84" | v 3 ___budefauilltt"i,n _0_,_ sCtTr_cSpTyR_IcNhGk, (sd:e{s&tc,_ s_t_aVnAd_aArRdG_Sv_3__,d e_f_aduarlwti,n _"pc_obsz (3_002d_est)) | ^~~~ 149"} }, | ^~ state_info.c| .s = agi.c:161::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] 37: warning: use of GNU old-style field designator extension [-Wgnu-designator] 161 | 298 | { "amiga_v2_default", 0, CT_STR strcpy(save_descriptIionN,G ,s tate_name_auto); | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:s33::{&c_standard_amiga note: expanded from macro 'strcpy' 84 | __v2_default, _builtin___s"amiga_2"} }, trcpy_chk | ( ^~ | .s = dest, __VA_ARGS__, _agi.c:_162d:a37: warning: use of GNU old-style field designator extension [-Wgnu-designator] 162 | {"amiga_v3_defarwin_oult", 0, CT_STRING, s:{&c_standard_amiga_v3_default, "amiga_3"} }, | ^~ | .s = bsz agi.c(:de163s:3t:)) | ^~~~~~~~~~~ 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 | state_info.c :300:15: warning: passing 'u8[50]' (aka 'unsigned char[50]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] {" 300 | if (strcmp(statec_namer_ca_ultios,t "t,e m"pstandard", CT_S1T8RcI[NtGe,m sp:1{f2].di&zc)_ s=tandard_crc= 0)_list, "none"} | ^~~~~~~~~~~~~~~ /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); | ^ agi.c:156:state_info.c15: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]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] 300 | if (strc m156p | ( s{t"ate_name_auto,c terc_list", "mspt1andard", CT_S8TcR[ItNeGm,p 1sf:2{]&.c_dsitza)n =d=a r0d)_ c rc_list, "none"} },| | ^~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~ agi.c:156:63: /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.hwarning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 156 | {"crc_li:89:43: note: passing argument to parameter '__s2' here 89 | int strcmp(const char *__s1st,", "consst tachar n*d__sard", CT_S2); T | ^ RING, s:{&c_standard_crc_list, "none"} }, | ^~~~~~ agi.c:157:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 157 | {"agi_list", 0, CT_STRING, s:{&c_standard_agi_list, "pc_2_936;pc_3_002_149;amiga_2;amiga_3"} }, | ^~~~~~~~~~ agi.c:157:54: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[38]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 157 | {"agi_list", 0, CT_STRING, s:{&c_standard_agi_list, "pc_2_936;pc_3_002_149;amiga_2;amigstate_info.ca: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] _3"} }, | 305 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | if (strcmp("", temp18c[temagi.cp1:158:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 158 | {"forcef", 02,] .CdTi_zS)T R=I=NG, s:{&c_ stan0) d| ^~~~~~~~~~~~~~~~~~~~ ard_fo/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.hrce, "not d:e89:43:f note: passing argument to parameter '__s2' here 89 | int sitrncemdp"(}c o}n,s t | c ^~~~~~~h ar *__s1, const char *__s2); agi.c| :158:48: warning: initializing 'CONF_STRING' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 158 ^ | {"force", 0, CT_STRING, s:{&c_standard_force, "not defined"} }, | ^~~~~~~~~~~~~ agi.c:159state_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] :3 322 | mess: 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] a g159e | _ b{o"xv_2d_rdaewf(a"uUlste" ,t h0e, aCrTr_oSTRING, s:{&c_standard_v2_defauwlt, "kpc_2_936"} }, | ^~~~~~~~~~~~ eys to sagi.ce:159:l58:e 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:ct {&c_standard_v2_default, "ptc_2_936"} }, | ^~~~~~~~~~ agi.c:160:3:h e 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, CTs_lSoTtR IiNnG ,w s:{&c_standard_v3_default, "pc_3_h002_14ich 9y"} }, | ^~~~~~~~~~~~ ouagi.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_ dwish to save the game. Presefaulst EN"TER to s,a ve in the slot, ESC to0 not save a game.", , C| T_ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~S TRING,./ui/msg.h:11:34: note: passing argument to parameter 'str' here s:{& c11 | extern void mes_standard_sage_bvo3x__dderfaawult, "pc_3(_0u8 *str02_149"} }, | ^~~~~~~~~~~~~~ , u1agi.c6 row, u16 w, u16 toggle); | ^ :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_defastate_info.cu:l325t:"21, 0, CT_STRING, s:{&c_standard_amiga_: 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] v2_default, " amiga_2"} }, | ^~~~~~~~~~~~~~~~~~ 325 | messagi.ca: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] ge _161b | ox_draw("Use the arrow k {"amiga_v2_default", eys to select the game which you0, C T_STRING, s:{&cwish to restore_.standard_amiga_v2_d efaPurlt, "amigesa_2"} }, s ENTER to | re ^~~~~~~~~ store the game, ESC agi.ct:o162 :n3o:t warning: restore a game.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]./ui/msg.h:11: 34: note: passing argument to parameter 'str' here 11 | extern vo id message_box_d162 | {"raw(u8 *str, u16a row, u16 w, u1mi6ga toggle); | ^ _v3_default", 0, CT_STRING, s:{&c_standard_amiga_v3_default, "astate_info.cm:i331g:a20_:3 "warning: }passing 'char[143]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] }, | ^~~~~~~~~~~~~~~~~~ 331 | message_box_draw(" Sorry, this disk is full.\nagi.cP:o162s:i70t:i owarning: ninitializing '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] pointer a162n | d {p"raemsisg aE_NvT3E_Rd\enf a u l tt"o, o0v,e rCwTr_ite a saved game\STRING, s:{&c_standard_amiga_v3_default, "amiga_3"} }, | ^~~~~~~~~ nor press ESC and try again \n with another disk\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:11:34: note: passing argument to parameter 'str' here agi.c:169: 33: warning: use of GNU old-style field designator extension [-Wgnu-designator] 169 | {"version_i11nfo", 0, CT_STRING, s:{&c_game_version_in | fo, ex0tern voi} }, | ^~ | .s = d message_box_draw(u8 *str, u16 row, u16 w, u16 toggle); | ^ agi.c:170:23: warning: use of GNU old-style field designator extension [-Wgnu-designator] 170 | {"state_info.c:337:20: warning: passing 'char[76]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 337 | m message_box_draw("Use the arrow koeys to move\n use", the pointer 0t,o C Tyour name.\nThen press _INT, i:E{NTER\&c_game_moun", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ui/msg.h:11:34: note: passing argument to parameter 'str' here s 11 | ee,x t0e,r n0 ,v 20} },o | ^~ | .i = id message_box_draagi.cw:171:29: (warning: u8 *str, u16 row,use of GNU old-style field designator extension [-Wgnu-designator] u16 w, u16 toggle); | ^ 171 | {"loop_update", 0, CT_INT, i:{&c_game_loop_updastate_info.cte, 0, 0, 4} }, | ^~ | .i = :347agi.c::17314: warning: passing 'char[6]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 347 | ag:i_pr23i:n warning: use of GNU old-style field designator extension [-Wgnu-designator] tf(" - %s",173 | t e{m"pi1d8"c,[ t0e,m pC1Tf_2S]T.RdIiNzG),; s :| { ^~~~~~~& c_game_./ui/printf.hi:d1,: 280:} note: }passing argument to parameter 'var8' here, | ^~ | .s = 1 | extern void agi_printf(u8 *varagi.c:174:33: warning: use of GNU old-style field designator extension [-Wgnu-designator] 174 | {"object_decrypt",8, ...); | ^ 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:176state_info.c::363:15: warning: passing 'u8[32]' (aka 'unsigned char[32]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 363 | strcpy(save_de30s: warning: use of GNU old-style field designator extension [-Wgnu-designator] cription, temp 18176 | {"cco[mtpemrp1ession",f 2].diz); | ^~~~~~~~~~~~~~~~ /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 (0, CT_BOOL, b:{&c_game_compression, 0} }, | ^~ | .b = deagi.cs:177t:,26: warning: use of GNU old-style field designator extension [-Wgnu-designator] 177 | {"d __VA_AiRGS_r__,t y_pe", 0, CT_IN_darwin_oTb,s zi :{&c_game_dir_(typdee,s t1),) | ^~~~ 0, 3} }, state_info.c:363:33: | ^~ | .i = warning: passing 'u8[31]' (aka 'unsigned char[31]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 363 | strcpyagi.c(save_descrip:178:3: warning: use of GNU old-style field designator extension [-Wgnu-designator] t ion, temp18c[temp1f2].di178z) | {k; | ^~~~~~~~~~~~~~~~~~~~e y: 0} | ^~~~ | .key = /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' agi.c:169:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 84 | __b uiltin___169s | t {rcpy"_chk (desvt, __VA_AeRrsGS__,ion_info", 0, C__Td_STRING, s:{&arwic_game_version_inn_obfso, 0}z } , (des t| ^~~~~~~~~~~~~~ )agi.c:170:3:) | ^~~~~~~~~~~ warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 170 | {"mouse", 0, CT_INT, i:{&c_game_mouse, 0, 0, 20} }, | ^~~~~~~ agi.c:171:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 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] 171 367 | | {"l strcpy(state_name_auto, temp18c[tempo1f2].doizp_up); | ^~~~~~~~~~~~~~~ da/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:te84:27: note: expanded from macro 'strcpy' 84 | ", 0, __ bCT_INTuiltin___strc,py _i:chk (d{e&cs_t, game__loo_p_VA_AuRpGS_date, _, __da0, 0, rwin_4ob}sz }, (de | ^~~~~~~~~~~~~ st)) | ^~~~ agi.c: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] 173:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 367 | strcpy(state_name_auto, temp 173 | {"id", 0, CT_STRING, s:{&18c[tempc1_gf2].diz); | ^~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:am33e: note: expanded from macro 'strcpy' 84 | __buil_tin___strcpy_chk (dest, __VA_ARid, 0} },G S| _ ^~~~_ , __darwin_obsz (dest)) | ^~~~~~~~~~~ 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_object_decrypt, 1} }, | ^~~~~~~~~~~~~~~~ agi.c:175:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 175 | {"object_packed", 0, CT_BOOL, b:{&c_game_object_packed, 0} }, | ^~~~~~~~~~~~~~~ agi.c:176:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | {"compression", 0, CT_BOOL, b:{&c_game_compression, 0} }, | ^~~~~~~~~~~~~ agi.c:177:3: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 177 | {"dir_type", 0, CT_INT, i:{&c_game_dir_type, 1, 0, 3} }, | ^~~~~~~~~~ state_info.c: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, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); | ^ state_info.c:449:13: warning: passing 'u8[21]' (aka 'unsigned char[21]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 449 | if (strcmp(state_id, state.id) != 0) | ^~~~~~~~ /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); | ^ state_info.c:449:23: warning: passing 'u8[21]' (aka 'unsigned char[21]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 449 | if (strcmp(state_id, state.id) != 0) | ^~~~~~~~ /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); | ^ state_info.c:481:14: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 481 | if ((strlen(save_dir->data)>0)&&(strchr("\\/", save_dir->data[strlen(save_dir->data)-1]) != 0)) | ^~~~~~~~~~~~~~ /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:481:71: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 481 | if ((strlen(save_dir->data)>0)&&(strchr("\\/", save_dir->data[strlen(save_dir->data)-1]) != 0)) | ^~~~~~~~~~~~~~ /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 c109h warnings generated. ar *__s); | ^ state_info.c:482:11: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 482 | dir_sep = ""; | ^ ~~ state_info.c:483:18: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 483 | else if (strchr(save_dir->data, '/')==0) | ^~~~~~~~~~~~~~ /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); | ^ state_info.c:484:11: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 484 | dir_sep = "\\"; | ^ ~~~~ state_info.c:486:11: warning: assigning to 'u8 *' (aka 'unsigned char *') from 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 486 | dir_sep = "/"; | ^ ~~~ state_info.c:493:10: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 493 | sprintf(filename->data, "%s%s%ssg.%d", save_dir->data, dir_sep, string_lower(state.id), save_num); | ^~~~~~~~~~~~~~ /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_shifobj_show.c:65:15: warning: passing 'char[9]' to parameter of type 'u8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t (65 | message_box("Nodir, strt now."); | ^~~~~~~~~~ sp./ui/msg.hn:10:28: (note: dir->data,passing argument to parameter 'var8' here " " )); | ^~~~~~~~~10 | extern u16 me/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.hs:109sage_box(:u8 28: note: *var8); | ^ 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); | ^ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c game_id.c -o game_id.o 1 warning 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); | ^ 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, ...); | ^ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c config.c -o config.o 1 warning generated. 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, ...); | ^ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c list.c -o list.o 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 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 |= (i11 warnings generated. nt)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); | ^ 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: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.csys/error.c::6637::162: 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_nam e = "loawarning: beep_speaker() incomplete [-W#warnings] d.logic"; | ^ ~~~~~~~~~~~~ 37 | #warninsys/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] g 69be | ep _ s psecarkieprt(_)n aimnec o=m p"lleotaed . v| i ^e w"; | ^ ~~~~~~~~~~~ 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/error.c:51:2: warning: set_agi_error() incomplete [-W#warnings] | ^ ~~~~~~~~~~~~ 51 | #warning set_asys/script.cg:i84_:e16r:r owarning: rassigning 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]( ) incomplete 84 | script_name = "discard.p ic| " ^; | ^ ~~~~~~~~~~~~~ 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: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)) | ^~~~ 7 warnings generated. 11 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/delay.c -o sys/delay.o 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 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 | ^ 1 warning generated. 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 clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sys/vstring.c -o sys/vstring.o 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/vstring.c:90:21: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 90 | vs->size = strlen(vs->data)+1; | ^~~~~~~~ /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: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_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ sys/sys_dir.c:101:27: warning: passing 'u8 *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 101 | end = path_cpy + strlen(path_cpy) - 1; | ^~~~~~~~ /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/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/sys_dir.c:186sys/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] :18: warning: 200passing '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] | if 186( | s t rvcamlpu(es e=c tg_entacmwd(buff->ed,a tian,i -b>ucfufr->size); | ^~~~~~~~~~_ ptr) == /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h0:)453 : 58 :| ^~~~~~~~~~~~note: passing argument to parameter here 453 | char *_LIBC_CSTR getcwd(/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.hchar *_LIBC_COUNT_OR:_89N:U43:L Lnote: (passing argument to parameter '__s2' here_ _size), size_t89 | int strcmp( __size); | ^ const char *__s1,sys/sys_dir.c:186: 9const : 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]c har *_ _s1862 | ) valu; e = getcwd(buff->data, buff| - ^> size); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 | 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] if (strcmp(k 208 | iefy _(nsatmre, ini->cur_ptcasecmp(ep->d_name, f_name) == 0) | ^~~~~~r) == 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 c/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 har *__s1, conststrcasecmp(const char *, const char *); | ^ 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, '=') +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] 1 ;225 | | d ^~~~~~~~~~~~p = open/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.hd:i88r:(37d:_ nnote: apassing argument to parameter '__s' herem e); | ^~~~~~88 | char/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/dirent.h :*110_:LIB26C: note: passing argument to parameter here 110 | DIR *opendir(_CSTR strchr(constc chaorn s*t__s, icnhta r_ _*c)) ;_ _ D| A ^R WIN_ALIAS_I(opendir); | ^ 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); | ^ 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 14 warnings generated. 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 | {"cmd.set.key", cmd_set_key, 3, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:273:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | {"cmd.add.to.pic", cmd_add_to_pic, 7, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:274:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[17]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 274 | {"cmd.add.to.pic.v", cmd_add_to_pic_v, 7, 0xFE}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:275:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 275 | {"cmd.status", cmd_status, 0, 0}, | ^~~~~~~~~~~~ logic/cmd_table.c:276:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 276 | {"cmd.save.game (incomplete)", cmd_save_game, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:277:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 277 | {"cmd.restore.game (incomplete)", cmd_restore_game, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:278:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[27]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 278 | {"cmd.init.disk (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:281:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[17]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 281 | {"cmd.restart.game", cmd_restart_game, 0, 0}, | ^~~~~~~~~~~~~~~~~~ logic/cmd_table.c:282:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 282 | {"cmd.show.obj", cmd_show_obj, 1, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:283:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 283 | {"cmd.random", cmd_random, 3, 0x20}, | ^~~~~~~~~~~~ logic/cmd_table.c:284:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 284 | {"cmd.program.control", cmd_program_control, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:285:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[19]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 285 | {"cmd.player.control", cmd_player_control, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:286:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[30]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 286 | {"cmd.obj.status.v (incomplete)", cmd_do_nothing, 1, 0x80}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:287:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 287 | {"cmd.quit", cmd_quit, 1, 0}, | ^~~~~~~~~~ logic/cmd_table.c:288:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[26]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 288 | {"cmd.show.mem (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:289:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 289 | {"cmd.pause", cmd_pause, 0, 0}, | ^~~~~~~~~~~ logic/cmd_table.c:290:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[14]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 290 | {"cmd.echo.line", cmd_echo_line, 0, 0}, | ^~~~~~~~~~~~~~~ logic/cmd_table.c:293:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 293 | {"cmd.cancel.line", cmd_cancel_line, 0, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:294:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[26]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 294 | {"cmd.init.joy (incomplete)", cmd_do_nothing, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:295:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[19]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 295 | {"cmd.toggle.monitor", cmd_toggle_monitor, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:296:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 296 | {"cmd.version", cmd_version, 0, 0}, | ^~~~~~~~~~~~~ logic/cmd_table.c:297:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 297 | {"cmd.script.size", cmd_script_size, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:298:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[16]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 298 | {"cmd.set.game.id", cmd_set_game_id, 1, 0}, | ^~~~~~~~~~~~~~~~~ logic/cmd_table.c:299:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | {"cmd.log", cmd_log, 1, 0}, | ^~~~~~~~~ logic/cmd_table.c:300:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[19]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 300 | {"cmd.set.scan.start", cmd_set_scan_start, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:301:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[21]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 301 | {"cmd.reset.scan.start", cmd_reset_scan_start, 0, 0}, | ^~~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:304:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[18]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 304 | {"cmd.reposition.to", cmd_reposition_to, 3, 0}, | ^~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:305:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 305 | {"cmd.reposition.to.v", cmd_reposition_to_v, 3, 0x60}, | ^~~~~~~~~~~~~~~~~~~~~ logic/cmd_table.c:308:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 308 | {"cmd.trace.on", cmd_trace_on, 0, 0}, | ^~~~~~~~~~~~~~ logic/cmd_table.c:309:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[15]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 309 | {"cmd.trace.info", cmd_trace_info, 3, 0}, | ^~~~~~~~~~~~~~~~ logic/cmd_table.c:310:5: warning: initializing 'u8 *' (aka 'unsigned char *') with an expression of type 'char[13]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 310 | {"cmd.print.at", cmd_princlang -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 t_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} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c view/view_base.c -o view/view_base.o 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} | ^~~~~ 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 1 warning generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c sound/tone.c -o sound/tone.o 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/cmd_input.c:176:26: warning: passing 'u8[42]' (aka 'unsigned char[42]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 176 | if ( input_cur < strlen(input_prev)) | ^~~~~~~~~~ /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); | ^ 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/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 = (strlen((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); | ^ 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, ...); | ^ clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c ui/mouse.c -o ui/mouse.o 8 warnings generated. 9 warnings generated. clang -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -DRAD_LINUX -DRAD_WARN -c ui/list_box.c -o ui/list_box.o ui/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/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] 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 | 223 | agi_printf(" cmd_t"); able[| 1 ^~~7 1].funcui/printf.h_:n1a:m28e: =note: passing argument to parameter 'var8' here" cmd. p1 | extern void agi_printoll.mousef"; ( u8 *| ^ ~~~~~~~~~~~~~~~~ var8, ...); | ^ 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"; | ^ ~~~~~~~~~~~~~~~~~ 8 warnings generated. 3 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