=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> 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 fasthenry-3.0.19961112 --- fasthenry --- --- zbuf --- --- fasthenry --- cd src/fasthenry ; /usr/bin/make fasthenry --- zbuf --- cd src/zbuf ; /usr/bin/make zbuf --- fasthenry --- --- sparse/sparse.a --- --- induct.o --- --- zbuf --- --- ./mulGlobal.o --- --- fasthenry --- --- sparse/sparse.a --- cd sparse; make --- zbuf --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./mulGlobal.c -o ./mulGlobal.o --- fasthenry --- --- induct.o --- gcc -O2 -mieee -I/usr/pkg/include -DFOUR -I/usr/pkg/include -c induct.c -o induct.o --- sparse/sparse.a --- --- spAllocate.o --- --- induct.o --- induct.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] 71 | main(argc, argv) | ^~~~ --- sparse/sparse.a --- cc -O2 -mieee -I/usr/pkg/include -I/usr/pkg/include -c spAllocate.c -o spAllocate.o --- zbuf --- --- ./extras.o --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./extras.c -o ./extras.o --- fasthenry --- --- induct.o --- induct.c: In function 'main': induct.c:168:9: warning: implicit declaration of function 'readGeom' [-Wimplicit-function-declaration] 168 | err = readGeom(fp, indsys); | ^~~~~~~~ --- zbuf --- ./extras.c:207:1: warning: return type defaults to 'int' [-Wimplicit-int] 207 | initcalcp(panel_list) | ^~~~~~~~~ ./extras.c: In function 'initcalcp': ./extras.c:260:5: warning: implicit declaration of function 'Cross_Product'; did you mean 'DotP_Product'? [-Wimplicit-function-declaration] 260 | Cross_Product(pq->X, pq->Y, pq->Z); | ^~~~~~~~~~~~~ | DotP_Product ./extras.c:262:8: warning: implicit declaration of function 'flip_normal'; did you mean 'isnormal'? [-Wimplicit-function-declaration] 262 | if(flip_normal(pq)) { | ^~~~~~~~~~~ | isnormal ./extras.c:290:8: warning: implicit declaration of function 'planarize' [-Wimplicit-function-declaration] 290 | if(planarize(pq) == FALSE) { | ^~~~~~~~~ In file included from ./extras.c:35: ./mulGlobal.h:109:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] 109 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^~~~~~ ./mulGlobal.h:151:29: note: in expansion of macro 'CALCORE' 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^~~~~~~ ./extras.c:292:7: note: in expansion of macro 'CALLOC' 292 | CALLOC(npq, 1, charge, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./extras.c:292:7: note: in expansion of macro 'CALLOC' 292 | CALLOC(npq, 1, charge, ON, AMSC); | ^~~~~~ ./mulGlobal.h:142:18: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 142 | memcount/1024, sbrk(0)); \ | ^~~~ ./mulGlobal.h:157:8: note: in expansion of macro 'DUMPALLOCSIZ' 157 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./extras.c:292:7: note: in expansion of macro 'CALLOC' 292 | CALLOC(npq, 1, charge, ON, AMSC); | ^~~~~~ ./extras.c:306:5: warning: implicit declaration of function 'centroid' [-Wimplicit-function-declaration] 306 | centroid(pq, length20); | ^~~~~~~~ ./extras.c: At top level: ./extras.c:336:1: warning: return type defaults to 'int' [-Wimplicit-int] 336 | Cross_Product(vector1, vector2, result_vector) | ^~~~~~~~~~~~~ ./extras.c:365:1: warning: return type defaults to 'int' [-Wimplicit-int] 365 | centroid(pp, x2) | ^~~~~~~~ ./extras.c:399:1: warning: return type defaults to 'int' [-Wimplicit-int] 399 | planarize(pq) | ^~~~~~~~~ ./extras.c:445:1: warning: return type defaults to 'int' [-Wimplicit-int] 445 | flip_normal(panel) | ^~~~~~~~~~~ ./extras.c: In function 'flip_normal': ./extras.c:482:40: warning: implicit declaration of function 'hack_path' [-Wimplicit-function-declaration] 482 | fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); | ^~~~~~~~~ --- fasthenry --- induct.c:179:5: warning: implicit declaration of function 'regurgitate' [-Wimplicit-function-declaration] 179 | regurgitate(indsys); | ^~~~~~~~~~~ induct.c:192:5: warning: implicit declaration of function 'concat4' [-Wimplicit-function-declaration] 192 | concat4(outfname,"zbuffile",opts->suffix,""); | ^~~~~~~ induct.c:194:5: warning: implicit declaration of function 'writefastcap' [-Wimplicit-function-declaration] 194 | writefastcap(outfname, outfname2, indsys); | ^~~~~~~~~~~~ induct.c:203:3: warning: implicit declaration of function 'fill_Gquad' [-Wimplicit-function-declaration] 203 | fill_Gquad(); | ^~~~~~~~~~ induct.c:206:3: warning: implicit declaration of function 'init_table'; did you mean 'initstate'? [-Wimplicit-function-declaration] 206 | init_table(); | ^~~~~~~~~~ | initstate induct.c:243:3: warning: implicit declaration of function 'make_trees' [-Wimplicit-function-declaration] 243 | make_trees(indsys); | ^~~~~~~~~~ induct.c:246:3: warning: implicit declaration of function 'clear_marks' [-Wimplicit-function-declaration] 246 | clear_marks(indsys); | ^~~~~~~~~~~ induct.c:251:3: warning: implicit declaration of function 'find_hole_meshes' [-Wimplicit-function-declaration] 251 | find_hole_meshes(indsys); | ^~~~~~~~~~~~~~~~ induct.c:256:26: warning: implicit declaration of function 'pick_subset' [-Wimplicit-function-declaration] 256 | = pick_subset(opts->portlist, indsys); | ^~~~~~~~~~~ induct.c:462:7: warning: implicit declaration of function 'dump_mesh_coords' [-Wimplicit-function-declaration] 462 | dump_mesh_coords(indsys); | ^~~~~~~~~~~~~~~~ induct.c:464:7: warning: implicit declaration of function 'dump_ascii_mesh_coords' [-Wimplicit-function-declaration] 464 | dump_ascii_mesh_coords(indsys); | ^~~~~~~~~~~~~~~~~~~~~~ induct.c:467:3: warning: implicit declaration of function 'formMtrans' [-Wimplicit-function-declaration] 467 | formMtrans(indsys); /* Form M transpose by row*/ | ^~~~~~~~~~ induct.c:482:5: warning: implicit declaration of function 'get_table_mem' [-Wimplicit-function-declaration] 482 | get_table_mem()); | ^~~~~~~~~~~~~ induct.c:485:3: warning: implicit declaration of function 'destroy_table' [-Wimplicit-function-declaration] 485 | destroy_table(); | ^~~~~~~~~~~~~ induct.c:488:3: warning: implicit declaration of function 'choose_and_setup_precond' [-Wimplicit-function-declaration] 488 | choose_and_setup_precond(indsys); | ^~~~~~~~~~~~~~~~~~~~~~~~ induct.c:492:5: warning: implicit declaration of function 'savemats'; did you mean 'savemat_mod'? [-Wimplicit-function-declaration] 492 | savemats(indsys); | ^~~~~~~~ | savemat_mod induct.c:529:5: warning: implicit declaration of function 'createMRMt' [-Wimplicit-function-declaration] 529 | createMRMt(&MRMt, indsys); | ^~~~~~~~~~ induct.c:550:7: warning: implicit declaration of function 'formMLMt' [-Wimplicit-function-declaration] 550 | formMLMt(indsys); /*form (M^t)*(L)*M and store in indys->MtZM*/ | ^~~~~~~~ induct.c:553:22: warning: implicit declaration of function 'ArnoldiROM' [-Wimplicit-function-declaration] 553 | actual_order = ArnoldiROM(B, C, (double **)NULL, MRMt, num_mesh, | ^~~~~~~~~~ induct.c:580:7: warning: implicit declaration of function 'dumpROM' [-Wimplicit-function-declaration] 580 | dumpROM(fROM, indsys->Ar, indsys->Br, indsys->Cr, indsys->Dr, | ^~~~~~~ induct.c:613:7: warning: implicit declaration of function 'formMZMt' [-Wimplicit-function-declaration] 613 | formMZMt(indsys); /*form transpose(M)*(R+jL)*M (no w) */ | ^~~~~~~~ induct.c:624:6: warning: implicit declaration of function 'savecmplx2' [-Wimplicit-function-declaration] 624 | savecmplx2(fp2,"MZMt",indsys->MtZM, indsys->num_mesh,indsys->num_mesh); | ^~~~~~~~~~ induct.c:658:4: warning: implicit declaration of function 'indPrecond_direct' [-Wimplicit-function-declaration] 658 | indPrecond_direct(sys, indsys, 2*PI*freq); | ^~~~~~~~~~~~~~~~~ induct.c:660:4: warning: implicit declaration of function 'indPrecond' [-Wimplicit-function-declaration] 660 | indPrecond(sys, indsys, 2*PI*freq); | ^~~~~~~~~~ induct.c:669:2: warning: implicit declaration of function 'fill_spPre' [-Wimplicit-function-declaration] 669 | fill_spPre(sys, indsys, 2*PI*freq); | ^~~~~~~~~~ induct.c:674:6: warning: implicit declaration of function 'spElementCount' [-Wimplicit-function-declaration] 674 | spElementCount(indsys->sparMatrix)); | ^~~~~~~~~~~~~~ induct.c:677:10: warning: implicit declaration of function 'spOrderAndFactor' [-Wimplicit-function-declaration] 677 | err = spOrderAndFactor(indsys->sparMatrix, NULL, 1e-3, 0.0, 1); | ^~~~~~~~~~~~~~~~ induct.c:681:6: warning: implicit declaration of function 'spFillinCount' [-Wimplicit-function-declaration] 681 | spFillinCount(indsys->sparMatrix)); | ^~~~~~~~~~~~~ induct.c:684:10: warning: implicit declaration of function 'spFactor' [-Wimplicit-function-declaration] 684 | err = spFactor(indsys->sparMatrix); | ^~~~~~~~ induct.c:695:9: warning: implicit declaration of function 'cx_ludecomp' [-Wimplicit-function-declaration] 695 | cx_ludecomp(MtZM, num_mesh, FALSE); | ^~~~~~~~~~~ induct.c:700:9: warning: implicit declaration of function 'create_sparMatrix' [-Wimplicit-function-declaration] 700 | create_sparMatrix(indsys); | ^~~~~~~~~~~~~~~~~ induct.c:702:9: warning: implicit declaration of function 'fill_diagR' [-Wimplicit-function-declaration] 702 | fill_diagR(indsys); | ^~~~~~~~~~ induct.c:708:15: warning: implicit declaration of function 'spFileMatrix' [-Wimplicit-function-declaration] 708 | if (spFileMatrix(indsys->sparMatrix, outfname, "MZMt", 0, 1, 1) == 0) | ^~~~~~~~~~~~ induct.c:751:7: warning: implicit declaration of function 'fill_b'; did you mean 'fillZ'? [-Wimplicit-function-declaration] 751 | fill_b(ext, b); | ^~~~~~ | fillZ induct.c:755:2: warning: implicit declaration of function 'savecmplx' [-Wimplicit-function-declaration] 755 | savecmplx(fb, fname, &b, 1, num_mesh); | ^~~~~~~~~ induct.c:773:4: warning: implicit declaration of function 'multPrecond' [-Wimplicit-function-declaration] 773 | multPrecond(indsys->Precond, x0, vect, num_mesh); | ^~~~~~~~~~~ induct.c:778:4: warning: implicit declaration of function 'spSolve' [-Wimplicit-function-declaration] 778 | spSolve(indsys->sparMatrix, x0, x0); | ^~~~~~~ induct.c:783:11: warning: implicit declaration of function 'cx_lu_solve' [-Wimplicit-function-declaration] 783 | cx_lu_solve(MtZM, x0, b, num_mesh); | ^~~~~~~~~~~ induct.c:792:7: warning: implicit declaration of function 'extractYcol' [-Wimplicit-function-declaration] 792 | extractYcol(indsys->FinalY, x0, ext, indsys->externals); | ^~~~~~~~~~~ induct.c:819:7: warning: implicit declaration of function 'dump_to_Ycond' [-Wimplicit-function-declaration] 819 | dump_to_Ycond(fp, m, indsys); | ^~~~~~~~~~~~~ induct.c:826:7: warning: implicit declaration of function 'cx_invert' [-Wimplicit-function-declaration] 826 | cx_invert(indsys->FinalY, num_extern); | ^~~~~~~~~ induct.c: In function 'fillA': induct.c:1182:3: warning: implicit declaration of function 'pick_ground_nodes' [-Wimplicit-function-declaration] 1182 | pick_ground_nodes(indsys); | ^~~~~~~~~~~~~~~~~ induct.c: In function 'notblankline': --- sparse/sparse.a --- --- spBuild.o --- cc -O2 -mieee -I/usr/pkg/include -I/usr/pkg/include -c spBuild.c -o spBuild.o --- induct.o --- induct.c:1301:28: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 1301 | while( *string!='\0' && isspace(*string)) | ^~~~~~~ induct.c: At top level: induct.c:1310:1: warning: return type defaults to 'int' [-Wimplicit-int] 1310 | savemats(indsys) | ^~~~~~~~ induct.c: In function 'savemats': induct.c:1338:11: warning: implicit declaration of function 'nnz_inM' [-Wimplicit-function-declaration] 1338 | nnz = nnz_inM(indsys->Mlist, num_mesh); | ^~~~~~~ induct.c:1346:7: warning: implicit declaration of function 'dump_M_to_text' [-Wimplicit-function-declaration] 1346 | dump_M_to_text(fp2, Mlist, num_mesh, nnz); | ^~~~~~~~~~~~~~ induct.c:1356:7: warning: implicit declaration of function 'dump_M_to_matlab' [-Wimplicit-function-declaration] 1356 | dump_M_to_matlab(fp, Mlist, num_mesh, nnz, "M"); | ^~~~~~~~~~~~~~~~ induct.c:1421:5: warning: implicit declaration of function 'dumpVec_totextfile'; did you mean 'dumpMat_totextfile'? [-Wimplicit-function-declaration] 1421 | dumpVec_totextfile(fp2, R, num_fils); | ^~~~~~~~~~~~~~~~~~ | dumpMat_totextfile induct.c: At top level: induct.c:1529:1: warning: return type defaults to 'int' [-Wimplicit-int] 1529 | savecmplx(fp, name, Z, rows, cols) | ^~~~~~~~~ induct.c:1557:1: warning: return type defaults to 'int' [-Wimplicit-int] 1557 | savecmplx2(fp, name, Z, rows, cols) | ^~~~~~~~~~ induct.c:1596:1: warning: return type defaults to 'int' [-Wimplicit-int] 1596 | formMZMt(indsys) | ^~~~~~~~ induct.c:1660:1: warning: return type defaults to 'int' [-Wimplicit-int] 1660 | oldformMZMt(indsys) | ^~~~~~~~~~~ In file included from induct.h:43, from induct.c:37: induct.c: In function 'MattAlloc': mulGlobal.h:121:18: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 121 | memcount/1024, sbrk(0)); \ | ^~~~ mulGlobal.h:173:8: note: in expansion of macro 'DUMPALLOCSIZ' 173 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1755:3: note: in expansion of macro 'CALLOC' 1755 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ induct.c: At top level: induct.c:1769:1: warning: return type defaults to 'int' [-Wimplicit-int] 1769 | formMtrans(indsys) | ^~~~~~~~~~ induct.c:1841:1: warning: return type defaults to 'int' [-Wimplicit-int] 1841 | compare_meshes(mesh1, mesh2) | ^~~~~~~~~~~~~~ induct.c:1880:1: warning: return type defaults to 'int' [-Wimplicit-int] 1880 | dumpVec_totextfile(fp2, Vec, size) | ^~~~~~~~~~~~~~~~~~ induct.c:1888:1: warning: return type defaults to 'int' [-Wimplicit-int] 1888 | fillMrow(Mlist, mesh, Mrow) | ^~~~~~~~ induct.c:1905:1: warning: return type defaults to 'int' [-Wimplicit-int] 1905 | dump_to_Ycond(fp, cond, indsys) | ^~~~~~~~~~~~~ induct.c: In function 'dump_to_Ycond': induct.c:1922:3: warning: implicit declaration of function 'saveCarray'; did you mean 'Make_C_array'? [-Wimplicit-function-declaration] 1922 | saveCarray(fp, fname, indsys->resids, indsys->num_sub_extern, maxiters); | ^~~~~~~~~~ | Make_C_array induct.c: At top level: induct.c:1938:1: warning: return type defaults to 'int' [-Wimplicit-int] 1938 | saveCarray(fp, fname, Arr, rows, cols) | ^~~~~~~~~~ induct.c:1974:1: warning: return type defaults to 'int' [-Wimplicit-int] 1974 | dump_M_to_text(fp, Mlist, num_mesh, nnz) | ^~~~~~~~~~~~~~ induct.c:1995:1: warning: return type defaults to 'int' [-Wimplicit-int] 1995 | dump_M_to_matlab(fp, Mlist, num_mesh, nnz, mname) | ^~~~~~~~~~~~~~~~ induct.c:2023:1: warning: return type defaults to 'int' [-Wimplicit-int] 2023 | pick_ground_nodes(indsys) | ^~~~~~~~~~~~~~~~~ induct.c:2080:1: warning: return type defaults to 'int' [-Wimplicit-int] 2080 | concat4(s1,s2,s3,s4) | ^~~~~~~ --- zbuf --- --- ./zbuf.o --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./zbuf.c -o ./zbuf.o --- fasthenry --- --- sparse/sparse.a --- --- spFactor.o --- cc -O2 -mieee -I/usr/pkg/include -I/usr/pkg/include -c spFactor.c -o spFactor.o --- zbuf --- ./zbuf.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] 41 | main(argc, argv) | ^~~~ In file included from ./zbuf.c:39: ./zbuf.c: In function 'main': ./mulGlobal.h:109:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] 109 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^~~~~~ ./mulGlobal.h:151:29: note: in expansion of macro 'CALCORE' 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^~~~~~~ ./zbuf.c:80:3: note: in expansion of macro 'CALLOC' 80 | CALLOC(title, BUFSIZ, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbuf.c:80:3: note: in expansion of macro 'CALLOC' 80 | CALLOC(title, BUFSIZ, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:142:18: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 142 | memcount/1024, sbrk(0)); \ | ^~~~ ./mulGlobal.h:157:8: note: in expansion of macro 'DUMPALLOCSIZ' 157 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./zbuf.c:80:3: note: in expansion of macro 'CALLOC' 80 | CALLOC(title, BUFSIZ, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbuf.c:87:3: note: in expansion of macro 'CALLOC' 87 | CALLOC(axes, 10, double **, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbuf.c:89:5: note: in expansion of macro 'CALLOC' 89 | CALLOC(axes[i], 2, double *, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbuf.c:91:7: note: in expansion of macro 'CALLOC' 91 | CALLOC(axes[i][j], 3, double, ON, AMSC); | ^~~~~~ ./zbuf.c:102:5: warning: implicit declaration of function 'get_ps_file_base' [-Wimplicit-function-declaration] 102 | get_ps_file_base(argv, argc); | ^~~~~~~~~~~~~~~~ ./zbuf.c:106:9: warning: implicit declaration of function 'dump_struct' [-Wimplicit-function-declaration] 106 | dump_struct(chglist, NULL); | ^~~~~~~~~~~ ./zbuf.c:110:9: warning: implicit declaration of function 'dump_ps_geometry' [-Wimplicit-function-declaration] 110 | dump_ps_geometry(chglist, NULL, 0, dd_); | ^~~~~~~~~~~~~~~~ In file included from ./zbuf.c:39: ./zbuf.c: In function 'concat3': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbuf.c:138:3: note: in expansion of macro 'CALLOC' 138 | CALLOC(allthree, length+1, char, ON, AMSC); | ^~~~~~ ./zbuf.c: In function 'get_q': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbuf.c:169:3: note: in expansion of macro 'CALLOC' 169 | CALLOC(q, numchgs, double, ON, AMSC); | ^~~~~~ --- ./uglieralloc.o --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./uglieralloc.c -o ./uglieralloc.o ./uglieralloc.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] 129 | fill_it(mem, k, nbytes) | ^~~~~~~ --- ./patran.o --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./patran.c -o ./patran.o In file included from ./patran.c:46: ./patran.c: In function 'patfront': ./mulGlobal.h:109:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] 109 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^~~~~~ ./mulGlobal.h:151:29: note: in expansion of macro 'CALCORE' 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^~~~~~~ ./patran.c:85:20: note: in expansion of macro 'CALLOC' 85 | if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:85:20: note: in expansion of macro 'CALLOC' 85 | if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:142:18: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 142 | memcount/1024, sbrk(0)); \ | ^~~~ ./mulGlobal.h:157:8: note: in expansion of macro 'DUMPALLOCSIZ' 157 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./patran.c:85:20: note: in expansion of macro 'CALLOC' 85 | if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); | ^~~~~~ ./patran.c:101:5: warning: implicit declaration of function 'input' [-Wimplicit-function-declaration] 101 | input(stream, line, surf_type, trans_vector); | ^~~~~ ./patran.c:103:5: warning: implicit declaration of function 'grid_equiv_check' [-Wimplicit-function-declaration] 103 | grid_equiv_check(); | ^~~~~~~~~~~~~~~~ In file included from ./patran.c:46: ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:111:7: note: in expansion of macro 'CALLOC' 111 | CALLOC(patch_patch_table, number_patches*number_patches, int, ON, AMSC); | ^~~~~~ ./patran.c:113:7: warning: implicit declaration of function 'fill_patch_patch_table' [-Wimplicit-function-declaration] 113 | fill_patch_patch_table(patch_patch_table); | ^~~~~~~~~~~~~~~~~~~~~~ ./patran.c:115:7: warning: implicit declaration of function 'assign_conductor' [-Wimplicit-function-declaration] 115 | assign_conductor(patch_patch_table); | ^~~~~~~~~~~~~~~~ ./patran.c:119:7: warning: implicit declaration of function 'assign_names' [-Wimplicit-function-declaration] 119 | assign_names(); | ^~~~~~~~~~~~ ./patran.c: At top level: ./patran.c:136:1: warning: return type defaults to 'int' [-Wimplicit-int] 136 | input(stream, line, surf_type, trans_vector) | ^~~~~ ./patran.c: In function 'input': ./patran.c:159:7: warning: implicit declaration of function 'file_title' [-Wimplicit-function-declaration] 159 | file_title(stream); | ^~~~~~~~~~ ./patran.c:162:7: warning: implicit declaration of function 'summary_data' [-Wimplicit-function-declaration] 162 | summary_data(stream); | ^~~~~~~~~~~~ ./patran.c:165:7: warning: implicit declaration of function 'node_data' [-Wimplicit-function-declaration] 165 | node_data(stream, trans_vector); | ^~~~~~~~~ ./patran.c:168:7: warning: implicit declaration of function 'element_data' [-Wimplicit-function-declaration] 168 | element_data(stream); | ^~~~~~~~~~~~ ./patran.c:171:7: warning: implicit declaration of function 'grid_data' [-Wimplicit-function-declaration] 171 | grid_data(stream, trans_vector); | ^~~~~~~~~ ./patran.c:174:7: warning: implicit declaration of function 'patch_data' [-Wimplicit-function-declaration] 174 | patch_data(stream); | ^~~~~~~~~~ ./patran.c:177:7: warning: implicit declaration of function 'CFEG_table' [-Wimplicit-function-declaration] 177 | CFEG_table(stream); | ^~~~~~~~~~ ./patran.c:180:52: warning: implicit declaration of function 'name_data' [-Wimplicit-function-declaration] 180 | if(surf_type == CONDTR || surf_type == BOTH) name_data(stream); | ^~~~~~~~~ ./patran.c:181:12: warning: implicit declaration of function 'waste_line' [-Wimplicit-function-declaration] 181 | else waste_line(KC, stream); | ^~~~~~~~~~ ./patran.c: At top level: ./patran.c:195:1: warning: return type defaults to 'int' [-Wimplicit-int] 195 | waste_line(num_line,stream) | ^~~~~~~~~~ ./patran.c:209:1: warning: return type defaults to 'int' [-Wimplicit-int] 209 | file_title(stream) | ^~~~~~~~~~ ./patran.c:223:1: warning: return type defaults to 'int' [-Wimplicit-int] 223 | summary_data(stream) | ^~~~~~~~~~~~ In file included from ./patran.c:46: ./patran.c: In function 'summary_data': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:228:3: note: in expansion of macro 'CALLOC' 228 | CALLOC(list_nodes, number_nodes, NODE, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:229:3: note: in expansion of macro 'CALLOC' 229 | CALLOC(list_elements, number_elements, ELEMENT, ON, AMSC); | ^~~~~~ ./patran.c: At top level: ./patran.c:242:1: warning: return type defaults to 'int' [-Wimplicit-int] 242 | node_data(stream, trans_vector) | ^~~~~~~~~ ./patran.c:264:1: warning: return type defaults to 'int' [-Wimplicit-int] 264 | element_data(stream) | ^~~~~~~~~~~~ ./patran.c:294:1: warning: return type defaults to 'int' [-Wimplicit-int] 294 | grid_data(stream, trans_vector) | ^~~~~~~~~ In file included from ./patran.c:46: ./patran.c: In function 'grid_data': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:308:3: note: in expansion of macro 'CALLOC' 308 | CALLOC(current_grid, 1, GRID, ON, AMSC); | ^~~~~~ ./patran.c: At top level: ./patran.c:326:1: warning: return type defaults to 'int' [-Wimplicit-int] 326 | patch_data(stream) | ^~~~~~~~~~ In file included from ./patran.c:46: ./patran.c: In function 'patch_data': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:339:3: note: in expansion of macro 'CALLOC' 339 | CALLOC(current_patch, 1, PATCH, ON, AMSC); | ^~~~~~ ./patran.c: At top level: ./patran.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int] 360 | CFEG_table(stream) | ^~~~~~~~~~ In file included from ./patran.c:46: ./patran.c: In function 'CFEG_table': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:379:5: note: in expansion of macro 'CALLOC' 379 | CALLOC(current_cfeg, 1, CFEG, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:387:5: note: in expansion of macro 'CALLOC' 387 | CALLOC(element_list, NELS, int, ON, AMSC); | ^~~~~~ ./patran.c: At top level: ./patran.c:434:1: warning: return type defaults to 'int' [-Wimplicit-int] 434 | name_data(stream) | ^~~~~~~~~ In file included from ./patran.c:46: ./patran.c: In function 'name_data': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:442:5: note: in expansion of macro 'CALLOC' 442 | CALLOC(start_name, 1, NAME, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:446:5: note: in expansion of macro 'CALLOC' 446 | CALLOC(current_name->next, 1, NAME, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:457:3: note: in expansion of macro 'CALLOC' 457 | CALLOC(current_name->name, len+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:467:4: note: in expansion of macro 'CALLOC' 467 | CALLOC(current_name->patch_list, 1, SM_PATCH, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:471:4: note: in expansion of macro 'CALLOC' 471 | CALLOC(current_patch->next, 1, SM_PATCH, ON, AMSC); | ^~~~~~ ./patran.c: At top level: ./patran.c:492:1: warning: return type defaults to 'int' [-Wimplicit-int] 492 | grid_equiv_check() | ^~~~~~~~~~~~~~~~ In file included from ./patran.c:46: ./patran.c: In function 'grid_equiv_check': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:500:5: note: in expansion of macro 'CALLOC' 500 | CALLOC(grid_ptr_1->equiv_ID, number_grids, int, ON, AMSC); | ^~~~~~ ./patran.c:511:11: warning: implicit declaration of function 'if_same_coord' [-Wimplicit-function-declaration] 511 | if (if_same_coord(grid_ptr_1->coord,grid_ptr_2->coord)) { | ^~~~~~~~~~~~~ ./patran.c: At top level: ./patran.c:575:1: warning: return type defaults to 'int' [-Wimplicit-int] 575 | fill_patch_patch_table(patch_patch_table) | ^~~~~~~~~~~~~~~~~~~~~~ ./patran.c: In function 'fill_patch_patch_table': ./patran.c:596:6: warning: implicit declaration of function 'if_same_grid'; did you mean 'if_same_coord'? [-Wimplicit-function-declaration] 596 | if (if_same_grid(*corner++,grid_ptr)) { | ^~~~~~~~~~~~ | if_same_coord ./patran.c: At top level: ./patran.c:636:1: warning: return type defaults to 'int' [-Wimplicit-int] 636 | assign_conductor(patch_patch_table) | ^~~~~~~~~~~~~~~~ ./patran.c: In function 'assign_conductor': ./patran.c:661:7: warning: implicit declaration of function 'depth_search' [-Wimplicit-function-declaration] 661 | depth_search(patch_patch_table,current_table_ptr,conductor_count); | ^~~~~~~~~~~~ ./patran.c: At top level: ./patran.c:682:1: warning: return type defaults to 'int' [-Wimplicit-int] 682 | depth_search(patch_patch_table,current_table_ptr,conductor_count) | ^~~~~~~~~~~~ ./patran.c: In function 'make_charges_all_patches': ./patran.c:761:21: warning: implicit declaration of function 'getConductorNum' [-Wimplicit-function-declaration] 761 | conductor_ID = getConductorNum(cond_name, name_list, num_cond); | ^~~~~~~~~~~~~~~ In file included from ./patran.c:46: ./patran.c: In function 'make_charges_patch': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./patran.c:802:3: note: in expansion of macro 'CALLOC' 802 | CALLOC(pq,NELS,charge, ON, AMSC); | ^~~~~~ ./patran.c: At top level: ./patran.c:856:1: warning: return type defaults to 'int' [-Wimplicit-int] 856 | assign_names() | ^~~~~~~~~~~~ --- ./quickif.o --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./quickif.c -o ./quickif.o In file included from ./quickif.c:38: ./quickif.c: In function 'add_to_alias': ./mulGlobal.h:109:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] 109 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^~~~~~ ./mulGlobal.h:151:29: note: in expansion of macro 'CALCORE' 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^~~~~~~ ./quickif.c:94:5: note: in expansion of macro 'CALLOC' 94 | CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:94:5: note: in expansion of macro 'CALLOC' 94 | CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); | ^~~~~~ ./mulGlobal.h:142:18: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 142 | memcount/1024, sbrk(0)); \ | ^~~~ ./mulGlobal.h:157:8: note: in expansion of macro 'DUMPALLOCSIZ' 157 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./quickif.c:94:5: note: in expansion of macro 'CALLOC' 94 | CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:95:5: note: in expansion of macro 'CALLOC' 95 | CALLOC(cur_name->alias_list->name, strlen(new_name)+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:99:5: note: in expansion of macro 'CALLOC' 99 | CALLOC(last_alias, 1, Name, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:100:5: note: in expansion of macro 'CALLOC' 100 | CALLOC(last_alias->name, strlen(new_name)+1, char, ON, AMSC); | ^~~~~~ ./quickif.c: In function 'getConductorNum': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:136:5: note: in expansion of macro 'CALLOC' 136 | CALLOC(*name_list, 1, Name, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:137:5: note: in expansion of macro 'CALLOC' 137 | CALLOC((*name_list)->name, strlen(name)+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:153:3: note: in expansion of macro 'CALLOC' 153 | CALLOC(prev_name->next, 1, Name, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:154:3: note: in expansion of macro 'CALLOC' 154 | CALLOC(prev_name->next->name, strlen(name)+1, char, ON, AMSC); | ^~~~~~ ./quickif.c: In function 'oldrenameConductor': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:238:4: note: in expansion of macro 'CALLOC' 238 | CALLOC(cur_name->name, strlen(new_name)+1, char, ON, AMSC); | ^~~~~~ ./quickif.c: In function 'quickif': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:329:2: note: in expansion of macro 'CALLOC' 329 | CALLOC(fstquad, 1, quadl, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:333:2: note: in expansion of macro 'CALLOC' 333 | CALLOC(curquad->next, 1, quadl, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:367:2: note: in expansion of macro 'CALLOC' 367 | CALLOC(fsttri, 1, tri, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:371:2: note: in expansion of macro 'CALLOC' 371 | CALLOC(curtri->next, 1, tri, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:429:7: note: in expansion of macro 'CALLOC' 429 | CALLOC(chglst, 1, charge, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:433:7: note: in expansion of macro 'CALLOC' 433 | CALLOC(nq->next, 1, charge, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:458:7: note: in expansion of macro 'CALLOC' 458 | CALLOC(chglst, 1, charge, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./quickif.c:462:7: note: in expansion of macro 'CALLOC' 462 | CALLOC(nq->next, 1, charge, ON, AMSC); | ^~~~~~ --- fasthenry --- --- spOutput.o --- cc -O2 -mieee -I/usr/pkg/include -I/usr/pkg/include -c spOutput.c -o spOutput.o --- gmres.o --- gcc -O2 -mieee -I/usr/pkg/include -DFOUR -I/usr/pkg/include -c gmres.c -o gmres.o gmres.c: In function 'blockPrecond': gmres.c:68:5: warning: implicit declaration of function 'cx_invert' [-Wimplicit-function-declaration] 68 | cx_invert(diagBlock, startrows[i+1] - startrows[i]); | ^~~~~~~~~ gmres.c:71:5: warning: implicit declaration of function 'matMultVect' [-Wimplicit-function-declaration] 71 | matMultVect(diagBlock, rhs, vect, startrows[i+1] - startrows[i]); | ^~~~~~~~~~~ gmres.c:76:5: warning: implicit declaration of function 'matMult' [-Wimplicit-function-declaration] 76 | matMult(diagBlock, &(mat[startrows[i]]),startrows[i+1] - startrows[i], | ^~~~~~~ gmres.c: At top level: gmres.c:89:1: warning: return type defaults to 'int' [-Wimplicit-int] 89 | cx_invert(mat, size) | ^~~~~~~~~ gmres.c:122:1: warning: return type defaults to 'int' [-Wimplicit-int] 122 | matMult(mat1, mat2, rows1, firstcol, lastcol, vtemp) | ^~~~~~~ gmres.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] 146 | matMultVect(mat1, svect, dvect, rows) | ^~~~~~~~~~~ gmres.c: In function 'gmres': gmres.c:225:3: warning: implicit declaration of function 'sub_3' [-Wimplicit-function-declaration] 225 | sub_3(Rw, b, Rw, size); | ^~~~~ gmres.c:238:3: warning: implicit declaration of function 'set_scalar_mult_2'; did you mean 'cx_scalar_mult'? [-Wimplicit-function-declaration] 238 | set_scalar_mult_2(Pw, Rw, 1./rnorm, size); | ^~~~~~~~~~~~~~~~~ | cx_scalar_mult gmres.c:260:7: warning: implicit declaration of function 'sub_cx_mult_2' [-Wimplicit-function-declaration] 260 | sub_cx_mult_2(Pw, bv[j], hi, size); /* vhat_k+1 = vhat_k+1 - h_jk*v_j */ | ^~~~~~~~~~~~~ gmres.c:267:7: warning: implicit declaration of function 'set_scalar_mult_1'; did you mean 'cx_scalar_mult'? [-Wimplicit-function-declaration] 267 | set_scalar_mult_1(Pw, 1./norm, size); /* Pw = vhat_k+1/norm */ | ^~~~~~~~~~~~~~~~~ | cx_scalar_mult gmres.c:348:5: warning: implicit declaration of function 'calc_other_norm' [-Wimplicit-function-declaration] 348 | calc_other_norm(x, xlast, size, indsys->opts->abs_tol, | ^~~~~~~~~~~~~~~ gmres.c: At top level: gmres.c:422:1: warning: return type defaults to 'int' [-Wimplicit-int] 422 | sub_3(z,x,y,size) | ^~~~~ gmres.c:437:1: warning: return type defaults to 'int' [-Wimplicit-int] 437 | set_scalar_mult_1(x,alpha,size) | ^~~~~~~~~~~~~~~~~ gmres.c:452:1: warning: return type defaults to 'int' [-Wimplicit-int] 452 | set_scalar_mult_2(x,y,alpha,size) | ^~~~~~~~~~~~~~~~~ gmres.c:467:1: warning: return type defaults to 'int' [-Wimplicit-int] 467 | add_scalar_mult_2(x,y,alpha,size) | ^~~~~~~~~~~~~~~~~ gmres.c:482:1: warning: return type defaults to 'int' [-Wimplicit-int] 482 | add_cx_mult_2(x,y,alpha,size) | ^~~~~~~~~~~~~ gmres.c:499:1: warning: return type defaults to 'int' [-Wimplicit-int] 499 | sub_cx_mult_2(x,y,alpha,size) | ^~~~~~~~~~~~~ gmres.c:582:1: warning: return type defaults to 'int' [-Wimplicit-int] 582 | veryoldmatvec(y, A, x, size) | ^~~~~~~~~~~~~ gmres.c: In function 'veryoldmatvec': gmres.c:582:1: warning: type of 'size' defaults to 'int' [-Wimplicit-int] gmres.c: At top level: gmres.c:598:1: warning: return type defaults to 'int' [-Wimplicit-int] 598 | disMat(A, size) | ^~~~~~ gmres.c:615:1: warning: return type defaults to 'int' [-Wimplicit-int] 615 | multvec2(A, x, y, startrows, numblocks) | ^~~~~~~~ gmres.c:636:1: warning: return type defaults to 'int' [-Wimplicit-int] 636 | directmatvec(Vs, sys, Im, size, chglist, w, R, indsys) | ^~~~~~~~~~~~ gmres.c: In function 'directmatvec': gmres.c:648:5: warning: implicit declaration of function 'multPrecond' [-Wimplicit-function-declaration] 648 | multPrecond(indsys->Precond, Im, Vs, size); | ^~~~~~~~~~~ gmres.c:653:5: warning: implicit declaration of function 'spSolve' [-Wimplicit-function-declaration] 653 | spSolve(indsys->sparMatrix, Im, Im); | ^~~~~~~ gmres.c: At top level: gmres.c:658:1: warning: return type defaults to 'int' [-Wimplicit-int] 658 | calc_other_norm(x, xlast, size, abs_tol, r_real, r_imag, max_real, max_imag) | ^~~~~~~~~~~~~~~ --- zbuf --- --- ./input.o --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./input.c -o ./input.o --- fasthenry --- --- sparse/sparse.a --- --- spSolve.o --- cc -O2 -mieee -I/usr/pkg/include -I/usr/pkg/include -c spSolve.c -o spSolve.o --- zbuf --- In file included from ./input.c:38: ./input.c: In function 'read_list_file': ./mulGlobal.h:109:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] 109 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^~~~~~ ./mulGlobal.h:151:29: note: in expansion of macro 'CALCORE' 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^~~~~~~ ./input.c:156:2: note: in expansion of macro 'CALLOC' 156 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:156:2: note: in expansion of macro 'CALLOC' 156 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^~~~~~ ./mulGlobal.h:142:18: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 142 | memcount/1024, sbrk(0)); \ | ^~~~ ./mulGlobal.h:157:8: note: in expansion of macro 'DUMPALLOCSIZ' 157 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./input.c:156:2: note: in expansion of macro 'CALLOC' 156 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:160:2: note: in expansion of macro 'CALLOC' 160 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:170:7: note: in expansion of macro 'CALLOC' 170 | CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:175:7: note: in expansion of macro 'CALLOC' 175 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:212:2: note: in expansion of macro 'CALLOC' 212 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:216:2: note: in expansion of macro 'CALLOC' 216 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:230:7: note: in expansion of macro 'CALLOC' 230 | CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:236:7: note: in expansion of macro 'CALLOC' 236 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:267:2: note: in expansion of macro 'CALLOC' 267 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:271:2: note: in expansion of macro 'CALLOC' 271 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:285:7: note: in expansion of macro 'CALLOC' 285 | CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:291:7: note: in expansion of macro 'CALLOC' 291 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~ ./input.c: In function 'add_dummy_panels': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:433:7: note: in expansion of macro 'CALLOC' 433 | CALLOC(dummy_list, 1, charge, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:437:7: note: in expansion of macro 'CALLOC' 437 | CALLOC(cur_dummy->next, 1, charge, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:452:5: note: in expansion of macro 'CALLOC' 452 | CALLOC(cur_dummy->next, 1, charge, ON, AMSC); | ^~~~~~ ./input.c: In function 'get_ps_file_base': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:677:7: note: in expansion of macro 'CALLOC' 677 | CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:689:7: note: in expansion of macro 'CALLOC' 689 | CALLOC(in_file_name, strlen(temp)+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:691:7: note: in expansion of macro 'CALLOC' 691 | CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:698:5: note: in expansion of macro 'CALLOC' 698 | CALLOC(ps_file_base, strlen("stdin")+1, char, ON, AMSC); | ^~~~~~ ./input.c: In function 'read_panels': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:779:5: note: in expansion of macro 'CALLOC' 779 | CALLOC(cur_surf->title, strlen(title)+1, char, ON, AMSC); | ^~~~~~ ./input.c:791:5: warning: implicit declaration of function 'initcalcp' [-Wimplicit-function-declaration] 791 | initcalcp(cur_surf->panels);/* get normals, edges, perpendiculars */ | ^~~~~~~~~ In file included from ./input.c:38: ./input.c: In function 'get_kill_num_list': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:932:7: note: in expansion of macro 'CALLOC' 932 | CALLOC(kill_num_list, 1, ITER, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:936:7: note: in expansion of macro 'CALLOC' 936 | CALLOC(cur_cond->next, 1, ITER, ON, AMSC); | ^~~~~~ ./input.c: In function 'read_all_surfaces': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:1198:5: note: in expansion of macro 'CALLOC' 1198 | CALLOC(surf_list, 1, surface, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:1200:5: note: in expansion of macro 'CALLOC' 1200 | CALLOC(surf_list->name, strlen("stdin")+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:1206:5: note: in expansion of macro 'CALLOC' 1206 | CALLOC(surf_list->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:1219:7: note: in expansion of macro 'CALLOC' 1219 | CALLOC(surf_list, 1, surface, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:1223:7: note: in expansion of macro 'CALLOC' 1223 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:1227:5: note: in expansion of macro 'CALLOC' 1227 | CALLOC(cur_surf->name, strlen(input_file)+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:1233:5: note: in expansion of macro 'CALLOC' 1233 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~ ./input.c: In function 'remove_name': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:1350:2: note: in expansion of macro 'CALLOC' 1350 | CALLOC(cur_name->name, slen+1, char, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./input.c:1358:4: note: in expansion of macro 'CALLOC' 1358 | CALLOC(cur_alias->name, slen+1, char, ON, AMSC); | ^~~~~~ ./input.c: In function 'input_problem': ./input.c:1519:6: warning: implicit declaration of function 'gethostname' [-Wimplicit-function-declaration] 1519 | if(gethostname(hostname, BUFSIZ) != -1) | ^~~~~~~~~~~ --- fasthenry --- --- spUtils.o --- cc -O2 -mieee -I/usr/pkg/include -I/usr/pkg/include -c spUtils.c -o spUtils.o --- savemat_mod.o --- gcc -O2 -mieee -I/usr/pkg/include -DFOUR -I/usr/pkg/include -c savemat_mod.c -o savemat_mod.o --- readGeom.o --- gcc -O2 -mieee -I/usr/pkg/include -DFOUR -I/usr/pkg/include -c readGeom.c -o readGeom.o readGeom.c: In function 'readGeom': readGeom.c:101:5: warning: implicit declaration of function 'tolowercase'; did you mean 'tolower_l'? [-Wimplicit-function-declaration] 101 | tolowercase(line); | ^~~~~~~~~~~ | tolower_l readGeom.c:106:13: warning: implicit declaration of function 'dodot' [-Wimplicit-function-declaration] 106 | end = dodot(line + 1, indsys); | ^~~~~ readGeom.c:109:13: warning: implicit declaration of function 'addnode' [-Wimplicit-function-declaration] 109 | end = addnode(line,indsys, &node, NORMAL); | ^~~~~~~ readGeom.c:112:13: warning: implicit declaration of function 'addseg' [-Wimplicit-function-declaration] 112 | end = addseg(line, indsys, NORMAL, &seg); /* CMS 8/21/92 normal seg */ | ^~~~~~ readGeom.c:115:13: warning: implicit declaration of function 'addgroundplane' [-Wimplicit-function-declaration] 115 | end = addgroundplane(line,indsys, &plane); | ^~~~~~~~~~~~~~ readGeom.c:118:13: warning: implicit declaration of function 'nothing' [-Wimplicit-function-declaration] 118 | end = nothing(line); | ^~~~~~~ readGeom.c: At top level: readGeom.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] 133 | dodot(line,indsys) | ^~~~~ readGeom.c: In function 'dodot': readGeom.c:140:11: warning: implicit declaration of function 'changeunits' [-Wimplicit-function-declaration] 140 | end = changeunits(line, indsys); | ^~~~~~~~~~~ readGeom.c:142:11: warning: implicit declaration of function 'addexternal'; did you mean 'make_external'? [-Wimplicit-function-declaration] 142 | end = addexternal(line, indsys); | ^~~~~~~~~~~ | make_external readGeom.c:144:11: warning: implicit declaration of function 'choosefreqs' [-Wimplicit-function-declaration] 144 | end = choosefreqs(line, indsys); | ^~~~~~~~~~~ readGeom.c:146:11: warning: implicit declaration of function 'equivnodes' [-Wimplicit-function-declaration] 146 | end = equivnodes(line, indsys); | ^~~~~~~~~~ readGeom.c:148:11: warning: implicit declaration of function 'dodefault' [-Wimplicit-function-declaration] 148 | end = dodefault(line, indsys); | ^~~~~~~~~ readGeom.c: At top level: readGeom.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int] 158 | changeunits(line, indsys) | ^~~~~~~~~~~ readGeom.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] 194 | addexternal(line, indsys) | ^~~~~~~~~~~ readGeom.c: In function 'addexternal': readGeom.c:274:9: warning: implicit declaration of function 'is_gp_node' [-Wimplicit-function-declaration] 274 | if (is_gp_node(node[0])) | ^~~~~~~~~~ readGeom.c: At top level: readGeom.c:294:1: warning: return type defaults to 'int' [-Wimplicit-int] 294 | choosefreqs(line, indsys) | ^~~~~~~~~~~ readGeom.c: In function 'choosefreqs': readGeom.c:309:9: warning: implicit declaration of function 'notblankline' [-Wimplicit-function-declaration] 309 | while(notblankline(line)) { | ^~~~~~~~~~~~ readGeom.c: At top level: readGeom.c:355:1: warning: return type defaults to 'int' [-Wimplicit-int] 355 | old_equivnodes(line, indsys) | ^~~~~~~~~~~~~~ readGeom.c:410:1: warning: return type defaults to 'int' [-Wimplicit-int] 410 | dodefault(line) | ^~~~~~~~~ readGeom.c:488:1: warning: return type defaults to 'int' [-Wimplicit-int] 488 | addnode(line,indsys,retnode, type) | ^~~~~~~ readGeom.c:627:1: warning: return type defaults to 'int' [-Wimplicit-int] 627 | addseg(line, indsys, type, retseg) | ^~~~~~ readGeom.c: In function 'addseg': readGeom.c:831:7: warning: implicit declaration of function 'is_normal'; did you mean 'isnormal'? [-Wimplicit-function-declaration] 831 | if (is_normal(node[0]) != TRUE || is_normal(node[1]) != TRUE) { | ^~~~~~~~~ | isnormal readGeom.c: In function 'makeseg': readGeom.c:892:3: warning: implicit declaration of function 'add_to_connected_segs' [-Wimplicit-function-declaration] 892 | add_to_connected_segs(node0, seg, NULL); | ^~~~~~~~~~~~~~~~~~~~~ readGeom.c: At top level: readGeom.c:944:1: warning: return type defaults to 'int' [-Wimplicit-int] 944 | addgroundplane(line, indsys, retplane) | ^~~~~~~~~~~~~~ readGeom.c: In function 'addgroundplane': readGeom.c:1133:14: warning: implicit declaration of function 'is_next_word' [-Wimplicit-function-declaration] 1133 | else if (is_next_word("hole",line) == TRUE) { | ^~~~~~~~~~~~ readGeom.c:1326:5: warning: implicit declaration of function 'doincrement'; did you mean 'doincrment'? [-Wimplicit-function-declaration] 1326 | doincrement(xt[o1], yt[o1], zt[o1], xinit, yinit, zinit, tseg1, &dx1, &dy1, &dz1); | ^~~~~~~~~~~ | doincrment readGeom.c:1381:7: warning: implicit declaration of function 'make_holes'; did you mean 'make_holelist'? [-Wimplicit-function-declaration] 1381 | make_holes(holep, grndp); | ^~~~~~~~~~ | make_holelist readGeom.c:1397:7: warning: implicit declaration of function 'is_hole' [-Wimplicit-function-declaration] 1397 | if (!is_hole(grndp->pnodes[j][i]) && !is_hole(grndp->pnodes[j+1][i])) { | ^~~~~~~ readGeom.c:1444:9: warning: implicit declaration of function 'process_plane' [-Wimplicit-function-declaration] 1444 | if (process_plane(grndp, nonuni_fp, indsys) != 0) | ^~~~~~~~~~~~~ readGeom.c:1459:12: warning: implicit declaration of function 'is_nonuni_gp' [-Wimplicit-function-declaration] 1459 | if (!is_nonuni_gp(grndp)) { | ^~~~~~~~~~~~ readGeom.c:1479:7: warning: implicit declaration of function 'append_pnlist' [-Wimplicit-function-declaration] 1479 | append_pnlist(create_pn(listpointer->name, tempnode), indsys); | ^~~~~~~~~~~~~ readGeom.c:1480:11: warning: implicit declaration of function 'is_node_in_list'; did you mean 'add_node_to_list'? [-Wimplicit-function-declaration] 1480 | if (is_node_in_list(tempnode, grndp->usernodes) == 1) { | ^~~~~~~~~~~~~~~ | add_node_to_list readGeom.c: At top level: readGeom.c:1583:1: warning: return type defaults to 'int' [-Wimplicit-int] 1583 | nothing(line) | ^~~~~~~ readGeom.c: In function 'plusline': readGeom.c:1652:5: warning: implicit declaration of function 'savealine' [-Wimplicit-function-declaration] 1652 | savealine(tmpline); | ^~~~~~~~~ readGeom.c: At top level: readGeom.c:1684:1: warning: return type defaults to 'int' [-Wimplicit-int] 1684 | savealine(line) | ^~~~~~~~~ readGeom.c:1705:1: warning: return type defaults to 'int' [-Wimplicit-int] 1705 | tolowercase(line) | ^~~~~~~~~~~ readGeom.c:1714:1: warning: return type defaults to 'int' [-Wimplicit-int] 1714 | is_nonuni_gp(gp) | ^~~~~~~~~~~~ --- joelself.o --- gcc -O2 -mieee -I/usr/pkg/include -DFOUR -I/usr/pkg/include -c joelself.c -o joelself.o joelself.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] 83 | edges_parallel(fil_j, fil_m, wid1, whperp) | ^~~~~~~~~~~~~~ joelself.c: In function 'edges_parallel': joelself.c:105:7: warning: implicit declaration of function 'get_wid'; did you mean 'getw'? [-Wimplicit-function-declaration] 105 | get_wid(fil_m, wid2); | ^~~~~~~ | getw joelself.c: At top level: joelself.c:126:1: warning: return type defaults to 'int' [-Wimplicit-int] 126 | get_wid(fil, wid) | ^~~~~~~ joelself.c:161:1: warning: return type defaults to 'int' [-Wimplicit-int] 161 | get_height(fil, wid, height) | ^~~~~~~~~~ joelself.c:336:1: warning: return type defaults to 'int' [-Wimplicit-int] 336 | fill_4(vec, E,a,d) | ^~~~~~ joelself.c:430:1: warning: return type defaults to 'int' [-Wimplicit-int] 430 | lookup(fil_j, fil_m, whperp, widj, heightj, retval, dims, dim_count, lastptr, | ^~~~~~ joelself.c: In function 'lookup': joelself.c:474:3: warning: implicit declaration of function 'fill_dims' [-Wimplicit-function-declaration] 474 | fill_dims(fil_j, fil_m, widj, heightj, dims,num_dims); | ^~~~~~~~~ joelself.c:479:7: warning: implicit declaration of function 'find_dims' [-Wimplicit-function-declaration] 479 | if (find_dims(dims, num_dims, s_table, retval, | ^~~~~~~~~ joelself.c: At top level: joelself.c:493:1: warning: return type defaults to 'int' [-Wimplicit-int] 493 | fill_dims(fil_j, fil_m, widthj, heightj, dims,num_dims) | ^~~~~~~~~ joelself.c: In function 'fill_dims': joelself.c:493:1: warning: type of 'num_dims' defaults to 'int' [-Wimplicit-int] joelself.c: At top level: joelself.c:571:1: warning: return type defaults to 'int' [-Wimplicit-int] 571 | fill_dims_seg(fil_j, fil_m, widthj, heightj, dims,num_dims) | ^~~~~~~~~~~~~ joelself.c: In function 'fill_dims_seg': joelself.c:571:1: warning: type of 'num_dims' defaults to 'int' [-Wimplicit-int] joelself.c: At top level: joelself.c:632:1: warning: return type defaults to 'int' [-Wimplicit-int] 632 | find_dims(dims, num_dims, a_table, retval, ret_dim_count, ret_lastptr) | ^~~~~~~~~ joelself.c:721:1: warning: return type defaults to 'int' [-Wimplicit-int] 721 | init_table() | ^~~~~~~~~~ joelself.c:733:1: warning: return type defaults to 'int' [-Wimplicit-int] 733 | get_table_mem() | ^~~~~~~~~~~~~ joelself.c: In function 'get_table_mem': joelself.c:735:10: warning: implicit declaration of function 'MemoryForEntries' [-Wimplicit-function-declaration] 735 | return MemoryForEntries(&table_alloc) + MemoryForEntries(&double_alloc); | ^~~~~~~~~~~~~~~~ joelself.c: At top level: joelself.c:738:1: warning: return type defaults to 'int' [-Wimplicit-int] 738 | destroy_table() | ^~~~~~~~~~~~~ joelself.c: In function 'destroy_table': joelself.c:740:3: warning: implicit declaration of function 'DestroyEntries' [-Wimplicit-function-declaration] 740 | DestroyEntries(table_alloc); | ^~~~~~~~~~~~~~ joelself.c: At top level: joelself.c:773:1: warning: return type defaults to 'int' [-Wimplicit-int] 773 | DestroyEntries(allocinfo) | ^~~~~~~~~~~~~~ joelself.c:791:1: warning: return type defaults to 'int' [-Wimplicit-int] 791 | MemoryForEntries(allocptr) | ^~~~~~~~~~~~~~~~ --- sparse/sparse.a --- --- spCompat.o --- cc -O2 -mieee -I/usr/pkg/include -I/usr/pkg/include -c spCompat.c -o spCompat.o --- spFortran.o --- cc -O2 -mieee -I/usr/pkg/include -I/usr/pkg/include -c spFortran.c -o spFortran.o --- sparse.a --- ar r sparse.a spAllocate.o spBuild.o spFactor.o spOutput.o spSolve.o spUtils.o spCompat.o spFortran.o ar: creating sparse.a ranlib sparse.a --- writefastcap.o --- gcc -O2 -mieee -I/usr/pkg/include -DFOUR -I/usr/pkg/include -c writefastcap.c -o writefastcap.o writefastcap.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] 43 | writefastcap(fname, shading_name, indsys) | ^~~~~~~~~~~~ writefastcap.c: In function 'writefastcap': writefastcap.c:70:3: warning: implicit declaration of function 'assign_shades' [-Wimplicit-function-declaration] 70 | assign_shades(indsys); | ^~~~~~~~~~~~~ writefastcap.c:278:5: warning: implicit declaration of function 'unit_cross_product' [-Wimplicit-function-declaration] 278 | unit_cross_product(gp->x[0]-gp->x[1], gp->y[0]-gp->y[1], gp->z[0]-gp->z[1], | ^~~~~~~~~~~~~~~~~~ writefastcap.c:281:9: warning: implicit declaration of function 'is_nonuni_gp' [-Wimplicit-function-declaration] 281 | if (is_nonuni_gp(gp)) | ^~~~~~~~~~~~ writefastcap.c:289:7: warning: implicit declaration of function 'make_between' [-Wimplicit-function-declaration] 289 | make_between(fp, gp,wx,wy,wz,width,j,k); | ^~~~~~~~~~~~ writefastcap.c:302:3: warning: implicit declaration of function 'clear_marks' [-Wimplicit-function-declaration] 302 | clear_marks(indsys); | ^~~~~~~~~~~ writefastcap.c: At top level: writefastcap.c:308:1: warning: return type defaults to 'int' [-Wimplicit-int] 308 | make_between(fp, gp, wx,wy,wz,width,j,k) | ^~~~~~~~~~~~ writefastcap.c:339:1: warning: return type defaults to 'int' [-Wimplicit-int] 339 | unit_cross_product(x1,y1,z1,x2,y2,z2,cx, cy,cz) | ^~~~~~~~~~~~~~~~~~ writefastcap.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] 361 | assign_shades(indsys) | ^~~~~~~~~~~~~ --- zbuf --- --- ./zbufInOut.o --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./zbufInOut.c -o ./zbufInOut.o ./zbufInOut.c: In function 'figure_grey_levels': ./zbufInOut.c:159:10: warning: implicit declaration of function 'want_this_iter' [-Wimplicit-function-declaration] 159 | if(want_this_iter(kq_num_list, panel->cond)) continue; | ^~~~~~~~~~~~~~ In file included from ./zbufInOut.c:37: ./zbufInOut.c: In function 'fastcap2faces': ./mulGlobal.h:109:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] 109 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^~~~~~ ./mulGlobal.h:151:29: note: in expansion of macro 'CALCORE' 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^~~~~~~ ./zbufInOut.c:356:7: note: in expansion of macro 'CALLOC' 356 | CALLOC(head, 1, face, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufInOut.c:356:7: note: in expansion of macro 'CALLOC' 356 | CALLOC(head, 1, face, ON, AMSC); | ^~~~~~ ./mulGlobal.h:142:18: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 142 | memcount/1024, sbrk(0)); \ | ^~~~ ./mulGlobal.h:157:8: note: in expansion of macro 'DUMPALLOCSIZ' 157 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./zbufInOut.c:356:7: note: in expansion of macro 'CALLOC' 356 | CALLOC(head, 1, face, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufInOut.c:360:7: note: in expansion of macro 'CALLOC' 360 | CALLOC(tail->next, 1, face, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufInOut.c:365:5: note: in expansion of macro 'CALLOC' 365 | CALLOC(tail->c, tail->numsides, double *, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufInOut.c:367:2: note: in expansion of macro 'CALLOC' 367 | CALLOC(tail->c[i], 3, double, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufInOut.c:383:3: note: in expansion of macro 'CALLOC' 383 | CALLOC(faces, *numfaces, face *, ON, AMSC); | ^~~~~~ ./zbufInOut.c: In function 'readLines': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufInOut.c:490:2: note: in expansion of macro 'CALLOC' 490 | CALLOC((*tail), 1, line, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufInOut.c:495:2: note: in expansion of macro 'CALLOC' 495 | CALLOC((*tail)->next, 1, line, ON, AMSC); /* link forward */ | ^~~~~~ ./zbufInOut.c: In function 'getLines': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufInOut.c:569:3: note: in expansion of macro 'CALLOC' 569 | CALLOC(linesout, (*numlines), line *, ON, AMSC); | ^~~~~~ --- fasthenry --- --- SetupMulti.o --- gcc -O2 -mieee -I/usr/pkg/include -DFOUR -I/usr/pkg/include -c SetupMulti.c -o SetupMulti.o --- calcp.o --- gcc -O2 -mieee -I/usr/pkg/include -DFOUR -I/usr/pkg/include -c calcp.c -o calcp.o calcp.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] 61 | dumpnums(flag, size) | ^~~~~~~~ --- SetupComputePsi.o --- gcc -O2 -mieee -I/usr/pkg/include -DFOUR -I/usr/pkg/include -c SetupComputePsi.c -o SetupComputePsi.o SetupComputePsi.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] 43 | SetupComputePsi(Vs, sys, Im, size, chglist, w, R, indsys) | ^~~~~~~~~~~~~~~ SetupComputePsi.c: In function 'SetupComputePsi': --- SetupMulti.o --- In file included from induct.h:43, from SetupMulti.c:36: SetupMulti.c: In function 'SetupMulti': --- SetupComputePsi.o --- SetupComputePsi.c:87:5: warning: implicit declaration of function 'multPrecond' [-Wimplicit-function-declaration] 87 | multPrecond(indsys->Precond, Im, ctemp, size); | ^~~~~~~~~~~ --- SetupMulti.o --- mulGlobal.h:121:18: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 121 | memcount/1024, sbrk(0)); \ | ^~~~ mulGlobal.h:173:8: note: in expansion of macro 'DUMPALLOCSIZ' 173 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ SetupMulti.c:87:3: note: in expansion of macro 'CALLOC' 87 | CALLOC(axes, 10, double **, ON, AMSC); | ^~~~~~ --- SetupComputePsi.o --- SetupComputePsi.c:92:5: warning: implicit declaration of function 'spSolve' [-Wimplicit-function-declaration] 92 | spSolve(indsys->sparMatrix, Im, Im); | ^~~~~~~ --- SetupMulti.o --- SetupMulti.c:231:3: warning: implicit declaration of function 'mulMultiAlloc' [-Wimplicit-function-declaration] 231 | mulMultiAlloc(MAX(sys->max_eval_pnt, sys->max_panel), numMom, sys->depth); | ^~~~~~~~~~~~~ SetupMulti.c:240:3: warning: implicit declaration of function 'mulMatDirect' [-Wimplicit-function-declaration] 240 | mulMatDirect(sys); /* Compute the direct part matrices. */ | ^~~~~~~~~~~~ SetupMulti.c:271:3: warning: implicit declaration of function 'dumpnums' [-Wimplicit-function-declaration] 271 | dumpnums(ON, eval_size, up_size); /* save num/type of pot. coeff calcs */ | ^~~~~~~~ SetupMulti.c:290:3: warning: implicit declaration of function 'mulMatDown'; did you mean 'mulDown'? [-Wimplicit-function-declaration] 290 | mulMatDown(sys); /* find matrices for full Greengard dnwd pass*/ | ^~~~~~~~~~ | mulDown SetupMulti.c:299:3: warning: implicit declaration of function 'mulMatEval'; did you mean 'mulMatUp'? [-Wimplicit-function-declaration] 299 | mulMatEval(sys); /* set up matrices for evaluation pass */ | ^~~~~~~~~~ | mulMatUp SetupMulti.c:373:3: warning: implicit declaration of function 'uallocEfcy'; did you mean 'ualloc'? [-Wimplicit-function-declaration] 373 | uallocEfcy(memcount); | ^~~~~~~~~~ | ualloc --- SetupComputePsi.o --- SetupComputePsi.c:120:5: warning: implicit declaration of function 'computePsi'; did you mean 'realComputePsi'? [-Wimplicit-function-declaration] 120 | computePsi(sys, q, p, branches, chglist); | ^~~~~~~~~~ | realComputePsi SetupComputePsi.c:159:3: warning: implicit declaration of function 'mulDirect'; did you mean 'mut_rect'? [-Wimplicit-function-declaration] 159 | mulDirect(sys); | ^~~~~~~~~ | mut_rect SetupComputePsi.c:160:3: warning: implicit declaration of function 'mulEval' [-Wimplicit-function-declaration] 160 | mulEval(sys); | ^~~~~~~ SetupComputePsi.c: At top level: SetupComputePsi.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int] 250 | realmatCXvec(y, A, x, size) | ^~~~~~~~~~~~ SetupComputePsi.c:276:1: warning: return type defaults to 'int' [-Wimplicit-int] 276 | fixEvalDirect(qchgs, numqchgs, is_dummy, pchgs, numpchgs, mat) | ^~~~~~~~~~~~~ --- zbuf --- --- ./zbuf2fastcap.o --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./zbuf2fastcap.c -o ./zbuf2fastcap.o ./zbuf2fastcap.c: In function 'dump_ps_geometry': ./zbuf2fastcap.c:50:6: warning: type of 'use_ttl_chg' defaults to 'int' [-Wimplicit-int] 50 | void dump_ps_geometry(chglist, q, cond, use_ttl_chg) | ^~~~~~~~~~~~~~~~ ./zbuf2fastcap.c:107:3: warning: implicit declaration of function 'initFaces' [-Wimplicit-function-declaration] 107 | initFaces(faces, numfaces, view); | ^~~~~~~~~ ./zbuf2fastcap.c:121:3: warning: implicit declaration of function 'getAdjGraph' [-Wimplicit-function-declaration] 121 | getAdjGraph(faces, numfaces, view, rhs, normal); | ^~~~~~~~~~~ ./zbuf2fastcap.c:130:3: warning: implicit declaration of function 'image' [-Wimplicit-function-declaration] 130 | image(sfaces, numfaces, lines, numlines, normal, rhs, view); | ^~~~~ ./zbuf2fastcap.c:131:3: warning: implicit declaration of function 'flatten' [-Wimplicit-function-declaration] 131 | flatten(sfaces, numfaces, lines, numlines, rhs, rotation, normal, view); | ^~~~~~~ ./zbuf2fastcap.c:132:3: warning: implicit declaration of function 'makePos' [-Wimplicit-function-declaration] 132 | makePos(sfaces, numfaces, lines, numlines); | ^~~~~~~ ./zbuf2fastcap.c:133:3: warning: implicit declaration of function 'scale2d' [-Wimplicit-function-declaration] 133 | scale2d(sfaces, numfaces, lines, numlines, scale, moffset); | ^~~~~~~ ./zbuf2fastcap.c:135:5: warning: implicit declaration of function 'dumpCycles' [-Wimplicit-function-declaration] 135 | dumpCycles(sfaces, numfaces, stdout); /* DANGER - doesnt work (?) */ | ^~~~~~~~~~ ./zbuf2fastcap.c:136:5: warning: implicit declaration of function 'dumpFaceText' [-Wimplicit-function-declaration] 136 | dumpFaceText(sfaces, numfaces, stdout); | ^~~~~~~~~~~~ ./zbuf2fastcap.c:144:5: warning: implicit declaration of function 'dumpPs' [-Wimplicit-function-declaration] 144 | dumpPs(sfaces, numfaces, lines, numlines, fp, argvals, argcnt,use_density); | ^~~~~~ --- ./zbufProj.o --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./zbufProj.c -o ./zbufProj.o --- ./zbufSort.o --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./zbufSort.c -o ./zbufSort.o --- ./zbufProj.o --- In file included from ./zbufProj.c:37: ./zbufProj.c: In function 'getAvg': ./mulGlobal.h:109:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] 109 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^~~~~~ ./mulGlobal.h:151:29: note: in expansion of macro 'CALCORE' 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^~~~~~~ ./zbufProj.c:432:3: note: in expansion of macro 'CALLOC' 432 | CALLOC(avg, 3, double, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufProj.c:432:3: note: in expansion of macro 'CALLOC' 432 | CALLOC(avg, 3, double, ON, AMSC); | ^~~~~~ --- fasthenry --- --- mulSetup.o --- --- zbuf --- ./mulGlobal.h:142:18: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 142 | memcount/1024, sbrk(0)); \ | ^~~~ ./mulGlobal.h:157:8: note: in expansion of macro 'DUMPALLOCSIZ' 157 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./zbufProj.c:432:3: note: in expansion of macro 'CALLOC' 432 | CALLOC(avg, 3, double, ON, AMSC); | ^~~~~~ --- fasthenry --- gcc -O2 -mieee -I/usr/pkg/include -DFOUR -I/usr/pkg/include -c mulSetup.c -o mulSetup.o --- zbuf --- --- ./zbufSort.o --- In file included from ./zbufSort.c:37: ./zbufSort.c: In function 'is1stFaceDeeper': ./mulGlobal.h:109:28: warning: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] 109 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^~~~~~ ./mulGlobal.h:151:29: note: in expansion of macro 'CALCORE' 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^~~~~~~ ./zbufSort.c:535:5: note: in expansion of macro 'CALLOC' 535 | CALLOC(cproj, 2, double **, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufSort.c:535:5: note: in expansion of macro 'CALLOC' 535 | CALLOC(cproj, 2, double **, ON, AMSC); | ^~~~~~ ./mulGlobal.h:142:18: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 142 | memcount/1024, sbrk(0)); \ | ^~~~ ./mulGlobal.h:157:8: note: in expansion of macro 'DUMPALLOCSIZ' 157 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./zbufSort.c:535:5: note: in expansion of macro 'CALLOC' 535 | CALLOC(cproj, 2, double **, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufSort.c:537:7: note: in expansion of macro 'CALLOC' 537 | CALLOC(cproj[k], MAXSIDES, double *, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufSort.c:539:2: note: in expansion of macro 'CALLOC' 539 | CALLOC(cproj[k][i], 3, double, ON, AMSC); | ^~~~~~ ./zbufSort.c:757:5: warning: implicit declaration of function 'dump_face' [-Wimplicit-function-declaration] 757 | dump_face(stderr, fac); | ^~~~~~~~~ ./zbufSort.c:759:5: warning: implicit declaration of function 'dumpCorners' [-Wimplicit-function-declaration] 759 | dumpCorners(stderr, cproj[0], fac->numsides, 3); | ^~~~~~~~~~~ In file included from ./zbufSort.c:37: ./zbufSort.c: In function 'depthSortFaces': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufSort.c:1035:3: note: in expansion of macro 'CALLOC' 1035 | CALLOC(rfaces, numfaces, face *, ON, AMSC); | ^~~~~~ ./zbufSort.c: In function 'getAdjGraph': ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufSort.c:1067:7: note: in expansion of macro 'CALLOC' 1067 | CALLOC(faces[f]->behind, numfaces, face *, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufSort.c:1089:5: note: in expansion of macro 'CALLOC' 1089 | CALLOC(behind, numfaces, face *, ON, AMSC); | ^~~~~~ ./mulGlobal.h:151:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./zbufSort.c:1102:25: note: in expansion of macro 'CALLOC' 1102 | if(numbehind > 0) CALLOC(fpcur->behind, numbehind, face *, ON, AMSC); | ^~~~~~ ./zbufSort.c: In function 'face_is_inside': ./zbufSort.c:289:51: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations] 289 | for(k = 0; k < 3; k++) com_pnt[k] = innerpnt[k]; | ~~~~~~~~^~~ ./zbufSort.c:289:7: note: within this loop 289 | for(k = 0; k < 3; k++) com_pnt[k] = innerpnt[k]; | ^~~ --- fasthenry --- In file included from induct.h:43, from mulSetup.c:38: mulSetup.c: In function 'mulInit': mulGlobal.h:121:18: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 121 | memcount/1024, sbrk(0)); \ | ^~~~ mulGlobal.h:173:8: note: in expansion of macro 'DUMPALLOCSIZ' 173 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ mulSetup.c:57:3: note: in expansion of macro 'CALLOC' 57 | CALLOC(sys, 1, ssystem, ON, AMSC); | ^~~~~~ mulSetup.c:62:16: warning: implicit declaration of function 'placeq' [-Wimplicit-function-declaration] 62 | sys->depth = placeq(autom, sys, charges, indsys, pseudo_lev); /*create cubes, put in charges*/ | ^~~~~~ mulSetup.c:69:3: warning: implicit declaration of function 'getrelations' [-Wimplicit-function-declaration] 69 | getrelations(sys); /* Get all the prnts and kids for each cube. */ | ^~~~~~~~~~~~ mulSetup.c:71:3: warning: implicit declaration of function 'removeabandoned' [-Wimplicit-function-declaration] 71 | removeabandoned(sys); /* remove abandoned cubes. MK 7/92 */ | ^~~~~~~~~~~~~~~ mulSetup.c:73:3: warning: implicit declaration of function 'setPosition' [-Wimplicit-function-declaration] 73 | setPosition(sys); /* Figures out position of cube center. */ | ^~~~~~~~~~~ mulSetup.c:74:3: warning: implicit declaration of function 'indexkid' [-Wimplicit-function-declaration] 74 | indexkid(sys, sys->cubes[0][0][0][0], &qindex, &cindex); | ^~~~~~~~ mulSetup.c:78:3: warning: implicit declaration of function 'setExact' [-Wimplicit-function-declaration] 78 | setExact(sys, multerms(sys->order)); /* Note cubes to be done exactly and | ^~~~~~~~ mulSetup.c:78:17: warning: implicit declaration of function 'multerms' [-Wimplicit-function-declaration] 78 | setExact(sys, multerms(sys->order)); /* Note cubes to be done exactly and | ^~~~~~~~ mulSetup.c:89:3: warning: implicit declaration of function 'linkcubes' [-Wimplicit-function-declaration] 89 | linkcubes(sys); /* Make linked-lists of direct, multis, and | ^~~~~~~~~ mulSetup.c:91:3: warning: implicit declaration of function 'set_vector_masks'; did you mean 'mi_vector_hash'? [-Wimplicit-function-declaration] 91 | set_vector_masks(sys); /* set up sys->is_dummy and sys->is_dielec */ | ^~~~~~~~~~~~~~~~ | mi_vector_hash mulSetup.c:92:3: warning: implicit declaration of function 'setMaxq' [-Wimplicit-function-declaration] 92 | setMaxq(sys); /* Calculates the max # chgs in cubes treated | ^~~~~~~ mulSetup.c:94:3: warning: implicit declaration of function 'getAllInter' [-Wimplicit-function-declaration] 94 | getAllInter(sys); /* Get the interaction lists at all levels. */ | ^~~~~~~~~~~ mulSetup.c: In function 'placeq': mulSetup.c:205:5: warning: implicit declaration of function 'DivideSegs' [-Wimplicit-function-declaration] 205 | DivideSegs((1.01*length0)/pow(2.0,(double)indsys->opts->init_refine), | ^~~~~~~~~~ mulSetup.c:305:8: warning: implicit declaration of function 'is_gp_charge' [-Wimplicit-function-declaration] 305 | if (is_gp_charge(nextq) == TRUE) | ^~~~~~~~~~~~ mulSetup.c: At top level: mulSetup.c:549:8: warning: return type defaults to 'int' [-Wimplicit-int] 549 | static placeqold(sys, charges) | ^~~~~~~~~ mulSetup.c:648:1: warning: return type defaults to 'int' [-Wimplicit-int] 648 | getrelations(sys) | ^~~~~~~~~~~~ mulSetup.c:689:1: warning: return type defaults to 'int' [-Wimplicit-int] 689 | removeabandoned(sys) | ^~~~~~~~~~~~~~~ mulSetup.c:732:1: warning: return type defaults to 'int' [-Wimplicit-int] 732 | setPosition(sys) | ^~~~~~~~~~~ mulSetup.c:769:1: warning: return type defaults to 'int' [-Wimplicit-int] 769 | indexkid(sys, dad, pqindex, pcindex) | ^~~~~~~~ mulSetup.c:807:1: warning: return type defaults to 'int' [-Wimplicit-int] 807 | setExact(sys, numterms) | ^~~~~~~~ mulSetup.c:1012:1: warning: return type defaults to 'int' [-Wimplicit-int] 1012 | linkcubes(sys) | ^~~~~~~~~ mulSetup.c: In function 'linkcubes': mulSetup.c:1017:48: warning: implicit declaration of function 'multerms' [-Wimplicit-function-declaration] 1017 | int dindex, side, depth=sys->depth, numterms=multerms(sys->order); | ^~~~~~~~ mulSetup.c:814:36: note: previous declaration of 'multerms' was here 814 | int numchgs, num_eval_pnts, first, multerms(); | ^~~~~~~~ mulSetup.c: At top level: mulSetup.c:1067:1: warning: return type defaults to 'int' [-Wimplicit-int] 1067 | setMaxq(sys) | ^~~~~~~ mulSetup.c:1160:1: warning: return type defaults to 'int' [-Wimplicit-int] 1160 | markUp(child, flag) | ^~~~~~ mulSetup.c:1178:1: warning: return type defaults to 'int' [-Wimplicit-int] 1178 | getInter(child,sys) | ^~~~~~~~ mulSetup.c:1250:1: warning: return type defaults to 'int' [-Wimplicit-int] 1250 | getAllInter(sys) | ^~~~~~~~~~~ mulSetup.c:1272:1: warning: return type defaults to 'int' [-Wimplicit-int] 1272 | set_vector_masks(sys) | ^~~~~~~~~~~~~~~~ --- BreakupSeg.o --- gcc -O2 -mieee -I/usr/pkg/include -DFOUR -I/usr/pkg/include -c BreakupSeg.c -o BreakupSeg.o BreakupSeg.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] 40 | DivideSegs(length, charges, indsys, is_initial) | ^~~~~~~~~~ BreakupSeg.c: In function 'DivideSegs': BreakupSeg.c:55:4: warning: implicit declaration of function 'BreakupSeg' [-Wimplicit-function-declaration] 55 | BreakupSeg(seg, length/DIVFACT, charges, indsys); | ^~~~~~~~~~ BreakupSeg.c: At top level: BreakupSeg.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] 75 | BreakupSeg(seg, maxlength, charges, indsys) | ^~~~~~~~~~ BreakupSeg.c: In function 'BreakupSeg': BreakupSeg.c:124:3: warning: implicit declaration of function 'remove_from_connected_segs' [-Wimplicit-function-declaration] 124 | remove_from_connected_segs(seg->node[1], seg, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BreakupSeg.c:126:3: warning: implicit declaration of function 'add_to_connected_segs' [-Wimplicit-function-declaration] 126 | add_to_connected_segs(newnode, seg, NULL); | ^~~~~~~~~~~~~~~~~~~~~ BreakupSeg.c:128:3: warning: implicit declaration of function 'alterFils' [-Wimplicit-function-declaration] 128 | alterFils(seg, newnode, dx, dy, dz); /* modify the segment's fils */ | ^~~~~~~~~ BreakupSeg.c: At top level: BreakupSeg.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] 174 | alterFils(seg, node, dx, dy, dz) | ^~~~~~~~~ --- Precond.o --- gcc -O2 -mieee -I/usr/pkg/include -DFOUR -I/usr/pkg/include -c Precond.c -o Precond.o Precond.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] 67 | indPrecond(sys, indsys, w) | ^~~~~~~~~~ In file included from induct.h:43, from Precond.c:42: Precond.c: In function 'indPrecond': mulGlobal.h:121:18: warning: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 121 | memcount/1024, sbrk(0)); \ | ^~~~ mulGlobal.h:173:8: note: in expansion of macro 'DUMPALLOCSIZ' 173 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ Precond.c:131:5: note: in expansion of macro 'CALLOC' 131 | CALLOC(filcount, num_mesh, int, ON, IND); | ^~~~~~ Precond.c:149:5: warning: implicit declaration of function 'concat4' [-Wimplicit-function-declaration] 149 | concat4(outfname,"Ls",indsys->opts->suffix,".mat"); | ^~~~~~~ Precond.c:459:27: warning: implicit declaration of function 'spGetElement' [-Wimplicit-function-declaration] 459 | (elem = (CX *)spGetElement(Matrix,realmrow+1,realmcol+1))->real | ^~~~~~~~~~~~ Precond.c:459:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 459 | (elem = (CX *)spGetElement(Matrix,realmrow+1,realmcol+1))->real | ^ Precond.c:480:7: warning: implicit declaration of function 'mark_dup_mesh' [-Wimplicit-function-declaration] 480 | mark_dup_mesh(Mlist, meshnum, meshsize, is_dup, findx); | ^~~~~~~~~~~~~ Precond.c:485:2: warning: implicit declaration of function 'savecmplx' [-Wimplicit-function-declaration] 485 | savecmplx(fp, "before", meshmat, meshsize, meshsize); | ^~~~~~~~~ Precond.c:499:7: warning: implicit declaration of function 'cx_invert_dup' [-Wimplicit-function-declaration] 499 | cx_invert_dup(meshmat, meshsize, is_dup); | ^~~~~~~~~~~~~ Precond.c:623:5: warning: implicit declaration of function 'dumpPrecond' [-Wimplicit-function-declaration] 623 | dumpPrecond(Precond, num_mesh, indsys->opts->suffix); | ^~~~~~~~~~~ Precond.c: At top level: Precond.c:636:1: warning: return type defaults to 'int' [-Wimplicit-int] 636 | multPrecond(Precond, x, result, size) | ^~~~~~~~~~~ Precond.c:670:1: warning: return type defaults to 'int' [-Wimplicit-int] 670 | cx_invert_dup(mat, size, is_dup) | ^~~~~~~~~~~~~ Precond.c:715:1: warning: return type defaults to 'int' [-Wimplicit-int] 715 | mark_dup_mesh(Mlist, meshnum, meshsize, is_dup, findx) | ^~~~~~~~~~~~~ Precond.c:757:1: warning: return type defaults to 'int' [-Wimplicit-int] 757 | dumpPrecond(Precond, size, suffix) | ^~~~~~~~~~~ Precond.c:812:1: warning: return type defaults to 'int' [-Wimplicit-int] 812 | indPrecond_direct(sys, indsys, w) | ^~~~~~~~~~~~~~~~~ Precond.c: In function 'indPrecond_direct': Precond.c:928:5: warning: implicit declaration of function 'cx_invert'; did you mean 'cx_invert_dup'? [-Wimplicit-function-declaration] 928 | cx_invert(meshmat, meshsize); | ^~~~~~~~~ | cx_invert_dup --- zbuf --- --- ./dump_struct.o --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./dump_struct.c -o ./dump_struct.o ./dump_struct.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] 42 | dump_struct(chglist,qv) | ^~~~~~~~~~~ ./dump_struct.c: In function 'dump_struct': ./dump_struct.c:104:5: warning: implicit declaration of function 'savemat' [-Wimplicit-function-declaration] 104 | savemat(fp, type, "xt", 3, index, 0, x, NULL); | ^~~~~~~ --- ./savemat_mod.o --- gcc -O2 -mieee -I/usr/pkg/include -DOTHER -I/usr/pkg/include -c ./savemat_mod.c -o ./savemat_mod.o --- zbuf --- gcc -o zbuf -O2 -mieee -I/usr/pkg/include -DOTHER ./mulGlobal.o ./extras.o ./zbuf.o ./uglieralloc.o ./patran.o ./quickif.o ./input.o ./zbufInOut.o ./zbuf2fastcap.o ./zbufProj.o ./zbufSort.o ./dump_struct.o ./savemat_mod.o -Wl,-R/usr/pkg/lib -lffm -lm ld: cannot find -lffm *** [zbuf] Error code 1 make[1]: stopped in /tmp/pkgbuild/cad/fasthenry/work.alpha/fasthenry-3.0/src/zbuf 1 error make[1]: stopped in /tmp/pkgbuild/cad/fasthenry/work.alpha/fasthenry-3.0/src/zbuf --- fasthenry --- *** [fasthenry] Error code 6 make: stopped in /tmp/pkgbuild/cad/fasthenry/work.alpha/fasthenry-3.0 --- zbuf --- *** [zbuf] Error code 2 make: stopped in /tmp/pkgbuild/cad/fasthenry/work.alpha/fasthenry-3.0 2 errors make: stopped in /tmp/pkgbuild/cad/fasthenry/work.alpha/fasthenry-3.0 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/cad/fasthenry *** Error code 1 Stop. make: stopped in /usr/pkgsrc/cad/fasthenry