=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/math/xlife", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xlife-5.0nb6 /usr/bin/touch /var/tmp/work/math/xlife/work/collect.man /var/tmp/work/math/xlife/work/lifesearchdumb.man --- cell.o --- --- data.o --- --- cell.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c cell.c --- data.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c data.c --- cell.o --- In file included from cell.c:25: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // --- data.o --- In file included from data.c:30: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // 1 warning generated. --- cell.o --- cell.c:95:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | static void displayline(line,x,y,oline) | ^ cell.c:384:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 384 | else | ^ cell.c:421:12: warning: unused variable 'yy' [-Wunused-variable] 421 | int sc,yy; | ^~ cell.c:415:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | static void trdisplayline(line,x,y,oline) | ^ cell.c:709:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 709 | else | ^ --- file.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c file.c --- cell.o --- 6 warnings generated. --- file_misc.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c file_misc.c --- file.o --- In file included from file.c:33: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // --- file_misc.o --- In file included from file_misc.c:24: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // --- file.o --- file.c:59:20: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | if (cp = getenv("LIFEPATH")) | ^ file.c:59:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 59 | if (cp = getenv("LIFEPATH")) | ~~~^~~~~~~~~~~~~~~~~~~~ file.c:59:12: note: place parentheses around the assignment to silence this warning 59 | if (cp = getenv("LIFEPATH")) | ^ | ( ) file.c:59:12: note: use '==' to turn this assignment into an equality comparison 59 | if (cp = getenv("LIFEPATH")) | ^ | == file.c:67:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 67 | (cp = strtok((char *)NULL, ":")); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:67:10: note: place parentheses around the assignment to silence this warning 67 | (cp = strtok((char *)NULL, ":")); | ^ | ( ) file.c:67:10: note: use '==' to turn this assignment into an equality comparison 67 | (cp = strtok((char *)NULL, ":")); | ^ | == file.c:76:29: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | loadscript = (LoadReq *)malloc(sizeof(LoadReq)); | ^ file.c:76:29: note: include the header or explicitly provide a declaration for 'malloc' file.c:87:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | static char *checktilda(stng) | ^ file.c:118:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | static char *addlifeext(buf) | ^ file.c:160:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 160 | if (colptr=strchr(filename,':')) (*colptr)='\0'; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ file.c:160:15: note: place parentheses around the assignment to silence this warning 160 | if (colptr=strchr(filename,':')) (*colptr)='\0'; | ^ | ( ) file.c:160:15: note: use '==' to turn this assignment into an equality comparison 160 | if (colptr=strchr(filename,':')) (*colptr)='\0'; | ^ | == file.c:152:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | static char *seppatdir(filename,filefield) | ^ file.c:175:1: warning: non-void function does not return a value [-Wreturn-type] 175 | } | ^ file.c:222:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 221 | "Generating: %d steps left (type X to halt)", | ~~ | %lu 222 | loadqueue->loadtime-tentative.generations); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ file.c:228:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 228 | if (quitload=breakreq()) | ~~~~~~~~^~~~~~~~~~~ file.c:228:18: note: place parentheses around the assignment to silence this warning 228 | if (quitload=breakreq()) | ^ | ( ) file.c:228:18: note: use '==' to turn this assignment into an equality comparison 228 | if (quitload=breakreq()) | ^ | == file.c:237:7: warning: call to undeclared function 'do_loadfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 237 | if (!do_loadfile(&loadqueue, &tentative)) | ^ file.c:239:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 239 | if (quitload = (quitload || breakreq())) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:239:15: note: place parentheses around the assignment to silence this warning 239 | if (quitload = (quitload || breakreq())) | ^ | ( ) file.c:239:15: note: use '==' to turn this assignment into an equality comparison 239 | if (quitload = (quitload || breakreq())) | ^ | == file.c:196:10: warning: unused variable 'errstr' [-Wunused-variable] 196 | char errstr[80],thispat[PATNAMESIZ],badpat[PATNAMESIZ], *cp; | ^~~~~~ file.c:257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | int add_loadreq(loadqueue, loadtime, patname, relpath, | ^ In file included from file.c:34: ./data.h:27:12: 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 | GLOBAL int add_loadreq(); | ^ file.c:294:1: warning: non-void function does not return a value [-Wreturn-type] 294 | } | ^ file.c:296:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | static void parse_patname(patname,patfield) | ^ file.c:342:5: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | free(*loadqueue); | ^ file.c:342:5: note: include the header or explicitly provide a declaration for 'free' file.c:456:37: warning: format specifies type 'int *' but the argument has type 'long *' [-Wformat] 455 | (void) sscanf(buf+2, " %s %d %d %d %d %d", incl, | ~~ | %ld 456 | &xoff, &yoff, &rotate, &flip, &loadtime); | ^~~~~~~~~ file.c:318:9: warning: variable 'relpath' set but not used [-Wunused-but-set-variable] 318 | int relpath, rxx, rxy, ryx, ryy; | ^ file.c:312:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | int do_loadfile(loadqueue, context) | ^ file.c:601:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 601 | static get_rot_flip(rxx,rxy,ryx,ryy,rot,flip) | ~~~~~~ ^ | int file.c:601:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] file.c:616:1: warning: non-void function does not return a value [-Wreturn-type] 616 | } | ^ file.c:683:7: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 681 | fprintf(savefl,"#I %s %d %d %d %d %d\n", | ~~ | %lu 682 | ptr->patname, 683 | ptr->hotx-savex, | ^~~~~~~~~~~~~~~ file.c:684:7: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 681 | fprintf(savefl,"#I %s %d %d %d %d %d\n", | ~~ | %lu 682 | ptr->patname, 683 | ptr->hotx-savex, 684 | ptr->hoty-savey, | ^~~~~~~~~~~~~~~ file.c:685:17: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 681 | fprintf(savefl,"#I %s %d %d %d %d %d\n", | ~~ | %ld 682 | ptr->patname, 683 | ptr->hotx-savex, 684 | ptr->hoty-savey, 685 | rot,flip, ptr->loadtime-mingener); | ^~~~~~~~~~~~~~~~~~~~~~ file.c:638:18: warning: unused variable 'ans' [-Wunused-variable] 638 | static char *ans; | ^~~ file.c:695:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 695 | static add_include_entry(patname,loadtime,hotx,hoty,xx,xy,yx,yy) | ~~~~~~ ^ | int file.c:695:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] file.c:719:1: warning: non-void function does not return a value [-Wreturn-type] 719 | } | ^ file.c:741:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 741 | if (state = getcell(&ptr->cells, dx, dy)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:741:17: note: place parentheses around the assignment to silence this warning 741 | if (state = getcell(&ptr->cells, dx, dy)) | ^ | ( ) file.c:741:17: note: use '==' to turn this assignment into an equality comparison 741 | if (state = getcell(&ptr->cells, dx, dy)) | ^ | == file.c:723:16: warning: unused variable 'nptr' [-Wunused-variable] 723 | tile *ptr,*nptr; | ^~~~ file.c:882:7: warning: unused variable 'outbuf' [-Wunused-variable] 882 | char outbuf[80]; | ^~~~~~ --- file_misc.o --- file_misc.c:87:5: warning: call to undeclared function 'redrawscreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | redrawscreen(); | ^ 2 warnings generated. --- generate.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c generate.c --- file.o --- 36 warnings generated. --- gentab.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c gentab.c --- generate.o --- In file included from generate.c:34: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // --- gentab.o --- In file included from gentab.c:23: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // --- generate.o --- generate.c:39:31: warning: suggest braces around initialization of subobject [-Wmissing-braces] 39 | static float payoffs[2][2] = {1, 0, 0, 0}; | ^~~~ | { } generate.c:39:37: warning: suggest braces around initialization of subobject [-Wmissing-braces] 39 | static float payoffs[2][2] = {1, 0, 0, 0}; | ^~~~ | { } generate.c:59:17: warning: unused variable 'tptr' [-Wunused-variable] 59 | tile *cptr,*tptr,*cptrup,*cptrdn,*cptrlf,*cptrrt; | ^~~~ generate.c:682:40: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 682 | "\nEvolving generation %d\n", context->generations); | ~~ ^~~~~~~~~~~~~~~~~~~~ | %lu generate.c:737:13: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 736 | (void) fprintf(stderr, "Tile %p at %d, %d:", | ~~ | %lu 737 | cptr, cptr->x - xpos, cptr->y - ypos); | ^~~~~~~~~~~~~~ generate.c:737:29: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 736 | (void) fprintf(stderr, "Tile %p at %d, %d:", | ~~ | %lu 737 | cptr, cptr->x - xpos, cptr->y - ypos); | ^~~~~~~~~~~~~~ generate.c:759:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 759 | if (ncptr = fetchtile(context, cptr->x-BOXSIZE, cptr->y)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:759:12: note: place parentheses around the assignment to silence this warning 759 | if (ncptr = fetchtile(context, cptr->x-BOXSIZE, cptr->y)) | ^ | ( ) generate.c:759:12: note: use '==' to turn this assignment into an equality comparison 759 | if (ncptr = fetchtile(context, cptr->x-BOXSIZE, cptr->y)) | ^ | == generate.c:767:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 767 | if (ncptr = fetchtile(context, cptr->x+BOXSIZE, cptr->y)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:767:12: note: place parentheses around the assignment to silence this warning 767 | if (ncptr = fetchtile(context, cptr->x+BOXSIZE, cptr->y)) | ^ | ( ) generate.c:767:12: note: use '==' to turn this assignment into an equality comparison 767 | if (ncptr = fetchtile(context, cptr->x+BOXSIZE, cptr->y)) | ^ | == generate.c:775:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 775 | if (ncptr = fetchtile(context, cptr->x, cptr->y-BOXSIZE)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:775:12: note: place parentheses around the assignment to silence this warning 775 | if (ncptr = fetchtile(context, cptr->x, cptr->y-BOXSIZE)) | ^ | ( ) generate.c:775:12: note: use '==' to turn this assignment into an equality comparison 775 | if (ncptr = fetchtile(context, cptr->x, cptr->y-BOXSIZE)) | ^ | == generate.c:783:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 783 | if (ncptr = fetchtile(context, cptr->x, cptr->y+BOXSIZE)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:783:12: note: place parentheses around the assignment to silence this warning 783 | if (ncptr = fetchtile(context, cptr->x, cptr->y+BOXSIZE)) | ^ | ( ) generate.c:783:12: note: use '==' to turn this assignment into an equality comparison 783 | if (ncptr = fetchtile(context, cptr->x, cptr->y+BOXSIZE)) | ^ | == generate.c:792:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 792 | if (ncptr = fetchtile(context, cptr->x-BOXSIZE, cptr->y-BOXSIZE)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:792:17: note: place parentheses around the assignment to silence this warning 792 | if (ncptr = fetchtile(context, cptr->x-BOXSIZE, cptr->y-BOXSIZE)) | ^ | ( ) generate.c:792:17: note: use '==' to turn this assignment into an equality comparison 792 | if (ncptr = fetchtile(context, cptr->x-BOXSIZE, cptr->y-BOXSIZE)) | ^ | == generate.c:795:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 795 | if (ncptr = fetchtile(context, cptr->x+BOXSIZE, cptr->y-BOXSIZE)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:795:17: note: place parentheses around the assignment to silence this warning 795 | if (ncptr = fetchtile(context, cptr->x+BOXSIZE, cptr->y-BOXSIZE)) | ^ | ( ) generate.c:795:17: note: use '==' to turn this assignment into an equality comparison 795 | if (ncptr = fetchtile(context, cptr->x+BOXSIZE, cptr->y-BOXSIZE)) | ^ | == generate.c:798:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 798 | if (ncptr = fetchtile(context, cptr->x+BOXSIZE, cptr->y+BOXSIZE)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:798:17: note: place parentheses around the assignment to silence this warning 798 | if (ncptr = fetchtile(context, cptr->x+BOXSIZE, cptr->y+BOXSIZE)) | ^ | ( ) generate.c:798:17: note: use '==' to turn this assignment into an equality comparison 798 | if (ncptr = fetchtile(context, cptr->x+BOXSIZE, cptr->y+BOXSIZE)) | ^ | == generate.c:801:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 801 | if (ncptr = fetchtile(context, cptr->x-BOXSIZE, cptr->y+BOXSIZE)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generate.c:801:17: note: place parentheses around the assignment to silence this warning 801 | if (ncptr = fetchtile(context, cptr->x-BOXSIZE, cptr->y+BOXSIZE)) | ^ | ( ) generate.c:801:17: note: use '==' to turn this assignment into an equality comparison 801 | if (ncptr = fetchtile(context, cptr->x-BOXSIZE, cptr->y+BOXSIZE)) | ^ | == generate.c:868:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 868 | if (newval = hold[i][j]) | ~~~~~~~^~~~~~~~~~~~ generate.c:868:18: note: place parentheses around the assignment to silence this warning 868 | if (newval = hold[i][j]) | ^ | ( ) generate.c:868:18: note: use '==' to turn this assignment into an equality comparison 868 | if (newval = hold[i][j]) | ^ | == generate.c:885:16: warning: call to undeclared function 'newstate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 885 | newval = newstate(hold[i][j], | ^ generate.c:694:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8]' (aka 'unsigned char[8]')) [-Warray-bounds] 694 | if (V_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:578:4: note: expanded from macro 'V_EDGE' 578 | (h[0][r] | h[1][r] | h[2][r] | h[3][r] \ | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:694:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8]' (aka 'unsigned char[8]')) [-Warray-bounds] 694 | if (V_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:578:14: note: expanded from macro 'V_EDGE' 578 | (h[0][r] | h[1][r] | h[2][r] | h[3][r] \ | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:694:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8]' (aka 'unsigned char[8]')) [-Warray-bounds] 694 | if (V_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:578:24: note: expanded from macro 'V_EDGE' 578 | (h[0][r] | h[1][r] | h[2][r] | h[3][r] \ | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:694:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8]' (aka 'unsigned char[8]')) [-Warray-bounds] 694 | if (V_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:578:34: note: expanded from macro 'V_EDGE' 578 | (h[0][r] | h[1][r] | h[2][r] | h[3][r] \ | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:694:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8]' (aka 'unsigned char[8]')) [-Warray-bounds] 694 | if (V_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:579:5: note: expanded from macro 'V_EDGE' 579 | | h[4][r] | h[5][r] | h[6][r] | h[7][r]) | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:694:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8]' (aka 'unsigned char[8]')) [-Warray-bounds] 694 | if (V_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:579:15: note: expanded from macro 'V_EDGE' 579 | | h[4][r] | h[5][r] | h[6][r] | h[7][r]) | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:694:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8]' (aka 'unsigned char[8]')) [-Warray-bounds] 694 | if (V_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:579:25: note: expanded from macro 'V_EDGE' 579 | | h[4][r] | h[5][r] | h[6][r] | h[7][r]) | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:694:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8]' (aka 'unsigned char[8]')) [-Warray-bounds] 694 | if (V_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:579:35: note: expanded from macro 'V_EDGE' 579 | | h[4][r] | h[5][r] | h[6][r] | h[7][r]) | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:700:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8][8]' (aka 'unsigned char[8][8]')) [-Warray-bounds] 700 | if (H_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:575:4: note: expanded from macro 'H_EDGE' 575 | (h[r][0] | h[r][1] | h[r][2] | h[r][3] \ | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:700:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8][8]' (aka 'unsigned char[8][8]')) [-Warray-bounds] 700 | if (H_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:575:14: note: expanded from macro 'H_EDGE' 575 | (h[r][0] | h[r][1] | h[r][2] | h[r][3] \ | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:700:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8][8]' (aka 'unsigned char[8][8]')) [-Warray-bounds] 700 | if (H_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:575:24: note: expanded from macro 'H_EDGE' 575 | (h[r][0] | h[r][1] | h[r][2] | h[r][3] \ | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:700:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8][8]' (aka 'unsigned char[8][8]')) [-Warray-bounds] 700 | if (H_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:575:34: note: expanded from macro 'H_EDGE' 575 | (h[r][0] | h[r][1] | h[r][2] | h[r][3] \ | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:700:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8][8]' (aka 'unsigned char[8][8]')) [-Warray-bounds] 700 | if (H_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:576:5: note: expanded from macro 'H_EDGE' 576 | | h[r][4] | h[r][5] | h[r][6] | h[r][7]) | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:700:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8][8]' (aka 'unsigned char[8][8]')) [-Warray-bounds] 700 | if (H_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:576:15: note: expanded from macro 'H_EDGE' 576 | | h[r][4] | h[r][5] | h[r][6] | h[r][7]) | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:700:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8][8]' (aka 'unsigned char[8][8]')) [-Warray-bounds] 700 | if (H_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:576:25: note: expanded from macro 'H_EDGE' 576 | | h[r][4] | h[r][5] | h[r][6] | h[r][7]) | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:700:13: warning: array index 8 is past the end of the array (that has type 'cell_t[8][8]' (aka 'unsigned char[8][8]')) [-Warray-bounds] 700 | if (H_EDGE(cptr->cells.nstate.ocell, BOXSIZE)) | ^ ~~~~~~~ generate.c:576:35: note: expanded from macro 'H_EDGE' 576 | | h[r][4] | h[r][5] | h[r][6] | h[r][7]) | ^ ~ ./tile.h:42:2: note: array 'ocell' declared here 42 | cell_t ocell[BOXSIZE][BOXSIZE]; | ^ generate.c:1083:52: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1083 | if ((err = parse_recurse(ep + 1, ecount + 1)) == E_NOCLOSE | ^ ~~~~~~~~~ generate.c:1084:11: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1084 | || err == E_BADCHAR || err == E_WRONGNUM) | ^ ~~~~~~~~~ generate.c:1084:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1084 | || err == E_BADCHAR || err == E_WRONGNUM) | ^ ~~~~~~~~~~ generate.c:1097:2: warning: call to undeclared function 'make_transition'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1097 | make_transition(sofar[0],sofar[1],sofar[2],sofar[3],sofar[4],sofar[5]); | ^ generate.c:1049:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | static char *parse_recurse(buf, ecount) | ^ generate.c:1111:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | int make_transition(s, a, b, c, d, t) | ^ generate.c:1136:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | int newstate(s, a, b, c, d) | ^ generate.c:1149:39: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1149 | if ((err = parse_recurse(buf, 0)) == E_NOCLOSE | ^ ~~~~~~~~~ generate.c:1150:10: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1150 | || err == E_WRONGNUM || err == E_BADCHAR) | ^ ~~~~~~~~~~ generate.c:1150:31: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 1150 | || err == E_WRONGNUM || err == E_BADCHAR) | ^ ~~~~~~~~~ generate.c:1189:15: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1189 | edebug = atoi(buf + 6); | ^ generate.c:1276:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 1276 | #endif PROF | ^ | // generate.c:1315:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 1315 | #endif PROF | ^ | // --- gentab.o --- 1 warning generated. --- help.h --- sed help.h --- key.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c key.c In file included from key.c:23: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // key.c:46:6: warning: call to undeclared function 'Button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | Button(); | ^ key.c:52:26: warning: passing arguments to 'ClassifyWin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | DoExpose(ClassifyWin(event.xexpose.window)); | ^ key.c:79:24: warning: passing arguments to 'ClassifyWin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | switch(ClassifyWin(event.xkey.window)) | ^ key.c:106:28: warning: array index 255 is past the end of the array (that has type 'char[255]') [-Warray-bounds] 106 | if (buflen > INPBUFLEN) inpbuf[INPBUFLEN] = 0; | ^ ~~~~~~~~~ ./data.h:101:1: note: array 'inpbuf' declared here 101 | GLOBAL char inpbuf[INPBUFLEN]; | ^ ./defs.h:175:16: note: expanded from macro 'GLOBAL' 175 | #define GLOBAL extern | ^ key.c:140:7: warning: call to undeclared library function 'isdigit' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | || !is_state(s) | ^ ./defs.h:121:21: note: expanded from macro 'is_state' 121 | #define is_state(c) isdigit(c) /* is char a valid state indicator? */ | ^ key.c:140:7: note: include the header or explicitly provide a declaration for 'isdigit' ./defs.h:121:21: note: expanded from macro 'is_state' 121 | #define is_state(c) isdigit(c) /* is char a valid state indicator? */ | ^ key.c:147:16: warning: call to undeclared function 'newstate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | if ((ns = newstate(stoi(s), stoi(n1), stoi(n2), stoi(n3), stoi(n4))) == BADSTATE) | ^ key.c:173:22: warning: passing arguments to 'parse_rule' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | if (err = parse_rule(outbuf)) | ^ key.c:173:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 173 | if (err = parse_rule(outbuf)) | ~~~~^~~~~~~~~~~~~~~~~~~~ key.c:173:10: note: place parentheses around the assignment to silence this warning 173 | if (err = parse_rule(outbuf)) | ^ | ( ) key.c:173:10: note: use '==' to turn this assignment into an equality comparison 173 | if (err = parse_rule(outbuf)) | ^ | == key.c:206:12: warning: call to undeclared function 'make_transition'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | (void) make_transition(s, n1, n2, n3, n4, stoi(ns)); | ^ 10 warnings generated. --- main.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c main.c --- generate.o --- 46 warnings generated. --- tentative.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c tentative.c In file included from tentative.c:23: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // --- main.o --- In file included from main.c:32: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // main.c:40: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 previous declaration [-Wdeprecated-non-prototype] 40 | extern char *getenv(); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ main.c:85:1: warning: non-void function does not return a value [-Wreturn-type] 85 | } | ^ main.c:125:20: warning: passing arguments to 'ClassifyWin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | if (ClassifyWin(event.xmotion.window) == LIFEWIN) | ^ main.c:178:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | int DoKeySymIn(keysym) | ^ main.c:257:10: warning: unused variable 'pstring' [-Wunused-variable] 257 | char pstring[50]; | ^~~~~~~ main.c:254:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | void DoKeyIn(kbuf) | ^ main.c:474:20: warning: passing arguments to 'ClassifyWin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | if (ClassifyWin(event.xbutton.window) == INPUTWIN) | ^ main.c:478:20: warning: passing arguments to 'ClassifyWin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | if (ClassifyWin(event.xbutton.window) == LIFEWIN) | ^ main.c:530:20: warning: passing arguments to 'ClassifyWin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | if (ClassifyWin(event.xbutton.window) == LIFEWIN | ^ main.c:535:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 535 | main(argc, argv) | ^ | int main.c:598:5: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 598 | &hints.width,&hints.height); | ^~~~~~~~~~~~ /var/tmp/work/math/xlife/work/.buildlink/include/X11/Xlib.h:2871:37: note: passing argument to parameter here 2871 | unsigned int* /* width_return */, | ^ main.c:598:18: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 598 | &hints.width,&hints.height); | ^~~~~~~~~~~~~ /var/tmp/work/math/xlife/work/.buildlink/include/X11/Xlib.h:2873:1: note: passing argument to parameter here 2873 | ); | ^ main.c:673:54: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 673 | cursor_data = XCreateBitmapFromData(disp, mainw, cursor_data_bits, cursor_data_width, cursor_data_height); | ^~~~~~~~~~~~~~~~ /var/tmp/work/math/xlife/work/.buildlink/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:674:54: warning: passing 'unsigned char[32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 674 | cursor_mask = XCreateBitmapFromData(disp, mainw, cursor_mask_bits, cursor_mask_width, cursor_mask_height); | ^~~~~~~~~~~~~~~~ /var/tmp/work/math/xlife/work/.buildlink/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:750:20: warning: passing arguments to 'add_loadreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | add_loadreq(&loadqueue,0,initpat,0, | ^ main.c:793:23: warning: passing arguments to 'ClassifyWin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | DoExpose(ClassifyWin(event.xexpose.window)); | ^ main.c:546:24: warning: unused variable 'dummy' [-Wunused-variable] 546 | XColor white,black,dummy; | ^~~~~ main.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | main(argc, argv) | ^ --- tentative.o --- tentative.c:40:7: warning: use of unary operator that may be intended as compound assignment (-=) 40 | t =- tyx; tyx = txx; txx = t; | ^~ tentative.c:41:7: warning: use of unary operator that may be intended as compound assignment (-=) 41 | t =- tyy; tyy = txy; txy = t; | ^~ tentative.c:51:9: warning: use of unary operator that may be intended as compound assignment (-=) 51 | tyx =- tyx; | ^~ tentative.c:52:9: warning: use of unary operator that may be intended as compound assignment (-=) 52 | tyy =- tyy; | ^~ tentative.c:49:9: warning: unused variable 't' [-Wunused-variable] 49 | int t; | ^ tentative.c:96:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 96 | else if (state = getcell(&ptr->cells, dx, dy)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tentative.c:96:18: note: place parentheses around the assignment to silence this warning 96 | else if (state = getcell(&ptr->cells, dx, dy)) | ^ | ( ) tentative.c:96:18: note: use '==' to turn this assignment into an equality comparison 96 | else if (state = getcell(&ptr->cells, dx, dy)) | ^ | == 7 warnings generated. --- tile.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c tile.c --- main.o --- 19 warnings generated. --- utils.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c utils.c --- tile.o --- In file included from tile.c:65: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // --- utils.o --- In file included from utils.c:24: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // --- tile.o --- tile.c:180:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 180 | #endif PROF | ^ | // tile.c:185:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 185 | #endif PROF | ^ | // tile.c:170:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | tile *createtile(context, x,y, hv) | ^ tile.c:225:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 225 | #endif PROF | ^ | // tile.c:247:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 247 | #endif PROF | ^ | // tile.c:264:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 264 | #endif PROF | ^ | // tile.c:216:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | static tile *findtile(context, x, y, hv) | ^ tile.c:285:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 285 | if (ptr = findtile(context, hx, hy, hv)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:285:13: note: place parentheses around the assignment to silence this warning 285 | if (ptr = findtile(context, hx, hy, hv)) | ^ | ( ) tile.c:285:13: note: use '==' to turn this assignment into an equality comparison 285 | if (ptr = findtile(context, hx, hy, hv)) | ^ | == tile.c:304:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 304 | if (ptr = findtile(context, x, y, hv)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:304:13: note: place parentheses around the assignment to silence this warning 304 | if (ptr = findtile(context, x, y, hv)) | ^ | ( ) tile.c:304:13: note: use '==' to turn this assignment into an equality comparison 304 | if (ptr = findtile(context, x, y, hv)) | ^ | == tile.c:414:9: warning: variable 'state' is uninitialized when used here [-Wuninitialized] 414 | if (state==HIDE) | ^~~~~ tile.c:411:14: note: initialize the variable 'state' to silence this warning 411 | int state; | ^ | = 0 tile.c:650:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 650 | if (val = getcell(&ptr->cells, dx, dy)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:650:12: note: place parentheses around the assignment to silence this warning 650 | if (val = getcell(&ptr->cells, dx, dy)) | ^ | ( ) tile.c:650:12: note: use '==' to turn this assignment into an equality comparison 650 | if (val = getcell(&ptr->cells, dx, dy)) | ^ | == tile.c:654:13: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 653 | (void) fprintf(ofp, "%d %d %d\n", | ~~ | %lu 654 | ptr->x+dx, ptr->y+dy, val); | ^~~~~~~~~ tile.c:654:24: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 653 | (void) fprintf(ofp, "%d %d %d\n", | ~~ | %lu 654 | ptr->x+dx, ptr->y+dy, val); | ^~~~~~~~~ tile.c:658:24: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 658 | "%d %d\n", ptr->x+dx,ptr->y+dy); | ~~ ^~~~~~~~~ | %lu tile.c:658:34: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 658 | "%d %d\n", ptr->x+dx,ptr->y+dy); | ~~ ^~~~~~~~~ | %lu tile.c:655:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 655 | else | ^ tile.c:671:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 671 | else | ^ tile.c:681:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 681 | if (val = getcell(&ptr->cells, dx, dy)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tile.c:681:12: note: place parentheses around the assignment to silence this warning 681 | if (val = getcell(&ptr->cells, dx, dy)) | ^ | ( ) tile.c:681:12: note: use '==' to turn this assignment into an equality comparison 681 | if (val = getcell(&ptr->cells, dx, dy)) | ^ | == tile.c:685:13: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 684 | (void) fprintf(ofp, "%d %d %d\n", | ~~ | %lu 685 | ptr->x+dx-xmin, ptr->y+dy-ymin, | ^~~~~~~~~~~~~~ tile.c:685:29: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 684 | (void) fprintf(ofp, "%d %d %d\n", | ~~ | %lu 685 | ptr->x+dx-xmin, ptr->y+dy-ymin, | ^~~~~~~~~~~~~~ tile.c:690:13: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 689 | (void) fprintf(ofp, "%d %d\n", | ~~ | %lu 690 | ptr->x+dx-xmin, ptr->y+dy-ymin); | ^~~~~~~~~~~~~~ tile.c:690:29: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 689 | (void) fprintf(ofp, "%d %d\n", | ~~ | %lu 690 | ptr->x+dx-xmin, ptr->y+dy-ymin); | ^~~~~~~~~~~~~~ tile.c:687:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 687 | else | ^ tile.c:704:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 704 | if (val = lookcell(pp, x, y)) | ~~~~^~~~~~~~~~~~~~~~~~~~ tile.c:704:11: note: place parentheses around the assignment to silence this warning 704 | if (val = lookcell(pp, x, y)) | ^ | ( ) tile.c:704:11: note: use '==' to turn this assignment into an equality comparison 704 | if (val = lookcell(pp, x, y)) | ^ | == tile.c:701:9: warning: unused variable 'ptr' [-Wunused-variable] 701 | tile *ptr; | ^~~ --- utils.o --- utils.c:38:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 38 | fprintf(stderr, s); | ^ utils.c:38:21: note: treat the string as an argument to avoid this 38 | fprintf(stderr, s); | ^ | "%s", utils.c:42:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | int ClassifyWin(win) | ^ In file included from utils.c:24: In file included from ./defs.h:178: ./data.h:72:12: 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] 72 | GLOBAL int ClassifyWin(); | ^ utils.c:57:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 57 | } | ^ utils.c:90:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 90 | sc = (1 << scale -1) - (scale > 2); | ~~ ~~~~~~^~ utils.c:90:19: note: place parentheses around the '-' expression to silence this warning 90 | sc = (1 << scale -1) - (scale > 2); | ^ | ( ) utils.c:101:19: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 101 | sc = (1 << scale -1) - 1; | ~~ ~~~~~~^~ utils.c:101:19: note: place parentheses around the '-' expression to silence this warning 101 | sc = (1 << scale -1) - 1; | ^ | ( ) utils.c:177:7: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 176 | sprintf(pstring, "(%d,%d)=%d", | ~~ | %lu 177 | x - xorigin, y - yorigin, | ^~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ utils.c:177:20: warning: format specifies type 'int' but the argument has type 'coord_t' (aka 'unsigned long') [-Wformat] 176 | sprintf(pstring, "(%d,%d)=%d", | ~~ | %lu 177 | x - xorigin, y - yorigin, | ^~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ utils.c:191:14: warning: call to undeclared library function 'toupper' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | buf[0] = toupper(buf[0]); | ^ utils.c:191:14: note: include the header or explicitly provide a declaration for 'toupper' utils.c:240:24: warning: format specifies type 'int *' but the argument has type 'u_long *' (aka 'unsigned long *') [-Wformat] 240 | sscanf(outbuf,"%d",&count); | ~~ ^~~~~~ | %ld utils.c:279:18: 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 previous declaration [-Wdeprecated-non-prototype] 279 | extern char *ctime(); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_time.h:113:18: note: conflicting prototype is here 113 | char *_LIBC_CSTR ctime(const time_t *); | ^ utils.c:285:52: warning: passing 'unsigned long *' to parameter of type 'const time_t *' (aka 'const long *') converts between pointers to integer types with different sign [-Wpointer-sign] 285 | leader, pw->pw_name, pw->pw_gecos, machine,ctime(&timeval)); | ^~~~~~~~ utils.c:292:6: warning: unused variable 'j' [-Wunused-variable] 292 | int j, left; | ^ 14 warnings generated. --- lifeconv.o --- --- tile.o --- 26 warnings generated. --- lifeconv.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c lifeconv.c --- collect.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c collect.c In file included from collect.c:31: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // --- lifeconv.o --- lifeconv.c:51:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | static void mark(x, y) | ^ lifeconv.c:131: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 previous declaration [-Wdeprecated-non-prototype] 131 | extern char *strchr(); | ^ lifeconv.c:178:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 178 | else | ^ lifeconv.c:69:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | static int cvimage(name, ifp, mode, ofp) | ^ lifeconv.c:228:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 228 | main(argc, argv) | ^ | int lifeconv.c:251:13: warning: 'mktemp' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] 251 | (void) mktemp(tmpfile); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:231:1: note: 'mktemp' has been explicitly marked deprecated here 231 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of mktemp(3), it is highly recommended that you use mkstemp(3) instead.") | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ lifeconv.c:259:8: warning: unused variable 'oldname' [-Wunused-variable] 259 | char oldname[BUFSIZ]; | ^~~~~~~ lifeconv.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | main(argc, argv) | ^ --- collect.o --- collect.c:51:20: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | if (cp = getenv("LIFEPATH")) | ^ collect.c:51:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 51 | if (cp = getenv("LIFEPATH")) | ~~~^~~~~~~~~~~~~~~~~~~~ collect.c:51:12: note: place parentheses around the assignment to silence this warning 51 | if (cp = getenv("LIFEPATH")) | ^ | ( ) collect.c:51:12: note: use '==' to turn this assignment into an equality comparison 51 | if (cp = getenv("LIFEPATH")) | ^ | == collect.c:58:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | exit(1); | ^ collect.c:58:3: note: include the header or explicitly provide a declaration for 'exit' collect.c:62:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 62 | (cp = strtok((char *)NULL, ":")); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ collect.c:62:10: note: place parentheses around the assignment to silence this warning 62 | (cp = strtok((char *)NULL, ":")); | ^ | ( ) collect.c:62:10: note: use '==' to turn this assignment into an equality comparison 62 | (cp = strtok((char *)NULL, ":")); | ^ | == collect.c:77:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | char *checktilda(stng) | ^ collect.c:38:7: 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] 38 | char *checktilda(); | ^ collect.c:103:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | static char *addlifeext(buf) | ^ collect.c:112:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | char *deletelifeext(buf) | ^ collect.c:130:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 130 | if (colptr=strchr(filename,':')) (*colptr)='\0'; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ collect.c:130:14: note: place parentheses around the assignment to silence this warning 130 | if (colptr=strchr(filename,':')) (*colptr)='\0'; | ^ | ( ) collect.c:130:14: note: use '==' to turn this assignment into an equality comparison 130 | if (colptr=strchr(filename,':')) (*colptr)='\0'; | ^ | == collect.c:122:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | char *seppatdir(filename,filefield) | ^ collect.c:146:1: warning: non-void function does not return a value [-Wreturn-type] 146 | } | ^ collect.c:148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | collect_loadreq(seenlist,loadqueue) | ^ | int collect.c:155:9: warning: call to undeclared function 'do_loadfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | if (!do_loadfile(seenlist,&loadqueue,1)) | ^ collect.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | collect_loadreq(seenlist,loadqueue) | ^ collect.c:164:1: warning: non-void function does not return a value [-Wreturn-type] 164 | } | ^ collect.c:184:21: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | newreq=(LoadReq *)malloc(sizeof(LoadReq)); | ^ collect.c:184:21: note: include the header or explicitly provide a declaration for 'malloc' collect.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | int add_loadreq(loadqueue, patname, relpath, loadtime) | ^ In file included from collect.c:32: ./data.h:27:12: 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 | GLOBAL int add_loadreq(); | ^ collect.c:193:1: warning: non-void function does not return a value [-Wreturn-type] 193 | } | ^ collect.c:195:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | int seen(seenlist, patname) | ^ collect.c:219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | void parse_patname(patname,patfield) | ^ collect.c:252:5: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | free(*loadqueue); | ^ collect.c:252:5: note: include the header or explicitly provide a declaration for 'free' collect.c:361:64: warning: format specifies type 'int *' but the argument has type 'unsigned long *' [-Wformat] 360 | (void) sscanf(buf+2, " %s %d %d %d %d %d", incl, | ~~ | %ld 361 | &xoff, &yoff, &rotate, &flip, &loadtime); | ^~~~~~~~~ collect.c:389:63: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 387 | printf("#I :%s.%s %d %d %d %d %d\n",incl+relpathoffset, | ~~ | %lu 388 | tmpstring, 389 | xoff, yoff, rotate, flip, loadtime); | ^~~~~~~~ collect.c:392:63: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 391 | printf("#I :%s %d %d %d %d %d\n",incl+relpathoffset, | ~~ | %lu 392 | xoff, yoff, rotate, flip, loadtime); | ^~~~~~~~ collect.c:244:9: warning: unused variable 'x' [-Wunused-variable] 244 | int x,y, linect = 0; | ^ collect.c:244:11: warning: unused variable 'y' [-Wunused-variable] 244 | int x,y, linect = 0; | ^ collect.c:244:14: warning: unused variable 'linect' [-Wunused-variable] 244 | int x,y, linect = 0; | ^~~~~~ collect.c:233:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | int do_loadfile(seenlist,loadqueue,ismain) | ^ collect.c:409:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 409 | main(argc, argv) | ^ | int collect.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- lifeconv.o --- 8 warnings generated. --- search.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c search.c --- collect.o --- 32 warnings generated. --- interact.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c interact.c --- search.o --- In file included from search.c:8: ./lifesrc.h:186:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 186 | extern char *malloc(); | ^ ./lifesrc.h:186:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' search.c:138:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | exit(1); | ^ search.c:138:3: note: include the header or explicitly provide a declaration for 'exit' search.c:158:20: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | cell = findcell(row, col, gen); | ^ search.c:169:14: warning: passing arguments to 'linkcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | linkcell(cell); | ^ search.c:178:26: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | cell->past = findcell(row, col, | ^ search.c:180:28: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | cell->future = findcell(row, col, | ^ search.c:188:26: warning: passing arguments to 'symcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | cell->csym = symcell(cell); | ^ search.c:200:20: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | cell = findcell(row, col, genmax-1); | ^ search.c:203:28: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | cell->future = findcell(nrow, ncol, 0); | ^ search.c:204:13: warning: passing arguments to 'linkcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | linkcell(cell->future); | ^ search.c:206:20: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | cell = findcell(row, col, 0); | ^ search.c:209:26: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | cell->past = findcell(nrow, ncol, genmax-1); | ^ search.c:210:13: warning: passing arguments to 'linkcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | linkcell(cell->past); | ^ search.c:226:20: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | cell = findcell(row, col, gen); | ^ search.c:231:20: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | cell = findcell(rowmax + 1 - row, col, gen); | ^ search.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | setcell(cell, state, free) | ^ search.c:107: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 definition [-Wdeprecated-non-prototype] 107 | static STATUS setcell(); | ^ search.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | getdesc(cell) | ^ search.c:112:12: 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] 112 | static int getdesc(); | ^ search.c:319:18: warning: parameter 'sum' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 319 | sumtodesc(state, sum) | ^ 320 | STATE state; 321 | { search.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | sumtodesc(state, sum) | ^ search.c:113:12: 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] 113 | static int sumtodesc(); | ^ search.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | consistify(cell) | ^ search.c:108: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 definition [-Wdeprecated-non-prototype] 108 | static STATUS consistify(); | ^ search.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | consistify10(cell) | ^ search.c:109: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 definition [-Wdeprecated-non-prototype] 109 | static STATUS consistify10(); | ^ search.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | proceed(cell, state, free) | ^ In file included from search.c:8: ./lifesrc.h:171: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 definition [-Wdeprecated-non-prototype] 171 | extern STATUS proceed(); | ^ search.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | go(cell, state, free) | ^ search.c:111: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 definition [-Wdeprecated-non-prototype] 111 | static STATUS go(); | ^ search.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | choose(cell) | ^ search.c:101: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] 101 | static STATE choose(); | ^ search.c:699:13: warning: passing arguments to 'dumpstate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | dumpstate(dumpfile); | ^ search.c:704:12: warning: passing arguments to 'printgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | printgen(curgen); | ^ search.c:740:22: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | cellg0 = findcell(row, col, 0); | ^ search.c:741:22: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | cellgn = findcell(row, col, gen); | ^ search.c:781:18: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | return findcell(nrow, col, cell->gen); | ^ search.c:784:18: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | return findcell(row, ncol, cell->gen); | ^ search.c:792:18: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | return findcell(nrow, ncol, cell->gen); | ^ search.c:800:18: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | return findcell(row, ncol, cell->gen); | ^ search.c:802:18: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | return findcell(nrow, col, cell->gen); | ^ search.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | symcell(cell) | ^ search.c:103: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] 103 | static CELL *symcell(); | ^ search.c:823:21: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | paircell = findcell(row - 1, col - 1, gen); | ^ search.c:827:21: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | paircell = findcell(row - 1, col, gen); | ^ search.c:831:21: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | paircell = findcell(row - 1, col + 1, gen); | ^ search.c:835:21: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | paircell = findcell(row, col - 1, gen); | ^ search.c:839:21: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | paircell = findcell(row, col + 1, gen); | ^ search.c:843:21: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | paircell = findcell(row + 1, col - 1, gen); | ^ search.c:847:21: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | paircell = findcell(row + 1, col, gen); | ^ search.c:851:21: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | paircell = findcell(row + 1, col + 1, gen); | ^ search.c:811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | linkcell(cell) | ^ search.c:99: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] 99 | static void linkcell(); | ^ search.c:865:20: warning: parameter 'gen' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 865 | findcell(row, col, gen) | ^ 866 | { search.c:865:15: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 865 | findcell(row, col, gen) | ^ 866 | { search.c:865:10: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 865 | findcell(row, col, gen) | ^ 866 | { search.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | findcell(row, col, gen) | ^ In file included from search.c:8: ./lifesrc.h:172: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] 172 | extern CELL *findcell(); | ^ search.c:918:29: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | newcells = (CELL *) malloc(sizeof(CELL) * ALLOCSIZE); | ^ search.c:979:17: warning: passing arguments to 'implication' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | implication(state, OFFcount, ONcount); | ^ search.c:1006:16: warning: passing arguments to 'transition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | transition(state, OFFcount, ONcount); | ^ search.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | transition(state, OFFcount, ONcount) | ^ search.c:100: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] 100 | static STATE transition(); | ^ search.c:1065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | implication(state, OFFcount, ONcount) | ^ search.c:102: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] 102 | static FLAGS implication(); | ^ --- interact.o --- In file included from interact.c:6: ./lifesrc.h:186:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 186 | extern char *malloc(); | ^ ./lifesrc.h:186:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' interact.c:23:6: warning: parameter 'argc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 23 | main(argc, argv) | ^ 24 | char **argv; 25 | { interact.c:23:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 23 | main(argc, argv) | ^ | int interact.c:31:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | exit(1); | ^ interact.c:31:3: note: include the header or explicitly provide a declaration for 'exit' interact.c:43:14: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | rowmax = atoi(str); | ^ interact.c:83:20: warning: passing arguments to 'atol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | dumpfreq = atol(str) * DUMPMULT; | ^ interact.c:92:20: warning: passing arguments to 'atol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | viewfreq = atol(str) * VIEWMULT; | ^ interact.c:164:16: warning: passing arguments to 'loadstate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | if (loadstate(loadfile) != OK) { | ^ interact.c:171:16: warning: passing arguments to 'readfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | if (readfile(initfile) != OK) { | ^ interact.c:188:11: warning: passing arguments to 'printgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | printgen(0); | ^ interact.c:201:13: warning: passing arguments to 'dumpstate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | dumpstate(dumpfile); | ^ interact.c:221:12: warning: passing arguments to 'printgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | printgen(0); | ^ interact.c:222:13: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | ttystatus("Object %ld found.\n", ++foundcount); | ^ interact.c:223:12: warning: passing arguments to 'writegen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | writegen(outputfile, TRUE); | ^ interact.c:27:9: warning: unused variable 'status' [-Wunused-variable] 27 | STATUS status; | ^~~~~~ interact.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | main(argc, argv) | ^ interact.c:254:10: warning: passing arguments to 'printgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | printgen(curgen); | ^ interact.c:257:10: warning: passing arguments to 'ttyread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | ttyread("> ", buf, LINESIZE); | ^ interact.c:269:13: warning: passing arguments to 'printgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | printgen((curgen + genmax - 1) % genmax); | ^ interact.c:273:13: warning: passing arguments to 'printgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | printgen((curgen + 1) % genmax); | ^ interact.c:277:15: warning: passing arguments to 'getsetting' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | getsetting(cp); | ^ interact.c:281:16: warning: passing arguments to 'confirm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | if (confirm("Clear all unknown cells? ")) | ^ interact.c:286:20: warning: passing arguments to 'atol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | viewfreq = atol(cp) * VIEWMULT; | ^ interact.c:287:13: warning: passing arguments to 'printgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | printgen(curgen); | ^ interact.c:291:13: warning: passing arguments to 'writegen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | writegen(cp, FALSE); | ^ interact.c:295:14: warning: passing arguments to 'dumpstate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | dumpstate(cp); | ^ interact.c:305:16: warning: passing arguments to 'confirm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | if (confirm("Really quit? ")) { | ^ interact.c:317:16: warning: passing arguments to 'getsetting' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | getsetting(cmd); | ^ interact.c:320:14: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | ttystatus("Unknown command\n"); | ^ interact.c:341:13: warning: passing arguments to 'getstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | cp = getstr(cp, "Cell to set (row col [state]): "); | ^ interact.c:345:14: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | row = getnum(&cp, -1); | ^ interact.c:348:14: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | col = getnum(&cp, -1); | ^ interact.c:351:16: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | state = getnum(&cp, 1); | ^ interact.c:356:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | ttystatus("Bad input line format\n"); | ^ interact.c:363:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | ttystatus("Illegal cell value\n"); | ^ interact.c:367:22: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | if (proceed(findcell(row, col, curgen), state, FALSE) != OK) { | ^ interact.c:367:13: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | if (proceed(findcell(row, col, curgen), state, FALSE) != OK) { | ^ interact.c:368:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | ttystatus("Inconsistent state for cell\n"); | ^ interact.c:373:10: warning: passing arguments to 'printgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | printgen(curgen); | ^ interact.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | getsetting(cp) | ^ interact.c:13: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] 13 | static void getsetting(); | ^ interact.c:390:19: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | cell = findcell(row, col, curgen); | ^ interact.c:394:15: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | if (proceed(cell, OFF, FALSE) != OK) | ^ interact.c:396:14: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | ttystatus("Inconsistent state for cell\n"); | ^ interact.c:403:10: warning: passing arguments to 'printgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | printgen(curgen); | ^ interact.c:412:10: warning: parameter 'gen' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 412 | printgen(gen) | ^ 413 | { interact.c:431:22: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | count += (findcell(row, col, gen)->state == ON); | ^ interact.c:438:11: warning: passing arguments to 'ttyprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | ttyprintf("%s (gen %d, cells %d) -g%d", msg, gen, count, genmax); | ^ interact.c:440:12: warning: passing arguments to 'ttyprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | ttyprintf(" -tr%d", rowtrans); | ^ interact.c:442:12: warning: passing arguments to 'ttyprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | ttyprintf(" -tc%d", coltrans); | ^ interact.c:444:12: warning: passing arguments to 'ttyprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | ttyprintf(" -sr"); | ^ interact.c:446:12: warning: passing arguments to 'ttyprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | ttyprintf(" -sc"); | ^ interact.c:448:12: warning: passing arguments to 'ttyprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | ttyprintf(" -p"); | ^ interact.c:450:12: warning: passing arguments to 'ttyprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | ttyprintf(" -a"); | ^ interact.c:452:12: warning: passing arguments to 'ttyprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | ttyprintf(" -m%d", maxcount); | ^ interact.c:454:12: warning: passing arguments to 'ttyprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | ttyprintf(" -v%ld", viewfreq / VIEWMULT); | ^ interact.c:456:12: warning: passing arguments to 'ttyprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | ttyprintf(" -d%ld %s", dumpfreq / DUMPMULT, dumpfile); | ^ interact.c:458:12: warning: passing arguments to 'ttyprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | ttyprintf(" -o %s", outputfile); | ^ interact.c:459:11: warning: passing arguments to 'ttyprintf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | ttyprintf("\n"); | ^ interact.c:463:19: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | cell = findcell(row, col, gen); | ^ interact.c:474:12: warning: passing arguments to 'ttywrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | ttywrite(msg, (colmax < 40) + 1); | ^ interact.c:476:11: warning: passing arguments to 'ttywrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | ttywrite("\n", 1); | ^ interact.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | printgen(gen) | ^ In file included from interact.c:6: ./lifesrc.h:168: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] 168 | extern void printgen(); | ^ interact.c:501:15: warning: passing arguments to 'getstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | file = getstr(file, "Write object to file: "); | ^ interact.c:507:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | ttystatus("Cannot create \"%s\"\n", file); | ^ interact.c:521:19: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | cell = findcell(row, col, curgen); | ^ interact.c:547:19: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | cell = findcell(row, col, curgen); | ^ interact.c:562:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | ttystatus("Error writing \"%s\"\n", file); | ^ interact.c:564:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | ttystatus("\"%s\" written\n", file); | ^ interact.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | writegen(file, append) | ^ interact.c:15: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] 15 | static void writegen(); | ^ interact.c:580:15: warning: passing arguments to 'getstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | file = getstr(file, "Dump state to file: "); | ^ interact.c:586:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | ttystatus("Cannot create \"%s\"\n", file); | ^ interact.c:602:27: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 602 | fprintf(fp, "T %d %d\n", baseset - settable, nextset - settable); | ~~ ^~~~~~~~~~~~~~~~~~ | %ld interact.c:602:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 602 | fprintf(fp, "T %d %d\n", baseset - settable, nextset - settable); | ~~ ^~~~~~~~~~~~~~~~~~ | %ld interact.c:606:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | ttystatus("Error writing \"%s\"\n", file); | ^ interact.c:610:11: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | ttystatus("State dumped to \"%s\"\n", file); | ^ interact.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | dumpstate(file) | ^ In file included from interact.c:6: ./lifesrc.h:169: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] 169 | extern void dumpstate(); | ^ interact.c:633:15: warning: passing arguments to 'getstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | file = getstr(file, "Load state from file: "); | ^ interact.c:639:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | ttystatus("Cannot open state file \"%s\"\n", file); | ^ interact.c:646:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | ttystatus("Missing version line in file \"%s\"\n", file); | ^ interact.c:652:12: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | if (getnum(&cp, 0) != DUMPVERSION) { | ^ interact.c:653:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | ttystatus("Unknown version in state file \"%s\"\n", file); | ^ interact.c:660:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | ttystatus("Missing init line in state file\n"); | ^ interact.c:665:17: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | rowmax = getnum(&cp, 0); | ^ interact.c:666:17: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | colmax = getnum(&cp, 0); | ^ interact.c:667:17: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | genmax = getnum(&cp, 0); | ^ interact.c:668:19: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | rowtrans = getnum(&cp, 0); | ^ interact.c:669:19: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | coltrans = getnum(&cp, 0); | ^ interact.c:670:17: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | rowsym = getnum(&cp, 0); | ^ interact.c:671:17: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | colsym = getnum(&cp, 0); | ^ interact.c:672:17: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | parent = getnum(&cp, 0); | ^ interact.c:673:21: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | allobjects = getnum(&cp, 0); | ^ interact.c:674:19: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | maxcount = getnum(&cp, 0); | ^ interact.c:675:20: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | cellcount = getnum(&cp, 0); | ^ interact.c:676:20: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | curstatus = getnum(&cp, 0); | ^ interact.c:688:15: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | row = getnum(&cp, 0); | ^ interact.c:689:15: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | col = getnum(&cp, 0); | ^ interact.c:690:15: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | gen = getnum(&cp, 0); | ^ interact.c:691:17: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | state = getnum(&cp, 0); | ^ interact.c:692:16: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | free = getnum(&cp, 0); | ^ interact.c:694:18: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | cell = findcell(row, col, gen); | ^ interact.c:701:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | ttystatus("Missing table line in state file\n"); | ^ interact.c:706:28: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | baseset = &settable[getnum(&cp, 0)]; | ^ interact.c:707:28: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | nextset = &settable[getnum(&cp, 0)]; | ^ interact.c:711:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | ttystatus("Missing end of file line in state file\n"); | ^ interact.c:717:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | ttystatus("Error reading \"%s\"\n", file); | ^ interact.c:721:11: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | ttystatus("State loaded from \"%s\"\n", file); | ^ interact.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | loadstate(file) | ^ interact.c:16: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 definition [-Wdeprecated-non-prototype] 16 | static STATUS loadstate(); | ^ interact.c:744:15: warning: passing arguments to 'getstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | file = getstr(file, "Read initial object from file: "); | ^ interact.c:750:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | ttystatus("Cannot open \"%s\"\n", file); | ^ interact.c:778:15: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | ttystatus("Bad file format in line %d\n", | ^ interact.c:784:24: warning: passing arguments to 'findcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | if (proceed(findcell(row, col, gen), state, FALSE) | ^ interact.c:784:15: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | if (proceed(findcell(row, col, gen), state, FALSE) | ^ interact.c:787:14: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | ttystatus("Inconsistent state for cell %d %d\n", | ^ interact.c:796:12: warning: passing arguments to 'ttystatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | ttystatus("Error reading \"%s\"\n", file); | ^ interact.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | readfile(file) | ^ interact.c:17: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 definition [-Wdeprecated-non-prototype] 17 | static STATUS readfile(); | ^ interact.c:816:10: warning: passing arguments to 'ttyread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | ttyread(prompt, buf, LINESIZE); | ^ interact.c:809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | getstr(str, prompt) | ^ interact.c:20: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] 20 | static char *getstr(); | ^ interact.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | confirm(prompt) | ^ interact.c:18: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] 18 | static BOOL confirm(); | ^ interact.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | getnum(cpp, defnum) | ^ interact.c:19: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] 19 | static long getnum(); | ^ --- search.o --- 65 warnings generated. --- dumbtty.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c dumbtty.c --- interact.o --- 128 warnings generated. --- cursestty.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c cursestty.c --- dumbtty.o --- dumbtty.c:20:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 20 | ttyopen() | ^ | int dumbtty.c:48:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | ttycheck() | ^ | int dumbtty.c:71:16: 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] 71 | ttywrite(buf, strlen(buf)); | ^ dumbtty.c:71:16: note: include the header or explicitly provide a declaration for 'strlen' dumbtty.c:71:10: warning: passing arguments to 'ttywrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | ttywrite(buf, strlen(buf)); | ^ dumbtty.c:88:10: warning: passing arguments to 'ttywrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | ttywrite(buf, strlen(buf)); | ^ dumbtty.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | ttywrite(buf, count) | ^ dumbtty.c:14: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] 14 | extern void ttywrite(); | ^ dumbtty.c:133:22: warning: parameter 'buflen' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | ttyread(prompt, buf, buflen) | ^ 134 | char *prompt; 135 | char *buf; 136 | { dumbtty.c:133:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | ttyread(prompt, buf, buflen) | ^ | int dumbtty.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 warnings generated. --- xlife._man --- --- cursestty.o --- cursestty.c:23:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 23 | ttyopen() | ^ | int --- xlife._man --- rm -f xlife._man --- cursestty.o --- cursestty.c:59:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | ttycheck() | ^ | int cursestty.c:110:14: warning: parameter 'len' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | ttywrite(cp, len) | ^ 111 | char *cp; 112 | { cursestty.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | ttywrite(cp, len) | ^ cursestty.c:17: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] 17 | extern void ttywrite(); | ^ cursestty.c:146:22: warning: parameter 'buflen' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | ttyread(prompt, buf, buflen) | ^ 147 | char *prompt; 148 | char *buf; 149 | { cursestty.c:146:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | ttyread(prompt, buf, buflen) | ^ | int cursestty.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xlife._man --- if test -z "" ; then cd `dirname xlife` && ln -s `basename xlife.man` `basename xlife._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -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" < xlife.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/\@\@$/\/' >xlife._man; fi --- cursestty.o --- 8 warnings generated. --- lifeconv._man --- rm -f lifeconv._man if test -z "" ; then cd `dirname lifeconv` && ln -s `basename lifeconv.man` `basename lifeconv._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -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" < lifeconv.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/\@\@$/\/' >lifeconv._man; fi --- collect._man --- rm -f collect._man if test -z "" ; then cd `dirname collect` && ln -s `basename collect.man` `basename collect._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -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" < collect.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/\@\@$/\/' >collect._man; fi --- lifesearch._man --- rm -f lifesearch._man if test -z "" ; then cd `dirname lifesearch` && ln -s `basename lifesearch.man` `basename lifesearch._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -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" < lifesearch.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/\@\@$/\/' >lifesearch._man; fi --- lifesearchdumb._man --- rm -f lifesearchdumb._man if test -z "" ; then cd `dirname lifesearchdumb` && ln -s `basename lifesearchdumb.man` `basename lifesearchdumb._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -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" < lifesearchdumb.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/\@\@$/\/' >lifesearchdumb._man; fi --- help.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 -DLIFEDIR=\"/opt/pkg/share/xlife/\" -I/opt/pkg/include/ncurses -I/opt/pkg/include -c help.c --- lifeconv --- rm -f lifeconv clang -o lifeconv -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib lifeconv.o --- help.o --- In file included from help.c:23: ./defs.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 25 | #endif __GNUCC__ | ^ | // help.c:52:5: warning: call to undeclared function 'redrawscreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | redrawscreen(); | ^ 2 warnings generated. --- collect --- rm -f collect --- lifesearch --- --- collect --- clang -o collect -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib collect.o --- lifesearch --- rm -f lifesearch clang -o lifesearch -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib search.o interact.o dumbtty.o -lcurses -ltermcap --- lifesearchdumb --- rm -f lifesearchdumb --- xlife --- --- lifesearchdumb --- clang -o lifesearchdumb -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib search.o interact.o cursestty.o -lcurses -ltermcap --- xlife --- rm -f xlife clang -o xlife -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib cell.o data.o file.o file_misc.o generate.o gentab.o help.o key.o main.o tentative.o tile.o utils.o -lXext -lX11 ld: warning: reducing alignment of section __DATA,__common from 0x8000 to 0x4000 because it exceeds segment maximum alignment