=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/xjewel", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xjewel-1.6nb3 --- xw.o --- --- jewel.o --- --- xw.o --- clang -O -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DUSE_SELECT -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/pkg/include -c xw.c --- jewel.o --- clang -O -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DUSE_SELECT -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/pkg/include -c jewel.c --- xw.o --- warning: unknown warning option '-Wno-builtin-declaration-mismatch'; did you mean '-Wno-missing-declarations'? [-Wunknown-warning-option] --- jewel.o --- warning: unknown warning option '-Wno-builtin-declaration-mismatch'; did you mean '-Wno-missing-declarations'? [-Wunknown-warning-option] jewel.c:40:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | void xw_focus_event(xfev) | ^ In file included from jewel.c:26: ./xw.h:29:13: 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 definition [-Wdeprecated-non-prototype] 29 | extern void xw_focus_event(/*xfev*/); | ^ --- xw.o --- xw.c:59:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | void xw_fatal(s,line,file) | ^ In file included from xw.c:34: ./xw.h:17:14: 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 definition [-Wdeprecated-non-prototype] 17 | extern void xw_fatal(); | ^ --- jewel.o --- jewel.c:52:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | void xw_leave_event(xlev) | ^ In file included from jewel.c:26: ./xw.h:30:13: 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 definition [-Wdeprecated-non-prototype] 30 | extern void xw_leave_event(/*xlev*/); | ^ jewel.c:71:17: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | xw_set_timer(2000l); | ^ jewel.c:77:17: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | xw_set_timer(100L); | ^ --- xw.o --- xw.c:71:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | Pixel xw_alloc_color(cname) | ^ In file included from xw.c:34: ./xw.h:18:14: 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 definition [-Wdeprecated-non-prototype] --- jewel.o --- jewel.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | void xw_map_event(xmev) | ^ In file included from jewel.c:26: --- xw.o --- 18 | extern Pixel xw_alloc_color(); --- jewel.o --- ./xw.h:32:13: 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 definition [-Wdeprecated-non-prototype] --- xw.o --- | ^ --- jewel.o --- 32 | extern void xw_map_event(/*xmev*/); | ^ --- xw.o --- xw.c:103:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | void xw_sync_sleep(ms) | ^ In file included from xw.c:34: --- jewel.o --- jewel.c:105:9: warning: enumeration values 'ICON' and 'NULL_STATE' not handled in switch [-Wswitch] --- xw.o --- ./xw.h:24:14: 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 definition [-Wdeprecated-non-prototype] --- jewel.o --- 105 | switch(JewelState) | ^~~~~~~~~~ --- xw.o --- 24 | extern void xw_sync_sleep(); | ^ --- jewel.o --- jewel.c:105:9: note: add missing switch cases 105 | switch(JewelState) | ^ jewel.c:98:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | void xw_key_event(xkev) | ^ In file included from jewel.c:26: ./xw.h:31:13: 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 definition [-Wdeprecated-non-prototype] 31 | extern void xw_key_event(/*xkev*/); | ^ --- xw.o --- xw.c:135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | void xw_set_timer(time_ms) | ^ In file included from xw.c:34: ./xw.h:23:14: 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 definition [-Wdeprecated-non-prototype] 23 | extern void xw_set_timer(); | ^ --- jewel.o --- jewel.c:221:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | void xw_but_event(xbev) | ^ In file included from jewel.c:26: ./xw.h:27:13: 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 definition [-Wdeprecated-non-prototype] 27 | extern void xw_but_event(/*xbev*/); | ^ jewel.c:254:10: warning: enumeration value 'ICON' not handled in switch [-Wswitch] 254 | switch(JewelState) | ^~~~~~~~~~ --- xw.o --- xw.c:253:21: warning: passing arguments to 'xw_expose_event' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- jewel.o --- jewel.c:254:10: note: add missing switch cases 254 | switch(JewelState) | ^ --- xw.o --- 253 | xw_expose_event((XExposeEvent *) &xev); | ^ --- jewel.o --- jewel.c:233:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xw.o --- xw.c:257:20: warning: passing arguments to 'xw_focus_event' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- jewel.o --- 233 | void xw_expose_event(xev) | ^ In file included from jewel.c:26: ./xw.h:28:13: 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 definition [-Wdeprecated-non-prototype] --- xw.o --- 257 | xw_focus_event((XFocusChangeEvent *) &xev); | ^ --- jewel.o --- 28 | extern void xw_expose_event(/*xev*/); | ^ --- xw.o --- xw.c:260:20: warning: passing arguments to 'xw_leave_event' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | xw_leave_event((XLeaveWindowEvent *) &xev); | ^ xw.c:263:18: warning: passing arguments to 'xw_key_event' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | xw_key_event((XKeyEvent *) &xev); | ^ xw.c:267:18: warning: passing arguments to 'xw_but_event' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- jewel.o --- jewel.c:291:14: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | xw_set_timer(2000L); | ^ --- xw.o --- 267 | xw_but_event((XButtonEvent *) &xev); | ^ xw.c:271:18: warning: passing arguments to 'xw_map_event' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | xw_map_event((XMapEvent *) &xev); | ^ --- jewel.o --- jewel.c:297:9: warning: enumeration value 'NULL_STATE' not handled in switch [-Wswitch] --- xw.o --- xw.c:156:18: warning: unused variable 'writefds' [-Wunused-variable] 156 | fd_set readfds, writefds, exceptfds; | ^~~~~~~~ --- jewel.o --- 297 | switch(JewelState) | ^~~~~~~~~~ jewel.c:297:9: note: add missing switch cases 297 | switch(JewelState) | ^ --- xw.o --- xw.c:335:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | void xw_init(argc, argv, w, h ) | ^ In file included from xw.c:34: ./xw.h:21:14: 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 definition [-Wdeprecated-non-prototype] 21 | extern void xw_init(); | ^ --- jewel.o --- jewel.c:381:22: warning: passing arguments to 'xw_alloc_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | green=xw_alloc_color("green"); | ^ jewel.c:382:23: warning: passing arguments to 'xw_alloc_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | yellow=xw_alloc_color("yellow"); | ^ jewel.c:408:35: warning: passing arguments to 'xw_alloc_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | colors[WILD_PIECE]=xw_alloc_color(WILD_C); | ^ jewel.c:414:31: warning: passing arguments to 'xw_alloc_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | colors[PIECE1]=xw_alloc_color(PIECE1_C); | ^ jewel.c:420:31: warning: passing arguments to 'xw_alloc_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | colors[PIECE2]=xw_alloc_color(PIECE2_C); | ^ jewel.c:426:31: warning: passing arguments to 'xw_alloc_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | colors[PIECE3]=xw_alloc_color(PIECE3_C); | ^ jewel.c:432:31: warning: passing arguments to 'xw_alloc_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | colors[PIECE4]=xw_alloc_color(PIECE4_C); | ^ jewel.c:438:31: warning: passing arguments to 'xw_alloc_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | colors[PIECE5]=xw_alloc_color(PIECE5_C); | ^ jewel.c:444:31: warning: passing arguments to 'xw_alloc_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | colors[PIECE6]=xw_alloc_color(PIECE6_C); | ^ jewel.c:451:31: warning: passing arguments to 'xw_alloc_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | colors[FLASH1]=xw_alloc_color(FLASH_C); | ^ jewel.c:473:33: warning: passing arguments to 'xw_alloc_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | colors[BACKGND1]=xw_alloc_color(BACKGND_C); | ^ jewel.c:498:13: warning: passing arguments to 'xw_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | { xw_fatal("Cannot load VERSION font.\n",__LINE__,__FILE__); } | ^ jewel.c:504:13: warning: passing arguments to 'xw_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | { xw_fatal("Cannot load HIGHSCORE font.\n",__LINE__,__FILE__); } | ^ jewel.c:512:14: warning: passing arguments to 'xw_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | { xw_fatal("Cannot load SCORE font.\n",__LINE__,__FILE__); } | ^ jewel.c:535:9: warning: passing arguments to 'xw_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | xw_init(argc,argv,SCREEN_X, SCREEN_Y); | ^ jewel.c:523:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | int main(argc,argv) | ^ --- xw.o --- 18 warnings generated. --- logic.o --- --- jewel.o --- 35 warnings generated. --- logic.o --- clang -O -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DUSE_SELECT -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/pkg/include -c logic.c --- panel.o --- clang -O -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DUSE_SELECT -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/pkg/include -c panel.c --- logic.o --- warning: unknown warning option '-Wno-builtin-declaration-mismatch'; did you mean '-Wno-missing-declarations'? [-Wunknown-warning-option] --- panel.o --- warning: unknown warning option '-Wno-builtin-declaration-mismatch'; did you mean '-Wno-missing-declarations'? [-Wunknown-warning-option] panel.c:54:14: warning: passing arguments to 'Redraw_Score' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | Redraw_Score(Score); | ^ panel.c:64:14: warning: passing arguments to 'Redraw_Score' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | Redraw_Score(Score); | ^ panel.c:57:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | void Add_Raw_Score(pts,mult) | ^ In file included from panel.c:9: ./panel.h:24:13: 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 definition [-Wdeprecated-non-prototype] 24 | extern void Add_Raw_Score(/*pts,mult*/); | ^ panel.c:73:18: warning: passing arguments to 'Redraw_Add_Score' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | Redraw_Add_Score(pts,Mult); | ^ panel.c:75:14: warning: passing arguments to 'Redraw_Score' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | Redraw_Score(Score); | ^ panel.c:68:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | void Add_Score(pts,iteration) | ^ In file included from panel.c:9: ./panel.h:25:13: 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 definition [-Wdeprecated-non-prototype] 25 | extern void Add_Score(/*pts,iteration*/); | ^ panel.c:87:14: warning: passing arguments to 'Redraw_Lives' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | Redraw_Lives(Lives); | ^ panel.c:94:14: warning: passing arguments to 'Redraw_Lives' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | Redraw_Lives(Lives); | ^ panel.c:106:14: warning: passing arguments to 'Redraw_Speed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | Redraw_Speed(Speed); | ^ panel.c:107:14: warning: passing arguments to 'Redraw_Stage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | Redraw_Stage(Stage); | ^ panel.c:119:14: warning: passing arguments to 'Redraw_Speed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | Redraw_Speed(Speed); | ^ panel.c:120:14: warning: passing arguments to 'Redraw_Stage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | Redraw_Stage(Stage); | ^ panel.c:130:15: warning: passing arguments to 'Redraw_Speed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | Redraw_Speed(Speed); | ^ panel.c:131:15: warning: passing arguments to 'Redraw_Stage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | Redraw_Stage(Stage); | ^ panel.c:148:13: warning: passing arguments to 'Redraw_Rest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | Redraw_Rest(Rest); | ^ panel.c:163:16: warning: passing arguments to 'Redraw_Rest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | Redraw_Rest(Rest); | ^ panel.c:151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | BOOL Dec_Rest(val) | ^ In file included from panel.c:9: ./panel.h:35:13: 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 definition [-Wdeprecated-non-prototype] 35 | extern BOOL Dec_Rest(/*val*/); | ^ panel.c:206:14: warning: passing arguments to 'Redraw_Score' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | Redraw_Score(Score); | ^ panel.c:207:14: warning: passing arguments to 'Redraw_Lives' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | Redraw_Lives(Lives); | ^ panel.c:208:14: warning: passing arguments to 'Redraw_Speed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | Redraw_Speed(Speed); | ^ panel.c:209:14: warning: passing arguments to 'Redraw_Stage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | Redraw_Stage(Stage); | ^ panel.c:210:13: warning: passing arguments to 'Redraw_Rest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | Redraw_Rest(Rest); | ^ 26 warnings generated. --- xhscore.o --- clang -O -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DUSE_SELECT -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/pkg/include -c xhscore.c --- logic.o --- logic.c:30:14: warning: passing arguments to 'Draw_Piece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | Draw_Piece(board[i][j], i, j); | ^ logic.c:34:13: warning: passing arguments to 'Draw_Piece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | Draw_Piece(next_block[i], -1, i); | ^ logic.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | void Get_Random_Block(block) | ^ logic.c:59:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | int Get_New_Background(old_background) | ^ logic.c:95:12: warning: passing arguments to 'Draw_Piece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | Draw_Piece(piece, x, y); | ^ logic.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | Update_Board(piece, x, y) | ^ logic.c:96:2: warning: non-void function does not return a value [-Wreturn-type] 96 | } | ^ logic.c:116:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | void Add_To_Remove_List(x, y, piece) | ^ logic.c:125:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | void Handle_Horiz_Line(i, j, in_line) | ^ logic.c:136:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | void Handle_Vert_Line(i, j, in_line) | ^ logic.c:148:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | void Handle_DiagR_Line(i, j, in_line) | ^ logic.c:160:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | void Handle_DiagL_Line(i, j, in_line) | ^ logic.c:354:14: warning: passing arguments to 'Flash_Pieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | Flash_Pieces(p_remov, index_rem, background); | ^ logic.c:355:2: warning: non-void function does not return a value [-Wreturn-type] 355 | } | ^ logic.c:390:14: warning: passing arguments to 'Dec_Rest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | if (Dec_Rest(num_pieces)) | ^ logic.c:387:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | void Update_Rest(num_pieces) | ^ logic.c:417:12: warning: passing arguments to 'Add_Score' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | Add_Score(JEWELSCORE, 1); | ^ logic.c:426:12: warning: passing arguments to 'Add_Score' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | Add_Score(add_score, i); | ^ logic.c:397:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | void Process_Block(special, piece) | ^ logic.c:521:25: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'int' [-Wint-conversion] 521 | Process_Block(FALSE, NULL); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_types/_null.h:49:15: note: expanded from macro 'NULL' 49 | #define NULL __DARWIN_NULL | ^~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_types.h:64:23: note: expanded from macro '__DARWIN_NULL' 64 | #define __DARWIN_NULL ((void *)0) | ^~~~~~~~~~~ logic.c:561:16: warning: passing arguments to 'Add_Raw_Score' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | Add_Raw_Score(DROP_POINTS, cycles); | ^ logic.c:603:14: warning: passing arguments to 'Draw_Piece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | Draw_Piece(next_block[i], -1, i); | ^ --- xhscore.o --- warning: unknown warning option '-Wno-builtin-declaration-mismatch'; did you mean '-Wno-missing-declarations'? [-Wunknown-warning-option] --- logic.o --- 23 warnings generated. --- hscore.o --- clang -O -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DUSE_SELECT -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/pkg/include -c hscore.c --- xhscore.o --- xhscore.c:57:22: warning: passing arguments to 'xw_alloc_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | red = xw_alloc_color("red"); | ^ xhscore.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | void Draw_One_High_Score(i) | ^ In file included from xhscore.c:22: ./xhscore.h:9:13: 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 definition [-Wdeprecated-non-prototype] 9 | extern void Draw_One_High_Score(/*i*/); | ^ xhscore.c:143:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | void Show_High_Scores(start) | ^ In file included from xhscore.c:22: ./xhscore.h:10:13: 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 definition [-Wdeprecated-non-prototype] 10 | extern void Show_High_Scores(); | ^ xhscore.c:169:16: warning: passing arguments to 'xw_sync_sleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | xw_sync_sleep(50L); | ^ xhscore.c:192:17: warning: passing arguments to 'xw_sync_sleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | xw_sync_sleep(20L); | ^ xhscore.c:173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | void Move_Down_High_Scores(number) | ^ In file included from xhscore.c:22: ./xhscore.h:12:13: 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 definition [-Wdeprecated-non-prototype] 12 | extern void Move_Down_High_Scores(/*number*/); | ^ xhscore.c:205:14: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | xw_set_timer(10000L); | ^ 11 warnings generated. --- game.o --- clang -O -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DUSE_SELECT -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/pkg/include -c game.c --- hscore.o --- warning: unknown warning option '-Wno-builtin-declaration-mismatch'; did you mean '-Wno-missing-declarations'? [-Wunknown-warning-option] --- game.o --- warning: unknown warning option '-Wno-builtin-declaration-mismatch'; did you mean '-Wno-missing-declarations'? [-Wunknown-warning-option] --- hscore.o --- hscore.c:141:21: warning: passing arguments to 'Draw_One_High_Score' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | Draw_One_High_Score(i+1); | ^ hscore.c:125:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | void Add_High_Score(i) | ^ hscore.c:158:18: warning: passing arguments to 'Show_High_Scores' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | Show_High_Scores(1); | ^ hscore.c:176:25: warning: passing arguments to 'Move_Down_High_Scores' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | Move_Down_High_Scores(i+1); | ^ hscore.c:179:20: warning: passing arguments to 'Show_High_Scores' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | Show_High_Scores(i+1); | ^ hscore.c:144:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | void Update_High_Scores(NewStage, NewScore) | ^ In file included from hscore.c:30: ./hscore.h:23:13: 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 definition [-Wdeprecated-non-prototype] 23 | extern void Update_High_Scores(/*Stage, Score*/); | ^ hscore.c:200:18: warning: passing arguments to 'Show_High_Scores' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | Show_High_Scores(1); | ^ 9 warnings generated. --- intro.o --- clang -O -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DUSE_SELECT -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/pkg/include -c intro.c --- game.o --- game.c:78:15: warning: passing arguments to 'xw_sync_sleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | xw_sync_sleep(150L); | ^ game.c:103:15: warning: passing arguments to 'xw_sync_sleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | xw_sync_sleep(150L); | ^ game.c:107:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | void Draw_Piece(piece,x,y) | ^ In file included from game.c:22: ./game.h:9:13: 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 definition [-Wdeprecated-non-prototype] 9 | extern void Draw_Piece(/* piece,x,y */); | ^ game.c:143:16: warning: passing arguments to 'xw_sync_sleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | xw_sync_sleep(70L+SLOW_DRAW); | ^ game.c:149:16: warning: passing arguments to 'xw_sync_sleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | xw_sync_sleep(160L+SLOW_DRAW); | ^ game.c:155:15: warning: passing arguments to 'xw_sync_sleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | xw_sync_sleep(100L+SLOW_DRAW); | ^ game.c:127:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | void Flash_Pieces(p_remove, numflash, background) | ^ In file included from game.c:22: ./game.h:12:13: 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 definition [-Wdeprecated-non-prototype] 12 | extern void Flash_Pieces(/* p_remove, numflash, background */); | ^ game.c:189:15: warning: passing arguments to 'xw_sync_sleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | xw_sync_sleep(160L+SLOW_FONTS); | ^ game.c:208:20: warning: passing arguments to 'xw_sync_sleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | xw_sync_sleep(10L+SLOW_FONTS); | ^ game.c:212:15: warning: passing arguments to 'xw_sync_sleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | xw_sync_sleep(110L+SLOW_FONTS); | ^ game.c:158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | void Redraw_Add_Score(pts,mult) | ^ In file included from game.c:23: ./panel.h:47:13: 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 definition [-Wdeprecated-non-prototype] 47 | extern void Redraw_Add_Score(/*pts,mult*/); | ^ game.c:216:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | void Redraw_Score(Score) | ^ In file included from game.c:23: ./panel.h:46:13: 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 definition [-Wdeprecated-non-prototype] 46 | extern void Redraw_Score(); | ^ game.c:234:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | void Redraw_Lives(Lives) | ^ In file included from game.c:23: ./panel.h:48:13: 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 definition [-Wdeprecated-non-prototype] 48 | extern void Redraw_Lives(); | ^ game.c:252:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | void Redraw_Speed(Speed) | ^ In file included from game.c:23: ./panel.h:49:13: 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 definition [-Wdeprecated-non-prototype] 49 | extern void Redraw_Speed(); | ^ game.c:271:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | void Redraw_Stage(Stage) | ^ In file included from game.c:23: ./panel.h:50:13: 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 definition [-Wdeprecated-non-prototype] 50 | extern void Redraw_Stage(); | ^ game.c:290:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | void Redraw_Rest(Rest) | ^ In file included from game.c:23: ./panel.h:51:13: 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 definition [-Wdeprecated-non-prototype] 51 | extern void Redraw_Rest(); | ^ game.c:375:14: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | xw_set_timer(Get_Speed_ms()); | ^ game.c:394:15: warning: passing arguments to 'xw_sync_sleep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | xw_sync_sleep(500L); | ^ game.c:396:20: warning: passing arguments to 'Update_High_Scores' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | Update_High_Scores(Get_Stage(), Get_Score()); | ^ game.c:428:17: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | { xw_set_timer(Get_Speed_ms()); } | ^ --- intro.o --- warning: unknown warning option '-Wno-builtin-declaration-mismatch'; did you mean '-Wno-missing-declarations'? [-Wunknown-warning-option] --- game.o --- 29 warnings generated. --- help.o --- clang -O -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHSCORE_FILE=\"/var/games/xjewel.scores\" -DUSE_SELECT -DICON_WINDOW -DGETPWENT -Wno-builtin-declaration-mismatch -Wno-implicit-function-declaration -Wno-implicit-int -I/opt/pkg/include -c help.c --- intro.o --- intro.c:62:14: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | xw_set_timer(200L); | ^ intro.c:85:16: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | xw_set_timer(200L); | ^ intro.c:110:19: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | { xw_set_timer(2L); } | ^ intro.c:114:17: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | xw_set_timer(200L); | ^ intro.c:144:16: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | xw_set_timer(200L); | ^ intro.c:163:16: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | xw_set_timer(2L); | ^ intro.c:177:18: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | xw_set_timer(1000L); | ^ intro.c:207:13: warning: passing arguments to 'xw_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | { xw_fatal("Cannot load PRESENT font.\n",__LINE__,__FILE__); } | ^ intro.c:216:9: warning: enumeration value 'FINI' not handled in switch [-Wswitch] 216 | switch(IntroState) | ^~~~~~~~~~ intro.c:216:9: note: add missing switch cases 216 | switch(IntroState) | ^ 10 warnings generated. --- help.o --- warning: unknown warning option '-Wno-builtin-declaration-mismatch'; did you mean '-Wno-missing-declarations'? [-Wunknown-warning-option] --- xjewel._man --- rm -f xjewel._man if test -z "" ; then cd `dirname xjewel` && ln -s `basename xjewel.man` `basename xjewel._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=6 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < xjewel.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >xjewel._man; fi --- bitmaps/seven_seg.pcf.gz --- /var/tmp/work/games/xjewel/work/.tools/bin/bdftopcf -t bitmaps/seven_seg.bdf | gzip -n > bitmaps/seven_seg.pcf.gz /var/tmp/work/games/xjewel/work/.tools/bin/mkfontdir bitmaps/ --- help.o --- help.c:103:14: warning: passing arguments to 'xw_set_timer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | xw_set_timer(10000L); | ^ help.c:118:13: warning: passing arguments to 'xw_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | { xw_fatal("Cannot load SYMBOL font.\n",__LINE__,__FILE__); } | ^ help.c:123:13: warning: passing arguments to 'xw_fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | { xw_fatal("Cannot load HEADER font.\n",__LINE__,__FILE__); } | ^ 4 warnings generated. --- xjewel --- rm -f xjewel clang -o xjewel -O -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib xw.o jewel.o logic.o panel.o xhscore.o hscore.o game.o intro.o help.o -lXext -lX11