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