=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/pgraf", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for pgraf-20010131nb1 --- all-metagens --- --- all-lolevels --- all ===> lolevels --- all-metagens --- all ===> metagens --- all-lolevels --- --- pg.o --- --- all-metagens --- --- libpgc.a --- --- all-lolevels --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I../../include -I/opt/pkg/include -c ../pgmain/pg.c --- all-metagens --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c pgc.c; mv pgc.o libpgc.a pgc.c:20:1: error: return type defaults to 'int' [-Wimplicit-int] 20 | gopen() | ^~~~~ pgc.c: In function 'gopen': pgc.c:24:42: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 24 | if ((pgraf = fopen(NAME,"w")) == NULL) exit(1); | ^~~~ pgc.c:13:1: note: include '' or provide a declaration of 'exit' 12 | #include +++ |+#include 13 | pgc.c:24:42: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 24 | if ((pgraf = fopen(NAME,"w")) == NULL) exit(1); | ^~~~ pgc.c:24:42: note: include '' or provide a declaration of 'exit' pgc.c: At top level: pgc.c:33:1: error: return type defaults to 'int' [-Wimplicit-int] 33 | gclose() | ^~~~~~ pgc.c:39:1: error: return type defaults to 'int' [-Wimplicit-int] 39 | gclear() | ^~~~~~ pgc.c:45:1: error: return type defaults to 'int' [-Wimplicit-int] 45 | gpause() | ^~~~~~ pgc.c:51:1: error: return type defaults to 'int' [-Wimplicit-int] 51 | badset(value) | ^~~~~~ pgc.c: In function 'badset': pgc.c:51:1: warning: old-style function definition [-Wold-style-definition] pgc.c: In function 'windowno': pgc.c:59:13: warning: old-style function definition [-Wold-style-definition] 59 | static void windowno(nw,xl,xh,yl,yh) | ^~~~~~~~ pgc.c:63:3: error: too many arguments to function 'wingen'; expected 0, have 6 63 | wingen(nw,xl,yl,xh,yh,0); | ^~~~~~ ~~ pgc.c:17:23: note: declared here 17 | static void windono(),wingen(),axgen(); | ^~~~~~ pgc.c: At top level: pgc.c:67:1: error: return type defaults to 'int' [-Wimplicit-int] 67 | window(nw,xl,xh,yl,yh) | ^~~~~~ pgc.c: In function 'window': pgc.c:67:1: warning: old-style function definition [-Wold-style-definition] pgc.c:71:3: error: too many arguments to function 'wingen'; expected 0, have 6 71 | wingen(nw,xl,yl,xh,yh,1); | ^~~~~~ ~~ pgc.c:17:23: note: declared here 17 | static void windono(),wingen(),axgen(); | ^~~~~~ pgc.c: In function 'wingen': pgc.c:74:13: warning: old-style function definition [-Wold-style-definition] 74 | static void wingen(nw,xl,yl,xh,yh,draw) | ^~~~~~ pgc.c: At top level: pgc.c:83:1: error: return type defaults to 'int' [-Wimplicit-int] 83 | axes(nw,sxl,sxh,ntx,xlabel,syl,syh,nty,ylabel) | ^~~~ pgc.c: In function 'axes': pgc.c:83:1: warning: old-style function definition [-Wold-style-definition] pgc.c:88:3: error: too many arguments to function 'axgen'; expected 0, have 11 88 | axgen(nw,sxl,sxh,ntx,xlabel,syl,syh,nty,ylabel,1,1); | ^~~~~ ~~ pgc.c:17:32: note: declared here 17 | static void windono(),wingen(),axgen(); | ^~~~~ pgc.c: At top level: pgc.c:92:1: error: return type defaults to 'int' [-Wimplicit-int] 92 | axesnoxy(nw,sxl,sxh,ntx,syl,syh,nty) | ^~~~~~~~ pgc.c: In function 'axesnoxy': pgc.c:92:1: warning: old-style function definition [-Wold-style-definition] pgc.c:92:1: error: type of 'ntx' defaults to 'int' [-Wimplicit-int] pgc.c:92:1: error: type of 'nty' defaults to 'int' [-Wimplicit-int] pgc.c:96:3: error: too many arguments to function 'axgen'; expected 0, have 11 96 | axgen(nw,sxl,sxh,ntx," ",syl,syh,nty," ",0,0); | ^~~~~ ~~ pgc.c:17:32: note: declared here 17 | static void windono(),wingen(),axgen(); | ^~~~~ pgc.c: At top level: pgc.c:99:1: error: return type defaults to 'int' [-Wimplicit-int] 99 | axesnox(nw,sxl,sxh,ntx,syl,syh,nty,ylabel) | ^~~~~~~ pgc.c: In function 'axesnox': pgc.c:99:1: warning: old-style function definition [-Wold-style-definition] pgc.c:99:1: error: type of 'ntx' defaults to 'int' [-Wimplicit-int] pgc.c:104:3: error: too many arguments to function 'axgen'; expected 0, have 11 104 | axgen(nw,sxl,sxh,ntx," ",syl,syh,nty,ylabel,0,1); | ^~~~~ ~~ pgc.c:17:32: note: declared here 17 | static void windono(),wingen(),axgen(); | ^~~~~ pgc.c: At top level: pgc.c:107:1: error: return type defaults to 'int' [-Wimplicit-int] 107 | axesnoy(nw,sxl,sxh,ntx,xlabel,syl,syh,nty) | ^~~~~~~ pgc.c: In function 'axesnoy': pgc.c:107:1: warning: old-style function definition [-Wold-style-definition] pgc.c:107:1: error: type of 'nty' defaults to 'int' [-Wimplicit-int] pgc.c:112:3: error: too many arguments to function 'axgen'; expected 0, have 11 112 | axgen(nw,sxl,sxh,ntx,xlabel,syh,syl,nty," ",1,0); | ^~~~~ ~~ pgc.c:17:32: note: declared here 17 | static void windono(),wingen(),axgen(); | ^~~~~ pgc.c: In function 'axgen': pgc.c:116:13: warning: old-style function definition [-Wold-style-definition] 116 | static void axgen(nw,sxl,sxh,ntx,xlabel,syl,syh,nty,ylabel,drx,dry) | ^~~~~ pgc.c: At top level: pgc.c:146:1: error: return type defaults to 'int' [-Wimplicit-int] 146 | conto(nw,nx,ny,dz,ltype,v) | ^~~~~ pgc.c: In function 'conto': pgc.c:146:1: warning: old-style function definition [-Wold-style-definition] pgc.c:155:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 155 | exit(1); | ^~~~ pgc.c:155:5: note: include '' or provide a declaration of 'exit' pgc.c:165:3: error: implicit declaration of function 'conto2'; did you mean 'conto'? [-Wimplicit-function-declaration] 165 | conto2(nw,nx,ny,dz,ltype,v,xloc,yloc); | ^~~~~~ | conto pgc.c: At top level: pgc.c:169:1: error: return type defaults to 'int' [-Wimplicit-int] 169 | conto2(nw,nx,ny,dz,ltype,v,xloc,yloc) | ^~~~~~ pgc.c: In function 'conto2': pgc.c:169:1: warning: old-style function definition [-Wold-style-definition] pgc.c: In function 'dcon': pgc.c:189:8: warning: old-style function definition [-Wold-style-definition] 189 | double dcon(nx,ny,nz,v) | ^~~~ pgc.c: At top level: pgc.c:208:1: error: return type defaults to 'int' [-Wimplicit-int] 208 | fill(nw,nx,ny,dvl,dvh,ltype,v) | ^~~~ pgc.c: In function 'fill': pgc.c:208:1: warning: old-style function definition [-Wold-style-definition] pgc.c:217:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 217 | exit(1); | ^~~~ pgc.c:217:5: note: include '' or provide a declaration of 'exit' pgc.c:225:3: error: implicit declaration of function 'fill2'; did you mean 'fill'? [-Wimplicit-function-declaration] 225 | fill2(nw,nx,ny,dvl,dvh,ltype,v,xloc,yloc); | ^~~~~ | fill pgc.c: At top level: pgc.c:229:1: error: return type defaults to 'int' [-Wimplicit-int] 229 | fill2(nw,nx,ny,dvl,dvh,ltype,v,xloc,yloc) | ^~~~~ pgc.c: In function 'fill2': pgc.c:229:1: warning: old-style function definition [-Wold-style-definition] pgc.c: At top level: pgc.c:248:1: error: return type defaults to 'int' [-Wimplicit-int] 248 | grid(nw,nx,ny,jx,jy,v) | ^~~~ pgc.c: In function 'grid': pgc.c:248:1: warning: old-style function definition [-Wold-style-definition] pgc.c:257:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 257 | exit(1); | ^~~~ pgc.c:257:5: note: include '' or provide a declaration of 'exit' pgc.c:275:3: error: implicit declaration of function 'grid2'; did you mean 'grid'? [-Wimplicit-function-declaration] 275 | grid2(nw,nx,ny,jx,jy,v,xloc,yloc); | ^~~~~ | grid pgc.c: At top level: pgc.c:279:1: error: return type defaults to 'int' [-Wimplicit-int] 279 | grid2(nw,nx,ny,jx,jy,v,xloc,yloc) | ^~~~~ pgc.c: In function 'grid2': pgc.c:279:1: warning: old-style function definition [-Wold-style-definition] pgc.c: At top level: pgc.c:309:1: error: return type defaults to 'int' [-Wimplicit-int] 309 | label(nw,sx,sy,text) | ^~~~~ pgc.c: In function 'label': pgc.c:309:1: warning: old-style function definition [-Wold-style-definition] pgc.c: At top level: pgc.c:328:1: error: return type defaults to 'int' [-Wimplicit-int] 328 | plabel(nw,sx,sy,sz,text) | ^~~~~~ pgc.c: In function 'plabel': pgc.c:328:1: warning: old-style function definition [-Wold-style-definition] pgc.c: At top level: pgc.c:346:1: error: return type defaults to 'int' [-Wimplicit-int] 346 | line(nw,ltype,num,x,y) | ^~~~ pgc.c: In function 'line': pgc.c:346:1: warning: old-style function definition [-Wold-style-definition] pgc.c: At top level: pgc.c:358:1: error: return type defaults to 'int' [-Wimplicit-int] 358 | mark(nw,mtype,x,y,size) | ^~~~ pgc.c: In function 'mark': pgc.c:358:1: warning: old-style function definition [-Wold-style-definition] pgc.c: At top level: pgc.c:367:1: error: return type defaults to 'int' [-Wimplicit-int] 367 | scale(n,coarse,v,max,min) | ^~~~~ pgc.c: In function 'scale': pgc.c:367:1: warning: old-style function definition [-Wold-style-definition] pgc.c:383:7: error: too many arguments to function 'md'; expected 0, have 2 383 | if (md(*max,coarse) != 0.) { | ^~ ~~~~ pgc.c:371:9: note: declared here 371 | float md(); | ^~ pgc.c:387:7: error: too many arguments to function 'md'; expected 0, have 2 387 | if (md(*min,coarse) != 0.) { | ^~ ~~~~ pgc.c:371:9: note: declared here 371 | float md(); | ^~ pgc.c: In function 'md': pgc.c:397:14: warning: old-style function definition [-Wold-style-definition] 397 | static float md(x,y) | ^~ pgc.c: At top level: pgc.c:413:1: error: return type defaults to 'int' [-Wimplicit-int] 413 | vscale(nw,nx,ny,x,y,sx,sy) | ^~~~~~ pgc.c: In function 'vscale': pgc.c:413:1: warning: old-style function definition [-Wold-style-definition] pgc.c:413:1: error: type of 'nw' defaults to 'int' [-Wimplicit-int] --- all-lolevels --- ../pgmain/pg.c:55:1: error: return type defaults to 'int' [-Wimplicit-int] 55 | main(argc,argv) | ^~~~ ../pgmain/pg.c: In function 'main': ../pgmain/pg.c:55:1: warning: old-style function definition [-Wold-style-definition] --- all-metagens --- pgc.c: At top level: pgc.c:441:1: error: return type defaults to 'int' [-Wimplicit-int] 441 | vector(nw,nx,ny,sx,sy,vx,vy) | ^~~~~~ pgc.c: In function 'vector': pgc.c:441:1: warning: old-style function definition [-Wold-style-definition] pgc.c:450:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 450 | exit(1); | ^~~~ pgc.c:450:5: note: include '' or provide a declaration of 'exit' pgc.c:458:3: error: implicit declaration of function 'vector2'; did you mean 'vector'? [-Wimplicit-function-declaration] 458 | vector2(nw,nx,ny,sx,sy,vx,vy,xloc,yloc); | ^~~~~~~ | vector pgc.c: At top level: pgc.c:462:1: error: return type defaults to 'int' [-Wimplicit-int] 462 | vector2(nw,nx,ny,sx,sy,vx,vy,xloc,yloc) | ^~~~~~~ pgc.c: In function 'vector2': pgc.c:462:1: warning: old-style function definition [-Wold-style-definition] pgc.c: At top level: pgc.c:481:1: error: return type defaults to 'int' [-Wimplicit-int] 481 | pview(nw,xp,yp,zp,xf,yf,zf,zoom) | ^~~~~ pgc.c: In function 'pview': pgc.c:481:1: warning: old-style function definition [-Wold-style-definition] pgc.c: At top level: pgc.c:490:1: error: return type defaults to 'int' [-Wimplicit-int] 490 | paxes(nw,sxl,sxh,xstretch,xlabel,syl,syh,ystretch,ylabel, | ^~~~~ pgc.c: In function 'paxes': pgc.c:490:1: warning: old-style function definition [-Wold-style-definition] pgc.c: At top level: pgc.c:511:1: error: return type defaults to 'int' [-Wimplicit-int] 511 | psurface(nw,nx,ny,ltype,v,xvals,yvals) | ^~~~~~~~ pgc.c: In function 'psurface': pgc.c:511:1: warning: old-style function definition [-Wold-style-definition] pgc.c: At top level: pgc.c:532:1: error: return type defaults to 'int' [-Wimplicit-int] 532 | pline(nw,ltype,num,x,y,z) | ^~~~~ pgc.c: In function 'pline': pgc.c:532:1: warning: old-style function definition [-Wold-style-definition] pgc.c: At top level: pgc.c:547:1: error: return type defaults to 'int' [-Wimplicit-int] 547 | pconto(nw,ltype,nx,ny,cval,v,orig,xa,ya) | ^~~~~~ pgc.c: In function 'pconto': pgc.c:547:1: warning: old-style function definition [-Wold-style-definition] --- all-lolevels --- ../pgmain/pg.c:76:36: error: implicit declaration of function 'getpid'; did you mean 'getpw'? [-Wimplicit-function-declaration] 76 | sprintf(tempfilename,"pgraf3.%d",getpid()); | ^~~~~~ | getpw ../pgmain/pg.c:112:7: error: implicit declaration of function 'pginit' [-Wimplicit-function-declaration] 112 | pginit(); | ^~~~~~ ../pgmain/pg.c:138:9: error: implicit declaration of function 'pgmove'; did you mean 'remove'? [-Wimplicit-function-declaration] 138 | pgmove(xl,yl); | ^~~~~~ | remove ../pgmain/pg.c:139:9: error: implicit declaration of function 'pgdraw'; did you mean 'pdraw'? [-Wimplicit-function-declaration] 139 | pgdraw(xl,yh,1); | ^~~~~~ | pdraw ../pgmain/pg.c:163:7: error: too many arguments to function 'rest'; expected 0, have 1 163 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:42:21: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:164:14: error: too many arguments to function 'maglim'; expected 0, have 2 164 | a[5] = maglim(MAXAX,sxl); | ^~~~~~ ../pgmain/pg.c:41:37: note: declared here 41 | static float dott(),cinty(),cintx(),maglim(); | ^~~~~~ ../pgmain/pg.c:165:14: error: too many arguments to function 'maglim'; expected 0, have 2 165 | a[6] = maglim(MAXAX,sxh); | ^~~~~~ ../pgmain/pg.c:41:37: note: declared here 41 | static float dott(),cinty(),cintx(),maglim(); | ^~~~~~ ../pgmain/pg.c:166:14: error: too many arguments to function 'maglim'; expected 0, have 2 166 | a[7] = maglim(MAXAX,syl); | ^~~~~~ ../pgmain/pg.c:41:37: note: declared here 41 | static float dott(),cinty(),cintx(),maglim(); | ^~~~~~ ../pgmain/pg.c:167:14: error: too many arguments to function 'maglim'; expected 0, have 2 167 | a[8] = maglim(MAXAX,syh); | ^~~~~~ ../pgmain/pg.c:41:37: note: declared here 41 | static float dott(),cinty(),cintx(),maglim(); | ^~~~~~ ../pgmain/pg.c:168:7: error: too many arguments to function 'axes'; expected 0, have 4 168 | axes(ntx,nty,drx,dry); | ^~~~ ~~~ ../pgmain/pg.c:43:54: note: declared here 43 | static int survey(),cside(),insect(),conto(),vplot(),axes(), | ^~~~ ../pgmain/pg.c:177:7: error: too many arguments to function 'rest'; expected 0, have 1 177 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:42:21: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:179:9: error: implicit declaration of function 'pgflsh' [-Wimplicit-function-declaration] 179 | pgflsh(); | ^~~~~~ ../pgmain/pg.c:181:9: error: implicit declaration of function 'cexit'; did you mean 'exit'? [-Wimplicit-function-declaration] 181 | cexit(1); | ^~~~~ | exit ../pgmain/pg.c:188:7: error: too many arguments to function 'draw'; expected 0, have 4 188 | draw(ltype,num,dax,day); | ^~~~ ~~~~~ ../pgmain/pg.c:42:28: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:195:7: error: too many arguments to function 'rest'; expected 0, have 1 195 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:42:21: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:196:7: error: too many arguments to function 'mark'; expected 0, have 4 196 | mark(mtype,xdat,ydat,msize); | ^~~~ ~~~~~ ../pgmain/pg.c:42:35: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:203:7: error: too many arguments to function 'rest'; expected 0, have 1 203 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:42:21: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:216:7: error: too many arguments to function 'conto'; expected 0, have 6 216 | conto(nx,ny,dz,ltype,dax,day); | ^~~~~ ~~ ../pgmain/pg.c:43:38: note: declared here 43 | static int survey(),cside(),insect(),conto(),vplot(),axes(), | ^~~~~ ../pgmain/pg.c:233:7: error: too many arguments to function 'rest'; expected 0, have 1 233 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:42:21: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:234:7: error: too many arguments to function 'kfill'; expected 0, have 7 234 | kfill(nx,ny,dvl,dvh,ltype,dax,day); | ^~~~~ ~~ ../pgmain/pg.c:44:13: note: declared here 44 | grid(),kfill(),nfill(),pfill(),pdraw(); | ^~~~~ ../pgmain/pg.c:251:7: error: too many arguments to function 'rest'; expected 0, have 1 251 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:42:21: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:252:7: error: too many arguments to function 'vplot'; expected 0, have 4 252 | vplot(nx,ny,sx,sy); | ^~~~~ ~~ ../pgmain/pg.c:43:46: note: declared here 43 | static int survey(),cside(),insect(),conto(),vplot(),axes(), | ^~~~~ ../pgmain/pg.c:260:7: error: too many arguments to function 'rest'; expected 0, have 1 260 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:42:21: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:261:7: error: too many arguments to function 'mlabel'; expected 0, have 3 261 | mlabel(sx,sy,alfa); | ^~~~~~ ~~ ../pgmain/pg.c:42:56: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~~~ ../pgmain/pg.c:278:7: error: too many arguments to function 'rest'; expected 0, have 1 278 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:42:21: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:279:7: error: too many arguments to function 'grid'; expected 0, have 4 279 | grid(nx,ny,jx,jy); | ^~~~ ~~ ../pgmain/pg.c:44:6: note: declared here 44 | grid(),kfill(),nfill(),pfill(),pdraw(); | ^~~~ ../pgmain/pg.c:308:7: error: too many arguments to function 'rest'; expected 0, have 1 308 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:42:21: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:312:9: error: too many arguments to function 'mlabel'; expected 0, have 3 312 | mlabel(0.,0.96,alfa); | ^~~~~~ ~~ ../pgmain/pg.c:42:56: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~~~ ../pgmain/pg.c:328:7: error: too many arguments to function 'norm'; expected 0, have 1 328 | norm(&a[12]); | ^~~~ ~~~~~~ ../pgmain/pg.c:42:49: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:329:7: error: too many arguments to function 'norm'; expected 0, have 1 329 | norm(&a[15]); | ^~~~ ~~~~~~ ../pgmain/pg.c:42:49: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:351:7: error: too many arguments to function 'rest'; expected 0, have 1 351 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:42:21: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:356:7: error: implicit declaration of function 'paxes'; did you mean 'axes'? [-Wimplicit-function-declaration] 356 | paxes(sxl,sxh,ntx,syl,syh,nty,szl,szh,ntz); | ^~~~~ | axes ../pgmain/pg.c:370:7: error: too many arguments to function 'rest'; expected 0, have 1 370 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:42:21: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:371:7: error: implicit declaration of function 'project' [-Wimplicit-function-declaration] 371 | project(fx,fy,fz,&sx,&sy); | ^~~~~~~ ../pgmain/pg.c:372:7: error: too many arguments to function 'mlabel'; expected 0, have 3 372 | mlabel(sx,sy,alfa); | ^~~~~~ ~~ ../pgmain/pg.c:42:56: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~~~ ../pgmain/pg.c:379:7: error: too many arguments to function 'rest'; expected 0, have 1 379 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:42:21: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:392:7: error: implicit declaration of function 'surface' [-Wimplicit-function-declaration] 392 | surface(nx,ny,ltype); | ^~~~~~~ ../pgmain/pg.c: At top level: ../pgmain/pg.c:418:1: error: return type defaults to 'int' [-Wimplicit-int] 418 | cexit(status) | ^~~~~ ../pgmain/pg.c: In function 'cexit': ../pgmain/pg.c:418:1: warning: old-style function definition [-Wold-style-definition] ../pgmain/pg.c: In function 'rest': ../pgmain/pg.c:436:13: warning: old-style function definition [-Wold-style-definition] 436 | static void rest(nw) | ^~~~ ../pgmain/pg.c: In function 'conto': ../pgmain/pg.c:448:12: warning: old-style function definition [-Wold-style-definition] 448 | static int conto(nx,ny,dz,ltyp,c,b) | ^~~~~ ../pgmain/pg.c:523:19: error: too many arguments to function 'survey'; expected 0, have 11 523 | nvect = survey(dx,dy,xo,yo,z,zv,vl,lox,loy,ix,iy); | ^~~~~~ ~~ ../pgmain/pg.c:43:12: note: declared here 43 | static int survey(),cside(),insect(),conto(),vplot(),axes(), | ^~~~~~ ../pgmain/pg.c:525:13: error: too many arguments to function 'xx'; expected 0, have 5 525 | xx(vl[j][0],vl[j][1],vl[j][2],vl[j][3],ltyp); | ^~ ~~~~~~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c: In function 'survey': ../pgmain/pg.c:533:12: warning: old-style function definition [-Wold-style-definition] 533 | static int survey(dx,dy,xo,yo,z,zv,vlist,xloc,yloc,ix,iy) | ^~~~~~ ../pgmain/pg.c: In function 'vplot': ../pgmain/pg.c:618:12: warning: old-style function definition [-Wold-style-definition] 618 | static int vplot(nx,ny,sx,sy) | ^~~~~ ../pgmain/pg.c:661:7: error: too many arguments to function 'xx'; expected 0, have 5 661 | xx(lx,ly,(rx+lx),(ry+ly),1); | ^~ ~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:668:9: error: too many arguments to function 'xx'; expected 0, have 5 668 | xx((lx+rx),(ly+ry),fx[i],fy[i],1); | ^~ ~~~~~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:671:7: error: too many arguments to function 'xx'; expected 0, have 5 671 | xx(fx[0],fy[0],fx[1],fy[1],1); | ^~ ~~~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c: In function 'draw': ../pgmain/pg.c:676:13: warning: old-style function definition [-Wold-style-definition] 676 | static void draw(ltype,num,sx,sy) | ^~~~ ../pgmain/pg.c:702:7: error: too many arguments to function 'xx'; expected 0, have 5 702 | xx(oldx,oldy,x,y,ltype); | ^~ ~~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c: In function 'mark': ../pgmain/pg.c:707:13: warning: old-style function definition [-Wold-style-definition] 707 | static void mark(mtype,sx,sy,size) | ^~~~ ../pgmain/pg.c:731:5: error: implicit declaration of function 'pginfo' [-Wimplicit-function-declaration] 731 | pginfo(&cdx,&cdy); /* size of symbol */ | ^~~~~~ ../pgmain/pg.c: In function 'axes': ../pgmain/pg.c:772:12: warning: old-style function definition [-Wold-style-definition] 772 | static int axes(ntx,nty,drx,dry) | ^~~~ ../pgmain/pg.c:826:5: error: too many arguments to function 'conv'; expected 0, have 3 826 | conv(sy,smax,value); | ^~~~ ~~ ../pgmain/pg.c:42:42: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:827:18: error: implicit declaration of function 'pgtext' [-Wimplicit-function-declaration] 827 | if(dry == 1) pgtext(x1 - (strlen(value) + 1)*cdx,y,value,5); | ^~~~~~ ../pgmain/pg.c:827:31: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 827 | if(dry == 1) pgtext(x1 - (strlen(value) + 1)*cdx,y,value,5); | ^~~~~~ ../pgmain/pg.c:15:1: note: include '' or provide a declaration of 'strlen' 14 | #include +++ |+#include 15 | ../pgmain/pg.c:827:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 827 | if(dry == 1) pgtext(x1 - (strlen(value) + 1)*cdx,y,value,5); | ^~~~~~ ../pgmain/pg.c:827:31: note: include '' or provide a declaration of 'strlen' ../pgmain/pg.c:845:5: error: too many arguments to function 'conv'; expected 0, have 3 845 | conv(sx,smax,value); | ^~~~ ~~ ../pgmain/pg.c:42:42: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:846:34: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 846 | if(drx == 1) pgtext(x - 0.5*(strlen(value) + 1)*cdx,y1 - 1.5*cdy,value,5); | ^~~~~~ ../pgmain/pg.c:846:34: note: include '' or provide a declaration of 'strlen' ../pgmain/pg.c: In function 'conv': ../pgmain/pg.c:879:13: warning: old-style function definition [-Wold-style-definition] 879 | static void conv(x,xmax,value) | ^~~~ ../pgmain/pg.c: In function 'grid': ../pgmain/pg.c:888:12: warning: old-style function definition [-Wold-style-definition] 888 | static int grid(nx,ny,jx,jy) | ^~~~ ../pgmain/pg.c:931:29: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 931 | halflength = (float)strlen(vptr)/2.; | ^~~~~~ ../pgmain/pg.c:931:29: note: include '' or provide a declaration of 'strlen' ../pgmain/pg.c: In function 'mod': ../pgmain/pg.c:942:5: warning: old-style function definition [-Wold-style-definition] 942 | int mod(y,x) | ^~~ ../pgmain/pg.c: In function 'kfill': ../pgmain/pg.c:957:12: warning: old-style function definition [-Wold-style-definition] 957 | static int kfill(nx,ny,dvl,dvh,ltyp,c,b) | ^~~~~ ../pgmain/pg.c:1029:15: error: too many arguments to function 'survey'; expected 0, have 11 1029 | nvect = survey(dx,dy,xo,yo,dvl,zv,vl,lox,loy,ix,iy); | ^~~~~~ ~~ ../pgmain/pg.c:533:12: note: declared here 533 | static int survey(dx,dy,xo,yo,z,zv,vlist,xloc,yloc,ix,iy) | ^~~~~~ ../pgmain/pg.c:1031:9: error: too many arguments to function 'xx'; expected 0, have 5 1031 | xx(vl[j][0],vl[j][1],vl[j][2],vl[j][3],ltyp); | ^~ ~~~~~~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1033:7: error: too many arguments to function 'nfill'; expected 0, have 13 1033 | nfill(xs,ys,xt,yt,zv,dvl,nvect,vl,ltyp,rxs,rxt,rys,ryt); | ^~~~~ ~~ ../pgmain/pg.c:44:21: note: declared here 44 | grid(),kfill(),nfill(),pfill(),pdraw(); | ^~~~~ ../pgmain/pg.c:1036:15: error: too many arguments to function 'survey'; expected 0, have 11 1036 | nvect = survey(dx,dy,xo,yo,dvh,zv,vl,lox,loy,ix,iy); | ^~~~~~ ~~ ../pgmain/pg.c:533:12: note: declared here 533 | static int survey(dx,dy,xo,yo,z,zv,vlist,xloc,yloc,ix,iy) | ^~~~~~ ../pgmain/pg.c:1038:9: error: too many arguments to function 'xx'; expected 0, have 5 1038 | xx(vl[j][0],vl[j][1],vl[j][2],vl[j][3],ltyp); | ^~ ~~~~~~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1040:7: error: too many arguments to function 'pfill'; expected 0, have 13 1040 | pfill(xs,ys,xt,yt,zv,dvh,nvect,vl,ltyp,rys,ryt,rxs,rxt); | ^~~~~ ~~ ../pgmain/pg.c:44:29: note: declared here 44 | grid(),kfill(),nfill(),pfill(),pdraw(); | ^~~~~ ../pgmain/pg.c: In function 'cinty': ../pgmain/pg.c:1046:14: warning: old-style function definition [-Wold-style-definition] 1046 | static float cinty(vlist,yval) | ^~~~~ ../pgmain/pg.c: In function 'cintx': ../pgmain/pg.c:1058:14: warning: old-style function definition [-Wold-style-definition] 1058 | static float cintx(vlist,xval) | ^~~~~ ../pgmain/pg.c: In function 'cside': ../pgmain/pg.c:1069:12: warning: old-style function definition [-Wold-style-definition] 1069 | static int cside(zv1,zv2,s1,s2,s,z) | ^~~~~ ../pgmain/pg.c: In function 'nfill': ../pgmain/pg.c:1078:12: warning: old-style function definition [-Wold-style-definition] 1078 | static int nfill(xs,ys,xt,yt,zv,z,nvect,vl,ltype,rxs,rxt,rys,ryt) | ^~~~~ ../pgmain/pg.c:1106:7: error: too many arguments to function 'xx'; expected 0, have 5 1106 | xx(rxs,yval,rxt,yval,ltype); | ^~ ~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1111:15: error: too many arguments to function 'cinty'; expected 0, have 2 1111 | xint1 = cinty(vl[0],yval); | ^~~~~ ~~~~~ ../pgmain/pg.c:1046:14: note: declared here 1046 | static float cinty(vlist,yval) | ^~~~~ ../pgmain/pg.c:1112:15: error: too many arguments to function 'cside'; expected 0, have 6 1112 | fside = cside(zv[1],zv[2],rys,ryt,yval,z); | ^~~~~ ~~~~~ ../pgmain/pg.c:1069:12: note: declared here 1069 | static int cside(zv1,zv2,s1,s2,s,z) | ^~~~~ ../pgmain/pg.c:1119:11: error: too many arguments to function 'xx'; expected 0, have 5 1119 | xx(xint1,yval,rxt,yval,ltype); | ^~ ~~~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1124:11: error: too many arguments to function 'xx'; expected 0, have 5 1124 | xx(rxs,yval,xint1,yval,ltype); | ^~ ~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1130:9: error: too many arguments to function 'xx'; expected 0, have 5 1130 | xx(rxs,yval,rxt,yval,ltype); | ^~ ~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1136:15: error: too many arguments to function 'cinty'; expected 0, have 2 1136 | xint1 = cinty(vl[0],yval); | ^~~~~ ~~~~~ ../pgmain/pg.c:1046:14: note: declared here 1046 | static float cinty(vlist,yval) | ^~~~~ ../pgmain/pg.c:1137:15: error: too many arguments to function 'cinty'; expected 0, have 2 1137 | xint2 = cinty(vl[1],yval); | ^~~~~ ~ ../pgmain/pg.c:1046:14: note: declared here 1046 | static float cinty(vlist,yval) | ^~~~~ ../pgmain/pg.c:1142:17: error: too many arguments to function 'cside'; expected 0, have 6 1142 | fside = cside(zv[1],zv[2],rys,ryt,rys,z); | ^~~~~ ~~~~~ ../pgmain/pg.c:1069:12: note: declared here 1069 | static int cside(zv1,zv2,s1,s2,s,z) | ^~~~~ ../pgmain/pg.c:1145:17: error: too many arguments to function 'cside'; expected 0, have 6 1145 | fside = cside(zv[1],zv[2],rys,ryt,ryt,z); | ^~~~~ ~~~~~ ../pgmain/pg.c:1069:12: note: declared here 1069 | static int cside(zv1,zv2,s1,s2,s,z) | ^~~~~ ../pgmain/pg.c:1151:11: error: too many arguments to function 'xx'; expected 0, have 5 1151 | xx(rxs,yval,xint1,yval,ltype); | ^~ ~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1154:11: error: too many arguments to function 'xx'; expected 0, have 5 1154 | xx(xint2,yval,rxt,yval,ltype); | ^~ ~~~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1162:9: error: too many arguments to function 'xx'; expected 0, have 5 1162 | xx(xint1,yval,xint2,yval,ltype); | ^~ ~~~~~ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c: In function 'pfill': ../pgmain/pg.c:1171:12: warning: old-style function definition [-Wold-style-definition] 1171 | static int pfill(xs,ys,xt, yt,zv,z,nvect,vl,ltype,rys,ryt,rxs,rxt) | ^~~~~ ../pgmain/pg.c:1170:18: error: too many arguments to function 'xx'; expected 0, have 5 1170 | #define Y(a,b,c) xx(c,a,c,b,ltype) | ^~ ../pgmain/pg.c:1194:7: note: in expansion of macro 'Y' 1194 | Y(rys,ryt,xval); | ^ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1199:15: error: too many arguments to function 'cintx'; expected 0, have 2 1199 | yint1 = cintx(vl[0],xval); | ^~~~~ ~~~~~ ../pgmain/pg.c:1058:14: note: declared here 1058 | static float cintx(vlist,xval) | ^~~~~ ../pgmain/pg.c:1200:15: error: too many arguments to function 'cside'; expected 0, have 6 1200 | fside = cside(zv[1],zv[4],rxs,rxt,xval,z); | ^~~~~ ~~~~~ ../pgmain/pg.c:1069:12: note: declared here 1069 | static int cside(zv1,zv2,s1,s2,s,z) | ^~~~~ ../pgmain/pg.c:1170:18: error: too many arguments to function 'xx'; expected 0, have 5 1170 | #define Y(a,b,c) xx(c,a,c,b,ltype) | ^~ ../pgmain/pg.c:1207:11: note: in expansion of macro 'Y' 1207 | Y(yint1,ryt,xval); | ^ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1170:18: error: too many arguments to function 'xx'; expected 0, have 5 1170 | #define Y(a,b,c) xx(c,a,c,b,ltype) | ^~ ../pgmain/pg.c:1212:11: note: in expansion of macro 'Y' 1212 | Y(rys,yint1,xval); | ^ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1170:18: error: too many arguments to function 'xx'; expected 0, have 5 1170 | #define Y(a,b,c) xx(c,a,c,b,ltype) | ^~ ../pgmain/pg.c:1218:9: note: in expansion of macro 'Y' 1218 | Y(rys,ryt,xval); | ^ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1224:15: error: too many arguments to function 'cintx'; expected 0, have 2 1224 | yint1 = cintx(vl[1],xval); | ^~~~~ ~ ../pgmain/pg.c:1058:14: note: declared here 1058 | static float cintx(vlist,xval) | ^~~~~ ../pgmain/pg.c:1225:15: error: too many arguments to function 'cintx'; expected 0, have 2 1225 | yint2 = cintx(vl[0],xval); | ^~~~~ ~~~~~ ../pgmain/pg.c:1058:14: note: declared here 1058 | static float cintx(vlist,xval) | ^~~~~ ../pgmain/pg.c:1237:17: error: too many arguments to function 'cside'; expected 0, have 6 1237 | fside = cside(zv[1],zv[4],rxs,rxt,rxs,z); | ^~~~~ ~~~~~ ../pgmain/pg.c:1069:12: note: declared here 1069 | static int cside(zv1,zv2,s1,s2,s,z) | ^~~~~ ../pgmain/pg.c:1240:17: error: too many arguments to function 'cside'; expected 0, have 6 1240 | fside = cside(zv[1],zv[4],rxs,rxt,rxt,z); | ^~~~~ ~~~~~ ../pgmain/pg.c:1069:12: note: declared here 1069 | static int cside(zv1,zv2,s1,s2,s,z) | ^~~~~ ../pgmain/pg.c:1170:18: error: too many arguments to function 'xx'; expected 0, have 5 1170 | #define Y(a,b,c) xx(c,a,c,b,ltype) | ^~ ../pgmain/pg.c:1246:11: note: in expansion of macro 'Y' 1246 | Y(rys,yint1,xval); | ^ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1170:18: error: too many arguments to function 'xx'; expected 0, have 5 1170 | #define Y(a,b,c) xx(c,a,c,b,ltype) | ^~ ../pgmain/pg.c:1250:11: note: in expansion of macro 'Y' 1250 | Y(yint2,ryt,xval); | ^ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c:1170:18: error: too many arguments to function 'xx'; expected 0, have 5 1170 | #define Y(a,b,c) xx(c,a,c,b,ltype) | ^~ ../pgmain/pg.c:1258:9: note: in expansion of macro 'Y' 1258 | Y(yint1,yint2,xval); | ^ ../pgmain/pg.c:45:13: note: declared here 45 | static void xx(); | ^~ ../pgmain/pg.c: In function 'xx': ../pgmain/pg.c:1267:13: warning: old-style function definition [-Wold-style-definition] 1267 | static void xx(ax,ay,bx,by,ltype) | ^~ ../pgmain/pg.c:1298:9: error: too many arguments to function 'insect'; expected 0, have 4 1298 | whr = insect(ax,ay,bx,by); | ^~~~~~ ~~ ../pgmain/pg.c:43:29: note: declared here 43 | static int survey(),cside(),insect(),conto(),vplot(),axes(), | ^~~~~~ ../pgmain/pg.c: In function 'insect': ../pgmain/pg.c:1330:12: warning: old-style function definition [-Wold-style-definition] 1330 | static int insect(ax,ay,bx,by) | ^~~~~~ ../pgmain/pg.c: In function 'pdraw': ../pgmain/pg.c:1404:3: error: too many arguments to function 'rest'; expected 0, have 1 1404 | rest(nw); | ^~~~ ~~ ../pgmain/pg.c:436:13: note: declared here 436 | static void rest(nw) | ^~~~ ../pgmain/pg.c:1420:3: error: too many arguments to function 'draw'; expected 0, have 4 1420 | draw(ltype,num,dax,day); | ^~~~ ~~~~~ ../pgmain/pg.c:676:13: note: declared here 676 | static void draw(ltype,num,sx,sy) | ^~~~ ../pgmain/pg.c: At top level: --- all-metagens --- mv: cannot access pgc.o --- all-lolevels --- ../pgmain/pg.c:1427:1: error: return type defaults to 'int' [-Wimplicit-int] 1427 | project(bx,by,bz,x,y) | ^~~~~~~ ../pgmain/pg.c: In function 'project': ../pgmain/pg.c:1427:1: warning: old-style function definition [-Wold-style-definition] ../pgmain/pg.c:1437:3: error: too many arguments to function 'norm'; expected 0, have 1 1437 | norm(b); | ^~~~ ~ ../pgmain/pg.c:42:49: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~ ../pgmain/pg.c:1438:8: error: too many arguments to function 'dott'; expected 0, have 2 1438 | *x = dott(b,&a[12]); | ^~~~ ~ ../pgmain/pg.c:41:14: note: declared here 41 | static float dott(),cinty(),cintx(),maglim(); | ^~~~ ../pgmain/pg.c:1439:8: error: too many arguments to function 'dott'; expected 0, have 2 1439 | *y = dott(b,&a[15]); | ^~~~ ~ ../pgmain/pg.c:41:14: note: declared here 41 | static float dott(),cinty(),cintx(),maglim(); | ^~~~ ../pgmain/pg.c: At top level: ../pgmain/pg.c:1443:1: error: return type defaults to 'int' [-Wimplicit-int] 1443 | pseg(xl,yl,zl,xh,yh,zh,ltype) | ^~~~ ../pgmain/pg.c: In function 'pseg': ../pgmain/pg.c:1443:1: warning: old-style function definition [-Wold-style-definition] ../pgmain/pg.c:1449:3: error: too many arguments to function 'draw'; expected 0, have 4 1449 | draw(ltype,2,dax,day); | ^~~~ ~~~~~ ../pgmain/pg.c:676:13: note: declared here 676 | static void draw(ltype,num,sx,sy) | ^~~~ ../pgmain/pg.c: At top level: ../pgmain/pg.c:1453:1: error: return type defaults to 'int' [-Wimplicit-int] 1453 | paxes(sxl,sxh,ntx,syl,syh,nty,szl,szh,ntz) | ^~~~~ ../pgmain/pg.c: In function 'paxes': ../pgmain/pg.c:1453:1: warning: old-style function definition [-Wold-style-definition] ../pgmain/pg.c:1477:3: error: too many arguments to function 'mlabel'; expected 0, have 3 1477 | mlabel(x,y,text); | ^~~~~~ ~ ../pgmain/pg.c:42:56: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~~~ ../pgmain/pg.c:1480:3: error: too many arguments to function 'mlabel'; expected 0, have 3 1480 | mlabel(x,y,text); | ^~~~~~ ~ ../pgmain/pg.c:42:56: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~~~ ../pgmain/pg.c:1483:3: error: too many arguments to function 'mlabel'; expected 0, have 3 1483 | mlabel(x,y,text); | ^~~~~~ ~ ../pgmain/pg.c:42:56: note: declared here 42 | static void panic(),rest(),draw(),mark(),conv(),norm(),mlabel(); | ^~~~~~ ../pgmain/pg.c: At top level: ../pgmain/pg.c:1487:1: error: return type defaults to 'int' [-Wimplicit-int] 1487 | surface(nx,ny,ltype) | ^~~~~~~ ../pgmain/pg.c: In function 'surface': ../pgmain/pg.c:1487:1: warning: old-style function definition [-Wold-style-definition] ../pgmain/pg.c:1510:5: error: too many arguments to function 'draw'; expected 0, have 4 1510 | draw(ltype,nx,dax,day); | ^~~~ ~~~~~ ../pgmain/pg.c:676:13: note: declared here 676 | static void draw(ltype,num,sx,sy) | ^~~~ ../pgmain/pg.c:1519:5: error: too many arguments to function 'draw'; expected 0, have 4 1519 | draw(ltype,ny,dax,day); | ^~~~ ~~~~~ ../pgmain/pg.c:676:13: note: declared here 676 | static void draw(ltype,num,sx,sy) | ^~~~ --- all-metagens --- *** [libpgc.a] Error code 2 bmake[1]: stopped making "all" in /home/pbulk/work/graphics/pgraf/work/pgraf-20010131/metagens --- all-lolevels --- ../pgmain/pg.c: In function 'norm': --- all-metagens --- bmake[1]: 1 error bmake[1]: stopped making "all" in /home/pbulk/work/graphics/pgraf/work/pgraf-20010131/metagens --- all-lolevels --- bmake: stopped making "all" in /home/pbulk/work/graphics/pgraf/work/pgraf-20010131 --- all-metagens --- bmake: stopped making "all" in /home/pbulk/work/graphics/pgraf/work/pgraf-20010131 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/pgraf *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/pgraf