=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for fasthenry-3.0.19961112 --- fasthenry --- --- zbuf --- cd src/zbuf ; /usr/bin/make zbuf --- fasthenry --- cd src/fasthenry ; /usr/bin/make fasthenry --- zbuf --- --- ./mulGlobal.o --- --- ./extras.o --- --- ./zbuf.o --- --- fasthenry --- --- sparse/sparse.a --- cd sparse; make --- zbuf --- --- ./mulGlobal.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -c ./mulGlobal.c --- fasthenry --- --- spAllocate.o --- --- zbuf --- --- ./extras.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -c ./extras.c --- ./zbuf.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -c ./zbuf.c --- fasthenry --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c spAllocate.c --- zbuf --- --- ./extras.o --- ./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)) ^ ./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; \ ^~~~~~~~~~~~ ./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) ^~~~~~~~~~~ --- ./zbuf.o --- ./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); ^~~~~~ --- ./extras.o --- ./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)); ^~~~~~~~~ --- ./zbuf.o --- ./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 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -c ./uglieralloc.c ./uglieralloc.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] fill_it(mem, k, nbytes) ^~~~~~~ --- ./patran.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -c ./patran.c --- ./quickif.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -c ./quickif.c --- fasthenry --- --- spBuild.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c spBuild.c --- zbuf --- --- ./patran.o --- 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); ^~~~~~ --- ./quickif.o --- 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); ^~~~~~ --- ./patran.o --- ./patran.c:113:7: warning: implicit declaration of function 'fill_patch_patch_table' [-Wimplicit-function-declaration] fill_patch_patch_table(patch_patch_table); ^~~~~~~~~~~~~~~~~~~~~~ --- ./quickif.o --- ./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); ^~~~~~ --- ./patran.o --- ./patran.c:115:7: warning: implicit declaration of function 'assign_conductor' [-Wimplicit-function-declaration] assign_conductor(patch_patch_table); ^~~~~~~~~~~~~~~~ --- ./quickif.o --- ./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); ^~~~~~ --- ./patran.o --- ./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) ^~~~~ --- ./quickif.o --- ./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); ^~~~~~ --- ./patran.o --- ./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 --- ./quickif.o --- ./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); ^~~~~~ --- ./patran.o --- ./patran.c:162:7: warning: implicit declaration of function 'summary_data' [-Wimplicit-function-declaration] summary_data(stream); ^~~~~~~~~~~~ --- ./quickif.o --- ./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); ^~~~~~ --- ./patran.o --- ./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 --- ./quickif.o --- ./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); ^~~~~~ --- ./patran.o --- ./patran.c:168:7: warning: implicit declaration of function 'element_data' [-Wimplicit-function-declaration] element_data(stream); ^~~~~~~~~~~~ --- ./quickif.o --- ./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); ^~~~~~ --- ./patran.o --- ./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 --- ./quickif.o --- ./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); ^~~~~~ --- ./patran.o --- ./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); ^~~~~~ --- ./input.o --- --- ./patran.o --- ./patran.c: At top level: ./patran.c:856:1: warning: return type defaults to 'int' [-Wimplicit-int] assign_names() ^~~~~~~~~~~~ --- ./input.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -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 --- --- spFactor.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c spFactor.c --- zbuf --- --- ./zbufInOut.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -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); ^~~~~~ --- ./zbuf2fastcap.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -c ./zbuf2fastcap.c ./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 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -c ./zbufProj.c In file included from ./zbufProj.c:37:0: ./zbufProj.c: In function 'getAvg': ./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); ^~~~~~ ./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); ^~~~~~ --- ./zbufSort.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -c ./zbufSort.c --- fasthenry --- --- spOutput.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c spOutput.c --- zbuf --- --- ./dump_struct.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -c ./dump_struct.c --- ./zbufSort.o --- 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); ^~~~~~ --- ./dump_struct.o --- ./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); ^~~~~~~ --- ./zbufSort.o --- ./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]; ^~~ --- ./savemat_mod.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DOTHER -c ./savemat_mod.c --- fasthenry --- --- spSolve.o --- --- spUtils.o --- --- spSolve.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c spSolve.c --- induct.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c induct.c --- sparse/sparse.a --- --- spUtils.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c spUtils.c --- induct.o --- induct.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ 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 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 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); ^~~~~~~~~~ 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] 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); ^~~~~~~~~ --- sparse/sparse.a --- --- spCompat.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c spCompat.c --- induct.o --- 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) ^~~~~~~~~~~~~ --- zbuf --- --- zbuf --- --- fasthenry --- 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 --- zbuf --- gcc -o zbuf -O2 -fPIC -D_FORTIFY_SOURCE=2 -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 -lm --- fasthenry --- 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 --- --- spFortran.o --- cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -c spFortran.c --- zbuf --- mv zbuf ../../bin/zbuf --- fasthenry --- --- sparse.a --- --- gmres.o --- --- savemat_mod.o --- --- sparse/sparse.a --- ar r sparse.a spAllocate.o spBuild.o spFactor.o spOutput.o spSolve.o spUtils.o spCompat.o spFortran.o --- savemat_mod.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c savemat_mod.c --- gmres.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c gmres.c --- sparse/sparse.a --- ar: creating sparse.a ranlib sparse.a --- readGeom.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c readGeom.c --- gmres.o --- 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 */ ^~~~~~~~~~~~~ --- readGeom.o --- readGeom.c: In function 'readGeom': --- gmres.o --- 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 --- readGeom.o --- 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); ^~~~~~~~~~~~~~ --- joelself.o --- --- gmres.o --- 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, ^~~~~~~~~~~~~~~ --- readGeom.o --- 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) ^~~~~ --- gmres.o --- 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) ^~~~~~~~~~~~~ --- readGeom.o --- readGeom.c: In function 'dodot': readGeom.c:140:11: warning: implicit declaration of function 'changeunits' [-Wimplicit-function-declaration] end = changeunits(line, indsys); ^~~~~~~~~~~ --- gmres.o --- 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) ^~~~~~ --- readGeom.o --- readGeom.c:142:11: warning: implicit declaration of function 'addexternal'; did you mean 'make_external'? [-Wimplicit-function-declaration] end = addexternal(line, indsys); ^~~~~~~~~~~ make_external --- joelself.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c joelself.c --- gmres.o --- 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) ^~~~~~~~~~~~ --- readGeom.o --- readGeom.c:144:11: warning: implicit declaration of function 'choosefreqs' [-Wimplicit-function-declaration] end = choosefreqs(line, indsys); ^~~~~~~~~~~ --- gmres.o --- 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) ^~~~~~~~~~~~~~~ --- readGeom.o --- 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) ^~~~~~~~~~~~ --- joelself.o --- 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) ^~~~~~~~~~~~~~~~ --- writefastcap.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c writefastcap.c --- SetupMulti.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c SetupMulti.c --- writefastcap.o --- writefastcap.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] writefastcap(fname, shading_name, indsys) ^~~~~~~~~~~~ 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], ^~~~~~~~~~~~~~~~~~ --- calcp.o --- --- writefastcap.o --- writefastcap.c:281:9: warning: implicit declaration of function 'is_nonuni_gp' [-Wimplicit-function-declaration] if (is_nonuni_gp(gp)) ^~~~~~~~~~~~ --- calcp.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c calcp.c --- writefastcap.o --- 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) ^~~~~~~~~~~~~ --- SetupMulti.o --- 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 --- calcp.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpnums(flag, size) ^~~~~~~~ --- SetupComputePsi.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c SetupComputePsi.c 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 --- --- BreakupSeg.o --- --- mulSetup.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c mulSetup.c --- BreakupSeg.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c BreakupSeg.c --- Precond.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c Precond.c --- 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- Precond.o --- Precond.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] indPrecond(sys, indsys, w) ^~~~~~~~~~ --- 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); ^~~~~~ --- Precond.o --- 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); ^~~~~~ --- mulSetup.o --- 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*/ ^~~~~~ --- BreakupSeg.o --- 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 */ ^~~~~~~~~ --- mulSetup.o --- 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 --- BreakupSeg.o --- 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: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. */ ^~~~~~~~~~~ --- Precond.o --- 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 --- mulSetup.o --- 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 ^~~~~~~~~ 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), ^~~~~~~~~~ --- Precond.o --- 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); ^~~~~~~~~~~~~ --- mulSetup.o --- mulSetup.c:305:8: warning: implicit declaration of function 'is_gp_charge' [-Wimplicit-function-declaration] if (is_gp_charge(nextq) == TRUE) ^~~~~~~~~~~~ --- Precond.o --- 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 --- mulSetup.o --- 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(); ^~~~~~~~ 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) ^~~~~~~~ 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) ^~~~~~~~~~~~~~~~ --- addgroundplane.o --- --- findpaths.o --- --- addgroundplane.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c addgroundplane.c --- findpaths.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c findpaths.c findpaths.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] is_normal(node) ^~~~~~~~~ findpaths.c:200:1: warning: return type defaults to 'int' [-Wimplicit-int] is_gp(seg) ^~~~~ findpaths.c:213:1: warning: return type defaults to 'int' [-Wimplicit-int] is_gp_node(node) ^~~~~~~~~~ findpaths.c:233:1: warning: return type defaults to 'int' [-Wimplicit-int] is_node_in_list(node, nodelist) ^~~~~~~~~~~~~~~ findpaths.c:248:1: warning: return type defaults to 'int' [-Wimplicit-int] is_orignode_in_list(node, nodelist) ^~~~~~~~~~~~~~~~~~~ findpaths.c:305:1: warning: return type defaults to 'int' [-Wimplicit-int] free_nodelist(nodelist) ^~~~~~~~~~~~~ findpaths.c:333:1: warning: return type defaults to 'int' [-Wimplicit-int] insert_path(path, pathlist) ^~~~~~~~~~~ findpaths.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] equivnodes(line, indsys) ^~~~~~~~~~ findpaths.c: In function 'equivnodes': findpaths.c:436:9: warning: implicit declaration of function 'notblankline' [-Wimplicit-function-declaration] while(notblankline(line)) { ^~~~~~~~~~~~ findpaths.c:471:3: warning: implicit declaration of function 'append_pnlist'; did you mean 'insert_in_list'? [-Wimplicit-function-declaration] append_pnlist(pnlist, indsys); ^~~~~~~~~~~~~ insert_in_list findpaths.c: In function 'make_equiv': findpaths.c:508:6: warning: implicit declaration of function 'is_real_node'; did you mean 'is_gp_node'? [-Wimplicit-function-declaration] if(is_real_node(realnode) == 0 ) { ^~~~~~~~~~~~ is_gp_node findpaths.c: At top level: findpaths.c:543:1: warning: return type defaults to 'int' [-Wimplicit-int] append_pnlist(pnlist, indsys) ^~~~~~~~~~~~~ findpaths.c:576:1: warning: return type defaults to 'int' [-Wimplicit-int] add_to_connected_segs(node, seg, pseudo_seg) ^~~~~~~~~~~~~~~~~~~~~ findpaths.c:607:1: warning: return type defaults to 'int' [-Wimplicit-int] remove_from_connected_segs(node, seg, pseudo_seg) ^~~~~~~~~~~~~~~~~~~~~~~~~~ findpaths.c:736:1: warning: return type defaults to 'int' [-Wimplicit-int] is_real_node(node) ^~~~~~~~~~~~ --- addgroundplane.o --- addgroundplane.c: In function 'path_through_gp': --- findpaths.o --- findpaths.c:919:1: warning: return type defaults to 'int' [-Wimplicit-int] push_node(node, stack) ^~~~~~~~~ --- addgroundplane.o --- addgroundplane.c:632:7: warning: implicit declaration of function 'is_nonuni_gp' [-Wimplicit-function-declaration] if (is_nonuni_gp(plane)) ^~~~~~~~~~~~ --- findpaths.o --- findpaths.c:933:1: warning: return type defaults to 'int' [-Wimplicit-int] make_trees(indsys) ^~~~~~~~~~ findpaths.c: In function 'make_trees': findpaths.c:996:4: warning: implicit declaration of function 'make_loop'; did you mean 'make_gp_loop'? [-Wimplicit-function-declaration] make_loop(node, other, branches->seg, atree); /* make a loop (check for selfloop) */ ^~~~~~~~~ make_gp_loop findpaths.c:1005:2: warning: implicit declaration of function 'mark_seg'; did you mean 'makeseg'? [-Wimplicit-function-declaration] mark_seg(branches->seg); /* mark seg as used */ ^~~~~~~~ makeseg findpaths.c:1008:7: warning: implicit declaration of function 'mark_node'; did you mean 'push_node'? [-Wimplicit-function-declaration] mark_node(node); /* mark node as examined */ ^~~~~~~~~ push_node --- addgroundplane.o --- addgroundplane.c:636:5: warning: implicit declaration of function 'clear_plane_marks' [-Wimplicit-function-declaration] clear_plane_marks(plane); ^~~~~~~~~~~~~~~~~ --- findpaths.o --- findpaths.c: In function 'get_next_branch': findpaths.c:1017:28: warning: implicit declaration of function 'is_marked'; did you mean '__packed'? [-Wimplicit-function-declaration] while(b_list != NULL && (is_marked(b_list->seg) || is_gp(b_list->seg)) ) ^~~~~~~~~ __packed findpaths.c: At top level: findpaths.c:1036:1: warning: return type defaults to 'int' [-Wimplicit-int] mark_seg(seg) ^~~~~~~~ findpaths.c:1045:1: warning: return type defaults to 'int' [-Wimplicit-int] unmark_seg(seg) ^~~~~~~~~~ findpaths.c:1054:1: warning: return type defaults to 'int' [-Wimplicit-int] mark_node(node) ^~~~~~~~~ findpaths.c:1060:1: warning: return type defaults to 'int' [-Wimplicit-int] unmark_node(node) ^~~~~~~~~~~ findpaths.c:1066:1: warning: return type defaults to 'int' [-Wimplicit-int] is_node_marked(node) ^~~~~~~~~~~~~~ findpaths.c:1085:1: warning: return type defaults to 'int' [-Wimplicit-int] make_loop(node_l, node_s, seg, tree) ^~~~~~~~~ --- addgroundplane.o --- addgroundplane.c: In function 'get_a_path': addgroundplane.c:687:17: warning: implicit declaration of function 'add_choice'; did you mean 'MAXchoices'? [-Wimplicit-function-declaration] nchoices += add_choice(&choices[nchoices], nodes_so_far, segs1[s1-1][s2], ^~~~~~~~~~ MAXchoices --- findpaths.o --- findpaths.c:1229:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif 1==0 ^ findpaths.c:1240:1: warning: return type defaults to 'int' [-Wimplicit-int] find_hole_meshes(indsys) ^~~~~~~~~~~~~~~~ findpaths.c: In function 'find_hole_meshes': findpaths.c:1273:10: warning: implicit declaration of function 'is_hole' [-Wimplicit-function-declaration] if (is_hole(tnode) && !is_node_marked(tnode)) { ^~~~~~~ --- addgroundplane.o --- addgroundplane.c:707:3: warning: implicit declaration of function 'sort_choices'; did you mean 'MAXchoices'? [-Wimplicit-function-declaration] sort_choices(choices, nchoices); ^~~~~~~~~~~~ MAXchoices addgroundplane.c:716:7: warning: implicit declaration of function 'increment_usage' [-Wimplicit-function-declaration] increment_usage(choices[i].seg); ^~~~~~~~~~~~~~~ --- findpaths.o --- findpaths.c:1284:5: warning: implicit declaration of function 'clear_marks_and_level' [-Wimplicit-function-declaration] clear_marks_and_level(surrounding_nodes); ^~~~~~~~~~~~~~~~~~~~~ --- addgroundplane.o --- addgroundplane.c: At top level: addgroundplane.c:741:1: warning: return type defaults to 'int' [-Wimplicit-int] sort_choices(choices, num) ^~~~~~~~~~~~ addgroundplane.c:757:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_marks(indsys) ^~~~~~~~~~~ addgroundplane.c:770:1: warning: return type defaults to 'int' [-Wimplicit-int] increment_usage(seg) ^~~~~~~~~~~~~~~ addgroundplane.c:776:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_mesh_coords(indsys) ^~~~~~~~~~~~~~~~ --- findpaths.o --- findpaths.c:1287:5: warning: implicit declaration of function 'make_gp_trees'; did you mean 'make_trees'? [-Wimplicit-function-declaration] make_gp_trees(surrounding_nodes, atree); ^~~~~~~~~~~~~ make_trees --- addgroundplane.o --- addgroundplane.c: In function 'dump_mesh_coords': addgroundplane.c:787:3: warning: implicit declaration of function 'concat4'; did you mean 'copypath'? [-Wimplicit-function-declaration] concat4(outfname,"meshes",indsys->opts->suffix,".mat"); ^~~~~~~ copypath addgroundplane.c: At top level: addgroundplane.c:834:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_ascii_mesh_coords(indsys) ^~~~~~~~~~~~~~~~~~~~~~ --- findpaths.o --- findpaths.c:1297:5: warning: implicit declaration of function 'mark_used_segs'; did you mean 'mark_seg'? [-Wimplicit-function-declaration] mark_used_segs(atree->loops); ^~~~~~~~~~~~~~ mark_seg findpaths.c: At top level: findpaths.c:1345:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_marks_and_level(nlist) ^~~~~~~~~~~~~~~~~~~~~ findpaths.c:1359:1: warning: return type defaults to 'int' [-Wimplicit-int] make_gp_trees(nlist, atree) ^~~~~~~~~~~~~ --- addgroundplane.o --- addgroundplane.c: In function 'add_choice': addgroundplane.c:918:23: warning: implicit declaration of function 'is_orignode_in_list'; did you mean 'insert_in_list'? [-Wimplicit-function-declaration] if (seg != NULL && !is_orignode_in_list(node, nodes_so_far) ^~~~~~~~~~~~~~~~~~~ insert_in_list addgroundplane.c: At top level: --- findpaths.o --- findpaths.c: In function 'make_gp_trees': --- addgroundplane.o --- addgroundplane.c:948:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_plane_marks(plane) ^~~~~~~~~~~~~~~~~ --- findpaths.o --- findpaths.c:1411:3: warning: implicit declaration of function 'clear_used_segs' [-Wimplicit-function-declaration] clear_used_segs(atree->loops); ^~~~~~~~~~~~~~~ findpaths.c: At top level: findpaths.c:1529:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_used_segs(plist) ^~~~~~~~~~~~~~~ findpaths.c:1541:1: warning: return type defaults to 'int' [-Wimplicit-int] mark_used_segs(plist) ^~~~~~~~~~~~~~ --- fillM.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c fillM.c fillM.c: In function 'fillM': fillM.c:110:10: warning: implicit declaration of function 'is_nonuni_gp' [-Wimplicit-function-declaration] if (!is_nonuni_gp(plane)) ^~~~~~~~~~~~ fillM.c:111:15: warning: implicit declaration of function 'makeMlist'; did you mean 'makegrids'? [-Wimplicit-function-declaration] mesh += makeMlist(plane, &(Mlist[mesh]), &(m_info[mesh]),mesh); ^~~~~~~~~ makegrids fillM.c:113:15: warning: implicit declaration of function 'make_nonuni_Mlist'; did you mean 'make_contactlist'? [-Wimplicit-function-declaration] mesh += make_nonuni_Mlist(plane, &(Mlist[mesh])); ^~~~~~~~~~~~~~~~~ make_contactlist fillM.c: In function 'make_mesh_from_path': fillM.c:169:2: warning: implicit declaration of function 'add_to_external'; did you mean 'add_to_external_list'? [-Wimplicit-function-declaration] add_to_external(pseg, mesh, sign, indsys); ^~~~~~~~~~~~~~~ add_to_external_list fillM.c:171:9: warning: implicit declaration of function 'is_next_seg_in_gp' [-Wimplicit-function-declaration] while( is_next_seg_in_gp(selem, plusnode) == TRUE) { ^~~~~~~~~~~~~~~~~ fillM.c:240:7: warning: implicit declaration of function 'bad_seg_type' [-Wimplicit-function-declaration] bad_seg_type("make_mesh_from_path", selem->seg); ^~~~~~~~~~~~ fillM.c: At top level: fillM.c:263:1: warning: return type defaults to 'int' [-Wimplicit-int] is_next_seg_in_gp(selem,plusnode) ^~~~~~~~~~~~~~~~~ fillM.c:332:1: warning: return type defaults to 'int' [-Wimplicit-int] bad_seg_type(name, seg) ^~~~~~~~~~~~ fillM.c:358:1: warning: return type defaults to 'int' [-Wimplicit-int] add_to_external(pseg, mesh, sign, indsys) ^~~~~~~~~~~~~~~ fillM.c:404:1: warning: return type defaults to 'int' [-Wimplicit-int] makeMlist(plane, pMlist, pm_info, mstart) ^~~~~~~~~ fillM.c:469:1: warning: return type defaults to 'int' [-Wimplicit-int] fill_b(ext, b) ^~~~~~ fillM.c:479:1: warning: return type defaults to 'int' [-Wimplicit-int] extractYcol(mat, x0, extcol, ext_list) ^~~~~~~~~~~ fillM.c: In function 'makegrids': fillM.c:583:10: warning: type defaults to 'int' in declaration of 'maxdir1' [-Wimplicit-int] static maxdir1 = 0, maxdir2 = 0; ^~~~~~~ fillM.c:583:23: warning: type defaults to 'int' in declaration of 'maxdir2' [-Wimplicit-int] static maxdir1 = 0, maxdir2 = 0; ^~~~~~~ fillM.c:680:7: warning: implicit declaration of function 'dump_nonuni_plane_currents' [-Wimplicit-function-declaration] dump_nonuni_plane_currents(p->nonuni, Ib, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~ fillM.c:720:7: warning: implicit declaration of function 'savecmplx' [-Wimplicit-function-declaration] savecmplx(fp, fname, out1, dir2, dir1); ^~~~~~~~~ --- cx_ludecomp.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c cx_ludecomp.c In file included from induct.h:43:0, from cx_ludecomp.c:41: cx_ludecomp.c: In function 'cx_ludecomp': mulGlobal.h:121:18: warning: implicit declaration of function 'sbrk'; did you mean 'cbrt'? [-Wimplicit-function-declaration] memcount/1024, sbrk(0)); \ ^ mulGlobal.h:215:8: note: in expansion of macro 'DUMPALLOCSIZ' DUMPALLOCSIZ; \ ^~~~~~~~~~~~ cx_ludecomp.c:54:5: note: in expansion of macro 'MALLOC' MALLOC(mat, size, CX*, ON, IND); ^~~~~~ --- parse_command_line.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c parse_command_line.c --- default_opts.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c default_opts.c --- parse_command_line.o --- parse_command_line.c: In function 'Parse_Command_Line': parse_command_line.c:73:3: warning: implicit declaration of function 'default_opts' [-Wimplicit-function-declaration] default_opts(opts); ^~~~~~~~~~~~ parse_command_line.c:78:7: warning: implicit declaration of function 'tolowercase' [-Wimplicit-function-declaration] tolowercase(opt_list->arg); ^~~~~~~~~~~ parse_command_line.c:105:11: warning: implicit declaration of function 'read_on_off' [-Wimplicit-function-declaration] if (read_on_off(opt_list->arg, &opts->precond) == FALSE) { ^~~~~~~~~~~ parse_command_line.c:196:7: warning: implicit declaration of function 'Describe_Usage' [-Wimplicit-function-declaration] Describe_Usage(argv[0]); /* also exits */ ^~~~~~~~~~~~~~ parse_command_line.c:288:7: warning: implicit declaration of function 'add_to_subset_of_columns' [-Wimplicit-function-declaration] add_to_subset_of_columns(opt_list->arg, opts); ^~~~~~~~~~~~~~~~~~~~~~~~ parse_command_line.c:339:3: warning: implicit declaration of function 'fix_and_print_opts' [-Wimplicit-function-declaration] fix_and_print_opts(opts); ^~~~~~~~~~~~~~~~~~ parse_command_line.c: In function 'gather_opts': parse_command_line.c:364:6: warning: implicit declaration of function 'is_in_optstring' [-Wimplicit-function-declaration] if (is_in_optstring(opt->op, optstring, &takearg)) { ^~~~~~~~~~~~~~~ parse_command_line.c:368:11: warning: implicit declaration of function 'checkarg' [-Wimplicit-function-declaration] if(checkarg(count+1, argc, argv) == BAD) { ^~~~~~~~ parse_command_line.c: At top level: parse_command_line.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] is_in_optstring(op, string, takearg) ^~~~~~~~~~~~~~~ parse_command_line.c:435:1: warning: return type defaults to 'int' [-Wimplicit-int] checkarg(index, argc, argv) ^~~~~~~~ parse_command_line.c:453:1: warning: return type defaults to 'int' [-Wimplicit-int] Describe_Usage(name) ^~~~~~~~~~~~~~ parse_command_line.c:531:1: warning: return type defaults to 'int' [-Wimplicit-int] read_on_off(str, on_off) ^~~~~~~~~~~ parse_command_line.c:542:1: warning: return type defaults to 'int' [-Wimplicit-int] add_to_subset_of_columns(str, opts) ^~~~~~~~~~~~~~~~~~~~~~~~ parse_command_line.c:559:1: warning: return type defaults to 'int' [-Wimplicit-int] fix_and_print_opts(opts) ^~~~~~~~~~~~~~~~~~ parse_command_line.c: In function 'fix_and_print_opts': parse_command_line.c:571:6: warning: implicit declaration of function 'gethostname'; did you mean 'get_a_name'? [-Wimplicit-function-declaration] if(gethostname(hostname, BUFSIZ) != -1) ^~~~~~~~~~~ get_a_name --- default_opts.o --- default_opts.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] default_opts(opts) ^~~~~~~~~~~~ --- Prec_cost.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c Prec_cost.c Prec_cost.c:100:1: warning: return type defaults to 'int' [-Wimplicit-int] is_gp_charge(chg) ^~~~~~~~~~~~ Prec_cost.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] add_to_counts(nc, cols, evals, cnts) ^~~~~~~~~~~~~ --- hole.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c hole.c hole.c:50:1: warning: return type defaults to 'int' [-Wimplicit-int] is_next_word(str, line) ^~~~~~~~~~~~ hole.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] is_hole(node) ^~~~~~~ hole.c: In function 'make_holelist': hole.c:126:5: warning: implicit declaration of function 'hole_error'; did you mean 'hole_circle'? [-Wimplicit-function-declaration] hole_error("Values for hole must start with '('",line,holep); ^~~~~~~~~~ hole_circle hole.c:132:27: warning: implicit declaration of function 'eos'; did you mean 'cos'? [-Wimplicit-function-declaration] while(*linep != ')' && !eos(*linep)) { ^~~ cos hole.c:134:30: warning: implicit declaration of function 'is_one_of' [-Wimplicit-function-declaration] while(isspace(*linep) || is_one_of(*linep, "1234567890.e+-")) ^~~~~~~~~ hole.c:155:16: warning: implicit declaration of function 'skipspace'; did you mean 'isspace'? [-Wimplicit-function-declaration] linep += skipspace(linep); ^~~~~~~~~ isspace hole.c: At top level: hole.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] skipspace(line) ^~~~~~~~~ hole.c:182:1: warning: return type defaults to 'int' [-Wimplicit-int] eos(chr) ^~~ hole.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] hole_error(errstr, line, holep) ^~~~~~~~~~ hole.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] is_one_of(letter, one_of) ^~~~~~~~~ hole.c:209:1: warning: return type defaults to 'int' [-Wimplicit-int] delete_node(node) ^~~~~~~~~~~ hole.c:216:1: warning: return type defaults to 'int' [-Wimplicit-int] make_holes(holep, gp) ^~~~~~~~~~ hole.c: In function 'make_holes': hole.c:226:5: warning: implicit declaration of function 'hole_rect'; did you mean 'hole_error'? [-Wimplicit-function-declaration] hole_rect(holep, gp, relx, rely, relz, units); ^~~~~~~~~ hole_error hole.c:230:5: warning: implicit declaration of function 'hole_point'; did you mean 'hole_error'? [-Wimplicit-function-declaration] hole_point(holep, gp, relx, rely, relz, units); ^~~~~~~~~~ hole_error hole.c:232:5: warning: implicit declaration of function 'hole_user1'; did you mean 'hole_error'? [-Wimplicit-function-declaration] hole_user1(holep, gp, relx, rely, relz, units); ^~~~~~~~~~ hole_error hole.c:234:5: warning: implicit declaration of function 'hole_user2'; did you mean 'hole_error'? [-Wimplicit-function-declaration] hole_user2(holep, gp, relx, rely, relz, units); ^~~~~~~~~~ hole_error hole.c:236:5: warning: implicit declaration of function 'hole_user3'; did you mean 'hole_error'? [-Wimplicit-function-declaration] hole_user3(holep, gp, relx, rely, relz, units); ^~~~~~~~~~ hole_error hole.c:238:5: warning: implicit declaration of function 'hole_user4'; did you mean 'hole_error'? [-Wimplicit-function-declaration] hole_user4(holep, gp, relx, rely, relz, units); ^~~~~~~~~~ hole_error hole.c:240:5: warning: implicit declaration of function 'hole_user5'; did you mean 'hole_error'? [-Wimplicit-function-declaration] hole_user5(holep, gp, relx, rely, relz, units); ^~~~~~~~~~ hole_error hole.c:242:5: warning: implicit declaration of function 'hole_user6'; did you mean 'hole_error'? [-Wimplicit-function-declaration] hole_user6(holep, gp, relx, rely, relz, units); ^~~~~~~~~~ hole_error hole.c:244:5: warning: implicit declaration of function 'hole_user7'; did you mean 'hole_error'? [-Wimplicit-function-declaration] hole_user7(holep, gp, relx, rely, relz, units); ^~~~~~~~~~ hole_error hole.c: At top level: hole.c:252:1: warning: return type defaults to 'int' [-Wimplicit-int] hole_point(holep, gp, relx, rely, relz, units) ^~~~~~~~~~ hole.c:272:1: warning: return type defaults to 'int' [-Wimplicit-int] hole_rect(holep, gp, relx, rely, relz, units) ^~~~~~~~~ hole.c:380:1: warning: return type defaults to 'int' [-Wimplicit-int] hole_user1(holep, gp, relx, rely, relz, units) ^~~~~~~~~~ hole.c:387:1: warning: return type defaults to 'int' [-Wimplicit-int] hole_user2(holep, gp, relx, rely, relz, units) ^~~~~~~~~~ hole.c:394:1: warning: return type defaults to 'int' [-Wimplicit-int] hole_user3(holep, gp, relx, rely, relz, units) ^~~~~~~~~~ hole.c:401:1: warning: return type defaults to 'int' [-Wimplicit-int] hole_user4(holep, gp, relx, rely, relz, units) ^~~~~~~~~~ hole.c:408:1: warning: return type defaults to 'int' [-Wimplicit-int] hole_user5(holep, gp, relx, rely, relz, units) ^~~~~~~~~~ hole.c:415:1: warning: return type defaults to 'int' [-Wimplicit-int] hole_user6(holep, gp, relx, rely, relz, units) ^~~~~~~~~~ hole.c:422:1: warning: return type defaults to 'int' [-Wimplicit-int] hole_user7(holep, gp, relx, rely, relz, units) ^~~~~~~~~~ --- dist_betw_fils.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c dist_betw_fils.c dist_betw_fils.c: In function 'dist_betw_fils': dist_betw_fils.c:71:3: warning: implicit declaration of function 'getD'; did you mean 'getw'? [-Wimplicit-function-declaration] getD(fil1, D1); ^~~~ getw dist_betw_fils.c:95:7: warning: implicit declaration of function 'getr'; did you mean 'getw'? [-Wimplicit-function-declaration] getr(&x1,&y1,&z1,s1,t1,D1); ^~~~ getw dist_betw_fils.c: At top level: dist_betw_fils.c:115:1: warning: return type defaults to 'int' [-Wimplicit-int] getD(fil, D) ^~~~ dist_betw_fils.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] getr(x,y,z,s,t,D) ^~~~ dist_betw_fils.c:242:1: warning: return type defaults to 'int' [-Wimplicit-int] fill_Gquad() ^~~~~~~~~~ dist_betw_fils.c: In function 'fill_Gquad': dist_betw_fils.c:259:5: warning: implicit declaration of function 'gquad_weights' [-Wimplicit-function-declaration] gquad_weights(i,Gpoint[i] - 1, Gweight[i] - 1); ^~~~~~~~~~~~~ dist_betw_fils.c: At top level: dist_betw_fils.c:262:1: warning: return type defaults to 'int' [-Wimplicit-int] findnfils(fil, subfils, nfils) ^~~~~~~~~ dist_betw_fils.c:343:1: warning: return type defaults to 'int' [-Wimplicit-int] gquad_weights(N,p,w) ^~~~~~~~~~~~~ --- mutual.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c mutual.c mutual.c: In function 'mutual': mutual.c:80:7: warning: implicit declaration of function 'print_infinity_warning' [-Wimplicit-function-declaration] print_infinity_warning(fil_j, fil_m); ^~~~~~~~~~~~~~~~~~~~~~ mutual.c:91:7: warning: implicit declaration of function 'get_wid'; did you mean 'getw'? [-Wimplicit-function-declaration] get_wid(fil_j, widj); ^~~~~~~ getw mutual.c:92:7: warning: implicit declaration of function 'get_height'; did you mean 'getrlimit'? [-Wimplicit-function-declaration] get_height(fil_j, widj, heightj); ^~~~~~~~~~ getrlimit --- newPrecond.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c newPrecond.c --- mutual.o --- mutual.c:103:21: warning: implicit declaration of function 'edges_parallel' [-Wimplicit-function-declaration] && edges_parallel(fil_j,fil_m,widj,&whperp); ^~~~~~~~~~~~~~ mutual.c:105:11: warning: implicit declaration of function 'lookup'; did you mean 'log1p'? [-Wimplicit-function-declaration] if (lookup(fil_j, fil_m, whperp, widj, heightj, ^~~~~~ log1p mutual.c: At top level: mutual.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] print_infinity_warning(fil1, fil2) ^~~~~~~~~~~~~~~~~~~~~~ mutual.c:183:1: warning: return type defaults to 'int' [-Wimplicit-int] findfourfils(fil, subfils) ^~~~~~~~~~~~ mutual.c: In function 'parallel_fils': mutual.c:569:11: warning: implicit declaration of function 'find_deg_dims' [-Wimplicit-function-declaration] deg_j = find_deg_dims(fil_j); ^~~~~~~~~~~~~ --- newPrecond.o --- newPrecond.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] choose_and_setup_precond(indsys) ^~~~~~~~~~~~~~~~~~~~~~~~ newPrecond.c: In function 'choose_and_setup_precond': newPrecond.c:90:5: warning: implicit declaration of function 'create_sparMatrix' [-Wimplicit-function-declaration] create_sparMatrix(indsys); ^~~~~~~~~~~~~~~~~ newPrecond.c: At top level: newPrecond.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] get_selfs(indsys) ^~~~~~~~~ newPrecond.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int] fill_spPre(sys, indsys, w) ^~~~~~~~~~ newPrecond.c: In function 'fill_spPre': newPrecond.c:131:5: warning: implicit declaration of function 'fill_diagL'; did you mean 'fill_spPre'? [-Wimplicit-function-declaration] fill_diagL(sys, indsys, w); ^~~~~~~~~~ fill_spPre newPrecond.c:161:5: warning: implicit declaration of function 'indPrecond' [-Wimplicit-function-declaration] indPrecond(sys, indsys, w); ^~~~~~~~~~ newPrecond.c:163:5: warning: implicit declaration of function 'fill_bySegment' [-Wimplicit-function-declaration] fill_bySegment(sys, indsys, w); ^~~~~~~~~~~~~~ newPrecond.c:170:5: warning: implicit declaration of function 'concat4'; did you mean 'copypath'? [-Wimplicit-function-declaration] concat4(outfname,"Pre",indsys->opts->suffix,".mat"); ^~~~~~~ copypath newPrecond.c: At top level: newPrecond.c:179:1: warning: return type defaults to 'int' [-Wimplicit-int] create_sparMatrix(indsys) ^~~~~~~~~~~~~~~~~ newPrecond.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] fill_bySegment(sys, indsys, w) ^~~~~~~~~~~~~~ newPrecond.c:338:1: warning: return type defaults to 'int' [-Wimplicit-int] fill_diagL(sys, indsys, w) ^~~~~~~~~~ newPrecond.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] fill_diagR(indsys) ^~~~~~~~~~ --- deg_mutual.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c deg_mutual.c --- barnoldi.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c barnoldi.c --- regurgitate.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c regurgitate.c --- deg_mutual.o --- deg_mutual.c: In function 'compute_for_degenerate': deg_mutual.c:76:5: warning: implicit declaration of function 'setup_tape_to_tape' [-Wimplicit-function-declaration] setup_tape_to_tape(fil_j,fil_m,whperp,x_j,y_j,deg_j,deg_m, ^~~~~~~~~~~~~~~~~~ deg_mutual.c: At top level: deg_mutual.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int] setup_tape_to_tape(fil_j, fil_m, whperp, x_j, y_j, deg_j, deg_m, ^~~~~~~~~~~~~~~~~~ deg_mutual.c: In function 'do_tape_to_brick': deg_mutual.c:148:5: warning: implicit declaration of function 'get_wid'; did you mean 'getw'? [-Wimplicit-function-declaration] get_wid(fil_m,wid_brick); ^~~~~~~ getw deg_mutual.c:149:5: warning: implicit declaration of function 'get_height'; did you mean 'getrlimit'? [-Wimplicit-function-declaration] get_height(fil_m,wid_brick,hei_brick); ^~~~~~~~~~ getrlimit --- barnoldi.o --- barnoldi.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] ArnoldiROM(B, C, D, P, size, numinp, numout, q_orig, ^~~~~~~~~~ barnoldi.c: In function 'ArnoldiROM': barnoldi.c:100:3: warning: implicit declaration of function 'ZeroMatrix'; did you mean 'spFileMatrix'? [-Wimplicit-function-declaration] ZeroMatrix(H, (q+1) * s, q*s); ^~~~~~~~~~ spFileMatrix barnoldi.c:112:3: warning: implicit declaration of function 'qr_P'; did you mean '__P'? [-Wimplicit-function-declaration] qr_P(B, V, R1, Z, size, s, 0, P); ^~~~ __P barnoldi.c: At top level: barnoldi.c:206:1: warning: return type defaults to 'int' [-Wimplicit-int] qr(Bmat, Qmat, Rmat, numlin, numcol, block) ^~ barnoldi.c:260:1: warning: return type defaults to 'int' [-Wimplicit-int] qr_P(Bmat, Qmat, Rmat, Z, numlin, numcol, block, P) ^~~~ barnoldi.c:318:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpROM(fp, Ar, Br, Cr, Dr, size, numinp, numout) ^~~~~~~ barnoldi.c:577:1: warning: return type defaults to 'int' [-Wimplicit-int] dumpROMbin(fp, A, B, C, D, size, numinp, numout) ^~~~~~~~~~ barnoldi.c:645:1: warning: return type defaults to 'int' [-Wimplicit-int] createMRMt(MRMt_Ptr, indsys) ^~~~~~~~~~ barnoldi.c:710:1: warning: return type defaults to 'int' [-Wimplicit-int] createMRMtinvMLMt(MRMtinvMLMt_Ptr, indsys, MRMt) ^~~~~~~~~~~~~~~~~ barnoldi.c:801:1: warning: return type defaults to 'int' [-Wimplicit-int] realComputePsi(Prod, sys, B, chglist, indsys, size, numRHS, initcol) ^~~~~~~~~~~~~~ barnoldi.c: In function 'realComputePsi': barnoldi.c:865:7: warning: implicit declaration of function 'computePsi'; did you mean 'realComputePsi'? [-Wimplicit-function-declaration] computePsi(sys, q, p, branches, chglist); ^~~~~~~~~~ realComputePsi barnoldi.c:886:5: warning: implicit declaration of function 'mulDirect'; did you mean 'mut_rect'? [-Wimplicit-function-declaration] mulDirect(sys); ^~~~~~~~~ mut_rect barnoldi.c:887:5: warning: implicit declaration of function 'mulEval'; did you mean 'mutual'? [-Wimplicit-function-declaration] mulEval(sys); ^~~~~~~ mutual barnoldi.c: At top level: barnoldi.c:938:1: warning: return type defaults to 'int' [-Wimplicit-int] realMatVect(Prod, sys, B, chglist, indsys, size, numRHS, initcol) ^~~~~~~~~~~ barnoldi.c:983:1: warning: return type defaults to 'int' [-Wimplicit-int] printRowCol(mat, rowcol, rownum, colnum, size) ^~~~~~~~~~~ barnoldi.c: In function 'printRowCol': barnoldi.c:983:1: warning: type of 'size' defaults to 'int' [-Wimplicit-int] barnoldi.c: At top level: barnoldi.c:1022:1: warning: return type defaults to 'int' [-Wimplicit-int] formMLMt(indsys) ^~~~~~~~ barnoldi.c:1076:1: warning: return type defaults to 'int' [-Wimplicit-int] ZeroMatrix(A, rows, cols) ^~~~~~~~~~ --- regurgitate.o --- regurgitate.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] regurgitate(indsys) ^~~~~~~~~~~ regurgitate.c: In function 'regurgitate': regurgitate.c:48:3: warning: implicit declaration of function 'spit'; did you mean 'sqrt'? [-Wimplicit-function-declaration] spit(indsys, do_nothing, ""); ^~~~ sqrt regurgitate.c:56:3: warning: implicit declaration of function 'do_end_stuff' [-Wimplicit-function-declaration] do_end_stuff(indsys); ^~~~~~~~~~~~ regurgitate.c: At top level: regurgitate.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] do_end_stuff(indsys) ^~~~~~~~~~~~ regurgitate.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int] set_translate(x, y, z) ^~~~~~~~~~~~~ regurgitate.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] spit(indsys, new_coords, suffix) ^~~~ regurgitate.c: In function 'spit': regurgitate.c:174:9: warning: implicit declaration of function 'is_nonuni_gp' [-Wimplicit-function-declaration] if (is_nonuni_gp(gp)) { ^~~~~~~~~~~~ regurgitate.c:222:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(ext->portname,"") != 0) ^~~~~~ --- mulGlobal.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c mulGlobal.c --- mulDo.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c mulDo.c --- mulMulti.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c mulMulti.c --- mulDo.o --- mulDo.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] mulDirect(sys) ^~~~~~~~~ mulDo.c:96:1: warning: return type defaults to 'int' [-Wimplicit-int] mulPrecond(sys, type) ^~~~~~~~~~ mulDo.c: In function 'mulPrecond': mulDo.c:106:7: warning: implicit declaration of function 'solve' [-Wimplicit-function-declaration] solve(nc->precond, nc->prevectq, nc->prevectq, nc->presize); ^~~~~ --- mulMulti.o --- mulMulti.c: In function 'multerms': mulMulti.c:56:10: warning: implicit declaration of function 'costerms'; did you mean 'multerms'? [-Wimplicit-function-declaration] return(costerms(order) + sinterms(order)); ^~~~~~~~ multerms mulMulti.c:56:28: warning: implicit declaration of function 'sinterms'; did you mean 'multerms'? [-Wimplicit-function-declaration] return(costerms(order) + sinterms(order)); ^~~~~~~~ multerms In file included from mulMulti.c:37:0: mulMulti.c: In function 'mulMultiAlloc': 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; \ ^~~~~~~~~~~~ mulMulti.c:235:5: note: in expansion of macro 'CALLOC' CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ ^~~~~~ --- mulLocal.o --- --- mulMulti.o --- mulMulti.c:289:3: warning: implicit declaration of function 'evalFacFra'; did you mean 'evalFactFac'? [-Wimplicit-function-declaration] evalFacFra(facFrA, order); ^~~~~~~~~~ evalFactFac --- mulLocal.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c mulLocal.c mulLocal.c: In function 'mulMulti2Local': mulLocal.c:152:15: warning: implicit declaration of function 'multerms'; did you mean 'mktemp'? [-Wimplicit-function-declaration] int terms = multerms(order); /* the number of non-zero moments */ ^~~~~~~~ mktemp mulLocal.c:153:12: warning: implicit declaration of function 'costerms'; did you mean 'cuserid'? [-Wimplicit-function-declaration] int ct = costerms(order); /* the number of non-zero cos (bar) moments */ ^~~~~~~~ cuserid In file included from mulLocal.c:37:0: 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; \ ^~~~~~~~~~~~ mulLocal.c:163:3: note: in expansion of macro 'CALLOC' CALLOC(mat, terms, double*, ON, AM2L); ^~~~~~ mulLocal.c:168:3: warning: implicit declaration of function 'xyz2sphere' [-Wimplicit-function-declaration] xyz2sphere(x, y, z, xp, yp, zp, &rho, &cosA, &beta); ^~~~~~~~~~ mulLocal.c:171:3: warning: implicit declaration of function 'evalLegendre' [-Wimplicit-function-declaration] evalLegendre(cosA, tleg, 2*order); /* multi->loc needs 2x legendres */ ^~~~~~~~~~~~ --- mulMats.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c mulMats.c mulMats.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] mulMatDirect(sys) ^~~~~~~~~~~~ In file included from mulMats.c:37:0: mulMats.c: In function 'mulMatDirect': 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; \ ^~~~~~~~~~~~ mulMats.c:77:7: note: in expansion of macro 'CALLOC' CALLOC(nextc->directq, nummats, double*, ON, AMSC); ^~~~~~ mulMats.c: At top level: mulMats.c:183:1: warning: return type defaults to 'int' [-Wimplicit-int] bdmulMatPrecond(sys) ^~~~~~~~~~~~~~~ mulMats.c:288:1: warning: return type defaults to 'int' [-Wimplicit-int] olmulMatPrecond(sys) ^~~~~~~~~~~~~~~ mulMats.c: In function 'olmulMatPrecond': mulMats.c:352:2: warning: implicit declaration of function 'find_flux_density_row' [-Wimplicit-function-declaration] find_flux_density_row(mat, nc->directmats[0], i, nsize, nsize, 0, 0, ^~~~~~~~~~~~~~~~~~~~~ mulMats.c:457:15: warning: implicit declaration of function 'compressMat' [-Wimplicit-function-declaration] nnnsize = compressMat(mat, offset, is_dummy, BOTH); ^~~~~~~~~~~ mulMats.c:462:5: warning: implicit declaration of function 'invert' [-Wimplicit-function-declaration] invert(mat, nnnsize, NULL); ^~~~~~ mulMats.c:463:5: warning: implicit declaration of function 'expandMat' [-Wimplicit-function-declaration] expandMat(mat, offset, nnnsize, is_dummy, BOTH); ^~~~~~~~~ mulMats.c: At top level: mulMats.c:511:1: warning: return type defaults to 'int' [-Wimplicit-int] find_flux_density_row(to_mat, from_mat, eval_row, n_chg, n_eval, row_offset, ^~~~~~~~~~~~~~~~~~~~~ mulMats.c: In function 'mulMatUp': mulMats.c:731:14: warning: implicit declaration of function 'multerms'; did you mean 'mktemp'? [-Wimplicit-function-declaration] numterms = multerms(order); ^~~~~~~~ mktemp mulMats.c: At top level: mulMats.c:1027:1: warning: return type defaults to 'int' [-Wimplicit-int] mulMatDown(sys) ^~~~~~~~~~ --- direct.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c direct.c In file included from direct.c:37:0: direct.c: In function 'Q2PDiag': 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; \ ^~~~~~~~~~~~ direct.c:49:3: note: in expansion of macro 'CALLOC' CALLOC(mat, numchgs, double*, ON, AQ2PD); ^~~~~~ direct.c: At top level: direct.c:392:1: warning: return type defaults to 'int' [-Wimplicit-int] matcheck(mat, rows, size) ^~~~~~~~ direct.c:417:1: warning: return type defaults to 'int' [-Wimplicit-int] matlabDump(mat, size, name) ^~~~~~~~~~ --- uglieralloc.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c uglieralloc.c uglieralloc.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] fill_it(mem, k, nbytes) ^~~~~~~ --- capsolve.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c capsolve.c --- find_nonuni_path.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c find_nonuni_path.c --- capsolve.o --- capsolve.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] computePsi(sys, q, p, size, chglist) ^~~~~~~~~~ capsolve.c: In function 'computePsi': capsolve.c:102:3: warning: implicit declaration of function 'mulEval' [-Wimplicit-function-declaration] mulEval(sys); /* evaluate either locals or multis or both */ ^~~~~~~ --- read_tree.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c read_tree.c --- find_nonuni_path.o --- In file included from find_nonuni_path.c:35:0: find_nonuni_path.c: In function 'path_through_nonuni_gp': gp.h:308:94: warning: implicit declaration of function 'debug_func' [-Wimplicit-function-declaration] #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } ^ find_nonuni_path.c:49:5: note: in expansion of macro 'GP_PANIC' GP_PANIC("path_through_nonuni_gp: nodein->gp_node == NULL!"); ^~~~~~~~ find_nonuni_path.c:67:3: warning: implicit declaration of function 'clear_nonuni_marks'; did you mean 'get_a_nonuni_path'? [-Wimplicit-function-declaration] clear_nonuni_marks(gp->nodelist); ^~~~~~~~~~~~~~~~~~ get_a_nonuni_path find_nonuni_path.c: At top level: find_nonuni_path.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_nonuni_marks(node) ^~~~~~~~~~~~~~~~~~ find_nonuni_path.c: In function 'find_nearest_nonuni_node': find_nonuni_path.c:97:3: warning: implicit declaration of function 'get_nonuni_coords'; did you mean 'add_nonuni_choice'? [-Wimplicit-function-declaration] get_nonuni_coords(xg, yg, zg, gp, &x, &y, &z); ^~~~~~~~~~~~~~~~~ add_nonuni_choice find_nonuni_path.c:102:8: warning: implicit declaration of function 'is_in_cell'; did you mean 'cut_cell'? [-Wimplicit-function-declaration] if (!is_in_cell(x,y,nearest)) ^~~~~~~~~~ cut_cell --- contact.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR -c contact.c --- find_nonuni_path.o --- find_nonuni_path.c: In function 'get_a_nonuni_path': find_nonuni_path.c:162:3: warning: implicit declaration of function 'sort_nonuni_choices'; did you mean 'add_nonuni_choice'? [-Wimplicit-function-declaration] sort_nonuni_choices(choices, nchoices); ^~~~~~~~~~~~~~~~~~~ add_nonuni_choice find_nonuni_path.c: At top level: find_nonuni_path.c:198:1: warning: return type defaults to 'int' [-Wimplicit-int] sort_nonuni_choices(choices, num) ^~~~~~~~~~~~~~~~~~~ find_nonuni_path.c: In function 'add_nonuni_choice': find_nonuni_path.c:237:24: warning: implicit declaration of function 'is_ptr_in_list'; did you mean 'insert_in_list'? [-Wimplicit-function-declaration] if (segs != NULL && !is_ptr_in_list((void *)node, nodes_so_far) ^~~~~~~~~~~~~~ insert_in_list find_nonuni_path.c: At top level: find_nonuni_path.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] is_ptr_in_list(ptr, list) ^~~~~~~~~~~~~~ find_nonuni_path.c:349:1: warning: return type defaults to 'int' [-Wimplicit-int] is_in_cell(x, y, cell) ^~~~~~~~~~ find_nonuni_path.c: In function 'make_nonuni_Mlist': find_nonuni_path.c:478:3: warning: implicit declaration of function 'make_children_meshes'; did you mean 'get_children_type'? [-Wimplicit-function-declaration] make_children_meshes(plane->nonuni->root_cell, pMlist, &counter); ^~~~~~~~~~~~~~~~~~~~ get_children_type find_nonuni_path.c: At top level: find_nonuni_path.c:492:1: warning: return type defaults to 'int' [-Wimplicit-int] make_children_meshes(cell, pMlist, pcount) ^~~~~~~~~~~~~~~~~~~~ find_nonuni_path.c: In function 'make_children_meshes': find_nonuni_path.c:499:16: warning: implicit declaration of function 'make_leaf_mesh'; did you mean 'make_melement'? [-Wimplicit-function-declaration] *pcount += make_leaf_mesh(cell, &(pMlist[*pcount])); ^~~~~~~~~~~~~~ make_melement find_nonuni_path.c:506:5: warning: implicit declaration of function 'make_grid_children_meshes'; did you mean 'make_children_meshes'? [-Wimplicit-function-declaration] make_grid_children_meshes( (Grid_2d *)cell->children, pMlist, pcount); ^~~~~~~~~~~~~~~~~~~~~~~~~ make_children_meshes find_nonuni_path.c: At top level: find_nonuni_path.c:514:1: warning: return type defaults to 'int' [-Wimplicit-int] make_grid_children_meshes( grid, pMlist, pcount) ^~~~~~~~~~~~~~~~~~~~~~~~~ find_nonuni_path.c:526:1: warning: return type defaults to 'int' [-Wimplicit-int] make_leaf_mesh(cell, pMlist) ^~~~~~~~~~~~~~ find_nonuni_path.c: In function 'get_nodes_inside_rect': find_nonuni_path.c:691:7: warning: implicit declaration of function 'intersection'; did you mean '__section'? [-Wimplicit-function-declaration] if (intersection(x0,y0,x1,y1,cell->x0,cell->y0,cell->x1,cell->y1) == FALSE) ^~~~~~~~~~~~ __section find_nonuni_path.c: In function 'grid_get_nodes_inside_rect': find_nonuni_path.c:761:3: warning: implicit declaration of function 'get_grid_indices' [-Wimplicit-function-declaration] get_grid_indices(cell, x0, y1, &row_start, &col_start); /* top left */ ^~~~~~~~~~~~~~~~ find_nonuni_path.c: At top level: find_nonuni_path.c:782:1: warning: return type defaults to 'int' [-Wimplicit-int] get_grid_indices(cell, x, y, pi, pj) ^~~~~~~~~~~~~~~~ find_nonuni_path.c:812:1: warning: return type defaults to 'int' [-Wimplicit-int] intersection(x0,y0,x1,y1,cx0,cy0,cx1,cy1) ^~~~~~~~~~~~ find_nonuni_path.c:865:1: warning: return type defaults to 'int' [-Wimplicit-int] free_Llist(list) ^~~~~~~~~~ --- read_tree.o --- read_tree.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] process_plane(grndp, fp, indsys) ^~~~~~~~~~~~~ read_tree.c: In function 'process_plane': read_tree.c:69:9: warning: implicit declaration of function 'readTree' [-Wimplicit-function-declaration] if (readTree(fp, gp) != 0) ^~~~~~~~ read_tree.c:87:3: warning: implicit declaration of function 'set_gp_coord_system' [-Wimplicit-function-declaration] set_gp_coord_system(grndp, gp); ^~~~~~~~~~~~~~~~~~~ read_tree.c:97:3: warning: implicit declaration of function 'process_tree'; did you mean 'process_plane'? [-Wimplicit-function-declaration] process_tree(gp); ^~~~~~~~~~~~ process_plane read_tree.c:104:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp("initial",contactp->func,7) == 0) { ^~~~~~~ read_tree.c:105:7: warning: implicit declaration of function 'make_contacts'; did you mean 'make_contactlist'? [-Wimplicit-function-declaration] make_contacts(contactp, gp); ^~~~~~~~~~~~~ make_contactlist read_tree.c:133:3: warning: implicit declaration of function 'generate_segs' [-Wimplicit-function-declaration] generate_segs(gp, indsys); ^~~~~~~~~~~~~ read_tree.c: At top level: read_tree.c:145:1: warning: return type defaults to 'int' [-Wimplicit-int] set_gp_coord_system(grndp, gp) ^~~~~~~~~~~~~~~~~~~ In file included from read_tree.c:39:0: read_tree.c: In function 'set_gp_coord_system': gp.h:308:94: warning: implicit declaration of function 'debug_func' [-Wimplicit-function-declaration] #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } ^ read_tree.c:177:5: note: in expansion of macro 'GP_PANIC' GP_PANIC("How can nonuni magx and length1 be different?"); ^~~~~~~~ read_tree.c:180:3: warning: implicit declaration of function 'set_cell_coords'; did you mean 'edge_coord'? [-Wimplicit-function-declaration] set_cell_coords(gp->root_cell, 0.0, 0.0, magx, magy); ^~~~~~~~~~~~~~~ edge_coord read_tree.c: At top level: read_tree.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] get_nonuni_coords(x, y, z, gp, xr, yr, zr) ^~~~~~~~~~~~~~~~~ read_tree.c:213:1: warning: return type defaults to 'int' [-Wimplicit-int] get_global_coords(x, y, z, gp, xg, yg, zg) ^~~~~~~~~~~~~~~~~ read_tree.c: In function 'get_global_coords': read_tree.c:220:3: warning: implicit declaration of function 'get_global_vec'; did you mean 'get_global_coords'? [-Wimplicit-function-declaration] get_global_vec(x, y, z, gp, &xv, &yv, &zv); ^~~~~~~~~~~~~~ get_global_coords read_tree.c: At top level: read_tree.c:229:1: warning: return type defaults to 'int' [-Wimplicit-int] get_global_vec(x, y, z, gp, xg, yg, zg) ^~~~~~~~~~~~~~ read_tree.c: In function 'readTree': read_tree.c:291:43: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (numread != 5 && !(numread == 2 && strcmp(typename,"NONE") == 0)) { ^~~~~~ read_tree.c: At top level: read_tree.c:373:1: warning: return type defaults to 'int' [-Wimplicit-int] set_cell_coords(cell,x0,y0,x1,y1) ^~~~~~~~~~~~~~~ read_tree.c: In function 'set_cell_coords': read_tree.c:386:5: warning: implicit declaration of function 'set_bi_coords'; did you mean 'set_cell_coords'? [-Wimplicit-function-declaration] set_bi_coords( (Bi *)cell->children, x0, y0, x1, y1 ); ^~~~~~~~~~~~~ set_cell_coords read_tree.c:389:5: warning: implicit declaration of function 'set_grid_coords'; did you mean 'set_cell_coords'? [-Wimplicit-function-declaration] set_grid_coords( (Grid_2d *)cell->children, x0, y0, x1, y1); ^~~~~~~~~~~~~~~ set_cell_coords read_tree.c: At top level: read_tree.c:398:1: warning: return type defaults to 'int' [-Wimplicit-int] set_bi_coords( two_kids, x0, y0, x1, y1) ^~~~~~~~~~~~~ read_tree.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] set_grid_coords(grid, x0, y0, x1, y1) ^~~~~~~~~~~~~~~ read_tree.c:439:1: warning: return type defaults to 'int' [-Wimplicit-int] process_tree(gp) ^~~~~~~~~~~~ read_tree.c: In function 'process_tree': read_tree.c:448:3: warning: implicit declaration of function 'resolve_nodes'; did you mean 'replace_node'? [-Wimplicit-function-declaration] resolve_nodes(gp->root_cell, &info); ^~~~~~~~~~~~~ replace_node read_tree.c:460:3: warning: implicit declaration of function 'delete_dead_nodes' [-Wimplicit-function-declaration] delete_dead_nodes(gp); ^~~~~~~~~~~~~~~~~ read_tree.c:467:3: warning: implicit declaration of function 'determine_adjaceny' [-Wimplicit-function-declaration] determine_adjaceny(gp->nodelist); ^~~~~~~~~~~~~~~~~~ read_tree.c: At top level: read_tree.c:480:1: warning: return type defaults to 'int' [-Wimplicit-int] resolve_nodes(cell, info) ^~~~~~~~~~~~~ --- contact.o --- contact.c: In function 'make_contactlist': contact.c:120:5: warning: implicit declaration of function 'contact_error' [-Wimplicit-function-declaration] contact_error("Values for contact must start with '('",line,contactp); ^~~~~~~~~~~~~ --- read_tree.o --- read_tree.c: In function 'resolve_nodes': read_tree.c:488:5: warning: implicit declaration of function 'make_nodes'; did you mean 'makegrids'? [-Wimplicit-function-declaration] make_nodes(cell, info); ^~~~~~~~~~ makegrids --- contact.o --- contact.c:126:27: warning: implicit declaration of function 'eos'; did you mean 'cos'? [-Wimplicit-function-declaration] while(*linep != ')' && !eos(*linep)) { ^~~ cos contact.c:128:30: warning: implicit declaration of function 'is_one_of'; did you mean 'is_leaf'? [-Wimplicit-function-declaration] while(isspace(*linep) || is_one_of(*linep, "1234567890.e+-")) ^~~~~~~~~ is_leaf contact.c:149:16: warning: implicit declaration of function 'skipspace'; did you mean 'isspace'? [-Wimplicit-function-declaration] linep += skipspace(linep); ^~~~~~~~~ isspace contact.c: At top level: contact.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] contact_error(errstr, line, contactp) ^~~~~~~~~~~~~ contact.c:176:1: warning: return type defaults to 'int' [-Wimplicit-int] contact_error2(errstr, line, nametype) ^~~~~~~~~~~~~~ contact.c:187:1: warning: return type defaults to 'int' [-Wimplicit-int] contact_warning(errstr, contactp) ^~~~~~~~~~~~~~~ --- read_tree.o --- read_tree.c:493:5: warning: implicit declaration of function 'resolve_bi_children'; did you mean 'resolve_nodes'? [-Wimplicit-function-declaration] resolve_bi_children(cell, info); ^~~~~~~~~~~~~~~~~~~ resolve_nodes read_tree.c: At top level: read_tree.c:508:1: warning: return type defaults to 'int' [-Wimplicit-int] make_nodes(cell, info) ^~~~~~~~~~ read_tree.c:570:1: warning: return type defaults to 'int' [-Wimplicit-int] resolve_bi_children(cell, info) ^~~~~~~~~~~~~~~~~~~ read_tree.c: In function 'resolve_bi_children': read_tree.c:601:5: warning: implicit declaration of function 'Combine_edges' [-Wimplicit-function-declaration] Combine_edges(two_kids->child1, SOUTH, two_kids->child2, NORTH); ^~~~~~~~~~~~~ --- contact.o --- contact.c: In function 'contact_warning': contact.c:193:3: warning: implicit declaration of function 'regurg_contact' [-Wimplicit-function-declaration] regurg_contact(stderr, contactp); ^~~~~~~~~~~~~~ contact.c: At top level: contact.c:196:1: warning: return type defaults to 'int' [-Wimplicit-int] regurg_contact(fp, contactp) ^~~~~~~~~~~~~~ --- read_tree.o --- read_tree.c: At top level: --- contact.o --- contact.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] make_contacts(contactp, gp) ^~~~~~~~~~~~~ --- read_tree.o --- read_tree.c:704:1: warning: return type defaults to 'int' [-Wimplicit-int] init_Gcell(cell) ^~~~~~~~~~ read_tree.c:784:1: warning: return type defaults to 'int' [-Wimplicit-int] Combine_edges(cell1, dir1, cell2, dir2) ^~~~~~~~~~~~~ --- contact.o --- contact.c: In function 'make_contacts': contact.c:221:5: warning: implicit declaration of function 'contact_rect'; did you mean 'contact_error'? [-Wimplicit-function-declaration] contact_rect(contactp, gp, relx, rely, relz, units); ^~~~~~~~~~~~ contact_error contact.c:223:5: warning: implicit declaration of function 'contact_line'; did you mean 'contact_warning'? [-Wimplicit-function-declaration] contact_line(contactp, gp, relx, rely, relz, units); ^~~~~~~~~~~~ contact_warning --- read_tree.o --- read_tree.c: In function 'Combine_edges': read_tree.c:799:5: warning: implicit declaration of function 'combine_node_info' [-Wimplicit-function-declaration] combine_node_info(cell1, dir1, cell2, dir2); ^~~~~~~~~~~~~~~~~ read_tree.c: At top level: read_tree.c:817:1: warning: return type defaults to 'int' [-Wimplicit-int] combine_node_info(cell1, dir1, cell2, dir2) ^~~~~~~~~~~~~~~~~ --- contact.o --- contact.c:225:5: warning: implicit declaration of function 'contact_point'; did you mean 'contact_warning'? [-Wimplicit-function-declaration] contact_point(contactp, gp, relx, rely, relz, units); ^~~~~~~~~~~~~ contact_warning contact.c:227:5: warning: implicit declaration of function 'contact_decay_rect'; did you mean 'contact_error2'? [-Wimplicit-function-declaration] contact_decay_rect(contactp, gp, relx, rely, relz, units); ^~~~~~~~~~~~~~~~~~ contact_error2 --- read_tree.o --- read_tree.c: In function 'combine_node_info': read_tree.c:845:3: warning: implicit declaration of function 'give_cell_adjaceny' [-Wimplicit-function-declaration] give_cell_adjaceny(leafcell, leafdir, nonleafcell, nonleafdir, ^~~~~~~~~~~~~~~~~~ read_tree.c:849:3: warning: implicit declaration of function 'combine_nodes'; did you mean 'Combine_edges'? [-Wimplicit-function-declaration] combine_nodes(leafcell, leafdir, fareast_north, farwest_south); ^~~~~~~~~~~~~ Combine_edges read_tree.c: At top level: read_tree.c:855:1: warning: return type defaults to 'int' [-Wimplicit-int] give_cell_adjaceny(leaf, leafdir, nonleaf, nonleafdir, ^~~~~~~~~~~~~~~~~~ read_tree.c:909:1: warning: return type defaults to 'int' [-Wimplicit-int] combine_nodes(leafcell, leafdir, fareast_north, farwest_south) ^~~~~~~~~~~~~ --- contact.o --- contact.c:229:5: warning: implicit declaration of function 'contact_equiv_rect'; did you mean 'make_equiv_rect'? [-Wimplicit-function-declaration] contact_equiv_rect(contactp, gp, relx, rely, relz, units); ^~~~~~~~~~~~~~~~~~ make_equiv_rect --- read_tree.o --- read_tree.c: In function 'replace_node': read_tree.c:967:3: warning: implicit declaration of function 'kill_node'; did you mean 'make_nodes'? [-Wimplicit-function-declaration] kill_node(old_node); ^~~~~~~~~ make_nodes read_tree.c: At top level: read_tree.c:970:1: warning: return type defaults to 'int' [-Wimplicit-int] kill_node(node) ^~~~~~~~~ read_tree.c:983:1: warning: return type defaults to 'int' [-Wimplicit-int] delete_first_node(gp) ^~~~~~~~~~~~~~~~~ read_tree.c: In function 'delete_first_node': read_tree.c:992:5: warning: implicit declaration of function 'free_g_node'; did you mean 'new_Gnode'? [-Wimplicit-function-declaration] free_g_node(node); ^~~~~~~~~~~ new_Gnode read_tree.c: At top level: read_tree.c:997:1: warning: return type defaults to 'int' [-Wimplicit-int] delete_dead_nodes(gp) ^~~~~~~~~~~~~~~~~ read_tree.c:1036:1: warning: return type defaults to 'int' [-Wimplicit-int] free_g_node(node) ^~~~~~~~~~~ read_tree.c:1042:1: warning: return type defaults to 'int' [-Wimplicit-int] determine_adjaceny(nodelist) ^~~~~~~~~~~~~~~~~~ --- contact.o --- contact.c:231:5: warning: implicit declaration of function 'contact_initial_grid'; did you mean 'contact_warning'? [-Wimplicit-function-declaration] contact_initial_grid(contactp, gp, relx, rely, relz, units); ^~~~~~~~~~~~~~~~~~~~ contact_warning --- read_tree.o --- read_tree.c:1190:1: warning: return type defaults to 'int' [-Wimplicit-int] generate_segs(gp, indsys) ^~~~~~~~~~~~~ read_tree.c: In function 'generate_segs': read_tree.c:1196:10: warning: type defaults to 'int' in declaration of 'complain' [-Wimplicit-int] static complain = 0; ^~~~~~~~ read_tree.c:1197:10: warning: type defaults to 'int' in declaration of 'complain2' [-Wimplicit-int] static complain2 = 0; ^~~~~~~~~ --- contact.o --- contact.c:233:5: warning: implicit declaration of function 'contact_initial_mesh_grid' [-Wimplicit-function-declaration] contact_initial_mesh_grid(contactp, gp, relx, rely, relz, units); ^~~~~~~~~~~~~~~~~~~~~~~~~ --- read_tree.o --- read_tree.c:1207:7: warning: implicit declaration of function 'get_width_and_shift' [-Wimplicit-function-declaration] get_width_and_shift(X_DIR, node, node->cells[NW], node->cells[NE], ^~~~~~~~~~~~~~~~~~~ read_tree.c:1211:9: warning: implicit declaration of function 'make_segs'; did you mean 'makeseg'? [-Wimplicit-function-declaration] make_segs(N, node, node->adjacent[N], x_width, x_shift, 0.0, gp, indsys); ^~~~~~~~~ makeseg --- contact.o --- contact.c:235:5: warning: implicit declaration of function 'contact_trace'; did you mean 'contact_error'? [-Wimplicit-function-declaration] contact_trace(contactp, gp, relx, rely, relz, units); ^~~~~~~~~~~~~ contact_error contact.c: At top level: contact.c:242:1: warning: return type defaults to 'int' [-Wimplicit-int] contact_point(contactp, gp, relx, rely, relz, units) ^~~~~~~~~~~~~ --- read_tree.o --- read_tree.c: At top level: read_tree.c:1245:1: warning: return type defaults to 'int' [-Wimplicit-int] get_width_and_shift(width_dir, node, leftcell, rightcell, ret_width, ^~~~~~~~~~~~~~~~~~~ --- contact.o --- contact.c: In function 'contact_point': contact.c:256:3: warning: implicit declaration of function 'get_nonuni_coords'; did you mean 'add_nonuni_choice'? [-Wimplicit-function-declaration] get_nonuni_coords(vals[0]*units + relx, vals[1]*units + rely, ^~~~~~~~~~~~~~~~~ add_nonuni_choice --- read_tree.o --- read_tree.c: In function 'get_width_and_shift': read_tree.c:1258:5: warning: implicit declaration of function 'get_x_cell_vals' [-Wimplicit-function-declaration] get_x_cell_vals(leftcell, node, rightcell, &x_min, &x_max); ^~~~~~~~~~~~~~~ --- contact.o --- contact.c:261:8: warning: implicit declaration of function 'is_in_cell'; did you mean 'isspace_l'? [-Wimplicit-function-declaration] if (!is_in_cell(xc,yc,contain)) ^~~~~~~~~~ isspace_l contact.c: At top level: contact.c:275:1: warning: return type defaults to 'int' [-Wimplicit-int] contact_line(contactp, gp, relx, rely, relz, units) ^~~~~~~~~~~~ --- read_tree.o --- read_tree.c:1263:5: warning: implicit declaration of function 'get_y_cell_vals' [-Wimplicit-function-declaration] get_y_cell_vals(leftcell, node, rightcell, &x_min, &x_max); ^~~~~~~~~~~~~~~ read_tree.c: At top level: read_tree.c:1279:1: warning: return type defaults to 'int' [-Wimplicit-int] get_x_cell_vals(left, node, right, x_left, x_right) ^~~~~~~~~~~~~~~ read_tree.c:1304:1: warning: return type defaults to 'int' [-Wimplicit-int] get_y_cell_vals(left, node, right, y_min, y_max) ^~~~~~~~~~~~~~~ read_tree.c:1328:1: warning: return type defaults to 'int' [-Wimplicit-int] make_segs(direction, node, othernode, width, x_shift, y_shift, gp, indsys) ^~~~~~~~~ --- contact.o --- contact.c: In function 'contact_line': contact.c:312:3: warning: implicit declaration of function 'walk_along_line' [-Wimplicit-function-declaration] walk_along_line(x0, y0, z0, x1, y1, z1, vals[6]*units, vals[7]*units, gp); ^~~~~~~~~~~~~~~ contact.c: At top level: contact.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] walk_along_line(x0, y0, z0, x1, y1, z1, max_x, max_y, gp) ^~~~~~~~~~~~~~~ --- read_tree.o --- read_tree.c:1425:1: warning: return type defaults to 'int' [-Wimplicit-int] draw_one_seg(direction, ^~~~~~~~~~~~ --- contact.o --- In file included from contact.c:37:0: contact.c: In function 'walk_along_line': gp.h:308:94: warning: implicit declaration of function 'debug_func' [-Wimplicit-function-declaration] #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } ^ contact.c:337:7: note: in expansion of macro 'GP_PANIC' GP_PANIC("walk_along_line: contain==NULL. line out of plane, probably"); ^~~~~~~~ contact.c: In function 'find_next_cell_along_line': --- read_tree.o --- read_tree.c:1583:1: warning: return type defaults to 'int' [-Wimplicit-int] print_cell_and_kids(cell) ^~~~~~~~~~~~~~~~~~~ --- contact.o --- contact.c:361:3: warning: implicit declaration of function 'get_new_x_y'; did you mean 'get_next_ext'? [-Wimplicit-function-declaration] get_new_x_y(x, y, xv, yv, cell, ret_x, ret_y, &node, &dir); ^~~~~~~~~~~ get_next_ext --- read_tree.o --- read_tree.c: In function 'print_cell_and_kids': read_tree.c:1583:1: warning: type of 'cell' defaults to 'int' [-Wimplicit-int] --- contact.o --- contact.c: At top level: contact.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] get_new_x_y(x,y,xv,yv, cell, ret_x, ret_y, pnode, dir) ^~~~~~~~~~~ --- read_tree.o --- read_tree.c:1585:3: warning: implicit declaration of function 'fprint_cell_and_kids'; did you mean 'print_cell_and_kids'? [-Wimplicit-function-declaration] fprint_cell_and_kids(cell, stdout); ^~~~~~~~~~~~~~~~~~~~ print_cell_and_kids read_tree.c: At top level: read_tree.c:1588:1: warning: return type defaults to 'int' [-Wimplicit-int] fprint_cell_and_kids(cell, fp) ^~~~~~~~~~~~~~~~~~~~ read_tree.c: In function 'fprint_cell_and_kids': read_tree.c:1592:3: warning: implicit declaration of function 'dump_cell'; did you mean 'cut_cell'? [-Wimplicit-function-declaration] dump_cell(cell, fp); ^~~~~~~~~ cut_cell --- contact.o --- contact.c: In function 'cut_cell': contact.c:513:7: warning: implicit declaration of function 'break_cell'; did you mean 'cut_cell'? [-Wimplicit-function-declaration] break_cell(cell, EW, gp); ^~~~~~~~~~ cut_cell contact.c: At top level: contact.c:526:1: warning: return type defaults to 'int' [-Wimplicit-int] break_cell(cell, dir, gp) ^~~~~~~~~~ contact.c: In function 'break_cell': contact.c:533:3: warning: implicit declaration of function 'make_two_kids'; did you mean 'make_two_edge'? [-Wimplicit-function-declaration] make_two_kids(cell, dir, gp); ^~~~~~~~~~~~~ make_two_edge --- read_tree.o --- read_tree.c:1598:5: warning: implicit declaration of function 'fprint_bi_kids'; did you mean 'fprintf_l'? [-Wimplicit-function-declaration] fprint_bi_kids( (Bi *)cell->children, fp); ^~~~~~~~~~~~~~ fprintf_l read_tree.c: At top level: read_tree.c:1609:1: warning: return type defaults to 'int' [-Wimplicit-int] fprint_bi_kids(two_kids, fp) ^~~~~~~~~~~~~~ read_tree.c:1617:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_cell(cell, fp) ^~~~~~~~~ --- contact.o --- contact.c:536:3: warning: implicit declaration of function 'set_cell_coords'; did you mean 'edge_coord'? [-Wimplicit-function-declaration] set_cell_coords(cell, cell->x0, cell->y0, cell->x1, cell->y1); ^~~~~~~~~~~~~~~ edge_coord --- read_tree.o --- read_tree.c: In function 'dump_cell': read_tree.c:1635:5: warning: implicit declaration of function 'print_bi_addresses'; did you mean 'fprint_bi_kids'? [-Wimplicit-function-declaration] print_bi_addresses( (Bi *)cell->children, fp); ^~~~~~~~~~~~~~~~~~ fprint_bi_kids read_tree.c: At top level: read_tree.c:1655:1: warning: return type defaults to 'int' [-Wimplicit-int] print_bi_addresses(two_kids, fp) ^~~~~~~~~~~~~~~~~~ read_tree.c:1662:1: warning: return type defaults to 'int' [-Wimplicit-int] print_node_list(node) ^~~~~~~~~~~~~~~ read_tree.c: In function 'print_node_list': read_tree.c:1662:1: warning: type of 'node' defaults to 'int' [-Wimplicit-int] --- contact.o --- contact.c:539:3: warning: implicit declaration of function 'update_bi_nodes' [-Wimplicit-function-declaration] update_bi_nodes(cell, gp); ^~~~~~~~~~~~~~~ --- read_tree.o --- read_tree.c:1664:3: warning: implicit declaration of function 'fprint_node_list'; did you mean 'print_node_list'? [-Wimplicit-function-declaration] fprint_node_list(node, stdout); ^~~~~~~~~~~~~~~~ print_node_list --- contact.o --- contact.c: At top level: contact.c:542:1: warning: return type defaults to 'int' [-Wimplicit-int] update_bi_nodes(cell, gp) ^~~~~~~~~~~~~~~ --- read_tree.o --- read_tree.c: At top level: read_tree.c:1667:1: warning: return type defaults to 'int' [-Wimplicit-int] fprint_node_list(node, fp) ^~~~~~~~~~~~~~~~ read_tree.c: In function 'fprint_node_list': read_tree.c:1672:5: warning: implicit declaration of function 'dump_node'; did you mean 'dump_cell'? [-Wimplicit-function-declaration] dump_node(node, fp); ^~~~~~~~~ dump_cell read_tree.c: At top level: read_tree.c:1677:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_node(node,fp) ^~~~~~~~~ read_tree.c:1702:1: warning: return type defaults to 'int' [-Wimplicit-int] debug_func() ^~~~~~~~~~ --- contact.o --- contact.c: In function 'update_bi_nodes': contact.c:570:5: warning: implicit declaration of function 'find_or_make_node'; did you mean 'find_mid_node'? [-Wimplicit-function-declaration] find_or_make_node(cell, c1, c2, SW, NW, c1->x0, c1->y0, gp); ^~~~~~~~~~~~~~~~~ find_mid_node --- read_tree.o --- read_tree.c: In function 'dump_leaf_cells_to_file': read_tree.c:1719:3: warning: implicit declaration of function 'dump_leaf_cells'; did you mean 'dump_cell'? [-Wimplicit-function-declaration] dump_leaf_cells(cell, fp); ^~~~~~~~~~~~~~~ dump_cell read_tree.c: At top level: read_tree.c:1723:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_leaf_cells(cell, fp) ^~~~~~~~~~~~~~~ read_tree.c: In function 'dump_leaf_cells': --- contact.o --- contact.c:597:3: warning: implicit declaration of function 'fix_node_cell_ptrs' [-Wimplicit-function-declaration] fix_node_cell_ptrs(c1); ^~~~~~~~~~~~~~~~~~ --- read_tree.o --- read_tree.c:1729:5: warning: implicit declaration of function 'print_leaf_cell'; did you mean 'dump_leaf_cells'? [-Wimplicit-function-declaration] print_leaf_cell(cell, fp); ^~~~~~~~~~~~~~~ dump_leaf_cells read_tree.c:1736:5: warning: implicit declaration of function 'dump_grid_leaf_cells'; did you mean 'dump_leaf_cells'? [-Wimplicit-function-declaration] dump_grid_leaf_cells( (Grid_2d *)cell->children, fp); ^~~~~~~~~~~~~~~~~~~~ dump_leaf_cells --- contact.o --- contact.c:599:3: warning: implicit declaration of function 'clear_edge_ptrs' [-Wimplicit-function-declaration] clear_edge_ptrs(cell); ^~~~~~~~~~~~~~~ --- read_tree.o --- read_tree.c: At top level: read_tree.c:1745:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_grid_leaf_cells( grid, fp ) ^~~~~~~~~~~~~~~~~~~~ --- contact.o --- contact.c: At top level: contact.c:603:1: warning: return type defaults to 'int' [-Wimplicit-int] clear_edge_ptrs(cell) ^~~~~~~~~~~~~~~ contact.c:613:1: warning: return type defaults to 'int' [-Wimplicit-int] fix_node_cell_ptrs(cell) ^~~~~~~~~~~~~~~~~~ --- read_tree.o --- read_tree.c:1756:1: warning: return type defaults to 'int' [-Wimplicit-int] print_leaf_cell(cell, fp) ^~~~~~~~~~~~~~~ read_tree.c:1765:1: warning: return type defaults to 'int' [-Wimplicit-int] dump_nonuni_plane_currents(gp, Ib, fp) ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- contact.o --- contact.c: In function 'fix_node_cell_ptrs': contact.c:625:3: warning: implicit declaration of function 'set_edge_nodes'; did you mean 'get_other_gnode'? [-Wimplicit-function-declaration] set_edge_nodes(corners[SW], corners[NW], N, NE, SE, cell); ^~~~~~~~~~~~~~ get_other_gnode contact.c: At top level: contact.c:633:1: warning: return type defaults to 'int' [-Wimplicit-int] set_edge_nodes(node1, node2, adj_dir, dir1, dir2, cell) ^~~~~~~~~~~~~~ contact.c:647:1: warning: return type defaults to 'int' [-Wimplicit-int] find_or_make_node(cell, kid1, kid2, node_start, node_end, x, y, gp) ^~~~~~~~~~~~~~~~~ contact.c: In function 'find_or_make_node': contact.c:687:5: warning: implicit declaration of function 'fix_adjacency' [-Wimplicit-function-declaration] fix_adjacency(cell->bndry.nodes[node_start], adj_dir, ^~~~~~~~~~~~~ contact.c: At top level: contact.c:692:1: warning: return type defaults to 'int' [-Wimplicit-int] fix_adjacency(begin_node, adj_dir, node, end_node) ^~~~~~~~~~~~~ contact.c:737:1: warning: return type defaults to 'int' [-Wimplicit-int] make_two_kids(cell, dir, gp) ^~~~~~~~~~~~~ contact.c:773:1: warning: return type defaults to 'int' [-Wimplicit-int] contact_rect(contactp, gp, relx, rely, relz, units) ^~~~~~~~~~~~ contact.c: In function 'contact_rect': contact.c:838:3: warning: implicit declaration of function 'cut_inside_rect' [-Wimplicit-function-declaration] cut_inside_rect(x0, y0, z0, rect_x_width, rect_y_width, max_cell_x, ^~~~~~~~~~~~~~~ contact.c: At top level: contact.c:849:1: warning: return type defaults to 'int' [-Wimplicit-int] cut_inside_rect(x, y, z, rect_x_width, rect_y_width, max_cell_x, max_cell_y, ^~~~~~~~~~~~~~~ contact.c:887:1: warning: return type defaults to 'int' [-Wimplicit-int] contact_decay_rect(contactp, gp, relx, rely, relz, units) ^~~~~~~~~~~~~~~~~~ contact.c: In function 'contact_decay_rect': contact.c:967:3: warning: implicit declaration of function 'do_decay_rect'; did you mean 'contact_decay_rect'? [-Wimplicit-function-declaration] do_decay_rect(x0, y0, z0, rect_x_width, rect_y_width, max_cell_x, ^~~~~~~~~~~~~ contact_decay_rect contact.c: At top level: contact.c:972:1: warning: return type defaults to 'int' [-Wimplicit-int] do_decay_rect(x, y, z, rect_x_width, rect_y_width, max_cell_x, max_cell_y, ^~~~~~~~~~~~~ contact.c: In function 'do_decay_rect': contact.c:990:3: warning: implicit declaration of function 'limit_box' [-Wimplicit-function-declaration] limit_box(x,y,rect_x_width, rect_y_width, x_min, x_max, y_min, y_max, ^~~~~~~~~ contact.c:1006:5: warning: implicit declaration of function 'compute_new_widths'; did you mean 'make_new_path'? [-Wimplicit-function-declaration] compute_new_widths(&rect_x_width, &rect_y_width, &max_cell_x, &max_cell_y); ^~~~~~~~~~~~~~~~~~ make_new_path contact.c: At top level: contact.c:1031:1: warning: return type defaults to 'int' [-Wimplicit-int] limit_box(x, y, x_wid, y_wid, xl_min, xr_max, yl_min, yr_max, xl, yl, xr, yr) ^~~~~~~~~ contact.c:1068:1: warning: return type defaults to 'int' [-Wimplicit-int] compute_new_widths(x_rect, y_rect, x_cell, y_cell) ^~~~~~~~~~~~~~~~~~ contact.c:1098:1: warning: return type defaults to 'int' [-Wimplicit-int] contact_equiv_rect(contactp, gp, relx, rely, relz, units) ^~~~~~~~~~~~~~~~~~ contact.c: In function 'make_equiv_rect': contact.c:1173:3: warning: implicit declaration of function 'get_global_coords' [-Wimplicit-function-declaration] get_global_coords(center->x, center->y, z0, gp, &xg, &yg, &zg); ^~~~~~~~~~~~~~~~~ contact.c:1195:3: warning: implicit declaration of function 'append_pnlist'; did you mean 'insert_in_list'? [-Wimplicit-function-declaration] append_pnlist(create_pn(name, cnode), indsys); ^~~~~~~~~~~~~ insert_in_list contact.c:1225:3: warning: implicit declaration of function 'free_Llist'; did you mean 'get_dist'? [-Wimplicit-function-declaration] free_Llist(inside_nodes); ^~~~~~~~~~ get_dist contact.c: At top level: contact.c:1245:1: warning: return type defaults to 'int' [-Wimplicit-int] walk_along_edge(xl, yb, xr, yt, gp, which_edge, cnode, name, z0) ^~~~~~~~~~~~~~~ contact.c: In function 'walk_along_edge': contact.c:1334:3: warning: implicit declaration of function 'equiv_nodes_on_edge'; did you mean 'which_nodes_inside'? [-Wimplicit-function-declaration] equiv_nodes_on_edge(cell->bndry.nodes[start_node], travel_dir, ^~~~~~~~~~~~~~~~~~~ which_nodes_inside contact.c: At top level: contact.c:1386:1: warning: return type defaults to 'int' [-Wimplicit-int] equiv_nodes_on_edge(node1, dir, node2, cnode, gp, name, z0) ^~~~~~~~~~~~~~~~~~~ contact.c:1464:1: warning: return type defaults to 'int' [-Wimplicit-int] contact_initial_grid(contactp, gp, relx, rely, relz, units) ^~~~~~~~~~~~~~~~~~~~ contact.c: In function 'contact_initial_grid': contact.c:1484:3: warning: implicit declaration of function 'make_initial_grid'; did you mean 'contact_initial_grid'? [-Wimplicit-function-declaration] make_initial_grid(gp, (int)vals[0], (int)vals[1]); ^~~~~~~~~~~~~~~~~ contact_initial_grid contact.c: At top level: contact.c:1487:1: warning: return type defaults to 'int' [-Wimplicit-int] make_initial_grid(gp, x_cells, y_cells) ^~~~~~~~~~~~~~~~~ contact.c: In function 'make_initial_grid': contact.c:1499:3: warning: implicit declaration of function 'make_grid_kids'; did you mean 'make_two_kids'? [-Wimplicit-function-declaration] make_grid_kids(root, x_cells, y_cells, gp); ^~~~~~~~~~~~~~ make_two_kids contact.c:1505:3: warning: implicit declaration of function 'update_grid_nodes'; did you mean 'update_bi_nodes'? [-Wimplicit-function-declaration] update_grid_nodes(root, gp); ^~~~~~~~~~~~~~~~~ update_bi_nodes contact.c: At top level: contact.c:1511:1: warning: return type defaults to 'int' [-Wimplicit-int] update_grid_nodes(cell, gp) ^~~~~~~~~~~~~~~~~ contact.c: In function 'update_grid_nodes': contact.c:1597:7: warning: implicit declaration of function 'set_node_and_cell_info'; did you mean 'fix_node_cell_ptrs'? [-Wimplicit-function-declaration] set_node_and_cell_info(nodeNW, NW, onekid); ^~~~~~~~~~~~~~~~~~~~~~ fix_node_cell_ptrs contact.c:1602:7: warning: implicit declaration of function 'set_cell_node_adjacency' [-Wimplicit-function-declaration] set_cell_node_adjacency(onekid); ^~~~~~~~~~~~~~~~~~~~~~~ contact.c: At top level: contact.c:1609:1: warning: return type defaults to 'int' [-Wimplicit-int] set_node_and_cell_info(node, dir, cell) ^~~~~~~~~~~~~~~~~~~~~~ contact.c:1619:1: warning: return type defaults to 'int' [-Wimplicit-int] set_cell_node_adjacency(cell) ^~~~~~~~~~~~~~~~~~~~~~~ contact.c: In function 'set_cell_node_adjacency': contact.c:1624:3: warning: implicit declaration of function 'point_at_each_other' [-Wimplicit-function-declaration] point_at_each_other(nodes[NE], S, nodes[SE]); ^~~~~~~~~~~~~~~~~~~ contact.c: At top level: contact.c:1631:1: warning: return type defaults to 'int' [-Wimplicit-int] point_at_each_other(node1, dir, node2) ^~~~~~~~~~~~~~~~~~~ contact.c:1669:1: warning: return type defaults to 'int' [-Wimplicit-int] make_grid_kids(parent, x_cells, y_cells, gp) ^~~~~~~~~~~~~~ contact.c:1709:1: warning: return type defaults to 'int' [-Wimplicit-int] contact_initial_mesh_grid(contactp, gp, relx, rely, relz, units) ^~~~~~~~~~~~~~~~~~~~~~~~~ contact.c: In function 'contact_initial_mesh_grid': contact.c:1731:3: warning: implicit declaration of function 'poke_holes'; did you mean 'make_holelist'? [-Wimplicit-function-declaration] poke_holes(gp); ^~~~~~~~~~ make_holelist contact.c: At top level: contact.c:1737:1: warning: return type defaults to 'int' [-Wimplicit-int] poke_holes(gp) ^~~~~~~~~~ contact.c:1918:1: warning: return type defaults to 'int' [-Wimplicit-int] contact_trace(contactp, gp, relx, rely, relz, units) ^~~~~~~~~~~~~ contact.c: In function 'contact_trace': contact.c:1955:3: warning: implicit declaration of function 'do_trace' [-Wimplicit-function-declaration] do_trace(x0, y0, z0, x1, y1, z1, vals[6]*units, vals[7], gp); ^~~~~~~~ contact.c: At top level: contact.c:1964:1: warning: return type defaults to 'int' [-Wimplicit-int] do_trace(x0, y0, z0, x1, y1, z1, width, factor, gp) ^~~~~~~~ --- fasthenry --- gcc -o fasthenry -O2 -fPIC -D_FORTIFY_SOURCE=2 -DFOUR induct.o gmres.o savemat_mod.o readGeom.o joelself.o writefastcap.o SetupMulti.o calcp.o SetupComputePsi.o mulSetup.o BreakupSeg.o Precond.o addgroundplane.o findpaths.o fillM.o cx_ludecomp.o parse_command_line.o default_opts.o Prec_cost.o hole.o dist_betw_fils.o mutual.o newPrecond.o deg_mutual.o barnoldi.o regurgitate.o mulGlobal.o mulDo.o mulMulti.o mulLocal.o mulMats.o direct.o uglieralloc.o capsolve.o find_nonuni_path.o read_tree.o contact.o sparse/sparse.a -Wl,-R/usr/pkg/lib -lm mv fasthenry ../../bin/fasthenry