=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/xscavenger", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xscavenger-1.4.4nb3 --- anim.o --- --- edit.o --- --- anim.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBNAME=\"/opt/pkg/share/scavenger\" -DSOUNDDEV="\"\"" -I/opt/pkg/include -c anim.c --- edit.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBNAME=\"/opt/pkg/share/scavenger\" -DSOUNDDEV="\"\"" -I/opt/pkg/include -c edit.c In file included from edit.c:6: ./scav.h:384:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 384 | extern uchar *getgfx(); | ^ ./scav.h:427:15: note: conflicting prototype is here 427 | 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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 384 | extern uchar *getgfx(); | ^ ./scav.h:427:15: note: conflicting prototype is here 427 | extern uchar *getgfx(int num); | ^ --- edit.o --- edit.c:59: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] 59 | return "level must have exactly 1 player"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:61: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] 61 | return "level cannot have more than 5 enemies"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:63: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] 63 | return "level must have exactly 0 or 3 flashing objects"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:65: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] 65 | return "level must have exactly 0 or 3 hidden enemies"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:67: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] 67 | return "if you have escape ladders, you must have at least 1 object"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:76: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] 76 | return "there must be at least 1 empty space on the top row"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:198: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] 198 | centermsg("use alt-l to load over current level"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:26:30: note: passing argument to parameter 'from' here 26 | extern void centermsg(uchar *from); | ^ edit.c:217: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] 217 | centermsg("cannot write level 0"); | ^~~~~~~~~~~~~~~~~~~~~~ ./edit.h:26:30: note: passing argument to parameter 'from' here 26 | extern void centermsg(uchar *from); | ^ edit.c:221: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] 221 | got=getresource((clevel-1)<<1,buff,16); | ^~~~ ./scav.h:396:38: note: passing argument to parameter 'put' here 396 | extern int getresource(int num,char *put,int len); | ^ edit.c:225: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] 225 | centermsg("use alt-w to overwrite existing level"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:26:30: note: passing argument to parameter 'from' here 26 | extern void centermsg(uchar *from); | ^ edit.c:254: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] 254 | centermsg("could not write level"); | ^~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:26:30: note: passing argument to parameter 'from' here 26 | extern void centermsg(uchar *from); | ^ edit.c:256: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] 256 | centermsg("could not delete movie"); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./edit.h:26:30: note: passing argument to parameter 'from' here 26 | extern void centermsg(uchar *from); | ^ edit.c:258: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] --- 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] --- edit.o --- 258 | centermsg("level saved"); | ^~~~~~~~~~~~~ ./edit.h:26:30: note: passing argument to parameter 'from' here --- anim.o --- 96 | getsquare(asquare,animbox); | ^~~~~~~ --- edit.o --- 26 | extern void centermsg(uchar *from); | ^ --- anim.o --- ./anim.h:24:29: note: passing argument to parameter 'dest' here 24 | extern void getsquare(char *dest,int num); | ^ --- edit.o --- edit.c:301: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] 301 | i=strlen(from); | ^~~~ /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); | ^ edit.c:314: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] 314 | sprintf(temp,"level %04d l=load w=write spc=try esc=exit ->=inc lev <-=dec lev",clevel); | ^~~~ /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__) | ^~~ edit.c:315: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] 315 | i=strlen(temp); | ^~~~ /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); | ^ edit.c:347: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] 347 | strcpy(ewant,einfo()); | ^~~~~ /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)) | ^~~~ edit.c:347: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] --- 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] --- edit.o --- 347 | strcpy(ewant,einfo()); | ^~~~~~~ /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' --- anim.o --- 280 | copysquare(temp,userbrush); | ^~~~ anim.c:270:23: note: passing argument to parameter 'dest' here --- edit.o --- 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ --- anim.o --- 270 | 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] 280 | copysquare(temp,userbrush); | ^~~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | void copysquare(char *dest,char *source) | ^ 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] 671 | if(where==BLOWUP) copysquare(savesquare,asquare); | ^~~~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 671 | if(where==BLOWUP) copysquare(savesquare,asquare); | ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 687 | copysquare(tsquare2,asquare); | ^~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 687 | copysquare(tsquare2,asquare); | ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 688 | copysquare(asquare,savesquare); | ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 688 | copysquare(asquare,savesquare); | ^~~~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 689 | copysquare(savesquare,tsquare2); | ^~~~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 689 | copysquare(savesquare,tsquare2); | ^~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 693 | copysquare(savesquare,asquare); | ^~~~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 693 | copysquare(savesquare,asquare); | ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 757 | getsquare(asquare,animbox); | ^~~~~~~ anim.c:121:22: note: passing argument to parameter 'dest' here 121 | 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] 759 | copysquare(savesquare,asquare); | ^~~~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 759 | copysquare(savesquare,asquare); | ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 776 | getsquare(savesquare,animbox); | ^~~~~~~~~~ anim.c:121:22: note: passing argument to parameter 'dest' here 121 | 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] 777 | putsquare(animbox,asquare); | ^~~~~~~ anim.c:136:30: note: passing argument to parameter 'source' here 136 | 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] 808 | copysquare(asquare,savesquare); | ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 808 | copysquare(asquare,savesquare); | ^~~~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 813 | copysquare(asquare,savesquare); | ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 813 | copysquare(asquare,savesquare); | ^~~~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 822 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 822 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | void copysquare(char *dest,char *source) | ^ 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] 833 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 833 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 842 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 842 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 861 | copysquare(tsquare2,asquare); | ^~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 861 | copysquare(tsquare2,asquare); | ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 862 | copysquare(asquare,savesquare); | ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 862 | copysquare(asquare,savesquare); | ^~~~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 863 | copysquare(savesquare,tsquare2); | ^~~~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 863 | copysquare(savesquare,tsquare2); | ^~~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | void copysquare(char *dest,char *source) | ^ 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] 922 | getsquare(asquare,animbox); | ^~~~~~~ anim.c:121:22: note: passing argument to parameter 'dest' here 121 | 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] 923 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | 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] 923 | copysquare(tsquare,asquare); | ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | 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] 960 | putsquare(animbox,asquare); | ^~~~~~~ anim.c:136:30: note: passing argument to parameter 'source' here 136 | void putsquare(int num,char *source) | ^ 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] 986 | getsquare(tsquare,j*12+i); | ^~~~~~~ anim.c:121:22: note: passing argument to parameter 'dest' here 121 | void getsquare(char *dest,int num) | ^ 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] 1007 | sprintf(ttt,"%s artwork: %s",descriptions[workingon], | ^~~ /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__) | ^~~ 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] 1009 | drawstring(ttt,4,4,255); | ^~~ ./x.h:80:30: note: passing argument to parameter 'str' here 80 | extern void drawstring(char *str,int x,int y,int color); | ^ 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] 1033 | getsquare0(tsquare,BUTTONFIGS+i); | ^~~~~~~ anim.c:105:23: note: passing argument to parameter 'dest' here 105 | void getsquare0(char *dest,int num) | ^ 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] 1066 | getsquare(asquare,animbox); | ^~~~~~~ anim.c:121:22: note: passing argument to parameter 'dest' here 121 | 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] 1071 | getsquare(asquare,animbox); | ^~~~~~~ anim.c:121:22: note: passing argument to parameter 'dest' here 121 | 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] 1072 | copysquare(savesquare,asquare); | ^~~~~~~~~~ anim.c:270:23: note: passing argument to parameter 'dest' here 270 | void copysquare(char *dest,char *source) | ^ 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] 1072 | copysquare(savesquare,asquare); | ^~~~~~~ anim.c:270:34: note: passing argument to parameter 'source' here 270 | void copysquare(char *dest,char *source) | ^ 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] 1134 | sprintf(ttt,"%s/%s/%s",localname,localdirname,gfxnames[workingon]); | ^~~ /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__) | ^~~ 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] 1149 | wfile=creat(name,00600); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/fcntl.h:606:27: note: passing argument to parameter here 606 | 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 C23 [-Wdeprecated-non-prototype] 1184 | fetch(trow,j); | ^ --- edit.o --- 19 warnings generated. --- scav.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBNAME=\"/opt/pkg/share/scavenger\" -DSOUNDDEV="\"\"" -I/opt/pkg/include -c scav.c --- anim.o --- 50 warnings generated. --- x.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DLIBNAME=\"/opt/pkg/share/scavenger\" -DSOUNDDEV="\"\"" -I/opt/pkg/include -c x.c --- 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 treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 384 | extern uchar *getgfx(); | ^ ./scav.h:427:15: note: conflicting prototype is here 427 | extern uchar *getgfx(int num); | ^ 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] 211 | uchar *wantiff="Picture file must be in IFF format.\n"; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 292 | 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] 295 | sprintf(temparea,"%s/%s/%s",localname,localdirname,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__) | ^~~ 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] 296 | ihand=open(temparea,O_RDONLY); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/fcntl.h:602:26: note: passing argument to parameter here 602 | 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] 299 | sprintf(temparea,"%s/%s",libname,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__) | ^~~ 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] 300 | ihand=open(temparea,O_RDONLY); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/fcntl.h:602:26: note: passing argument to parameter here 602 | 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] 302 | return "Cannot open picture file.\n"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scav.c:279:7: warning: variable 'comp' set but not used [-Wunused-but-set-variable] 279 | uchar comp; | ^ 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] 357 | *picput++ = fixbyte(lines+i,1< | ^~~~~~~~~~~~~~~~~ 1 error generated. *** [sound.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/games/xscavenger/work/xscavenger-1.4.4/src bmake: 1 error bmake: stopped making "all" in /var/tmp/work/games/xscavenger/work/xscavenger-1.4.4/src *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/xscavenger *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/xscavenger