=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for fastcap-2.0.19920918nb4 cd src ; /usr/bin/make fastcap gcc -O2 -DFOUR -c ./mulGlobal.c gcc -O2 -DFOUR -c ./mulSetup.c In file included from ./mulSetup.c:36:0: ./mulSetup.c: In function 'mulInit': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./mulSetup.c:61:3: note: in expansion of macro 'CALLOC' CALLOC(sys, 1, ssystem, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:61:3: note: in expansion of macro 'CALLOC' CALLOC(sys, 1, ssystem, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulSetup.c:61:3: note: in expansion of macro 'CALLOC' CALLOC(sys, 1, ssystem, ON, AMSC); ^~~~~~ ./mulSetup.c:67:3: warning: implicit declaration of function 'getrelations'; did you mean 'getrlimit'? [-Wimplicit-function-declaration] getrelations(sys); /* Get all the prnts and kids for each cube. */ ^~~~~~~~~~~~ getrlimit ./mulSetup.c:69:3: warning: implicit declaration of function 'setPosition' [-Wimplicit-function-declaration] setPosition(sys); /* Figures out position of cube center. */ ^~~~~~~~~~~ ./mulSetup.c:74:3: warning: implicit declaration of function 'setExact'; did you mean 'setMaxq'? [-Wimplicit-function-declaration] setExact(sys, multerms(sys->order)); /* Note cubes to be done exactly and ^~~~~~~~ setMaxq ./mulSetup.c:74:17: warning: implicit declaration of function 'multerms'; did you mean 'mktemp'? [-Wimplicit-function-declaration] setExact(sys, multerms(sys->order)); /* Note cubes to be done exactly and ^~~~~~~~ mktemp In file included from ./mulSetup.c:36:0: ./mulSetup.c: In function 'placeq': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:169:3: note: in expansion of macro 'CALLOC' CALLOC(sys->q, totalq+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:170:3: note: in expansion of macro 'CALLOC' CALLOC(sys->p, totalq+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:173:3: note: in expansion of macro 'CALLOC' CALLOC(sys->is_dummy, totalq+1, int, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:176:3: note: in expansion of macro 'CALLOC' CALLOC(sys->is_dielec, totalq+1, int, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:180:5: note: in expansion of macro 'CALLOC' CALLOC(cubes, MAXDEP+1, cube****, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:184:7: note: in expansion of macro 'CALLOC' CALLOC(cubes[i], side, cube***, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:186:2: note: in expansion of macro 'CALLOC' CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:188:4: note: in expansion of macro 'CALLOC' CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:207:7: note: in expansion of macro 'CALLOC' CALLOC(cubes[i], side, cube***, OFF, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:213:2: note: in expansion of macro 'CALLOC' CALLOC(cubes[i][j], side, cube**, OFF, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:219:4: note: in expansion of macro 'CALLOC' CALLOC(cubes[i][j][k], side, cube*, OFF, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:234:4: note: in expansion of macro 'CALLOC' CALLOC(nextc, 1, cube, OFF, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:241:4: note: in expansion of macro 'CALLOC' CALLOC(nextc->upnumeles, 1, int, OFF, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:298:5: note: in expansion of macro 'CALLOC' CALLOC(cubes, sys->depth+1, cube****, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:300:7: note: in expansion of macro 'CALLOC' CALLOC(cubes[i], side, cube***, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:302:2: note: in expansion of macro 'CALLOC' CALLOC(cubes[i][j], side, cube**, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:304:4: note: in expansion of macro 'CALLOC' CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:318:2: note: in expansion of macro 'CALLOC' CALLOC(nextc, 1, cube, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:321:2: note: in expansion of macro 'CALLOC' CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:340:4: note: in expansion of macro 'CALLOC' CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:341:4: note: in expansion of macro 'CALLOC' CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~ ./mulSetup.c: At top level: ./mulSetup.c:398:8: warning: return type defaults to 'int' [-Wimplicit-int] static placeqold(sys, charges) ^~~~~~~~~ In file included from ./mulSetup.c:36:0: ./mulSetup.c: In function 'placeqold': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:427:3: note: in expansion of macro 'CALLOC' CALLOC(sys->q, totalq+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:428:3: note: in expansion of macro 'CALLOC' CALLOC(sys->p, totalq+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:450:7: note: in expansion of macro 'CALLOC' CALLOC(nextc, 1, cube, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:453:7: note: in expansion of macro 'CALLOC' CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:468:4: note: in expansion of macro 'CALLOC' CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:469:4: note: in expansion of macro 'CALLOC' CALLOC(nextc->upnumeles, 1, int, ON, AMSC); ^~~~~~ ./mulSetup.c: At top level: ./mulSetup.c:497:1: warning: return type defaults to 'int' [-Wimplicit-int] getrelations(sys) ^~~~~~~~~~~~ In file included from ./mulSetup.c:36:0: ./mulSetup.c: In function 'getrelations': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:511:8: note: in expansion of macro 'CALLOC' CALLOC(nextc->kids, nextc->numkids, cube*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:524:3: note: in expansion of macro 'CALLOC' CALLOC(parent, 1, cube, ON, AMSC); ^~~~~~ ./mulSetup.c: At top level: ./mulSetup.c:539:1: warning: return type defaults to 'int' [-Wimplicit-int] setPosition(sys) ^~~~~~~~~~~ ./mulSetup.c:576:8: warning: return type defaults to 'int' [-Wimplicit-int] static indexkid(sys, dad, pqindex, pcindex) ^~~~~~~~ In file included from ./mulSetup.c:36:0: ./mulSetup.c: In function 'indexkid': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:585:7: note: in expansion of macro 'CALLOC' CALLOC(dad->upvects, 1, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:586:7: note: in expansion of macro 'CALLOC' CALLOC(dad->nbr_is_dummy, 1, int*, ON, AMSC); ^~~~~~ ./mulSetup.c: At top level: ./mulSetup.c:614:1: warning: return type defaults to 'int' [-Wimplicit-int] setExact(sys, numterms) ^~~~~~~~ In file included from ./mulSetup.c:36:0: ./mulSetup.c: In function 'setExact': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:684:3: note: in expansion of macro 'CALLOC' CALLOC(nc->upvects, 1, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:685:3: note: in expansion of macro 'CALLOC' CALLOC(nc->upnumeles, 1, int, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:688:3: note: in expansion of macro 'CALLOC' CALLOC(nc->chgs, num_eval_pnts, charge*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:696:6: note: in expansion of macro 'CALLOC' CALLOC(nc->nbr_is_dummy, 1, int*, ON, AMSC); ^~~~~~ ./mulSetup.c: In function 'getnbrs': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:773:26: note: in expansion of macro 'CALLOC' if(nc->numnbrs > 0) CALLOC(nc->nbrs, numnbrs, cube*, ON, AMSC); ^~~~~~ ./mulSetup.c: In function 'linkcubes': ./mulSetup.c:809:48: warning: implicit declaration of function 'multerms' [-Wimplicit-function-declaration] int dindex, side, depth=sys->depth, numterms=multerms(sys->order); ^~~~~~~~ ./mulSetup.c:621:36: note: previous declaration of 'multerms' was here int numchgs, num_eval_pnts, first, multerms(); ^~~~~~~~ In file included from ./mulSetup.c:36:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:812:3: note: in expansion of macro 'CALLOC' CALLOC(sys->multilist, sys->depth+1, cube*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:813:3: note: in expansion of macro 'CALLOC' CALLOC(sys->locallist, sys->depth+1, cube*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:827:3: note: in expansion of macro 'CALLOC' CALLOC(nc->multi, numterms, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:839:3: note: in expansion of macro 'CALLOC' CALLOC(nc->local, numterms, double, ON, AMSC); ^~~~~~ ./mulSetup.c: At top level: ./mulSetup.c:859:8: warning: return type defaults to 'int' [-Wimplicit-int] static setMaxq(sys) ^~~~~~~ ./mulSetup.c:952:8: warning: return type defaults to 'int' [-Wimplicit-int] static markUp(child, flag) ^~~~~~ ./mulSetup.c:970:8: warning: return type defaults to 'int' [-Wimplicit-int] static getInter(child) ^~~~~~~~ In file included from ./mulSetup.c:36:0: ./mulSetup.c: In function 'getInter': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulSetup.c:1031:17: note: in expansion of macro 'CALLOC' if(vects > 0) CALLOC(child->interList, vects, cube*, ON, AMSC); ^~~~~~ ./mulSetup.c: At top level: ./mulSetup.c:1040:8: warning: return type defaults to 'int' [-Wimplicit-int] static getAllInter(sys) ^~~~~~~~~~~ ./mulSetup.c:1062:8: warning: return type defaults to 'int' [-Wimplicit-int] static set_vector_masks(sys) ^~~~~~~~~~~~~~~~ gcc -O2 -DFOUR -c ./mulMats.c ./mulMats.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] mulMatDirect(sys) ^~~~~~~~~~~~ In file included from ./mulMats.c:36:0: ./mulMats.c: In function 'mulMatDirect': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./mulMats.c:76:7: note: in expansion of macro 'CALLOC' CALLOC(nextc->directq, nummats, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:76:7: note: in expansion of macro 'CALLOC' CALLOC(nextc->directq, nummats, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulMats.c:76:7: note: in expansion of macro 'CALLOC' CALLOC(nextc->directq, nummats, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:77:7: note: in expansion of macro 'CALLOC' CALLOC(temp, nummats, int*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:78:7: note: in expansion of macro 'CALLOC' CALLOC(nextc->directnumeles, nummats, int, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:79:7: note: in expansion of macro 'CALLOC' CALLOC(nextc->directmats, nummats, double**, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:80:7: note: in expansion of macro 'CALLOC' CALLOC(nextc->precondmats, nummats, double**, ON, AMSC); ^~~~~~ ./mulMats.c: At top level: ./mulMats.c:177:1: warning: return type defaults to 'int' [-Wimplicit-int] bdmulMatPrecond(sys) ^~~~~~~~~~~~~~~ In file included from ./mulMats.c:36:0: ./mulMats.c: In function 'bdmulMatPrecond': ./mulGlobal.h:155:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulMats.c:200:5: note: in expansion of macro 'MALLOC' MALLOC(mat, size, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:155:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulMats.c:202:7: note: in expansion of macro 'MALLOC' MALLOC(mat[i], size, double, ON, AMSC); ^~~~~~ ./mulMats.c: At top level: ./mulMats.c:279:1: warning: return type defaults to 'int' [-Wimplicit-int] olmulMatPrecond(sys) ^~~~~~~~~~~~~~~ In file included from ./mulMats.c:36:0: ./mulMats.c: In function 'olmulMatPrecond': ./mulGlobal.h:155:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulMats.c:311:3: note: in expansion of macro 'MALLOC' MALLOC(reorder, maxsize,int, ON, AMSC); ^~~~~~ ./mulGlobal.h:155:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulMats.c:312:3: note: in expansion of macro 'MALLOC' MALLOC(mat, maxsize, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:155:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./mulMats.c:314:5: note: in expansion of macro 'MALLOC' MALLOC(mat[i], maxsize, double, ON, AMSC); ^~~~~~ ./mulMats.c:340:2: warning: implicit declaration of function 'find_flux_density_row' [-Wimplicit-function-declaration] find_flux_density_row(mat, nc->directmats[0], i, nsize, nsize, 0, 0, ^~~~~~~~~~~~~~~~~~~~~ In file included from ./mulMats.c:36:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:419:7: note: in expansion of macro 'CALLOC' CALLOC(is_dummy, offset, int, ON, AMSC); ^~~~~~ ./mulMats.c:445:15: warning: implicit declaration of function 'compressMat' [-Wimplicit-function-declaration] nnnsize = compressMat(mat, offset, is_dummy, BOTH); ^~~~~~~~~~~ ./mulMats.c:450:5: warning: implicit declaration of function 'invert' [-Wimplicit-function-declaration] invert(mat, nnnsize, NULL); ^~~~~~ ./mulMats.c:451:5: warning: implicit declaration of function 'expandMat' [-Wimplicit-function-declaration] expandMat(mat, offset, nnnsize, is_dummy, BOTH); ^~~~~~~~~ ./mulMats.c: At top level: ./mulMats.c:499:1: warning: return type defaults to 'int' [-Wimplicit-int] find_flux_density_row(to_mat, from_mat, eval_row, n_chg, n_eval, row_offset, ^~~~~~~~~~~~~~~~~~~~~ ./mulMats.c: In function 'mulMatUp': ./mulMats.c:719:14: warning: implicit declaration of function 'multerms'; did you mean 'mktemp'? [-Wimplicit-function-declaration] numterms = multerms(order); ^~~~~~~~ mktemp In file included from ./mulMats.c:36:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:729:5: note: in expansion of macro 'CALLOC' CALLOC(nextc->multi, numterms, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:730:5: note: in expansion of macro 'CALLOC' CALLOC(nextc->upmats, 1, double**, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:795:2: note: in expansion of macro 'CALLOC' CALLOC(nextc->multi, numterms, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:798:2: note: in expansion of macro 'CALLOC' CALLOC(nextc->upnumeles, nextc->upnumvects, int, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:799:2: note: in expansion of macro 'CALLOC' CALLOC(nextc->upvects, nextc->upnumvects, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:800:2: note: in expansion of macro 'CALLOC' CALLOC(nextc->upmats, nextc->upnumvects, double**, ON, AMSC); ^~~~~~ ./mulMats.c: In function 'mulMatEval': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:913:7: note: in expansion of macro 'CALLOC' CALLOC(nc->evalvects, ttlvects, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:914:7: note: in expansion of macro 'CALLOC' CALLOC(nc->evalnumeles, ttlvects, int, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:915:7: note: in expansion of macro 'CALLOC' CALLOC(nc->evalmats, ttlvects, double**, ON, AMSC); ^~~~~~ ./mulMats.c: At top level: ./mulMats.c:998:1: warning: return type defaults to 'int' [-Wimplicit-int] mulMatDown(sys) ^~~~~~~~~~ In file included from ./mulMats.c:36:0: ./mulMats.c: In function 'mulMatDown': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:1015:2: note: in expansion of macro 'CALLOC' CALLOC(nc->downvects, vects, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:1016:2: note: in expansion of macro 'CALLOC' CALLOC(nc->downnumeles, vects, int, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMats.c:1017:2: note: in expansion of macro 'CALLOC' CALLOC(nc->downmats, vects, double**, ON, AMSC); ^~~~~~ gcc -O2 -DFOUR -c ./mulDo.c ./mulDo.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] mulDirect(sys) ^~~~~~~~~ ./mulDo.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] mulPrecond(sys, type) ^~~~~~~~~~ ./mulDo.c: In function 'mulPrecond': ./mulDo.c:105:7: warning: implicit declaration of function 'solve' [-Wimplicit-function-declaration] solve(nc->precond, nc->prevectq, nc->prevectq, nc->presize); ^~~~~ gcc -O2 -DFOUR -c ./mulDisplay.c ./mulDisplay.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] disExtrasimpcube(pc) ^~~~~~~~~~~~~~~~ ./mulDisplay.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] disExParsimpcube(pc) ^~~~~~~~~~~~~~~~ ./mulDisplay.c:53:1: warning: return type defaults to 'int' [-Wimplicit-int] dissimpcube(pc) ^~~~~~~~~~~ ./mulDisplay.c:65:1: warning: return type defaults to 'int' [-Wimplicit-int] discube(pc) ^~~~~~~ ./mulDisplay.c: In function 'discube': ./mulDisplay.c:82:7: warning: implicit declaration of function 'dischg'; did you mean 'discube'? [-Wimplicit-function-declaration] dischg(pc->chgs[i]); ^~~~~~ discube ./mulDisplay.c: At top level: ./mulDisplay.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int] disupcube(pc) ^~~~~~~~~ ./mulDisplay.c:100:1: warning: return type defaults to 'int' [-Wimplicit-int] disdirectcube(pc) ^~~~~~~~~~~~~ ./mulDisplay.c: In function 'disdirectcube': ./mulDisplay.c:106:5: warning: implicit declaration of function 'dismat'; did you mean 'isnan'? [-Wimplicit-function-declaration] dismat(pc->directmats[i], pc->directnumeles[0], pc->directnumeles[i]); ^~~~~~ isnan ./mulDisplay.c: At top level: ./mulDisplay.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] dissys(sys) ^~~~~~ ./mulDisplay.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] dismat(mat, rows, cols) ^~~~~~ ./mulDisplay.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] disvect(v, size) ^~~~~~~ ./mulDisplay.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] dischg(pq) ^~~~~~ ./mulDisplay.c:175:1: warning: return type defaults to 'int' [-Wimplicit-int] disallchg(pq) ^~~~~~~~~ ./mulDisplay.c: In function 'disallchg': ./mulDisplay.c:179:43: warning: implicit declaration of function 'disfchg'; did you mean 'dischg'? [-Wimplicit-function-declaration] for(nq = pq; nq != NULL; nq = nq->next) disfchg(pq); ^~~~~~~ dischg ./mulDisplay.c: At top level: ./mulDisplay.c:182:1: warning: return type defaults to 'int' [-Wimplicit-int] disfchg(pq) ^~~~~~~ ./mulDisplay.c: In function 'dumpChgs': ./mulDisplay.c:258:5: warning: implicit declaration of function 'xyz2sphere' [-Wimplicit-function-declaration] xyz2sphere(chgs[i]->x, chgs[i]->y, chgs[i]->z, ^~~~~~~~~~ ./mulDisplay.c: In function 'dispQ2M': ./mulDisplay.c:316:16: warning: implicit declaration of function 'multerms'; did you mean 'mktemp'? [-Wimplicit-function-declaration] dumpMat(mat, multerms(order), numchgs); ^~~~~~~~ mktemp ./mulDisplay.c: At top level: ./mulDisplay.c:676:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpSynCore2(str, depth, cnt) ^~~~~~~~~~~~ In file included from ./mulDisplay.c:36:0: ./mulDisplay.c: In function 'mksCapDump': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./mulDisplay.c:1062:3: note: in expansion of macro 'CALLOC' CALLOC(sym_mat, numconds+1, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulDisplay.c:1062:3: note: in expansion of macro 'CALLOC' CALLOC(sym_mat, numconds+1, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulDisplay.c:1062:3: note: in expansion of macro 'CALLOC' CALLOC(sym_mat, numconds+1, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulDisplay.c:1064:5: note: in expansion of macro 'CALLOC' CALLOC(sym_mat[i], numconds+1, double, ON, AMSC); ^~~~~~ ./mulDisplay.c:1072:8: warning: implicit declaration of function 'want_this_iter' [-Wimplicit-function-declaration] if(want_this_iter(kinp_num_list, i)) continue; ^~~~~~~~~~~~~~ ./mulDisplay.c:1149:22: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] if(scale == 1e-18) strcpy(unit, "exa"); ^~~~~~ ./mulDisplay.c:1149:22: warning: incompatible implicit declaration of built-in function 'strcpy' ./mulDisplay.c:1149:22: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c:1150:27: warning: incompatible implicit declaration of built-in function 'strcpy' else if(scale == 1e-15) strcpy(unit, "peta"); ^~~~~~ ./mulDisplay.c:1150:27: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c:1151:27: warning: incompatible implicit declaration of built-in function 'strcpy' else if(scale == 1e-12) strcpy(unit, "tera"); ^~~~~~ ./mulDisplay.c:1151:27: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c:1152:26: warning: incompatible implicit declaration of built-in function 'strcpy' else if(scale == 1e-9) strcpy(unit, "giga"); ^~~~~~ ./mulDisplay.c:1152:26: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c:1153:26: warning: incompatible implicit declaration of built-in function 'strcpy' else if(scale == 1e-6) strcpy(unit, "mega"); ^~~~~~ ./mulDisplay.c:1153:26: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c:1154:26: warning: incompatible implicit declaration of built-in function 'strcpy' else if(scale == 1e-3) strcpy(unit, "kilo"); ^~~~~~ ./mulDisplay.c:1154:26: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c:1155:25: warning: incompatible implicit declaration of built-in function 'strcpy' else if(scale == 1.0) strcpy(unit, ""); ^~~~~~ ./mulDisplay.c:1155:25: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c:1156:26: warning: incompatible implicit declaration of built-in function 'strcpy' else if(scale == 1e+3) strcpy(unit, "milli"); ^~~~~~ ./mulDisplay.c:1156:26: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c:1157:26: warning: incompatible implicit declaration of built-in function 'strcpy' else if(scale == 1e+6) strcpy(unit, "micro"); ^~~~~~ ./mulDisplay.c:1157:26: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c:1158:26: warning: incompatible implicit declaration of built-in function 'strcpy' else if(scale == 1e+9) strcpy(unit, "nano"); ^~~~~~ ./mulDisplay.c:1158:26: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c:1159:27: warning: incompatible implicit declaration of built-in function 'strcpy' else if(scale == 1e+12) strcpy(unit, "pico"); ^~~~~~ ./mulDisplay.c:1159:27: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c:1160:27: warning: incompatible implicit declaration of built-in function 'strcpy' else if(scale == 1e+15) strcpy(unit, "femto"); ^~~~~~ ./mulDisplay.c:1160:27: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c:1161:27: warning: incompatible implicit declaration of built-in function 'strcpy' else if(scale == 1e+18) strcpy(unit, "atto"); ^~~~~~ ./mulDisplay.c:1161:27: note: include '' or provide a declaration of 'strcpy' In file included from ./mulDisplay.c:36:0: ./mulDisplay.c:1167:18: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] maxlen = MAX(strlen(getConductorName(i, name_list)), maxlen); ^ ./mulGlobal.h:205:22: note: in definition of macro 'MAX' #define MAX(A,B) ( (A) > (B) ? (A) : (B) ) ^ ./mulDisplay.c:1167:18: warning: incompatible implicit declaration of built-in function 'strlen' maxlen = MAX(strlen(getConductorName(i, name_list)), maxlen); ^ ./mulGlobal.h:205:22: note: in definition of macro 'MAX' #define MAX(A,B) ( (A) > (B) ? (A) : (B) ) ^ ./mulDisplay.c:1167:18: note: include '' or provide a declaration of 'strlen' maxlen = MAX(strlen(getConductorName(i, name_list)), maxlen); ^ ./mulGlobal.h:205:22: note: in definition of macro 'MAX' #define MAX(A,B) ( (A) > (B) ? (A) : (B) ) ^ ./mulDisplay.c:1194:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cond_name, getConductorName(i, name_list)); ^~~~~~ ./mulDisplay.c:1194:5: note: include '' or provide a declaration of 'strcpy' ./mulDisplay.c: In function 'dump_preconditioner': ./mulDisplay.c:1304:7: warning: implicit declaration of function 'mulPrecond' [-Wimplicit-function-declaration] mulPrecond(sys, PRECOND); ^~~~~~~~~~ ./mulDisplay.c:1306:18: warning: implicit declaration of function 'savemat_mod' [-Wimplicit-function-declaration] if(j == 1) savemat_mod(fp, 1000, "Ctil", num_panels, num_panels, 0, ^~~~~~~~~~~ gcc -O2 -DFOUR -c ./mulMulti.c ./mulMulti.c: In function 'multerms': ./mulMulti.c:55:10: warning: implicit declaration of function 'costerms'; did you mean 'multerms'? [-Wimplicit-function-declaration] return(costerms(order) + sinterms(order)); ^~~~~~~~ multerms ./mulMulti.c:55:28: warning: implicit declaration of function 'sinterms'; did you mean 'multerms'? [-Wimplicit-function-declaration] return(costerms(order) + sinterms(order)); ^~~~~~~~ multerms In file included from ./mulMulti.c:36:0: ./mulMulti.c: In function 'mulMultiAlloc': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./mulMulti.c:234:5: note: in expansion of macro 'CALLOC' CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:234:5: note: in expansion of macro 'CALLOC' CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulMulti.c:234:5: note: in expansion of macro 'CALLOC' CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:235:5: note: in expansion of macro 'CALLOC' CALLOC(Rhon, maxchgs, double, ON, AMSC); /* rho^n array */ ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:236:5: note: in expansion of macro 'CALLOC' CALLOC(Beta, maxchgs, double, ON, AMSC); /* beta array */ ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:237:5: note: in expansion of macro 'CALLOC' CALLOC(Betam, maxchgs, double, ON, AMSC); /* beta*m array */ ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:238:5: note: in expansion of macro 'CALLOC' CALLOC(Irn, maxchgs, double, ON, AMSC); /* (1/r)^n+1 vector */ ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:239:5: note: in expansion of macro 'CALLOC' CALLOC(Ir, maxchgs, double, ON, AMSC); /* 1/r vector */ ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:240:5: note: in expansion of macro 'CALLOC' CALLOC(Mphi, maxchgs, double, ON, AMSC); /* m*phi vector */ ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:241:5: note: in expansion of macro 'CALLOC' CALLOC(phi, maxchgs, double, ON, AMSC); /* phi vector */ ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:243:3: note: in expansion of macro 'CALLOC' CALLOC(tleg, costerms(2*order), double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:245:3: note: in expansion of macro 'CALLOC' CALLOC(factFac, order+1, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:247:5: note: in expansion of macro 'CALLOC' CALLOC(factFac[x], order+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:283:3: note: in expansion of macro 'CALLOC' CALLOC(facFrA, 2*order+1, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:285:5: note: in expansion of macro 'CALLOC' CALLOC(facFrA[x], 2*order+1, double, ON, AMSC); ^~~~~~ ./mulMulti.c:288:3: warning: implicit declaration of function 'evalFacFra'; did you mean 'evalFactFac'? [-Wimplicit-function-declaration] evalFacFra(facFrA, order); ^~~~~~~~~~ evalFactFac In file included from ./mulMulti.c:36:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:289:3: note: in expansion of macro 'CALLOC' CALLOC(sinmkB, 2*order+1, double, ON, AMSC); /* sin[(m+-k)beta] */ ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:290:3: note: in expansion of macro 'CALLOC' CALLOC(cosmkB, 2*order+1, double, ON, AMSC); /* cos[(m+-k)beta] */ ^~~~~~ ./mulMulti.c: In function 'mulQ2Multi': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:362:3: note: in expansion of macro 'CALLOC' CALLOC(mat, terms, double*, ON, AQ2M); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:364:7: note: in expansion of macro 'CALLOC' CALLOC(mat[i], numchgs, double, ON, AQ2M); ^~~~~~ ./mulMulti.c: In function 'mulMulti2Multi': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:455:3: note: in expansion of macro 'CALLOC' CALLOC(mat, terms, double*, ON, AM2M); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:456:28: note: in expansion of macro 'CALLOC' for(r=0; r < terms; r++) CALLOC(mat[r], terms, double, ON, AM2M); ^~~~~~ ./mulMulti.c: In function 'mulMulti2P': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:560:3: note: in expansion of macro 'CALLOC' CALLOC(mat, numchgs, double*, ON, AM2P); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulMulti.c:562:7: note: in expansion of macro 'CALLOC' CALLOC(mat[i], terms, double, ON, AM2P); ^~~~~~ gcc -O2 -DFOUR -c ./mulLocal.c ./mulLocal.c: In function 'mulMulti2Local': ./mulLocal.c:151:15: warning: implicit declaration of function 'multerms'; did you mean 'mktemp'? [-Wimplicit-function-declaration] int terms = multerms(order); /* the number of non-zero moments */ ^~~~~~~~ mktemp ./mulLocal.c:152:12: warning: implicit declaration of function 'costerms'; did you mean 'cuserid'? [-Wimplicit-function-declaration] int ct = costerms(order); /* the number of non-zero cos (bar) moments */ ^~~~~~~~ cuserid In file included from ./mulLocal.c:36:0: ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./mulLocal.c:162:3: note: in expansion of macro 'CALLOC' CALLOC(mat, terms, double*, ON, AM2L); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulLocal.c:162:3: note: in expansion of macro 'CALLOC' CALLOC(mat, terms, double*, ON, AM2L); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./mulLocal.c:162:3: note: in expansion of macro 'CALLOC' CALLOC(mat, terms, double*, ON, AM2L); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulLocal.c:164:7: note: in expansion of macro 'CALLOC' CALLOC(mat[i], terms, double, ON, AM2L); ^~~~~~ ./mulLocal.c:167:3: warning: implicit declaration of function 'xyz2sphere' [-Wimplicit-function-declaration] xyz2sphere(x, y, z, xp, yp, zp, &rho, &cosA, &beta); ^~~~~~~~~~ ./mulLocal.c:170:3: warning: implicit declaration of function 'evalLegendre' [-Wimplicit-function-declaration] evalLegendre(cosA, tleg, 2*order); /* multi->loc needs 2x legendres */ ^~~~~~~~~~~~ In file included from ./mulLocal.c:36:0: ./mulLocal.c: In function 'mulLocal2Local': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulLocal.c:251:3: note: in expansion of macro 'CALLOC' CALLOC(mat, terms, double*, ON, AL2L); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulLocal.c:253:7: note: in expansion of macro 'CALLOC' CALLOC(mat[i], terms, double, ON, AL2L); ^~~~~~ ./mulLocal.c: In function 'mulQ2Local': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulLocal.c:349:3: note: in expansion of macro 'CALLOC' CALLOC(mat, terms, double*, ON, AQ2L); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulLocal.c:351:7: note: in expansion of macro 'CALLOC' CALLOC(mat[i], numchgs, double, ON, AQ2L); ^~~~~~ ./mulLocal.c: In function 'mulLocal2P': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulLocal.c:451:3: note: in expansion of macro 'CALLOC' CALLOC(mat, numchgs, double*, ON, AL2P); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./mulLocal.c:453:7: note: in expansion of macro 'CALLOC' CALLOC(mat[i], terms, double, ON, AL2P); ^~~~~~ gcc -O2 -DFOUR -c ./direct.c In file included from ./direct.c:36:0: ./direct.c: In function 'Q2PDiag': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./direct.c:48:3: note: in expansion of macro 'CALLOC' CALLOC(mat, numchgs, double*, ON, AQ2PD); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./direct.c:48:3: note: in expansion of macro 'CALLOC' CALLOC(mat, numchgs, double*, ON, AQ2PD); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./direct.c:48:3: note: in expansion of macro 'CALLOC' CALLOC(mat, numchgs, double*, ON, AQ2PD); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./direct.c:49:30: note: in expansion of macro 'CALLOC' for(i=0; i < numchgs; i++) CALLOC(mat[i], numchgs, double, ON, AQ2PD); ^~~~~~ ./direct.c: In function 'Q2P': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./direct.c:91:3: note: in expansion of macro 'CALLOC' CALLOC(mat, numpchgs, double*, ON, AQ2P); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./direct.c:93:5: note: in expansion of macro 'CALLOC' CALLOC(mat[i], numqchgs, double, ON, AQ2P); ^~~~~~ ./direct.c: In function 'Q2Pfull': ./mulGlobal.h:155:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./direct.c:132:3: note: in expansion of macro 'MALLOC' MALLOC(mat, numchgs, double*, ON, AQ2P); ^~~~~~ ./mulGlobal.h:155:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./direct.c:133:32: note: in expansion of macro 'MALLOC' for(i = 0; i < numchgs; i++) MALLOC(mat[i], numchgs, double, ON, AQ2P); ^~~~~~ ./direct.c: In function 'ludecomp': ./mulGlobal.h:155:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./direct.c:173:5: note: in expansion of macro 'MALLOC' MALLOC(mat, size, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:155:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ ^ ./direct.c:175:7: note: in expansion of macro 'MALLOC' MALLOC(mat[i], size, double, ON, AMSC); ^~~~~~ ./direct.c: In function 'compressMat': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./direct.c:319:5: note: in expansion of macro 'CALLOC' CALLOC(cur_order, size, int, ON, AMSC); ^~~~~~ ./direct.c: At top level: ./direct.c:392:1: warning: return type defaults to 'int' [-Wimplicit-int] matcheck(mat, rows, size) ^~~~~~~~ ./direct.c:417:1: warning: return type defaults to 'int' [-Wimplicit-int] matlabDump(mat, size, name) ^~~~~~~~~~ gcc -O2 -DFOUR -c ./calcp.c ./calcp.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] initcalcp(panel_list) ^~~~~~~~~ ./calcp.c: In function 'initcalcp': ./calcp.c:145:5: warning: implicit declaration of function 'Cross_Product'; did you mean 'DotP_Product'? [-Wimplicit-function-declaration] Cross_Product(pq->X, pq->Y, pq->Z); ^~~~~~~~~~~~~ DotP_Product ./calcp.c:147:8: warning: implicit declaration of function 'flip_normal'; did you mean 'isnormal'? [-Wimplicit-function-declaration] if(flip_normal(pq)) { ^~~~~~~~~~~ isnormal ./calcp.c:175:8: warning: implicit declaration of function 'planarize' [-Wimplicit-function-declaration] if(planarize(pq) == FALSE) { ^~~~~~~~~ In file included from ./calcp.c:36:0: ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./calcp.c:177:7: note: in expansion of macro 'CALLOC' CALLOC(npq, 1, charge, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./calcp.c:177:7: note: in expansion of macro 'CALLOC' CALLOC(npq, 1, charge, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./calcp.c:177:7: note: in expansion of macro 'CALLOC' CALLOC(npq, 1, charge, ON, AMSC); ^~~~~~ ./calcp.c:191:5: warning: implicit declaration of function 'centroid'; did you mean 'cuserid'? [-Wimplicit-function-declaration] centroid(pq, length20); ^~~~~~~~ cuserid ./calcp.c:223:5: warning: implicit declaration of function 'ComputeMoments' [-Wimplicit-function-declaration] ComputeMoments(pq); ^~~~~~~~~~~~~~ ./calcp.c: At top level: ./calcp.c:235:1: warning: return type defaults to 'int' [-Wimplicit-int] oldflip_normal(panel) ^~~~~~~~~~~~~~ ./calcp.c: In function 'oldflip_normal': ./calcp.c:278:42: warning: implicit declaration of function 'hack_path' [-Wimplicit-function-declaration] fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); ^~~~~~~~~ ./calcp.c: At top level: ./calcp.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] flip_normal(panel) ^~~~~~~~~~~ ./calcp.c:374:1: warning: return type defaults to 'int' [-Wimplicit-int] planarize(pq) ^~~~~~~~~ ./calcp.c:422:1: warning: return type defaults to 'int' [-Wimplicit-int] centroid(pp, x2) ^~~~~~~~ ./calcp.c:479:1: warning: return type defaults to 'int' [-Wimplicit-int] Cross_Product(vector1, vector2, result_vector) ^~~~~~~~~~~~~ ./calcp.c: In function 'calcp': ./calcp.c:660:5: warning: implicit declaration of function 'dp' [-Wimplicit-function-declaration] dp(panel); ^~ ./calcp.c: At top level: ./calcp.c:669:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpnums(flag, size) ^~~~~~~~ ./calcp.c:717:1: warning: return type defaults to 'int' [-Wimplicit-int] ComputeMoments(pp) ^~~~~~~~~~~~~~ In file included from ./calcp.c:36:0: ./calcp.c: In function 'ComputeMoments': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./calcp.c:734:7: note: in expansion of macro 'CALLOC' CALLOC(XP[i], (order+3), double, ON, AQ2P); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./calcp.c:735:7: note: in expansion of macro 'CALLOC' CALLOC(YP[i], (order+3), double, ON, AQ2P); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./calcp.c:738:5: note: in expansion of macro 'CALLOC' CALLOC(I, (order+1), double*, ON, AQ2P); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./calcp.c:739:33: note: in expansion of macro 'CALLOC' for(i = 0; i <= order; i++) CALLOC(I[i], (order+1), double, ON, AQ2P); ^~~~~~ ./calcp.c: At top level: ./calcp.c:831:1: warning: return type defaults to 'int' [-Wimplicit-int] dp(panel) ^~ ./calcp.c:878:1: warning: return type defaults to 'int' [-Wimplicit-int] testCalcp(pp) ^~~~~~~~~ ./calcp.c:906:1: warning: return type defaults to 'int' [-Wimplicit-int] fileCorners(pp, f) ^~~~~~~~~~~ ./calcp.c:919:1: warning: return type defaults to 'int' [-Wimplicit-int] calcpm(multi, x, y, z, origorder, order) ^~~~~~ ./calcp.c: In function 'calcpm': ./calcp.c:919:1: warning: type of 'origorder' defaults to 'int' [-Wimplicit-int] ./calcp.c:934:14: warning: implicit declaration of function 'multerms'; did you mean 'mktemp'? [-Wimplicit-function-declaration] numterms = multerms(origorder); ^~~~~~~~ mktemp gcc -O2 -DFOUR -c ./fastcap.c ./fastcap.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ In file included from ./fastcap.c:36:0: ./fastcap.c: In function 'main': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./fastcap.c:75:3: note: in expansion of macro 'CALLOC' CALLOC(title, BUFSIZ, char, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./fastcap.c:75:3: note: in expansion of macro 'CALLOC' CALLOC(title, BUFSIZ, char, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./fastcap.c:75:3: note: in expansion of macro 'CALLOC' CALLOC(title, BUFSIZ, char, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./fastcap.c:82:3: note: in expansion of macro 'CALLOC' CALLOC(axes, 10, double **, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./fastcap.c:84:5: note: in expansion of macro 'CALLOC' CALLOC(axes[i], 2, double *, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./fastcap.c:86:7: note: in expansion of macro 'CALLOC' CALLOC(axes[i][j], 3, double, ON, AMSC); ^~~~~~ ./fastcap.c:99:13: warning: implicit declaration of function 'get_ps_file_base' [-Wimplicit-function-declaration] if(!q_) get_ps_file_base(argv, argc); ^~~~~~~~~~~~~~~~ ./fastcap.c:100:5: warning: implicit declaration of function 'dump_ps_geometry' [-Wimplicit-function-declaration] dump_ps_geometry(chglist, NULL, 0, dd_); ^~~~~~~~~~~~~~~~ ./fastcap.c:176:3: warning: implicit declaration of function 'mulMultiAlloc' [-Wimplicit-function-declaration] mulMultiAlloc(MAX(sys->max_eval_pnt, sys->max_panel), numMom, sys->depth); ^~~~~~~~~~~~~ ./fastcap.c:185:3: warning: implicit declaration of function 'mulMatDirect' [-Wimplicit-function-declaration] mulMatDirect(sys); /* Compute the direct part matrices. */ ^~~~~~~~~~~~ ./fastcap.c:198:3: warning: implicit declaration of function 'olmulMatPrecond' [-Wimplicit-function-declaration] olmulMatPrecond(sys); ^~~~~~~~~~~~~~~ ./fastcap.c:216:3: warning: implicit declaration of function 'dumpnums'; did you mean 'tempnam'? [-Wimplicit-function-declaration] dumpnums(ON, eval_size, up_size); /* save num/type of pot. coeff calcs */ ^~~~~~~~ tempnam ./fastcap.c:228:3: warning: implicit declaration of function 'mulMatUp' [-Wimplicit-function-declaration] mulMatUp(sys); /* Compute the upward pass matrices. */ ^~~~~~~~ ./fastcap.c:235:3: warning: implicit declaration of function 'mulMatDown' [-Wimplicit-function-declaration] mulMatDown(sys); /* find matrices for full Greengard dnwd pass*/ ^~~~~~~~~~ ./fastcap.c:244:3: warning: implicit declaration of function 'mulMatEval' [-Wimplicit-function-declaration] mulMatEval(sys); /* set up matrices for evaluation pass */ ^~~~~~~~~~ ./fastcap.c:266:13: warning: implicit declaration of function 'capsolve' [-Wimplicit-function-declaration] ttliter = capsolve(&capmat, sys, chglist, eval_size, up_size, num_cond, ^~~~~~~~ ./fastcap.c:270:3: warning: implicit declaration of function 'mksCapDump'; did you mean 'mkstemp'? [-Wimplicit-function-declaration] mksCapDump(capmat, num_cond, relperm, &name_list); ^~~~~~~~~~ mkstemp gcc -O2 -DFOUR -c ./blkDirect.c ./blkDirect.c: In function 'wrMat': ./blkDirect.c:196:14: warning: implicit declaration of function 'creat'; did you mean 'wrMat'? [-Wimplicit-function-declaration] if((fdis = creat(getName(file, name), PMODE)) == -1) { ^~~~~ wrMat ./blkDirect.c:205:16: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if((actsiz = write(fdis, (char *)mat, realsiz)) != realsiz) { ^~~~~ fwrite ./blkDirect.c:211:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fdis); ^~~~~ pclose ./blkDirect.c: In function 'rdMat': ./blkDirect.c:236:14: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] if((fdis = open(getName(file, name), 0)) == -1) { ^~~~ popen ./blkDirect.c:244:17: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if(realsiz != read(fdis, (char *)mat, realsiz)) { ^~~~ fread In file included from ./blkDirect.c:36:0: ./blkDirect.c: In function 'blkQ2Pfull': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./blkDirect.c:557:5: note: in expansion of macro 'CALLOC' CALLOC(*sqrArray, matsize, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./blkDirect.c:557:5: note: in expansion of macro 'CALLOC' CALLOC(*sqrArray, matsize, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./blkDirect.c:557:5: note: in expansion of macro 'CALLOC' CALLOC(*sqrArray, matsize, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./blkDirect.c:559:5: note: in expansion of macro 'CALLOC' CALLOC(*triArray, matsize, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./blkDirect.c:560:5: note: in expansion of macro 'CALLOC' CALLOC(*real_index, numchgs, int, ON, AMSC); ^~~~~~ gcc -O2 -DFOUR -c ./uglyalloc.c ./uglyalloc.c:88:7: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] char *calloc(); ^~~~~~ ./uglyalloc.c:89:7: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] char *malloc(); ^~~~~~ ./uglyalloc.c: In function 'mocore': ./uglyalloc.c:106:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if((int)cp == -1) return(NULL); ^ gcc -O2 -DFOUR -c ./patran.c In file included from ./patran.c:44:0: ./patran.c: In function 'patfront': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./patran.c:83:20: note: in expansion of macro 'CALLOC' if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:83:20: note: in expansion of macro 'CALLOC' if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./patran.c:83:20: note: in expansion of macro 'CALLOC' if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); ^~~~~~ ./patran.c:99:5: warning: implicit declaration of function 'input' [-Wimplicit-function-declaration] input(stream, line, surf_type, trans_vector); ^~~~~ ./patran.c:101:5: warning: implicit declaration of function 'grid_equiv_check' [-Wimplicit-function-declaration] grid_equiv_check(); ^~~~~~~~~~~~~~~~ In file included from ./patran.c:44:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:109:7: note: in expansion of macro 'CALLOC' CALLOC(patch_patch_table, number_patches*number_patches, int, ON, AMSC); ^~~~~~ ./patran.c:111:7: warning: implicit declaration of function 'fill_patch_patch_table' [-Wimplicit-function-declaration] fill_patch_patch_table(patch_patch_table); ^~~~~~~~~~~~~~~~~~~~~~ ./patran.c:113:7: warning: implicit declaration of function 'assign_conductor' [-Wimplicit-function-declaration] assign_conductor(patch_patch_table); ^~~~~~~~~~~~~~~~ ./patran.c:117:7: warning: implicit declaration of function 'assign_names' [-Wimplicit-function-declaration] assign_names(); ^~~~~~~~~~~~ ./patran.c: At top level: ./patran.c:134:1: warning: return type defaults to 'int' [-Wimplicit-int] input(stream, line, surf_type, trans_vector) ^~~~~ ./patran.c: In function 'input': ./patran.c:157:7: warning: implicit declaration of function 'file_title'; did you mean 'finite'? [-Wimplicit-function-declaration] file_title(stream); ^~~~~~~~~~ finite ./patran.c:160:7: warning: implicit declaration of function 'summary_data' [-Wimplicit-function-declaration] summary_data(stream); ^~~~~~~~~~~~ ./patran.c:163:7: warning: implicit declaration of function 'node_data'; did you mean 'mode_t'? [-Wimplicit-function-declaration] node_data(stream, trans_vector); ^~~~~~~~~ mode_t ./patran.c:166:7: warning: implicit declaration of function 'element_data' [-Wimplicit-function-declaration] element_data(stream); ^~~~~~~~~~~~ ./patran.c:169:7: warning: implicit declaration of function 'grid_data'; did you mean 'gid_t'? [-Wimplicit-function-declaration] grid_data(stream, trans_vector); ^~~~~~~~~ gid_t ./patran.c:172:7: warning: implicit declaration of function 'patch_data'; did you mean 'putchar'? [-Wimplicit-function-declaration] patch_data(stream); ^~~~~~~~~~ putchar ./patran.c:175:7: warning: implicit declaration of function 'CFEG_table' [-Wimplicit-function-declaration] CFEG_table(stream); ^~~~~~~~~~ ./patran.c:178:52: warning: implicit declaration of function 'name_data' [-Wimplicit-function-declaration] if(surf_type == CONDTR || surf_type == BOTH) name_data(stream); ^~~~~~~~~ ./patran.c:179:12: warning: implicit declaration of function 'waste_line'; did you mean 'getline'? [-Wimplicit-function-declaration] else waste_line(KC, stream); ^~~~~~~~~~ getline ./patran.c: At top level: ./patran.c:193:1: warning: return type defaults to 'int' [-Wimplicit-int] waste_line(num_line,stream) ^~~~~~~~~~ ./patran.c:207:1: warning: return type defaults to 'int' [-Wimplicit-int] file_title(stream) ^~~~~~~~~~ ./patran.c: In function 'file_title': ./patran.c:213:24: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] if(title[0] == '\0') strcpy(title, delcr(line)); ^~~~~~ ./patran.c:213:24: warning: incompatible implicit declaration of built-in function 'strcpy' ./patran.c:213:24: note: include '' or provide a declaration of 'strcpy' ./patran.c: At top level: ./patran.c:221:1: warning: return type defaults to 'int' [-Wimplicit-int] summary_data(stream) ^~~~~~~~~~~~ In file included from ./patran.c:44:0: ./patran.c: In function 'summary_data': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:226:3: note: in expansion of macro 'CALLOC' CALLOC(list_nodes, number_nodes, NODE, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:227:3: note: in expansion of macro 'CALLOC' CALLOC(list_elements, number_elements, ELEMENT, ON, AMSC); ^~~~~~ ./patran.c: At top level: ./patran.c:240:1: warning: return type defaults to 'int' [-Wimplicit-int] node_data(stream, trans_vector) ^~~~~~~~~ ./patran.c:262:1: warning: return type defaults to 'int' [-Wimplicit-int] element_data(stream) ^~~~~~~~~~~~ ./patran.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] grid_data(stream, trans_vector) ^~~~~~~~~ In file included from ./patran.c:44:0: ./patran.c: In function 'grid_data': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:306:3: note: in expansion of macro 'CALLOC' CALLOC(current_grid, 1, GRID, ON, AMSC); ^~~~~~ ./patran.c: At top level: ./patran.c:324:1: warning: return type defaults to 'int' [-Wimplicit-int] patch_data(stream) ^~~~~~~~~~ In file included from ./patran.c:44:0: ./patran.c: In function 'patch_data': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:337:3: note: in expansion of macro 'CALLOC' CALLOC(current_patch, 1, PATCH, ON, AMSC); ^~~~~~ ./patran.c: At top level: ./patran.c:358:1: warning: return type defaults to 'int' [-Wimplicit-int] CFEG_table(stream) ^~~~~~~~~~ In file included from ./patran.c:44:0: ./patran.c: In function 'CFEG_table': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:377:5: note: in expansion of macro 'CALLOC' CALLOC(current_cfeg, 1, CFEG, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:385:5: note: in expansion of macro 'CALLOC' CALLOC(element_list, NELS, int, ON, AMSC); ^~~~~~ ./patran.c: At top level: ./patran.c:432:1: warning: return type defaults to 'int' [-Wimplicit-int] name_data(stream) ^~~~~~~~~ In file included from ./patran.c:44:0: ./patran.c: In function 'name_data': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:440:5: note: in expansion of macro 'CALLOC' CALLOC(start_name, 1, NAME, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:444:5: note: in expansion of macro 'CALLOC' CALLOC(current_name->next, 1, NAME, ON, AMSC); ^~~~~~ ./patran.c:454:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len = strlen(line); ^~~~~~ ./patran.c:454:9: warning: incompatible implicit declaration of built-in function 'strlen' ./patran.c:454:9: note: include '' or provide a declaration of 'strlen' In file included from ./patran.c:44:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:455:3: note: in expansion of macro 'CALLOC' CALLOC(current_name->name, len+1, char, ON, AMSC); ^~~~~~ ./patran.c:457:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(current_name->name, line); ^~~~~~ ./patran.c:457:3: note: include '' or provide a declaration of 'strcpy' In file included from ./patran.c:44:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:465:4: note: in expansion of macro 'CALLOC' CALLOC(current_name->patch_list, 1, SM_PATCH, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:469:4: note: in expansion of macro 'CALLOC' CALLOC(current_patch->next, 1, SM_PATCH, ON, AMSC); ^~~~~~ ./patran.c: At top level: ./patran.c:490:1: warning: return type defaults to 'int' [-Wimplicit-int] grid_equiv_check() ^~~~~~~~~~~~~~~~ In file included from ./patran.c:44:0: ./patran.c: In function 'grid_equiv_check': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:498:5: note: in expansion of macro 'CALLOC' CALLOC(grid_ptr_1->equiv_ID, number_grids, int, ON, AMSC); ^~~~~~ ./patran.c:509:11: warning: implicit declaration of function 'if_same_coord' [-Wimplicit-function-declaration] if (if_same_coord(grid_ptr_1->coord,grid_ptr_2->coord)) { ^~~~~~~~~~~~~ ./patran.c: At top level: ./patran.c:573:1: warning: return type defaults to 'int' [-Wimplicit-int] fill_patch_patch_table(patch_patch_table) ^~~~~~~~~~~~~~~~~~~~~~ ./patran.c: In function 'fill_patch_patch_table': ./patran.c:594:6: warning: implicit declaration of function 'if_same_grid'; did you mean 'if_same_coord'? [-Wimplicit-function-declaration] if (if_same_grid(*corner++,grid_ptr)) { ^~~~~~~~~~~~ if_same_coord ./patran.c: At top level: ./patran.c:634:1: warning: return type defaults to 'int' [-Wimplicit-int] assign_conductor(patch_patch_table) ^~~~~~~~~~~~~~~~ ./patran.c: In function 'assign_conductor': ./patran.c:659:7: warning: implicit declaration of function 'depth_search'; did you mean 'bsearch'? [-Wimplicit-function-declaration] depth_search(patch_patch_table,current_table_ptr,conductor_count); ^~~~~~~~~~~~ bsearch ./patran.c: At top level: ./patran.c:680:1: warning: return type defaults to 'int' [-Wimplicit-int] depth_search(patch_patch_table,current_table_ptr,conductor_count) ^~~~~~~~~~~~ ./patran.c: In function 'make_charges_all_patches': ./patran.c:757:6: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cond_name, getPatranName(patch_ptr->conductor_ID)); ^~~~~~ ./patran.c:757:6: note: include '' or provide a declaration of 'strcpy' ./patran.c:758:6: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(cond_name, name_suffix); ^~~~~~ ./patran.c:758:6: warning: incompatible implicit declaration of built-in function 'strcat' ./patran.c:758:6: note: include '' or provide a declaration of 'strcat' ./patran.c:759:21: warning: implicit declaration of function 'getConductorNum' [-Wimplicit-function-declaration] conductor_ID = getConductorNum(cond_name, name_list, num_cond); ^~~~~~~~~~~~~~~ In file included from ./patran.c:44:0: ./patran.c: In function 'make_charges_patch': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./patran.c:800:3: note: in expansion of macro 'CALLOC' CALLOC(pq,NELS,charge, ON, AMSC); ^~~~~~ ./patran.c: At top level: ./patran.c:854:1: warning: return type defaults to 'int' [-Wimplicit-int] assign_names() ^~~~~~~~~~~~ gcc -O2 -DFOUR -c ./quickif.c ./quickif.c: In function 'alias_match': ./quickif.c:50:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(!strcmp(name, cur_alias->name)) return(TRUE); ^~~~~~ ./quickif.c: In function 'alias_match_name': ./quickif.c:66:10: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] nlen = strlen(name); ^~~~~~ ./quickif.c:66:10: warning: incompatible implicit declaration of built-in function 'strlen' ./quickif.c:66:10: note: include '' or provide a declaration of 'strlen' In file included from ./quickif.c:36:0: ./quickif.c: In function 'add_to_alias': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./quickif.c:92:5: note: in expansion of macro 'CALLOC' CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:92:5: note: in expansion of macro 'CALLOC' CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./quickif.c:92:5: note: in expansion of macro 'CALLOC' CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); ^~~~~~ ./quickif.c:93:40: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(cur_name->alias_list->name, strlen(new_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./quickif.c:93:40: note: include '' or provide a declaration of 'strlen' CALLOC(cur_name->alias_list->name, strlen(new_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:93:5: note: in expansion of macro 'CALLOC' CALLOC(cur_name->alias_list->name, strlen(new_name)+1, char, ON, AMSC); ^~~~~~ ./quickif.c:94:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(cur_name->alias_list->name, new_name); ^~~~~~ ./quickif.c:94:5: warning: incompatible implicit declaration of built-in function 'strcpy' ./quickif.c:94:5: note: include '' or provide a declaration of 'strcpy' In file included from ./quickif.c:36:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:97:5: note: in expansion of macro 'CALLOC' CALLOC(last_alias, 1, Name, ON, AMSC); ^~~~~~ ./quickif.c:98:30: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(last_alias->name, strlen(new_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./quickif.c:98:30: note: include '' or provide a declaration of 'strlen' CALLOC(last_alias->name, strlen(new_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:98:5: note: in expansion of macro 'CALLOC' CALLOC(last_alias->name, strlen(new_name)+1, char, ON, AMSC); ^~~~~~ ./quickif.c:99:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(last_alias->name, new_name); ^~~~~~ ./quickif.c:99:5: note: include '' or provide a declaration of 'strcpy' In file included from ./quickif.c:36:0: ./quickif.c: In function 'getConductorNum': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:134:5: note: in expansion of macro 'CALLOC' CALLOC(*name_list, 1, Name, ON, AMSC); ^~~~~~ ./quickif.c:135:32: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC((*name_list)->name, strlen(name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./quickif.c:135:32: note: include '' or provide a declaration of 'strlen' CALLOC((*name_list)->name, strlen(name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:135:5: note: in expansion of macro 'CALLOC' CALLOC((*name_list)->name, strlen(name)+1, char, ON, AMSC); ^~~~~~ ./quickif.c:136:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy((*name_list)->name, name); ^~~~~~ ./quickif.c:136:5: note: include '' or provide a declaration of 'strcpy' In file included from ./quickif.c:36:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:151:3: note: in expansion of macro 'CALLOC' CALLOC(prev_name->next, 1, Name, ON, AMSC); ^~~~~~ ./quickif.c:152:33: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(prev_name->next->name, strlen(name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./quickif.c:152:33: note: include '' or provide a declaration of 'strlen' CALLOC(prev_name->next->name, strlen(name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:152:3: note: in expansion of macro 'CALLOC' CALLOC(prev_name->next->name, strlen(name)+1, char, ON, AMSC); ^~~~~~ ./quickif.c:153:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(prev_name->next->name, name); ^~~~~~ ./quickif.c:153:3: note: include '' or provide a declaration of 'strcpy' ./quickif.c: In function 'oldrenameConductor': ./quickif.c:235:10: warning: incompatible implicit declaration of built-in function 'strlen' if(strlen(cur_name->name) < strlen(new_name)) ^~~~~~ ./quickif.c:235:10: note: include '' or provide a declaration of 'strlen' In file included from ./quickif.c:36:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:236:4: note: in expansion of macro 'CALLOC' CALLOC(cur_name->name, strlen(new_name)+1, char, ON, AMSC); ^~~~~~ ./quickif.c:237:7: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cur_name->name, new_name); ^~~~~~ ./quickif.c:237:7: note: include '' or provide a declaration of 'strcpy' ./quickif.c: In function 'quickif': ./quickif.c:307:24: warning: incompatible implicit declaration of built-in function 'strcpy' if(title[0] == '\0') strcpy(title, delcr(&line[1])); ^~~~~~ ./quickif.c:307:24: note: include '' or provide a declaration of 'strcpy' ./quickif.c:323:7: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(condstr, name_suffix); ^~~~~~ ./quickif.c:323:7: warning: incompatible implicit declaration of built-in function 'strcat' ./quickif.c:323:7: note: include '' or provide a declaration of 'strcat' In file included from ./quickif.c:36:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:327:2: note: in expansion of macro 'CALLOC' CALLOC(fstquad, 1, quadl, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:331:2: note: in expansion of macro 'CALLOC' CALLOC(curquad->next, 1, quadl, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:365:2: note: in expansion of macro 'CALLOC' CALLOC(fsttri, 1, tri, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:369:2: note: in expansion of macro 'CALLOC' CALLOC(curtri->next, 1, tri, ON, AMSC); ^~~~~~ ./quickif.c:374:7: warning: incompatible implicit declaration of built-in function 'strcat' strcat(condstr, name_suffix); ^~~~~~ ./quickif.c:374:7: note: include '' or provide a declaration of 'strcat' ./quickif.c:404:2: warning: incompatible implicit declaration of built-in function 'strcat' strcat(condstr, name_suffix); ^~~~~~ ./quickif.c:404:2: note: include '' or provide a declaration of 'strcat' In file included from ./quickif.c:36:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:427:7: note: in expansion of macro 'CALLOC' CALLOC(chglst, 1, charge, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:431:7: note: in expansion of macro 'CALLOC' CALLOC(nq->next, 1, charge, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:456:7: note: in expansion of macro 'CALLOC' CALLOC(chglst, 1, charge, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./quickif.c:460:7: note: in expansion of macro 'CALLOC' CALLOC(nq->next, 1, charge, ON, AMSC); ^~~~~~ gcc -O2 -DFOUR -c ./electric.c gcc -O2 -DFOUR -c ./input.c ./input.c: In function 'read_list_file': ./input.c:145:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(!strcmp(plus, "+")) end_of_chain = FALSE; ^~~~~~ In file included from ./input.c:36:0: ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./input.c:150:2: note: in expansion of macro 'CALLOC' CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:150:2: note: in expansion of macro 'CALLOC' CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./input.c:150:2: note: in expansion of macro 'CALLOC' CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:154:2: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~ ./input.c:164:30: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:164:30: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:164:30: note: include '' or provide a declaration of 'strlen' CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:164:7: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^~~~~~ ./input.c:165:7: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(cur_surf->name, file_name); ^~~~~~ ./input.c:165:7: warning: incompatible implicit declaration of built-in function 'strcpy' ./input.c:165:7: note: include '' or provide a declaration of 'strcpy' In file included from ./input.c:36:0: ./input.c:169:36: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:169:36: note: include '' or provide a declaration of 'strlen' CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:169:7: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:206:2: note: in expansion of macro 'CALLOC' CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:210:2: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~ ./input.c:224:30: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:224:30: note: include '' or provide a declaration of 'strlen' CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:224:7: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^~~~~~ ./input.c:225:7: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cur_surf->name, file_name); ^~~~~~ ./input.c:225:7: note: include '' or provide a declaration of 'strcpy' In file included from ./input.c:36:0: ./input.c:230:36: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:230:36: note: include '' or provide a declaration of 'strlen' CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:230:7: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:261:2: note: in expansion of macro 'CALLOC' CALLOC(*surf_list, 1, surface, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:265:2: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~ ./input.c:279:30: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:279:30: note: include '' or provide a declaration of 'strlen' CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:279:7: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); ^~~~~~ ./input.c:280:7: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cur_surf->name, file_name); ^~~~~~ ./input.c:280:7: note: include '' or provide a declaration of 'strcpy' In file included from ./input.c:36:0: ./input.c:285:36: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:285:36: note: include '' or provide a declaration of 'strlen' CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:285:7: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~ ./input.c: In function 'add_dummy_panels': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:427:7: note: in expansion of macro 'CALLOC' CALLOC(dummy_list, 1, charge, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:431:7: note: in expansion of macro 'CALLOC' CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:446:5: note: in expansion of macro 'CALLOC' CALLOC(cur_dummy->next, 1, charge, ON, AMSC); ^~~~~~ ./input.c: In function 'get_ps_file_base': ./input.c:665:7: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(temp, &(argv[i][2])); ^~~~~~ ./input.c:665:7: note: include '' or provide a declaration of 'strcpy' In file included from ./input.c:36:0: ./input.c:671:28: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:671:28: note: include '' or provide a declaration of 'strlen' CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:671:7: note: in expansion of macro 'CALLOC' CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^~~~~~ ./input.c:676:7: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(temp, argv[i]); ^~~~~~ ./input.c:676:7: note: include '' or provide a declaration of 'strcpy' In file included from ./input.c:36:0: ./input.c:680:28: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:680:28: note: include '' or provide a declaration of 'strlen' CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:680:7: note: in expansion of macro 'CALLOC' CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); ^~~~~~ ./input.c:687:26: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(ps_file_base, strlen("stdin")+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:687:26: note: include '' or provide a declaration of 'strlen' CALLOC(ps_file_base, strlen("stdin")+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:687:5: note: in expansion of macro 'CALLOC' CALLOC(ps_file_base, strlen("stdin")+1, char, ON, AMSC); ^~~~~~ ./input.c:688:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(ps_file_base, "stdin"); ^~~~~~ ./input.c:688:5: note: include '' or provide a declaration of 'strcpy' In file included from ./input.c:36:0: ./input.c: In function 'read_panels': ./input.c:768:29: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(cur_surf->title, strlen(title)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:768:29: note: include '' or provide a declaration of 'strlen' CALLOC(cur_surf->title, strlen(title)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:768:5: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->title, strlen(title)+1, char, ON, AMSC); ^~~~~~ ./input.c:769:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cur_surf->title, title); ^~~~~~ ./input.c:769:5: note: include '' or provide a declaration of 'strcpy' ./input.c:780:5: warning: implicit declaration of function 'initcalcp' [-Wimplicit-function-declaration] initcalcp(cur_surf->panels);/* get normals, edges, perpendiculars */ ^~~~~~~~~ ./input.c: In function 'getUniqueCondNum': ./input.c:842:10: warning: incompatible implicit declaration of built-in function 'strlen' nlen = strlen(name); ^~~~~~ ./input.c:842:10: note: include '' or provide a declaration of 'strlen' In file included from ./input.c:36:0: ./input.c: In function 'get_kill_num_list': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:921:7: note: in expansion of macro 'CALLOC' CALLOC(kill_num_list, 1, ITER, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:925:7: note: in expansion of macro 'CALLOC' CALLOC(cur_cond->next, 1, ITER, ON, AMSC); ^~~~~~ ./input.c: In function 'parse_command_line': ./input.c:1213:5: warning: implicit declaration of function 'dumpConfig' [-Wimplicit-function-declaration] dumpConfig(stderr, argv[0]); ^~~~~~~~~~ ./input.c: In function 'read_all_surfaces': ./input.c:1237:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(group_name, "GROUP1"); ^~~~~~ ./input.c:1237:3: note: include '' or provide a declaration of 'strcpy' In file included from ./input.c:36:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:1239:5: note: in expansion of macro 'CALLOC' CALLOC(surf_list, 1, surface, ON, AMSC); ^~~~~~ ./input.c:1241:29: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(surf_list->name, strlen("stdin")+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:1241:29: note: include '' or provide a declaration of 'strlen' CALLOC(surf_list->name, strlen("stdin")+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:1241:5: note: in expansion of macro 'CALLOC' CALLOC(surf_list->name, strlen("stdin")+1, char, ON, AMSC); ^~~~~~ ./input.c:1247:35: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(surf_list->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:1247:35: note: include '' or provide a declaration of 'strlen' CALLOC(surf_list->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:1247:5: note: in expansion of macro 'CALLOC' CALLOC(surf_list->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:1260:7: note: in expansion of macro 'CALLOC' CALLOC(surf_list, 1, surface, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:1264:7: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->next, 1, surface, ON, AMSC); ^~~~~~ ./input.c:1268:28: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(cur_surf->name, strlen(input_file)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:1268:28: note: include '' or provide a declaration of 'strlen' CALLOC(cur_surf->name, strlen(input_file)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:1268:5: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->name, strlen(input_file)+1, char, ON, AMSC); ^~~~~~ ./input.c:1274:34: warning: incompatible implicit declaration of built-in function 'strlen' CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./input.c:1274:34: note: include '' or provide a declaration of 'strlen' CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^ ./mulGlobal.h:114:10: note: in definition of macro 'CALLOC' if((NUM)*sizeof(TYPE)==0) \ ^~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:1274:5: note: in expansion of macro 'CALLOC' CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); ^~~~~~ ./input.c: In function 'remove_name': ./input.c:1383:10: warning: incompatible implicit declaration of built-in function 'strlen' slen = strlen(str); ^~~~~~ ./input.c:1383:10: note: include '' or provide a declaration of 'strlen' In file included from ./input.c:36:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:1391:2: note: in expansion of macro 'CALLOC' CALLOC(cur_name->name, slen+1, char, ON, AMSC); ^~~~~~ ./input.c:1393:7: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(cur_name->name, str); ^~~~~~ ./input.c:1393:7: note: include '' or provide a declaration of 'strcpy' In file included from ./input.c:36:0: ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./input.c:1399:4: note: in expansion of macro 'CALLOC' CALLOC(cur_alias->name, slen+1, char, ON, AMSC); ^~~~~~ ./input.c: In function 'input_problem': ./input.c:1525:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(hostname, "18Sep92"); ^~~~~~ ./input.c:1525:3: note: include '' or provide a declaration of 'strcpy' ./input.c:1555:6: warning: implicit declaration of function 'gethostname'; did you mean 'getprogname'? [-Wimplicit-function-declaration] if(gethostname(hostname, BUFSIZ) != -1) ^~~~~~~~~~~ getprogname gcc -O2 -DFOUR -c ./psMatDisplay.c ./psMatDisplay.c: In function 'dump_aldus_hdr': ./psMatDisplay.c:101:3: warning: implicit declaration of function 'copyBody'; did you mean 'copysign'? [-Wimplicit-function-declaration] copyBody(fp); /* copys the body of the header from ^~~~~~~~ copysign ./psMatDisplay.c: In function 'dump_aldus_foot': ./psMatDisplay.c:147:7: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(line, argv[f]); ^~~~~~ ./psMatDisplay.c:147:7: warning: incompatible implicit declaration of built-in function 'strcat' ./psMatDisplay.c:147:7: note: include '' or provide a declaration of 'strcat' ./psMatDisplay.c:150:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(line, aux_str); ^~~~~~ ./psMatDisplay.c:150:5: note: include '' or provide a declaration of 'strcat' ./psMatDisplay.c:151:5: warning: implicit declaration of function 'dump_line_as_ps' [-Wimplicit-function-declaration] dump_line_as_ps(fp, line, OFFSETX+2*CMDFONT, OFFSETY+IMAGEY+CMDFONT/2, ^~~~~~~~~~~~~~~ In file included from ./psMatDisplay.c:36:0: ./psMatDisplay.c: In function 'dump_ps_mat': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./psMatDisplay.c:273:5: note: in expansion of macro 'CALLOC' CALLOC(aliased_matrix, num_alias_r, char*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./psMatDisplay.c:273:5: note: in expansion of macro 'CALLOC' CALLOC(aliased_matrix, num_alias_r, char*, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./psMatDisplay.c:273:5: note: in expansion of macro 'CALLOC' CALLOC(aliased_matrix, num_alias_r, char*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./psMatDisplay.c:275:7: note: in expansion of macro 'CALLOC' CALLOC(aliased_matrix[i], num_alias_c, char, ON, AMSC); ^~~~~~ gcc -O2 -DFOUR -c ./capsolve.c In file included from ./capsolve.c:36:0: ./capsolve.c: In function 'capsolve': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./capsolve.c:67:3: note: in expansion of macro 'CALLOC' CALLOC((*capmat), numconds+1, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:67:3: note: in expansion of macro 'CALLOC' CALLOC((*capmat), numconds+1, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./capsolve.c:67:3: note: in expansion of macro 'CALLOC' CALLOC((*capmat), numconds+1, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:69:5: note: in expansion of macro 'CALLOC' CALLOC((*capmat)[i], numconds+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:73:3: note: in expansion of macro 'CALLOC' CALLOC(q, size+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:74:3: note: in expansion of macro 'CALLOC' CALLOC(r, size+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:80:3: note: in expansion of macro 'CALLOC' CALLOC(bp, maxiter+1, double*, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:81:3: note: in expansion of macro 'CALLOC' CALLOC(bap, maxiter+1, double*, ON, AMSC); ^~~~~~ ./capsolve.c:100:8: warning: implicit declaration of function 'want_this_iter' [-Wimplicit-function-declaration] if(want_this_iter(kill_num_list, cond) ^~~~~~~~~~~~~~ ./capsolve.c:134:16: warning: implicit declaration of function 'gmres' [-Wimplicit-function-declaration] if((iter = gmres(sys,q,p,r,ap,bp,bap,size,maxiter,iter_tol,chglist)) ^~~~~ ./capsolve.c:159:7: warning: implicit declaration of function 'dump_ps_geometry' [-Wimplicit-function-declaration] dump_ps_geometry(chglist, q, cond, dd_); ^~~~~~~~~~~~~~~~ In file included from ./capsolve.c:36:0: ./capsolve.c: In function 'oldgcr': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:226:7: note: in expansion of macro 'CALLOC' CALLOC(bp[iter], size+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:227:7: note: in expansion of macro 'CALLOC' CALLOC(bap[iter], size+1, double, ON, AMSC); ^~~~~~ ./capsolve.c:239:5: warning: implicit declaration of function 'computePsi' [-Wimplicit-function-declaration] computePsi(sys, chglist); ^~~~~~~~~~ ./capsolve.c: At top level: ./capsolve.c:308:1: warning: return type defaults to 'int' [-Wimplicit-int] oldcomputePsi(sys, chglist) ^~~~~~~~~~~~~ ./capsolve.c: In function 'oldcomputePsi': ./capsolve.c:315:3: warning: implicit declaration of function 'mulDirect' [-Wimplicit-function-declaration] mulDirect(sys); ^~~~~~~~~ ./capsolve.c:320:3: warning: implicit declaration of function 'mulUp' [-Wimplicit-function-declaration] mulUp(sys); ^~~~~ ./capsolve.c:334:3: warning: implicit declaration of function 'mulDown' [-Wimplicit-function-declaration] mulDown(sys); /* do heirarchical local shift dwnwd pass */ ^~~~~~~ ./capsolve.c:341:3: warning: implicit declaration of function 'mulEval' [-Wimplicit-function-declaration] mulEval(sys); /* evaluate either locals or multis or both */ ^~~~~~~ ./capsolve.c:351:3: warning: implicit declaration of function 'compute_electric_fields' [-Wimplicit-function-declaration] compute_electric_fields(sys, chglist); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./capsolve.c:36:0: ./capsolve.c: In function 'gcr': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:391:7: note: in expansion of macro 'CALLOC' CALLOC(bp[iter], size+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:392:7: note: in expansion of macro 'CALLOC' CALLOC(bap[iter], size+1, double, ON, AMSC); ^~~~~~ ./capsolve.c:456:3: warning: implicit declaration of function 'mulPrecond' [-Wimplicit-function-declaration] mulPrecond(sys, PRECOND); ^~~~~~~~~~ In file included from ./capsolve.c:36:0: ./capsolve.c: In function 'gmres': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:493:5: note: in expansion of macro 'CALLOC' CALLOC(c, size+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:494:5: note: in expansion of macro 'CALLOC' CALLOC(s, size+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:495:5: note: in expansion of macro 'CALLOC' CALLOC(g, size+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:496:5: note: in expansion of macro 'CALLOC' CALLOC(y, size+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:520:7: note: in expansion of macro 'CALLOC' CALLOC(bv[iter], size+1, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./capsolve.c:521:7: note: in expansion of macro 'CALLOC' CALLOC(bh[iter], iter+2, double, ON, AMSC); ^~~~~~ ./capsolve.c: At top level: ./capsolve.c:644:1: warning: return type defaults to 'int' [-Wimplicit-int] computePsi(sys, q, p, size, chglist) ^~~~~~~~~~ gcc -O2 -DFOUR -c ./savemat_mod.c ./savemat_mod.c: In function 'savemat': ./savemat_mod.c:96:13: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] x.namlen = strlen(pname) + 1; ^~~~~~ ./savemat_mod.c:96:13: warning: incompatible implicit declaration of built-in function 'strlen' ./savemat_mod.c:96:13: note: include '' or provide a declaration of 'strlen' ./savemat_mod.c: In function 'savemat_mod': ./savemat_mod.c:143:15: warning: incompatible implicit declaration of built-in function 'strlen' x.namlen = strlen(pname) + 1; ^~~~~~ ./savemat_mod.c:143:15: note: include '' or provide a declaration of 'strlen' gcc -O2 -DFOUR -c ./zbufInOut.c ./zbufInOut.c: In function 'figure_grey_levels': ./zbufInOut.c:157:10: warning: implicit declaration of function 'want_this_iter' [-Wimplicit-function-declaration] if(want_this_iter(kq_num_list, panel->cond)) continue; ^~~~~~~~~~~~~~ ./zbufInOut.c: In function 'get_charge_densities': ./zbufInOut.c:245:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(!strcmp(str1, "Panel") && !strcmp(str2, "charges,") ^~~~~~ In file included from ./zbufInOut.c:36:0: ./zbufInOut.c: In function 'fastcap2faces': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./zbufInOut.c:354:7: note: in expansion of macro 'CALLOC' CALLOC(head, 1, face, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufInOut.c:354:7: note: in expansion of macro 'CALLOC' CALLOC(head, 1, face, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./zbufInOut.c:354:7: note: in expansion of macro 'CALLOC' CALLOC(head, 1, face, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufInOut.c:358:7: note: in expansion of macro 'CALLOC' CALLOC(tail->next, 1, face, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufInOut.c:363:5: note: in expansion of macro 'CALLOC' CALLOC(tail->c, tail->numsides, double *, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufInOut.c:365:2: note: in expansion of macro 'CALLOC' CALLOC(tail->c[i], 3, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufInOut.c:381:3: note: in expansion of macro 'CALLOC' CALLOC(faces, *numfaces, face *, ON, AMSC); ^~~~~~ ./zbufInOut.c: In function 'readLines': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufInOut.c:488:2: note: in expansion of macro 'CALLOC' CALLOC((*tail), 1, line, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufInOut.c:493:2: note: in expansion of macro 'CALLOC' CALLOC((*tail)->next, 1, line, ON, AMSC); /* link forward */ ^~~~~~ ./zbufInOut.c: In function 'getLines': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufInOut.c:567:3: note: in expansion of macro 'CALLOC' CALLOC(linesout, (*numlines), line *, ON, AMSC); ^~~~~~ ./zbufInOut.c: In function 'dump_shading_key': ./zbufInOut.c:1129:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(linein, "DENSITY, statC/m^2"); ^~~~~~ ./zbufInOut.c:1129:5: warning: incompatible implicit declaration of built-in function 'strcpy' ./zbufInOut.c:1129:5: note: include '' or provide a declaration of 'strcpy' ./zbufInOut.c:1133:5: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(linein, "CHARGE, statC"); ^~~~~~ ./zbufInOut.c:1133:5: note: include '' or provide a declaration of 'strcpy' ./zbufInOut.c: In function 'dumpPs': ./zbufInOut.c:1417:7: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(linein, argv[f]); ^~~~~~ ./zbufInOut.c:1417:7: warning: incompatible implicit declaration of built-in function 'strcat' ./zbufInOut.c:1417:7: note: include '' or provide a declaration of 'strcat' gcc -O2 -DFOUR -c ./zbuf2fastcap.c ./zbuf2fastcap.c: In function 'dump_ps_geometry': ./zbuf2fastcap.c:49:6: warning: type of 'use_ttl_chg' defaults to 'int' [-Wimplicit-int] void dump_ps_geometry(chglist, q, cond, use_ttl_chg) ^~~~~~~~~~~~~~~~ ./zbuf2fastcap.c:102:3: warning: implicit declaration of function 'initFaces'; did you mean 'initstate'? [-Wimplicit-function-declaration] initFaces(faces, numfaces, view); ^~~~~~~~~ initstate ./zbuf2fastcap.c:111:3: warning: implicit declaration of function 'getAdjGraph' [-Wimplicit-function-declaration] getAdjGraph(faces, numfaces, view, rhs, normal); ^~~~~~~~~~~ ./zbuf2fastcap.c:120:3: warning: implicit declaration of function 'image'; did you mean 'timegm'? [-Wimplicit-function-declaration] image(sfaces, numfaces, lines, numlines, normal, rhs, view); ^~~~~ timegm ./zbuf2fastcap.c:121:3: warning: implicit declaration of function 'flatten' [-Wimplicit-function-declaration] flatten(sfaces, numfaces, lines, numlines, rhs, rotation, normal, view); ^~~~~~~ ./zbuf2fastcap.c:122:3: warning: implicit declaration of function 'makePos'; did you mean 'makedev'? [-Wimplicit-function-declaration] makePos(sfaces, numfaces, lines, numlines); ^~~~~~~ makedev ./zbuf2fastcap.c:123:3: warning: implicit declaration of function 'scale2d'; did you mean 'scalbf'? [-Wimplicit-function-declaration] scale2d(sfaces, numfaces, lines, numlines, scale, moffset); ^~~~~~~ scalbf ./zbuf2fastcap.c:125:5: warning: implicit declaration of function 'dumpCycles' [-Wimplicit-function-declaration] dumpCycles(sfaces, numfaces, stdout); /* DANGER - doesnt work (?) */ ^~~~~~~~~~ ./zbuf2fastcap.c:126:5: warning: implicit declaration of function 'dumpFaceText' [-Wimplicit-function-declaration] dumpFaceText(sfaces, numfaces, stdout); ^~~~~~~~~~~~ ./zbuf2fastcap.c:134:5: warning: implicit declaration of function 'dumpPs' [-Wimplicit-function-declaration] dumpPs(sfaces, numfaces, lines, numlines, fp, argvals, argcnt,use_density); ^~~~~~ gcc -O2 -DFOUR -c ./zbufProj.c In file included from ./zbufProj.c:36:0: ./zbufProj.c: In function 'getAvg': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./zbufProj.c:431:3: note: in expansion of macro 'CALLOC' CALLOC(avg, 3, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufProj.c:431:3: note: in expansion of macro 'CALLOC' CALLOC(avg, 3, double, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./zbufProj.c:431:3: note: in expansion of macro 'CALLOC' CALLOC(avg, 3, double, ON, AMSC); ^~~~~~ gcc -O2 -DFOUR -c ./zbufSort.c In file included from ./zbufSort.c:36:0: ./zbufSort.c: In function 'is1stFaceDeeper': ./mulGlobal.h:76:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) ^ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^~~~~~~ ./zbufSort.c:531:5: note: in expansion of macro 'CALLOC' CALLOC(cproj, 2, double **, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufSort.c:531:5: note: in expansion of macro 'CALLOC' CALLOC(cproj, 2, double **, ON, AMSC); ^~~~~~ ./mulGlobal.h:109:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ ./zbufSort.c:531:5: note: in expansion of macro 'CALLOC' CALLOC(cproj, 2, double **, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufSort.c:533:7: note: in expansion of macro 'CALLOC' CALLOC(cproj[k], MAXSIDES, double *, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufSort.c:535:2: note: in expansion of macro 'CALLOC' CALLOC(cproj[k][i], 3, double, ON, AMSC); ^~~~~~ ./zbufSort.c:753:5: warning: implicit declaration of function 'dump_face' [-Wimplicit-function-declaration] dump_face(stderr, fac); ^~~~~~~~~ ./zbufSort.c:755:5: warning: implicit declaration of function 'dumpCorners' [-Wimplicit-function-declaration] dumpCorners(stderr, cproj[0], fac->numsides, 3); ^~~~~~~~~~~ In file included from ./zbufSort.c:36:0: ./zbufSort.c: In function 'depthSortFaces': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufSort.c:1029:3: note: in expansion of macro 'CALLOC' CALLOC(rfaces, numfaces, face *, ON, AMSC); ^~~~~~ ./zbufSort.c: In function 'getAdjGraph': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufSort.c:1061:7: note: in expansion of macro 'CALLOC' CALLOC(faces[f]->behind, numfaces, face *, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufSort.c:1083:5: note: in expansion of macro 'CALLOC' CALLOC(behind, numfaces, face *, ON, AMSC); ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ ^ ./zbufSort.c:1096:25: note: in expansion of macro 'CALLOC' if(numbehind > 0) CALLOC(fpcur->behind, numbehind, face *, ON, AMSC); ^~~~~~ ./zbufSort.c: In function 'face_is_inside': ./zbufSort.c:288:51: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] for(k = 0; k < 3; k++) com_pnt[k] = innerpnt[k]; ~~~~~~~~^~~ ./zbufSort.c:288:7: note: within this loop for(k = 0; k < 3; k++) com_pnt[k] = innerpnt[k]; ^~~ gcc -o temp.out -O2 -DFOUR ./mulGlobal.o ./mulSetup.o ./mulMats.o ./mulDo.o ./mulDisplay.o ./mulMulti.o ./mulLocal.o ./direct.o ./calcp.o ./fastcap.o ./blkDirect.o ./uglyalloc.o ./patran.o ./quickif.o ./electric.o ./input.o ./psMatDisplay.o ./capsolve.o ./savemat_mod.o ./zbufInOut.o ./zbuf2fastcap.o ./zbufProj.o ./zbufSort.o -lm mv temp.out ../bin/fastcap cd src ; /usr/bin/make cubegen gcc -O2 -DFOUR -c ./cubegen.c ./cubegen.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ ./cubegen.c: In function 'main': ./cubegen.c:192:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] else if(!strcmp(&(argv[i][1]),"pfl")) { ^~~~~~ ./cubegen.c:243:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ ./cubegen.c:243:5: warning: incompatible implicit declaration of built-in function 'exit' ./cubegen.c:243:5: note: include '' or provide a declaration of 'exit' ./cubegen.c:292:18: warning: implicit declaration of function 'disRect' [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, left_cells, no_discr, ^~~~~~~ gcc -O2 -DFOUR -c ./disrect.c ./disrect.c: In function 'disRect': ./disrect.c:182:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ ./disrect.c:182:5: warning: incompatible implicit declaration of built-in function 'exit' ./disrect.c:182:5: note: include '' or provide a declaration of 'exit' ./disrect.c:196:5: warning: implicit declaration of function 'getEpsBnds' [-Wimplicit-function-declaration] getEpsBnds(&uepsilon, &lepsilon); ^~~~~~~~~~ ./disrect.c:225:5: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ ./disrect.c:225:5: note: include '' or provide a declaration of 'exit' gcc -O2 -DFOUR -c ./epsilon.c gcc -o temp.out -O2 -DFOUR ./cubegen.o ./disrect.o ./epsilon.o -lm mv temp.out ../bin/cubegen cd src ; /usr/bin/make capgen gcc -O2 -DFOUR -c ./pltcapgen.c ./pltcapgen.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ ./pltcapgen.c: In function 'main': ./pltcapgen.c:159:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ ./pltcapgen.c:159:5: warning: incompatible implicit declaration of built-in function 'exit' ./pltcapgen.c:159:5: note: include '' or provide a declaration of 'exit' ./pltcapgen.c:180:13: warning: implicit declaration of function 'disRect' [-Wimplicit-function-declaration] npanels += disRect(fp, i+numplt, edgefrac, ncells, no_disc, ^~~~~~~ gcc -o temp.out -O2 -DFOUR ./pltcapgen.o ./disrect.o ./epsilon.o -lm mv temp.out ../bin/capgen cd src ; /usr/bin/make busgen gcc -O2 -DFOUR -c ./busgen.c ./busgen.c: In function 'disBar': ./busgen.c:120:13: warning: implicit declaration of function 'disRect' [-Wimplicit-function-declaration] npanels += disRect(fp, cond, edgefrac, ncells, no_disc, ^~~~~~~ ./busgen.c: At top level: ./busgen.c:180:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ ./busgen.c: In function 'main': ./busgen.c:305:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ ./busgen.c:305:5: warning: incompatible implicit declaration of built-in function 'exit' ./busgen.c:305:5: note: include '' or provide a declaration of 'exit' gcc -o temp.out -O2 -DFOUR ./busgen.o ./disrect.o ./epsilon.o -lm mv temp.out ../bin/busgen cd src ; /usr/bin/make pipedgen gcc -O2 -DFOUR -c ./pipedgen.c ./pipedgen.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ ./pipedgen.c: In function 'main': ./pipedgen.c:96:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] else if(!strcmp(argv[i], "-cr")) { ^~~~~~ ./pipedgen.c:266:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ ./pipedgen.c:266:5: warning: incompatible implicit declaration of built-in function 'exit' ./pipedgen.c:266:5: note: include '' or provide a declaration of 'exit' ./pipedgen.c:301:18: warning: implicit declaration of function 'disRect' [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, left_cells, no_discr, ^~~~~~~ gcc -o temp.out -O2 -DFOUR ./pipedgen.o ./disrect.o ./epsilon.o -lm mv temp.out ../bin/pipedgen cd src ; /usr/bin/make pyragen gcc -O2 -DFOUR -c ./teragen.c ./teragen.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ ./teragen.c: In function 'main': ./teragen.c:178:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] else if(!strcmp(&(argv[i][1]), "pfl")) { ^~~~~~ ./teragen.c:225:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ ./teragen.c:225:5: warning: incompatible implicit declaration of built-in function 'exit' ./teragen.c:225:5: note: include '' or provide a declaration of 'exit' ./teragen.c:272:18: warning: implicit declaration of function 'disTri' [-Wimplicit-function-declaration] npanels += disTri(fp, 1, edgefrac, right_cells, no_discr, ^~~~~~ ./teragen.c:313:16: warning: implicit declaration of function 'disRect' [-Wimplicit-function-declaration] npanels += disRect(fp, 1, edgefrac, top_cells, no_discr, ^~~~~~~ gcc -O2 -DFOUR -c ./distri.c ./distri.c: In function 'disTri': ./distri.c:94:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ ./distri.c:94:5: warning: incompatible implicit declaration of built-in function 'exit' ./distri.c:94:5: note: include '' or provide a declaration of 'exit' ./distri.c:107:5: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ ./distri.c:107:5: note: include '' or provide a declaration of 'exit' ./distri.c:111:5: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ ./distri.c:111:5: note: include '' or provide a declaration of 'exit' ./distri.c:117:5: warning: implicit declaration of function 'getEpsBnds' [-Wimplicit-function-declaration] getEpsBnds(&uepsilon, &lepsilon); ^~~~~~~~~~ gcc -o temp.out -O2 -DFOUR ./teragen.o ./disrect.o ./distri.o ./epsilon.o -lm mv temp.out ../bin/pyragen