=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xscavenger-1.4.4nb3 --- anim.o --- --- edit.o --- --- scav.o --- --- anim.o --- clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBNAME=\"/opt/pkg/share/scavenger\" -DSOUNDDEV="\"\"" -I/opt/pkg/include -c anim.c --- edit.o --- clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBNAME=\"/opt/pkg/share/scavenger\" -DSOUNDDEV="\"\"" -I/opt/pkg/include -c edit.c --- scav.o --- clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBNAME=\"/opt/pkg/share/scavenger\" -DSOUNDDEV="\"\"" -I/opt/pkg/include -c scav.c --- edit.o --- In file included from edit.c:5: ./scav.h:384:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern uchar *getgfx(); ^ void ./scav.h:427:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern uchar *getgfx(int num); ^ --- anim.o --- In file included from anim.c:12: ./scav.h:384:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern uchar *getgfx(); ^ void ./scav.h:427:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern uchar *getgfx(int num); ^ --- scav.o --- In file included from scav.c:14: ./scav.h:384:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern uchar *getgfx(); ^ void ./scav.h:427:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern uchar *getgfx(int num); ^ --- anim.o --- anim.c:96:13: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] getsquare(asquare,animbox); ^~~~~~~ --- scav.o --- scav.c:211:8: warning: initializing 'uchar *' (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] uchar *wantiff="Picture file must be in IFF format.\n"; --- anim.o --- ./anim.h:24:29: note: passing argument to parameter 'dest' here --- scav.o --- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- anim.o --- extern void getsquare(char *dest,int num); ^ --- edit.o --- edit.c:58:10: warning: returning 'char[33]' from a function with result type 'uchar *' (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] return "level must have exactly 1 player"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:60:10: warning: returning 'char[38]' from a function with result type 'uchar *' (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] return "level cannot have more than 5 enemies"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:62:10: warning: returning 'char[48]' from a function with result type 'uchar *' (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] return "level must have exactly 0 or 3 flashing objects"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:64:10: warning: returning 'char[46]' from a function with result type 'uchar *' (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] return "level must have exactly 0 or 3 hidden enemies"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:66:10: warning: returning 'char[60]' from a function with result type 'uchar *' (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] return "if you have escape ladders, you must have at least 1 object"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:75:10: warning: returning 'char[52]' from a function with result type 'uchar *' (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] return "there must be at least 1 empty space on the top row"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- scav.o --- scav.c:292:11: warning: returning 'char[40]' from a function with result type 'uchar *' (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] return "Could not allocate memory for picture.\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:295:10: warning: passing 'uchar[256]' (aka 'unsigned char[256]') 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] sprintf(temparea,"%s/%s/%s",localname,localdirname,name); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' --- edit.o --- edit.c:197:14: warning: passing 'char[37]' to parameter of type 'uchar *' (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] centermsg("use alt-l to load over current level"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:26:30: note: passing argument to parameter 'from' here extern void centermsg(uchar *from); ^ --- scav.o --- __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ --- edit.o --- edit.c:216:15: warning: passing 'char[21]' to parameter of type 'uchar *' (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] centermsg("cannot write level 0"); ^~~~~~~~~~~~~~~~~~~~~~ ./edit.h:26:30: note: passing argument to parameter 'from' here extern void centermsg(uchar *from); ^ edit.c:220:35: warning: passing 'uchar[16]' (aka 'unsigned char[16]') 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] got=getresource((clevel-1)<<1,buff,16); ^~~~ ./scav.h:396:38: note: passing argument to parameter 'put' here extern int getresource(int num,char *put,int len); ^ edit.c:224:16: warning: passing 'char[38]' to parameter of type 'uchar *' (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] centermsg("use alt-w to overwrite existing level"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:26:30: note: passing argument to parameter 'from' here extern void centermsg(uchar *from); ^ edit.c:253:16: warning: passing 'char[22]' to parameter of type 'uchar *' (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] centermsg("could not write level"); ^~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:26:30: note: passing argument to parameter 'from' here extern void centermsg(uchar *from); ^ edit.c:255:16: warning: passing 'char[23]' to parameter of type 'uchar *' (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] centermsg("could not delete movie"); ^~~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:26:30: note: passing argument to parameter 'from' here extern void centermsg(uchar *from); ^ edit.c:257:16: warning: passing 'char[12]' to parameter of type 'uchar *' (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] centermsg("level saved"); ^~~~~~~~~~~~~ ./edit.h:26:30: note: passing argument to parameter 'from' here extern void centermsg(uchar *from); ^ --- scav.o --- scav.c:296:13: warning: passing 'uchar[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ihand=open(temparea,O_RDONLY); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/fcntl.h:554:26: note: passing argument to parameter here int open(const char *, int, ...) __DARWIN_ALIAS_C(open); ^ scav.c:299:11: warning: passing 'uchar[256]' (aka 'unsigned char[256]') 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] sprintf(temparea,"%s/%s",libname,name); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:300:14: warning: passing 'uchar[256]' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ihand=open(temparea,O_RDONLY); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/fcntl.h:554:26: note: passing argument to parameter here int open(const char *, int, ...) __DARWIN_ALIAS_C(open); ^ scav.c:302:11: warning: returning 'char[27]' from a function with result type 'uchar *' (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] return "Cannot open picture file.\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- anim.o --- anim.c:280:13: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') 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] copysquare(temp,userbrush); ^~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:280:18: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(temp,userbrush); ^~~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ --- edit.o --- edit.c:300:4: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] i=strlen(from); ^ edit.c:300:4: note: include the header or explicitly provide a declaration for 'strlen' edit.c:300:11: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- scav.o --- scav.c:279:7: warning: variable 'comp' set but not used [-Wunused-but-set-variable] uchar comp; ^ --- edit.o --- i=strlen(from); ^~~~ edit.c:313:10: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') 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] sprintf(temp,"level %04d l=load w=write spc=try esc=exit ->=inc lev <-=dec lev",clevel); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ edit.c:314:11: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i=strlen(temp); ^~~~ --- scav.o --- scav.c:357:24: warning: passing 'uchar *' (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] *picput++ = fixbyte(lines+i,1< or explicitly provide a declaration for 'strcpy' edit.c:346:11: warning: passing 'uchar[80]' (aka 'unsigned char[80]') 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] strcpy(ewant,einfo()); ^~~~~ edit.c:346:17: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(ewant,einfo()); ^~~~~~~ --- scav.o --- scav.c:407:14: warning: passing 'uchar[8]' (aka 'unsigned char[8]') to parameter of type '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 (strncmp(buff,"SCAV",4)) return -3; ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ scav.c:453:13: warning: passing 'uchar[8]' (aka 'unsigned char[8]') to parameter of type '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(strncmp(buff,"SCAV",4)) return -3; ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ --- anim.o --- anim.c:671:32: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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(where==BLOWUP) copysquare(savesquare,asquare); ^~~~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:671:43: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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(where==BLOWUP) copysquare(savesquare,asquare); ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ anim.c:687:16: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(tsquare2,asquare); ^~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:687:25: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(tsquare2,asquare); ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ anim.c:688:16: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(asquare,savesquare); ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:688:24: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(asquare,savesquare); ^~~~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ anim.c:689:16: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(savesquare,tsquare2); ^~~~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:689:27: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(savesquare,tsquare2); ^~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here --- scav.o --- scav.c:530:36: warning: passing 'uchar[180]' (aka 'unsigned char[180]') 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] err = getresource ((num-1) << 1, tlevel, 180); ^~~~~~ scav.c:395:31: note: passing argument to parameter 'put' here int getresource(int num,char *put,int len) ^ --- anim.o --- void copysquare(char *dest,char *source) ^ anim.c:693:16: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(savesquare,asquare); ^~~~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:693:27: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(savesquare,asquare); ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ anim.c:757:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] getsquare(asquare,animbox); ^~~~~~~ anim.c:121:22: note: passing argument to parameter 'dest' here void getsquare(char *dest,int num) ^ anim.c:759:15: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(savesquare,asquare); ^~~~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:759:26: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(savesquare,asquare); ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ anim.c:776:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] getsquare(savesquare,animbox); ^~~~~~~~~~ anim.c:121:22: note: passing argument to parameter 'dest' here void getsquare(char *dest,int num) ^ anim.c:777:22: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] putsquare(animbox,asquare); ^~~~~~~ anim.c:136:30: note: passing argument to parameter 'source' here void putsquare(int num,char *source) ^ anim.c:808:15: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(asquare,savesquare); ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:808:23: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(asquare,savesquare); ^~~~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ anim.c:813:15: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(asquare,savesquare); ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:813:23: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(asquare,savesquare); ^~~~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ anim.c:822:15: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(tsquare,asquare); ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:822:23: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(tsquare,asquare); ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ --- scav.o --- scav.c:616:11: warning: passing 'uchar[64]' (aka 'unsigned char[64]') 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] sprintf(ttt,"PLAYER:%s",playername); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ --- anim.o --- anim.c:833:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(tsquare,asquare); ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:833:22: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(tsquare,asquare); ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ anim.c:842:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(tsquare,asquare); ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:842:22: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(tsquare,asquare); ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ anim.c:861:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(tsquare2,asquare); ^~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:861:23: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(tsquare2,asquare); ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ anim.c:862:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(asquare,savesquare); ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:862:22: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(asquare,savesquare); ^~~~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ anim.c:863:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(savesquare,tsquare2); ^~~~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:863:25: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(savesquare,tsquare2); ^~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ --- scav.o --- scav.c:674:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void writestring(str,x,y,color) ^ --- anim.o --- anim.c:922:13: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] getsquare(asquare,animbox); ^~~~~~~ anim.c:121:22: note: passing argument to parameter 'dest' here void getsquare(char *dest,int num) ^ anim.c:923:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(tsquare,asquare); ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ anim.c:923:22: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(tsquare,asquare); ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ anim.c:960:21: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] putsquare(animbox,asquare); ^~~~~~~ anim.c:136:30: note: passing argument to parameter 'source' here void putsquare(int num,char *source) ^ --- scav.o --- scav.c:782:45: warning: passing 'uchar[4118]' (aka 'unsigned char[4118]') 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] err = getresource (1 + ((clevel-1) << 1), movie, MOVIEMAX+20); ^~~~~ scav.c:395:31: note: passing argument to parameter 'put' here int getresource(int num,char *put,int len) ^ scav.c:879:10: warning: passing 'uchar[73]' (aka 'unsigned char[73]') 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] sprintf(topwant,"LEVEL %04d BEST %05ld %-18sBONUS %03d00 SCORE %05ld",clevel,bestscore,bestname,time1,score); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:896:45: warning: passing 'uchar[4118]' (aka 'unsigned char[4118]') 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] err = getresource (1 + ((clevel-1) << 1), movie, 20); ^~~~~ scav.c:395:31: note: passing argument to parameter 'put' here int getresource(int num,char *put,int len) ^ --- anim.o --- anim.c:986:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] getsquare(tsquare,j*12+i); ^~~~~~~ anim.c:121:22: note: passing argument to parameter 'dest' here void getsquare(char *dest,int num) ^ --- scav.o --- scav.c:973:20: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ptx=320-8*(strlen(txt)/2); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ --- anim.o --- anim.c:1007:10: warning: passing 'uchar[128]' (aka 'unsigned char[128]') 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] sprintf(ttt,"%s artwork: %s",descriptions[workingon], ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ --- scav.o --- scav.c:993:14: warning: passing 'char[22]' to parameter of type 'uchar *' (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] centertext("YOU PASSED THE LEVEL!"); ^~~~~~~~~~~~~~~~~~~~~~~ --- anim.o --- anim.c:1009:13: warning: passing 'uchar[128]' (aka 'unsigned char[128]') 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] drawstring(ttt,4,4,255); ^~~ ./x.h:80:30: note: passing argument to parameter 'str' here extern void drawstring(char *str,int x,int y,int color); ^ --- scav.o --- scav.c:968:25: note: passing argument to parameter 'txt' here void centertext (uchar *txt) ^ scav.c:994:11: warning: passing 'uchar[64]' (aka 'unsigned char[64]') 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] sprintf(ttt,"SCAVENGED %05ld\n",score); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ --- anim.o --- anim.c:1033:14: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] --- scav.o --- scav.c:996:11: warning: passing 'uchar[64]' (aka 'unsigned char[64]') 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] --- anim.o --- getsquare0(tsquare,BUTTONFIGS+i); ^~~~~~~ anim.c:105:23: note: passing argument to parameter 'dest' here --- scav.o --- sprintf(ttt,"TIME BONUS %03d00\n",time1); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' --- anim.o --- void getsquare0(char *dest,int num) ^ --- scav.o --- __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:1001:15: warning: passing 'char[22]' to parameter of type 'uchar *' (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] centertext("NO TRAPPING 20000\n"); ^~~~~~~~~~~~~~~~~~~~~~~~ scav.c:968:25: note: passing argument to parameter 'txt' here void centertext (uchar *txt) ^ scav.c:1005:15: warning: passing 'char[22]' to parameter of type 'uchar *' (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] centertext("NO KILLING 10000\n"); ^~~~~~~~~~~~~~~~~~~~~~~~ scav.c:968:25: note: passing argument to parameter 'txt' here void centertext (uchar *txt) ^ scav.c:1008:14: warning: passing 'char[12]' to parameter of type 'uchar *' (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] centertext("-----------"); ^~~~~~~~~~~~~ scav.c:968:25: note: passing argument to parameter 'txt' here void centertext (uchar *txt) ^ --- anim.o --- anim.c:1066:12: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] getsquare(asquare,animbox); ^~~~~~~ anim.c:121:22: note: passing argument to parameter 'dest' here void getsquare(char *dest,int num) ^ anim.c:1071:12: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] getsquare(asquare,animbox); ^~~~~~~ anim.c:121:22: note: passing argument to parameter 'dest' here void getsquare(char *dest,int num) ^ anim.c:1072:13: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(savesquare,asquare); ^~~~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here void copysquare(char *dest,char *source) ^ --- scav.o --- scav.c:1009:11: warning: passing 'uchar[64]' (aka 'unsigned char[64]') 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] sprintf(ttt, "\nFINAL SCORE %05ld\n",score); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:1013:15: warning: passing 'char[1]' to parameter of type 'uchar *' (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] centertext(""); ^~ scav.c:968:25: note: passing argument to parameter 'txt' here void centertext (uchar *txt) ^ --- anim.o --- anim.c:1072:24: warning: passing 'uchar[576]' (aka 'unsigned char[576]') 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] copysquare(savesquare,asquare); ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here void copysquare(char *dest,char *source) ^ --- scav.o --- scav.c:1014:12: warning: passing 'uchar[64]' (aka 'unsigned char[64]') 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] sprintf(ttt,"YOU JUST GOT THE HIGH SCORE FOR LEVEL %04d!!!",clevel); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ --- anim.o --- anim.c:1134:10: warning: passing 'uchar[256]' (aka 'unsigned char[256]') 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] sprintf(ttt,"%s/%s/%s",localname,localdirname,gfxnames[workingon]); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ anim.c:1149:14: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] wfile=creat(name,00600); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/fcntl.h:558:27: note: passing argument to parameter here int creat(const char *, mode_t) __DARWIN_ALIAS_C(creat); ^ anim.c:1184:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fetch(trow,j); ^ --- scav.o --- scav.c:1277:10: warning: passing 'char *' to parameter of type 'uchar *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p=doiff(gfxnames[num]); ^~~~~~~~~~~~~ scav.c:276:21: note: passing argument to parameter 'name' here uchar *doiff(uchar *name) ^ scav.c:1280:11: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') 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] sprintf(temp,"%s:%s",gfxnames[num],p); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:1287:10: warning: returning 'char[40]' from a function with result type 'uchar *' (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] return "Could not allocate memory for gfx set.\n"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:1351:25: warning: passing 'uchar[16]' (aka 'unsigned char[16]') to parameter of type '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(*pnt++,name)) ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here int strcmp(const char *__s1, const char *__s2); ^ scav.c:1380:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] func(name2,*pnt); ^ scav.c:1307:7: warning: variable 'j' set but not used [-Wunused-but-set-variable] int i,j,md; ^ scav.c:1441:10: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') 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] sprintf(temp,"%s/%s",localname,localdirname); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:1442:12: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] file=open(temp,O_RDONLY); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/fcntl.h:554:26: note: passing argument to parameter here int open(const char *, int, ...) __DARWIN_ALIAS_C(open); ^ scav.c:1446:13: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] err=mkdir(temp,00700); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/stat.h:384:27: note: passing argument to parameter here int mkdir(const char *, mode_t); ^ scav.c:1459:11: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') 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] sprintf(temp,"%s/%s",libname,LEVELSNAME); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:1461:15: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') 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] err=dupfile(temp,resourcename); ^~~~ scav.c:1396:19: note: passing argument to parameter 'src' here int dupfile(char *src, char *dest) ^ scav.c:1469:13: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') 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] makercname(temp); ^~~~ ./scav.h:436:31: note: passing argument to parameter 'str' here extern void makercname (char *str); ^ scav.c:1470:12: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] file=open(temp,O_RDONLY); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/fcntl.h:554:26: note: passing argument to parameter here int open(const char *, int, ...) __DARWIN_ALIAS_C(open); ^ scav.c:1484:18: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') 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(!makercfile(temp)) ^~~~ ./scav.h:437:29: note: passing argument to parameter 'str' here extern int makercfile(char *str); ^ scav.c:1546:5: warning: assigning to 'uchar *' (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] err=getenv(ENVUSER); ^~~~~~~~~~~~~~~~ scav.c:1548:11: warning: passing 'uchar[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] strncpy(playername,err,16); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ scav.c:1548:22: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(playername,err,16); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ scav.c:1550:10: warning: passing 'uchar[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] strcpy(playername,"anonymous"); ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ scav.c:1551:10: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') 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] sprintf(temp,"%s/%s/%s",localname,localdirname,PLAYERNAME); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:1552:12: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] file=open(temp,O_RDONLY); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/fcntl.h:554:26: note: passing argument to parameter here int open(const char *, int, ...) __DARWIN_ALIAS_C(open); ^ scav.c:1575:9: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] puts(err); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:173:23: note: passing argument to parameter here int puts(const char *); ^ scav.c:2506:10: warning: passing 'uchar[64]' (aka 'unsigned char[64]') 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] sprintf(ttt,"PLAYER:%s",playername); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:2508:11: warning: passing 'char[1]' to parameter of type 'uchar *' (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] lefttext(""); ^~ scav.c:954:22: note: passing argument to parameter 'txt' here void lefttext(uchar *txt) ^ scav.c:2509:11: warning: passing 'char[45]' to parameter of type 'uchar *' (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] lefttext("F1,SPC START GAME AT FIRST UNSOLVED LEVEL"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:954:22: note: passing argument to parameter 'txt' here void lefttext(uchar *txt) ^ scav.c:2510:11: warning: passing 'char[26]' to parameter of type 'uchar *' (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] lefttext("F2 GRAPHICS EDITOR"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:954:22: note: passing argument to parameter 'txt' here void lefttext(uchar *txt) ^ scav.c:2511:11: warning: passing 'char[23]' to parameter of type 'uchar *' (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] lefttext("F3 LEVEL EDITOR"); ^~~~~~~~~~~~~~~~~~~~~~~~ scav.c:954:22: note: passing argument to parameter 'txt' here void lefttext(uchar *txt) ^ scav.c:2512:11: warning: passing 'char[24]' to parameter of type 'uchar *' (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] lefttext("F4 START LEVEL 1"); ^~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:954:22: note: passing argument to parameter 'txt' here void lefttext(uchar *txt) ^ scav.c:2513:11: warning: passing 'char[29]' to parameter of type 'uchar *' (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] lefttext("F5 CHANGE PLAYER NAME"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:954:22: note: passing argument to parameter 'txt' here void lefttext(uchar *txt) ^ scav.c:2514:11: warning: passing 'char[30]' to parameter of type 'uchar *' (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] lefttext("F7 DEMO PREVIOUS LEVEL"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:954:22: note: passing argument to parameter 'txt' here void lefttext(uchar *txt) ^ scav.c:2515:11: warning: passing 'char[26]' to parameter of type 'uchar *' (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] lefttext("F8 DEMO NEXT LEVEL"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:954:22: note: passing argument to parameter 'txt' here void lefttext(uchar *txt) ^ scav.c:2516:11: warning: passing 'char[30]' to parameter of type 'uchar *' (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] lefttext("F10 REMAP MOVEMENT KEYS"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:954:22: note: passing argument to parameter 'txt' here void lefttext(uchar *txt) ^ scav.c:2517:11: warning: passing 'char[25]' to parameter of type 'uchar *' (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] lefttext("ESC RETURN TO DEMO"); ^~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:954:22: note: passing argument to parameter 'txt' here void lefttext(uchar *txt) ^ scav.c:2518:11: warning: passing 'char[20]' to parameter of type 'uchar *' (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] lefttext("ALT-X EXIT GAME"); ^~~~~~~~~~~~~~~~~~~~~ scav.c:954:22: note: passing argument to parameter 'txt' here void lefttext(uchar *txt) ^ scav.c:2537:9: warning: passing 'uchar[80]' (aka 'unsigned char[80]') 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] strcpy(ttt,str); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ scav.c:2537:13: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(ttt,str); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ scav.c:2538:11: warning: passing 'uchar[80]' (aka 'unsigned char[80]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] k=strlen(ttt); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ scav.c:2539:9: warning: passing 'uchar[80]' (aka 'unsigned char[80]') 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] strcat(ttt,txt); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:135:27: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ scav.c:2539:13: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(ttt,txt); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ scav.c:2540:11: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] j=strlen(txt); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ scav.c:2546:12: warning: passing 'uchar[80]' (aka 'unsigned char[80]') 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] sprintf(ttt2,"%s# ",ttt); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:2580:20: warning: passing 'uchar *' (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(ch==10) strcpy(txt,ttt+k); ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ scav.c:2580:24: warning: passing 'uchar *' (aka 'unsigned char *') to parameter of type '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(ch==10) strcpy(txt,ttt+k); ^~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ scav.c:2581:10: warning: passing 'uchar[80]' (aka 'unsigned char[80]') 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] sprintf(ttt2,"%-72s",""); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:2592:14: warning: passing 'char[128]' to parameter of type 'uchar *' (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] writestring(ttt,0,line,TCOLOR); ^~~ scav.c:2605:14: warning: passing 'char[128]' to parameter of type 'uchar *' (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] writestring(ttt,0,line,TCOLOR); ^~~ scav.c:2618:13: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') 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] makercname(temp); ^~~~ scav.c:1492:23: note: passing argument to parameter 'str' here void makercname(char *str) ^ scav.c:2619:13: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') 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] makercfile(temp); ^~~~ scav.c:1497:22: note: passing argument to parameter 'str' here int makercfile(char *str) ^ scav.c:2624:22: warning: passing 'char[12]' to parameter of type 'uchar *' (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] query(playername,16,"Enter name:"); ^~~~~~~~~~~~~ scav.c:2529:43: note: passing argument to parameter 'str' here void query(uchar *txt, int maxlen, uchar *str) ^ scav.c:2634:37: warning: passing 'uchar[4118]' (aka 'unsigned char[4118]') 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] err=getresource(1+((clevel-1)<<1),movie,20); ^~~~~ scav.c:395:31: note: passing argument to parameter 'put' here int getresource(int num,char *put,int len) ^ scav.c:2675:11: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') 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] sprintf(temp,"%s/%s/%s",localname,localdirname,PLAYERNAME); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:2676:14: warning: passing 'uchar[1024]' (aka 'unsigned char[1024]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] file=creat(temp,00600); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/fcntl.h:558:27: note: passing argument to parameter here int creat(const char *, mode_t) __DARWIN_ALIAS_C(creat); ^ scav.c:2801:11: warning: passing 'uchar[16]' (aka 'unsigned char[16]') 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] sprintf(name,"CAP%03d.lbm",i++); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ scav.c:2802:13: warning: passing 'uchar[16]' (aka 'unsigned char[16]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] file=open(name,O_RDONLY); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/sys/fcntl.h:554:26: note: passing argument to parameter here int open(const char *, int, ...) __DARWIN_ALIAS_C(open); ^ --- edit.o --- 22 warnings generated. --- x.o --- clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBNAME=\"/opt/pkg/share/scavenger\" -DSOUNDDEV="\"\"" -I/opt/pkg/include -c x.c --- anim.o --- 51 warnings generated. --- sound.o --- clang -Os -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__x86_64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBNAME=\"/opt/pkg/share/scavenger\" -DSOUNDDEV="\"\"" -I/opt/pkg/include -c sound.c --- scav.o --- 82 warnings generated. --- x.o --- In file included from x.c:12: In file included from ./x.h:13: ./scav.h:384:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern uchar *getgfx(); ^ void ./scav.h:427:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] extern uchar *getgfx(int num); ^ x.c:55:5: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt; ^ x.c:211:56: warning: passing 'unsigned char[72]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] icon=XCreateBitmapFromData(dp, DefaultRootWindow(dp), icon_bits, ^~~~~~~~~ /Users/pbulk/build/games/xscavenger/work/.buildlink/include/X11/Xlib.h:1607:29: note: passing argument to parameter here _Xconst char* /* data */, ^ x.c:442:8: warning: initializing 'uchar *' (aka 'unsigned char *') with an expression of type 'char[51]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] uchar *p="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:!?#/\\*-,>< ="; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x.c:448:28: warning: unsequenced modification and access to 'p' [-Wunsequenced] fmap[tolower(*p)]=fmap[*p++]=i++; ~ ^ x.c:545:5: warning: variable 'res' set but not used [-Wunused-but-set-variable] int res; ^ --- sound.o --- sound.c:8:10: fatal error: 'sys/soundcard.h' file not found #include ^~~~~~~~~~~~~~~~~ 1 error generated. *** [sound.o] Error code 1 bmake: stopped in /Users/pbulk/build/games/xscavenger/work/xscavenger-1.4.4/src --- x.o --- 7 warnings generated. 1 error bmake: stopped in /Users/pbulk/build/games/xscavenger/work/xscavenger-1.4.4/src *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/games/xscavenger *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/games/xscavenger