=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/xmountains", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xmountains-2.7nb2 --- calcalt.o --- --- random.o --- --- calcalt.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 -I/opt/pkg/include -c calcalt.c --- random.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 -I/opt/pkg/include -c random.c --- calcalt.o --- calcalt.c:37:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | Strip *make_strip (f) | ^ In file included from calcalt.c:22: ./crinkle.h:82:8: 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] 82 | Strip *make_strip (); | ^ calcalt.c:66:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | void free_strip (p) | ^ In file included from calcalt.c:22: ./crinkle.h:83:6: 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] 83 | void free_strip (); | ^ calcalt.c:82:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | Strip *double_strip (s) | ^ In file included from calcalt.c:22: ./crinkle.h:84:8: 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] 84 | Strip *double_strip (); | ^ calcalt.c:111:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | Strip *set_strip (f,value) | ^ In file included from calcalt.c:22: ./crinkle.h:85:8: 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] 85 | Strip *set_strip (); | ^ calcalt.c:137:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | Strip *random_strip(f) | ^ In file included from calcalt.c:22: ./crinkle.h:86:8: 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] 86 | Strip *random_strip (); | ^ calcalt.c:158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | void reset_fold(f) | ^ In file included from calcalt.c:22: ./crinkle.h:88:6: 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] 88 | void reset_fold(); | ^ calcalt.c:201:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | Fold *make_fold (parent,param,levels,stop,length) | ^ In file included from calcalt.c:22: ./crinkle.h:89: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] 89 | Fold *make_fold (); | ^ calcalt.c:253:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | void free_fold (f) | ^ In file included from calcalt.c:22: ./crinkle.h:90:6: 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] 90 | void free_fold (); | ^ calcalt.c:342:19: warning: passing arguments to 'x_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | x_update(fold,fold->midscale,0.0,t[0],t[1],t[2]); | ^ calcalt.c:356:23: warning: passing arguments to 'v_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | v_update(fold,fold->midscale,1.0,t[1],t[2],t[1]); | ^ calcalt.c:358:23: warning: passing arguments to 'v_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | v_update(fold,fold->midscale,fold->p->midmix,t[1],t[2],t[3]); | ^ calcalt.c:373:21: warning: passing arguments to 't_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | t_update(fold,fold->scale,0.0,t[0],t[1],t[2]); | ^ calcalt.c:374:21: warning: passing arguments to 'p_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | p_update(fold,fold->scale,0.0,t[1],t[2],t[3]); | ^ calcalt.c:377:25: warning: passing arguments to 'hside_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | hside_update(fold,fold->scale,0.0,t[0],t[1],t[2]); | ^ calcalt.c:378:25: warning: passing arguments to 'vside_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | vside_update(fold,fold->scale,0.0,t[2]); | ^ calcalt.c:395:25: warning: passing arguments to 'p_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | p_update(fold,fold->scale,fold->p->mix,t[0],t[1],t[0]); | ^ calcalt.c:397:25: warning: passing arguments to 'p_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | p_update(fold,fold->scale,fold->p->mix,t[0],t[1],t[2]); | ^ calcalt.c:400:27: warning: passing arguments to 'vside_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | vside_update(fold,fold->scale,fold->p->mix,t[1]); | ^ calcalt.c:425:23: warning: passing arguments to 't_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | t_update(fold,fold->scale,1.0,t[0],t[1],t[0]); | ^ calcalt.c:427:23: warning: passing arguments to 't_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | t_update(fold,fold->scale,fold->p->mix,t[0],t[1],t[2]); | ^ calcalt.c:283:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | Strip *next_strip (fold) | ^ In file included from calcalt.c:22: ./crinkle.h:87:8: 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] 87 | Strip *next_strip (); | ^ calcalt.c:474:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | void x_update(fold, scale, mix, a, b, c) | ^ In file included from calcalt.c:22: ./crinkle.h:92:6: 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] 92 | void x_update(); | ^ calcalt.c:564:17: warning: passing arguments to 'vside_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | vside_update(fold,scale,mix,b); | ^ calcalt.c:541:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | void p_update(fold, scale, mix, a, b, c) | ^ In file included from calcalt.c:22: ./crinkle.h:93:6: 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] 93 | void p_update(); | ^ calcalt.c:614:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | void t_update(fold, scale, mix, a, b, c) | ^ In file included from calcalt.c:22: ./crinkle.h:94:6: 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] 94 | void t_update(); | ^ calcalt.c:699:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | void v_update(fold, scale, mix, a, b, c) | ^ In file included from calcalt.c:22: ./crinkle.h:95:6: 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] 95 | void v_update(); | ^ calcalt.c:782:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | void vside_update(fold, scale, mix, a) | ^ In file included from calcalt.c:22: ./crinkle.h:96:6: 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] 96 | void vside_update(); | ^ calcalt.c:837:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | void hside_update(fold, scale, mix, a, b, c) | ^ In file included from calcalt.c:22: ./crinkle.h:97:6: 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] 97 | void hside_update(); | ^ --- random.o --- random.c:59:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | void rstart(i,j,k,l) | ^ random.c:102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | void seed_uni(ijkl) | ^ 2 warnings generated. --- artist.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 -I/opt/pkg/include -c artist.c --- calcalt.o --- 43 warnings generated. --- xmountains.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 -I/opt/pkg/include -c xmountains.c --- artist.o --- artist.c:56:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | void set_clut (max_col,red,green,blue) | ^ In file included from artist.c:7: ./paint.h:72:6: 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 | void set_clut(); | ^ artist.c:184:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | Height *extract (s) | ^ In file included from artist.c:7: ./paint.h:73:9: 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] 73 | Height *extract(); | ^ artist.c:257:16: warning: passing arguments to 'make_fold' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | top=make_fold(NULL, &fold_param, g.levels,g.stop,(SIDE / pwidth)); | ^ artist.c:260:30: warning: passing arguments to 'next_strip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | shadow = extract(next_strip(top)); | ^ artist.c:261:32: warning: passing arguments to 'next_strip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | a_strip = extract( next_strip(top) ); | ^ artist.c:262:32: warning: passing arguments to 'next_strip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | b_strip = extract( next_strip(top) ); | ^ artist.c:278:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | Col get_col (p,p_minus_x,p_minus_y,shadow) | ^ In file included from artist.c:7: ./paint.h:75:5: 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] 75 | Col get_col(); | ^ artist.c:398:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | Col *makemap (a,b,shadow) | ^ In file included from artist.c:7: ./paint.h:76:6: 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] 76 | Col *makemap(); | ^ artist.c:450:24: warning: passing arguments to 'project' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | coord = 1 + project( i, a[i] ); | ^ artist.c:428:10: warning: unused variable 'j' [-Wunused-variable] 428 | int i, j, coord, last; | ^ artist.c:423:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | Col *camera(a,b,shadow) | ^ In file included from artist.c:7: ./paint.h:77:6: 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] 77 | Col *camera(); | ^ artist.c:525:22: warning: passing arguments to 'project' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | coord=1+project(i,g.sealevel); | ^ artist.c:545:20: warning: passing arguments to 'project' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | top = project(i,a[i]); | ^ artist.c:546:21: warning: passing arguments to 'project' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | bottom=project(i,pivot-a[i]); | ^ artist.c:586:20: warning: passing arguments to 'project' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | coord=1+project(0,g.sealevel); | ^ artist.c:588:20: warning: passing arguments to 'project' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | coord=1+project(0,a[0]); | ^ artist.c:478:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | Col *mirror(a,b,shadow) | ^ In file included from artist.c:7: ./paint.h:78:6: 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] 78 | Col *mirror(); | ^ artist.c:604:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | int project (x,y) | ^ In file included from artist.c:7: ./paint.h:79:5: 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] 79 | int project(); | ^ artist.c:642:12: warning: passing arguments to 'free_fold' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | free_fold(top); | ^ artist.c:710:32: warning: passing arguments to 'next_strip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | b_strip = extract( next_strip(top) ); | ^ artist.c:689:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | Col *next_col (paint, reflec) | ^ artist.c:832:7: warning: call to undeclared function 'blank_region'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 832 | blank_region(0,0,g->graph_width,g->graph_height); | ^ artist.c:833:7: warning: call to undeclared function 'flush_region'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 833 | flush_region(0,0,g->graph_width,g->graph_height); | ^ artist.c:837:7: warning: call to undeclared function 'blank_region'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 837 | blank_region(0,0,g->graph_width,g->graph_height); | ^ artist.c:838:7: warning: call to undeclared function 'flush_region'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 838 | flush_region(0,0,g->graph_width,g->graph_height); | ^ artist.c:842:5: warning: call to undeclared function 'scroll_screen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 842 | scroll_screen(g->scroll); | ^ artist.c:855:7: warning: call to undeclared function 'plot_pixel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 855 | plot_pixel(g->pos,((g->graph_height-1)-j),BLACK); | ^ artist.c:859:7: warning: call to undeclared function 'plot_pixel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 859 | plot_pixel(g->pos,((mapwid-1)-j),l[j]); | ^ artist.c:870:9: warning: call to undeclared function 'plot_pixel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 870 | plot_pixel(g->pos,((g->graph_height-1)-j),l[j]); | ^ artist.c:875:3: warning: call to undeclared function 'flush_region'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 875 | flush_region(g->pos,0,1,g->graph_height); | ^ artist.c:822:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | void plot_column(g) | ^ --- xmountains.o --- xmountains.c:27:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | int my_getopt (argc, argv, pat) | ^ xmountains.c:82:8: 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] 82 | double atof(); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:149:9: note: conflicting prototype is here 149 | double atof(const char *); | ^ xmountains.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | window_id_kludge (argcP, argv) | ^ xmountains.c:137:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 137 | main (argc,argv) | ^ | int xmountains.c:351:10: warning: call to undeclared function 'print_algorithm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | print_algorithm(); | ^ xmountains.c:411:11: warning: passing arguments to 'set_clut' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | set_clut(g.n_col,clut[0], clut[1], clut[2]); | ^ xmountains.c:412:16: warning: passing arguments to 'init_graphics' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | init_graphics(root, window_id, (! e_events),request_clear,&g.graph_width,&g.graph_height,g.n_col,clut[0],clut[1],clut[2]); | ^ xmountains.c:419:3: warning: call to undeclared function 'seed_uni'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 419 | seed_uni(seed); | ^ xmountains.c:451:5: warning: call to undeclared function 'plot_column'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 451 | plot_column(&g); | ^ xmountains.c:141:9: warning: unused variable 'p' [-Wunused-variable] 141 | int i,p; | ^ xmountains.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | main (argc,argv) | ^ 11 warnings generated. --- X_graphics.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 -I/opt/pkg/include -c X_graphics.c --- artist.o --- 38 warnings generated. --- print_alg.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 -I/opt/pkg/include -c print_alg.c --- xmountains._man --- rm -f xmountains._man if test -z "" ; then cd `dirname xmountains` && ln -s `basename xmountains.man` `basename xmountains._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" < xmountains.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/\@\@$/\/' >xmountains._man; fi --- X_graphics.o --- X_graphics.c:85:17: warning: unused variable 'i' [-Wunused-variable] 85 | int exw, exh, i; | ^ X_graphics.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | void zap_events(snooze) | ^ X_graphics.c:48:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | void zap_events(); | ^ X_graphics.c:175:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 175 | if( count = XPending(dpy) ) | ~~~~~~^~~~~~~~~~~~~~~ X_graphics.c:175:13: note: place parentheses around the assignment to silence this warning 175 | if( count = XPending(dpy) ) | ^ | ( ) X_graphics.c:175:13: note: use '==' to turn this assignment into an equality comparison 175 | if( count = XPending(dpy) ) | ^ | == X_graphics.c:184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | void blank_region(lx,ly,ux,uy) | ^ X_graphics.c:204:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | void blank_col( pos ) | ^ X_graphics.c:226:7: warning: unused variable 'mask' [-Wunused-variable] 226 | int mask; | ^~~~ X_graphics.c:227:7: warning: unused variable 'count' [-Wunused-variable] 227 | int count; | ^~~~~ X_graphics.c:212:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | void init_graphics( want_use_root, use_window, use_background, want_clear, s_graph_width,s_graph_height,ncol,red,green,blue ) | ^ X_graphics.c:405:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | void scroll_screen( dist ) | ^ X_graphics.c:451:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | void plot_pixel( x, y, value ) | ^ X_graphics.c:508:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | void flush_region( x, y, w, h) | ^ 12 warnings generated. --- xmountains --- rm -f xmountains clang -o xmountains -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib calcalt.o random.o artist.o xmountains.o X_graphics.o print_alg.o -lX11 -lm