+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/felt-3.05nb5/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/felt-3.05nb5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for felt-3.05nb5 --- all --- Making all in ./lib ... --- all --- Making all in ./lib/Elements ... --- all --- --- axisymm.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c axisymm.c --- beam.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c beam.c --- beam3d.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c beam3d.c --- brick.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c brick.c --- cst.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c cst.c --- ctg.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c ctg.c --- htk.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c htk.c --- iso_2d.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c iso_2d.c --- iso_quad.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c iso_quad.c --- misc.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c misc.c --- rod.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c rod.c --- spring.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c spring.c --- timoshenko.o --- --- truss.o --- --- timoshenko.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c timoshenko.c --- truss.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c truss.c --- libelt.a --- rm -f libelt.a ar cq libelt.a axisymm.o beam.o beam3d.o brick.o cst.o ctg.o htk.o iso_2d.o iso_quad.o misc.o rod.o spring.o timoshenko.o truss.o ranlib libelt.a Making all in ./lib/Felt ... --- Tree.o --- --- code.o --- --- Tree.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c Tree.c --- code.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c code.c --- Tree.o --- Tree.c:60:14: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 60 | extern char *malloc ( ); | ^~~~~~ Tree.c:30:1: note: 'malloc' is declared in header '' 29 | # include "Tree.h" +++ |+#include 30 | # define NIL (&sentinel) --- code.o --- code.c: In function 'DebugCode': code.c:579:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 579 | printf ("%x\t%s", (int) (pc ++), data [op].opcode); | ^ code.c:584:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 584 | printf ("\t%x\n", (int) (pc + x)); | ^ --- definition.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c definition.c definition.c: In function 'DefinitionCompare': definition.c:43:12: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 43 | return strcmp (((Definition) item1) -> name, ((Definition) item2) -> name); | ^~~~~~ definition.c:30:1: note: include '' or provide a declaration of 'strcmp' 29 | # include "definition.h" +++ |+#include 30 | --- detail.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c detail.c --- draw.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c draw.c --- fe.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c fe.c --- file.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c file.c --- fe.o --- In file included from fe.c:36: fe.c: In function 'SolveStaticLoadRange': ../../include/allocate.h:41:18: warning: 'free' called on pointer 'mask' with nonzero offset 4 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ fe.c:914:28: note: in expansion of macro 'Deallocate' 914 | ZeroOffset (mask); Deallocate (mask); | ^~~~~~~~~~ fe.c:881:15: note: returned from 'BuildConstraintMask' 881 | mask = BuildConstraintMask ( ); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from fe.c:36: fe.c: In function 'SolveStaticLoadCases': ../../include/allocate.h:41:18: warning: 'free' called on pointer 'mask' with nonzero offset 4 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ fe.c:851:28: note: in expansion of macro 'Deallocate' 851 | ZeroOffset (mask); Deallocate (mask); | ^~~~~~~~~~ fe.c:814:15: note: returned from 'BuildConstraintMask' 814 | mask = BuildConstraintMask ( ); | ^~~~~~~~~~~~~~~~~~~~~~~ --- initialize.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -c initialize.c --- modal.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c modal.c --- nonlinear.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c nonlinear.c --- objects.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c objects.c In file included from objects.c:32: objects.c: In function 'DestroyElement': ../../include/allocate.h:41:18: warning: 'free' called on pointer '**_4.values' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ objects.c:159:13: note: in expansion of macro 'Deallocate' 159 | Deallocate (element -> stress [i] -> values); | ^~~~~~~~~~ ../../include/allocate.h:41:18: warning: 'free' called on pointer '*element.node' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ objects.c:165:9: note: in expansion of macro 'Deallocate' 165 | Deallocate (element -> node); | ^~~~~~~~~~ --- problem.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -DLIBDIR=\"/usr/pkg/share/felt\" -DCPP=\"cpp\" -c problem.c --- objects.o --- objects.c: In function 'DestroyDistributed': ../../include/allocate.h:41:18: warning: 'free' called on pointer '*distributed.value' with nonzero offset 16 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ objects.c:403:9: note: in expansion of macro 'Deallocate' 403 | Deallocate (distributed -> value); | ^~~~~~~~~~ objects.c: In function 'DestroyLoadCase': ../../include/allocate.h:41:18: warning: 'free' called on pointer '*loadcase.forces' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ objects.c:455:12: note: in expansion of macro 'Deallocate' 455 | Deallocate (loadcase -> forces); | ^~~~~~~~~~ ../../include/allocate.h:41:18: warning: 'free' called on pointer '*loadcase.elements' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ objects.c:467:12: note: in expansion of macro 'Deallocate' 467 | Deallocate (loadcase -> elements); | ^~~~~~~~~~ ../../include/allocate.h:41:18: warning: 'free' called on pointer '*loadcase.nodes' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ objects.c:463:12: note: in expansion of macro 'Deallocate' 463 | Deallocate (loadcase -> nodes); | ^~~~~~~~~~ ../../include/allocate.h:41:18: warning: 'free' called on pointer '*loadcase.loads' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ objects.c:459:12: note: in expansion of macro 'Deallocate' 459 | Deallocate (loadcase -> loads); | ^~~~~~~~~~ --- problem.o --- problem.c: In function 'resolve_element': problem.c:305:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 305 | element -> node [i] = problem.nodes [(int) element -> node [i]]; | ^ problem.c: In function 'resolve_loadcase': problem.c:336:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 336 | n.number = (unsigned) loadcase -> nodes [i]; | ^ problem.c:351:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 351 | e.number = (unsigned) loadcase -> elements [i]; | ^ problem.c: In function 'resolve_names': problem.c:441:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 441 | n.number = (unsigned) analysis.nodes [i]; | ^ problem.c:449:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 449 | n.number = (unsigned) analysis.input_node; | ^ --- renumber.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c renumber.c --- results.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c results.c --- renumber.o --- In file included from renumber.c:44: renumber.c: In function 'RenumberNodes': ../../include/allocate.h:37:35: warning: 'realloc' called on pointer '*ndstk_104 + _55' with nonzero offset 4 [-Wfree-nonheap-object] 37 | ((ptr) = (ptr) ? (type *) realloc (ptr, sizeof (type) * (number)) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ renumber.c:165:38: note: in expansion of macro 'Reallocate' 165 | ndstk[number] = Reallocate(ndstk[number],unsigned,size_deg); | ^~~~~~~~~~ ../../include/allocate.h:41:18: warning: 'free' called on pointer '*ndstk_104 + _86' with nonzero offset 4 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ renumber.c:216:7: note: in expansion of macro 'Deallocate' 216 | Deallocate (ndstk [i]); | ^~~~~~~~~~ ../../include/allocate.h:41:18: warning: 'free' called on pointer 'nacum' with nonzero offset 4 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ renumber.c:221:24: note: in expansion of macro 'Deallocate' 221 | ZeroOffset (nacum); Deallocate (nacum); | ^~~~~~~~~~ renumber.c:47:13: note: declared here 47 | static int *nacum; | ^~~~~ In file included from renumber.c:44: ../../include/allocate.h:41:18: warning: 'free' called on pointer 'nhigh' with nonzero offset 4 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ renumber.c:222:24: note: in expansion of macro 'Deallocate' 222 | ZeroOffset (nhigh); Deallocate (nhigh); | ^~~~~~~~~~ renumber.c:48:13: note: declared here 48 | static int *nhigh; | ^~~~~ In file included from renumber.c:44: ../../include/allocate.h:41:18: warning: 'free' called on pointer 'nlow' with nonzero offset 4 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ renumber.c:223:23: note: in expansion of macro 'Deallocate' 223 | ZeroOffset (nlow); Deallocate (nlow); | ^~~~~~~~~~ renumber.c:49:13: note: declared here 49 | static int *nlow; | ^~~~ --- rosenbrock.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c rosenbrock.c --- spectral.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c spectral.c In file included from ../../include/cmatrix.h:30, from spectral.c:39: ../../include/complex.h:45:9: warning: conflicting types for built-in function 'conj'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 45 | complex conj PROTO ((complex)); | ^~~~ ../../include/complex.h:1:1: note: 'conj' is declared in header '' +++ |+#include 1 | /* ../../include/complex.h:47:9: warning: conflicting types for built-in function 'csqrt'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 47 | complex csqrt PROTO ((complex)); | ^~~~~ ../../include/complex.h:47:9: note: 'csqrt' is declared in header '' ../../include/complex.h:48:9: warning: conflicting types for built-in function 'cexp'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 48 | complex cexp PROTO ((double)); | ^~~~ ../../include/complex.h:48:9: note: 'cexp' is declared in header '' ../../include/complex.h:49:9: warning: conflicting types for built-in function 'ccos'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 49 | complex ccos PROTO ((complex)); | ^~~~ ../../include/complex.h:49:9: note: 'ccos' is declared in header '' ../../include/complex.h:50:9: warning: conflicting types for built-in function 'csin'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 50 | complex csin PROTO ((complex)); | ^~~~ ../../include/complex.h:50:9: note: 'csin' is declared in header '' --- rosenbrock.o --- In file included from rosenbrock.c:36: rosenbrock.c: In function 'RosenbrockHyperbolicDE': ../../include/allocate.h:41:18: warning: 'free' called on pointer 'constraint_mask' with nonzero offset 4 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ rosenbrock.c:478:32: note: in expansion of macro 'Deallocate' 478 | ZeroOffset(constraint_mask); Deallocate(constraint_mask); | ^~~~~~~~~~ rosenbrock.c:182:20: note: returned from 'BuildConstraintMask' 182 | constraint_mask= BuildConstraintMask(); | ^~~~~~~~~~~~~~~~~~~~~ --- strdup.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c strdup.c --- transient.o --- --- lexer.o --- --- transient.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c transient.c --- lexer.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c lexer.c --- transient.o --- In file included from transient.c:39: transient.c: In function 'IntegrateHyperbolicDE': ../../include/allocate.h:41:18: warning: 'free' called on pointer 'constraint_mask' with nonzero offset 4 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ transient.c:608:34: note: in expansion of macro 'Deallocate' 608 | ZeroOffset (constraint_mask); Deallocate (constraint_mask); | ^~~~~~~~~~ transient.c:464:22: note: returned from 'BuildConstraintMask' 464 | constraint_mask = BuildConstraintMask ( ); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from transient.c:39: transient.c: In function 'IntegrateParabolicDE': ../../include/allocate.h:41:18: warning: 'free' called on pointer 'constraint_mask' with nonzero offset 4 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ transient.c:790:34: note: in expansion of macro 'Deallocate' 790 | ZeroOffset (constraint_mask); Deallocate (constraint_mask); | ^~~~~~~~~~ transient.c:699:22: note: returned from 'BuildConstraintMask' 699 | constraint_mask = BuildConstraintMask ( ); | ^~~~~~~~~~~~~~~~~~~~~~~ --- parser.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c parser.c parser.y: In function 'yyparse': parser.y:313:38: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] 313 | (Constraint) strdup (last_constraint) : NULL; | ^~~~~~ parser.y:313:38: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] parser.y:416:36: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] 416 | (Material) strdup (last_material) : NULL; | ^~~~~~ parser.y:454:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 454 | element -> node [i] = (Node) int_array [i - 1]; | ^ parser.y:1150:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1150 | loadcase -> nodes [i] = (Node) case_array [i - 1].noe; | ^ parser.y:1175:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1175 | loadcase -> elements [i] = (Element) case_array [i - 1].noe; | ^ parser.y:1304:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1304 | analysis.input_node = (Node) $2; | ^ parser.y:1319:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1319 | analysis.nodes [i] = (Node) int_array [i - 1]; | ^ --- libfelt.a --- rm -f libfelt.a ar cq libfelt.a Tree.o code.o definition.o detail.o draw.o fe.o file.o initialize.o lexer.o modal.o nonlinear.o objects.o parser.o problem.o renumber.o results.o rosenbrock.o spectral.o strdup.o transient.o ranlib libfelt.a Making all in ./lib/Generate ... --- brick_grid.o --- --- coalesce.o --- --- brick_grid.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c brick_grid.c --- coalesce.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c coalesce.c In file included from coalesce.c:27: coalesce.c: In function 'MergeNodes': ../../include/allocate.h:41:18: warning: 'free' called on pointer 'node' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ coalesce.c:122:4: note: in expansion of macro 'Deallocate' 122 | Deallocate (node); | ^~~~~~~~~~ --- grid.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c grid.c --- line.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c line.c --- quad_grid.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c quad_grid.c --- rules.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c rules.c --- trimesh.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c trimesh.c --- triangle.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -DTRILIBRARY -DREDUCED -c triangle.c -o triangle.o --- libgen.a --- rm -f libgen.a ar cq libgen.a brick_grid.o coalesce.o grid.o line.o quad_grid.o rules.o trimesh.o triangle.o ranlib libgen.a Making all in ./lib/Matrix ... --- basic.o --- --- data.o --- --- basic.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c basic.c --- data.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c data.c data.c: In function 'CreateCompactMatrix': data.c:212:7: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 212 | memcpy ((void *) &(A -> diag[1]), (void *) &(diag[1]), | ^~~~~~ data.c:31:1: note: include '' or provide a declaration of 'memcpy' 30 | # include "error.h" +++ |+#include 31 | data.c:212:7: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 212 | memcpy ((void *) &(A -> diag[1]), (void *) &(diag[1]), | ^~~~~~ data.c:212:7: note: include '' or provide a declaration of 'memcpy' data.c: In function 'CreateCopyMatrix': data.c:236:7: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 236 | memcpy ((void *) &(b -> diag[1]), (void *) &(a -> diag[1]), | ^~~~~~ data.c:236:7: note: include '' or provide a declaration of 'memcpy' data.c:244:4: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 244 | memcpy ((void *) &(b -> data[1][1]),(void *) &(a -> data[1][1]), size); | ^~~~~~ data.c:244:4: note: include '' or provide a declaration of 'memcpy' data.c: In function 'DestroyMatrix': data.c:168:7: warning: 'free' called on pointer '*m.data' with nonzero offset 8 [-Wfree-nonheap-object] 168 | free (m -> data); | ^~~~~~~~~~~~~~~~ data.c:177:4: warning: 'free' called on pointer 'm_20(D)->data[1]' with nonzero offset 8 [-Wfree-nonheap-object] 177 | free (m -> data [1]); | ^~~~~~~~~~~~~~~~~~~~ data.c:180:4: warning: 'free' called on pointer '*m.data' with nonzero offset 8 [-Wfree-nonheap-object] 180 | free (m -> data); | ^~~~~~~~~~~~~~~~ data.c:184:7: warning: 'free' called on pointer '*m.diag' with nonzero offset 4 [-Wfree-nonheap-object] 184 | free (m -> diag); | ^~~~~~~~~~~~~~~~ --- eigen.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c eigen.c --- factor.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c factor.c --- io.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c io.c io.c: In function 'ReadMAT': io.c:162:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | fread (&h, sizeof(MATheader), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:186:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 186 | fread (buffer, sizeof(char), h.namlen, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:197:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 197 | fread (&(x.r8), sizeof(double), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:209:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 209 | fread (&(x.r4), sizeof(float), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:221:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 221 | fread (&(x.i4), sizeof(int), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:233:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 233 | fread (&(x.i2), sizeof(short), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:245:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 245 | fread (&(x.u2), sizeof(unsigned short), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:257:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 257 | fread (&(x.b), sizeof(unsigned char), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- norm.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c norm.c --- property.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c property.c --- solvers.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c solvers.c --- stats.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c stats.c --- c_arith.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c c_arith.c In file included from c_arith.c:4: ../../include/complex.h:45:9: warning: conflicting types for built-in function 'conj'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 45 | complex conj PROTO ((complex)); | ^~~~ ../../include/complex.h:30:1: note: 'conj' is declared in header '' 29 | # include "proto.h" +++ |+#include 30 | ../../include/complex.h:47:9: warning: conflicting types for built-in function 'csqrt'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 47 | complex csqrt PROTO ((complex)); | ^~~~~ ../../include/complex.h:47:9: note: 'csqrt' is declared in header '' ../../include/complex.h:48:9: warning: conflicting types for built-in function 'cexp'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 48 | complex cexp PROTO ((double)); | ^~~~ ../../include/complex.h:48:9: note: 'cexp' is declared in header '' ../../include/complex.h:49:9: warning: conflicting types for built-in function 'ccos'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 49 | complex ccos PROTO ((complex)); | ^~~~ ../../include/complex.h:49:9: note: 'ccos' is declared in header '' ../../include/complex.h:50:9: warning: conflicting types for built-in function 'csin'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 50 | complex csin PROTO ((complex)); | ^~~~ ../../include/complex.h:50:9: note: 'csin' is declared in header '' --- c_basic.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c c_basic.c In file included from ../../include/cmatrix.h:30, from c_basic.c:31: ../../include/complex.h:45:9: warning: conflicting types for built-in function 'conj'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 45 | complex conj PROTO ((complex)); | ^~~~ ../../include/complex.h:1:1: note: 'conj' is declared in header '' +++ |+#include 1 | /* ../../include/complex.h:47:9: warning: conflicting types for built-in function 'csqrt'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 47 | complex csqrt PROTO ((complex)); | ^~~~~ ../../include/complex.h:47:9: note: 'csqrt' is declared in header '' ../../include/complex.h:48:9: warning: conflicting types for built-in function 'cexp'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 48 | complex cexp PROTO ((double)); | ^~~~ ../../include/complex.h:48:9: note: 'cexp' is declared in header '' ../../include/complex.h:49:9: warning: conflicting types for built-in function 'ccos'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 49 | complex ccos PROTO ((complex)); | ^~~~ ../../include/complex.h:49:9: note: 'ccos' is declared in header '' ../../include/complex.h:50:9: warning: conflicting types for built-in function 'csin'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 50 | complex csin PROTO ((complex)); | ^~~~ ../../include/complex.h:50:9: note: 'csin' is declared in header '' --- c_data.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c c_data.c In file included from ../../include/cmatrix.h:30, from c_data.c:30: ../../include/complex.h:45:9: warning: conflicting types for built-in function 'conj'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 45 | complex conj PROTO ((complex)); | ^~~~ ../../include/complex.h:1:1: note: 'conj' is declared in header '' +++ |+#include 1 | /* ../../include/complex.h:47:9: warning: conflicting types for built-in function 'csqrt'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 47 | complex csqrt PROTO ((complex)); | ^~~~~ ../../include/complex.h:47:9: note: 'csqrt' is declared in header '' ../../include/complex.h:48:9: warning: conflicting types for built-in function 'cexp'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 48 | complex cexp PROTO ((double)); | ^~~~ ../../include/complex.h:48:9: note: 'cexp' is declared in header '' ../../include/complex.h:49:9: warning: conflicting types for built-in function 'ccos'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 49 | complex ccos PROTO ((complex)); | ^~~~ ../../include/complex.h:49:9: note: 'ccos' is declared in header '' ../../include/complex.h:50:9: warning: conflicting types for built-in function 'csin'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 50 | complex csin PROTO ((complex)); | ^~~~ ../../include/complex.h:50:9: note: 'csin' is declared in header '' c_data.c: In function 'CreateCompactComplexMatrix': c_data.c:205:7: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 205 | memcpy ((void *) &(A -> diag[1]), (void *) &(diag[1]), | ^~~~~~ c_data.c:32:1: note: include '' or provide a declaration of 'memcpy' 31 | # include "error.h" +++ |+#include 32 | c_data.c:205:7: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 205 | memcpy ((void *) &(A -> diag[1]), (void *) &(diag[1]), | ^~~~~~ c_data.c:205:7: note: include '' or provide a declaration of 'memcpy' c_data.c: In function 'CreateCopyComplexMatrix': c_data.c:229:7: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 229 | memcpy ((void *) &(b -> diag[1]), (void *) &(a -> diag[1]), | ^~~~~~ c_data.c:229:7: note: include '' or provide a declaration of 'memcpy' c_data.c:237:4: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 237 | memcpy ((void *) &(b -> data[1][1]),(void *) &(a -> data[1][1]), size); | ^~~~~~ c_data.c:237:4: note: include '' or provide a declaration of 'memcpy' --- c_factor.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c c_factor.c In file included from ../../include/cmatrix.h:30, from c_factor.c:31: ../../include/complex.h:45:9: warning: conflicting types for built-in function 'conj'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 45 | complex conj PROTO ((complex)); | ^~~~ ../../include/complex.h:1:1: note: 'conj' is declared in header '' +++ |+#include 1 | /* ../../include/complex.h:47:9: warning: conflicting types for built-in function 'csqrt'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 47 | complex csqrt PROTO ((complex)); | ^~~~~ ../../include/complex.h:47:9: note: 'csqrt' is declared in header '' ../../include/complex.h:48:9: warning: conflicting types for built-in function 'cexp'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 48 | complex cexp PROTO ((double)); | ^~~~ ../../include/complex.h:48:9: note: 'cexp' is declared in header '' ../../include/complex.h:49:9: warning: conflicting types for built-in function 'ccos'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 49 | complex ccos PROTO ((complex)); | ^~~~ ../../include/complex.h:49:9: note: 'ccos' is declared in header '' ../../include/complex.h:50:9: warning: conflicting types for built-in function 'csin'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 50 | complex csin PROTO ((complex)); | ^~~~ ../../include/complex.h:50:9: note: 'csin' is declared in header '' --- c_data.o --- c_data.c: In function 'DestroyComplexMatrix': c_data.c:161:7: warning: 'free' called on pointer '*m.data' with nonzero offset 8 [-Wfree-nonheap-object] 161 | free (m -> data); | ^~~~~~~~~~~~~~~~ c_data.c:170:4: warning: 'free' called on pointer 'm_20(D)->data[1]' with nonzero offset 16 [-Wfree-nonheap-object] 170 | free (m -> data [1]); | ^~~~~~~~~~~~~~~~~~~~ c_data.c:173:4: warning: 'free' called on pointer '*m.data' with nonzero offset 8 [-Wfree-nonheap-object] 173 | free (m -> data); | ^~~~~~~~~~~~~~~~ c_data.c:177:7: warning: 'free' called on pointer '*m.diag' with nonzero offset 4 [-Wfree-nonheap-object] 177 | free (m -> diag); | ^~~~~~~~~~~~~~~~ --- c_property.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c c_property.c In file included from ../../include/cmatrix.h:30, from c_property.c:29: ../../include/complex.h:45:9: warning: conflicting types for built-in function 'conj'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 45 | complex conj PROTO ((complex)); | ^~~~ ../../include/complex.h:1:1: note: 'conj' is declared in header '' +++ |+#include 1 | /* ../../include/complex.h:47:9: warning: conflicting types for built-in function 'csqrt'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 47 | complex csqrt PROTO ((complex)); | ^~~~~ ../../include/complex.h:47:9: note: 'csqrt' is declared in header '' ../../include/complex.h:48:9: warning: conflicting types for built-in function 'cexp'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 48 | complex cexp PROTO ((double)); | ^~~~ ../../include/complex.h:48:9: note: 'cexp' is declared in header '' ../../include/complex.h:49:9: warning: conflicting types for built-in function 'ccos'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 49 | complex ccos PROTO ((complex)); | ^~~~ ../../include/complex.h:49:9: note: 'ccos' is declared in header '' ../../include/complex.h:50:9: warning: conflicting types for built-in function 'csin'; expected '_Complex double(_Complex double)' [-Wbuiltin-declaration-mismatch] 50 | complex csin PROTO ((complex)); | ^~~~ ../../include/complex.h:50:9: note: 'csin' is declared in header '' --- libmtx.a --- rm -f libmtx.a ar cq libmtx.a basic.o data.o eigen.o factor.o io.o norm.o property.o solvers.o stats.o c_arith.o c_basic.o c_data.o c_factor.o c_property.o ranlib libmtx.a Making all in ./lib/Widgets ... --- Cache.o --- --- Drawing.o --- --- Cache.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c Cache.c --- Drawing.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c Drawing.c --- Figure.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c Figure.c --- Public.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c Public.c --- Layout.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c Layout.c In file included from Layout.c:33: Layout.c: In function 'DisposeExpr': LayoutP.h:162:21: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 162 | #define Dispose(p) free((char *) p) | ^~~~ Layout.c:529:5: note: in expansion of macro 'Dispose' 529 | Dispose (expr); | ^~~~~~~ Layout.c:37:1: note: include '' or provide a declaration of 'free' 36 | #include +++ |+#include 37 | In file included from Layout.c:33: LayoutP.h:162:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 162 | #define Dispose(p) free((char *) p) | ^~~~ Layout.c:529:5: note: in expansion of macro 'Dispose' 529 | Dispose (expr); | ^~~~~~~ LayoutP.h:162:21: note: include '' or provide a declaration of 'free' 162 | #define Dispose(p) free((char *) p) | ^~~~ Layout.c:529:5: note: in expansion of macro 'Dispose' 529 | Dispose (expr); | ^~~~~~~ Layout.c: In function 'LayoutFreeLayout': LayoutP.h:162:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 162 | #define Dispose(p) free((char *) p) | ^~~~ Layout.c:863:5: note: in expansion of macro 'Dispose' 863 | Dispose (box); | ^~~~~~~ LayoutP.h:162:21: note: include '' or provide a declaration of 'free' 162 | #define Dispose(p) free((char *) p) | ^~~~ Layout.c:863:5: note: in expansion of macro 'Dispose' 863 | Dispose (box); | ^~~~~~~ --- laygram.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c laygram.c laygram.y:254:1: warning: return type defaults to 'int' [-Wimplicit-int] laygram.y:259:1: warning: return type defaults to 'int' [-Wimplicit-int] y.tab.c: In function 'LayYYparse': y.tab.c:272:26: warning: implicit declaration of function 'LayYYlex' [-Wimplicit-function-declaration] y.tab.c:313:5: warning: implicit declaration of function 'LayYYerror'; did you mean 'LayYYerrok'? [-Wimplicit-function-declaration] In file included from laygram.y:11: LayoutP.h:161:22: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:54:17: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:54:17: note: in expansion of macro 'New' LayoutP.h:161:22: note: include '' or provide a declaration of 'malloc' 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:54:17: note: in expansion of macro 'New' LayoutP.h:162:21: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 162 | #define Dispose(p) free((char *) p) | ^~~~ laygram.y:58:4: note: in expansion of macro 'Dispose' LayoutP.h:162:21: note: include '' or provide a declaration of 'free' 162 | #define Dispose(p) free((char *) p) | ^~~~ laygram.y:58:4: note: in expansion of macro 'Dispose' LayoutP.h:162:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 162 | #define Dispose(p) free((char *) p) | ^~~~ laygram.y:58:4: note: in expansion of macro 'Dispose' LayoutP.h:162:21: note: include '' or provide a declaration of 'free' 162 | #define Dispose(p) free((char *) p) | ^~~~ laygram.y:58:4: note: in expansion of macro 'Dispose' LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:64:17: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:162:21: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 162 | #define Dispose(p) free((char *) p) | ^~~~ laygram.y:68:4: note: in expansion of macro 'Dispose' LayoutP.h:162:21: note: include '' or provide a declaration of 'free' 162 | #define Dispose(p) free((char *) p) | ^~~~ laygram.y:68:4: note: in expansion of macro 'Dispose' LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:74:17: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:88:17: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:122:21: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:132:21: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:143:21: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:153:21: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:181:20: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:191:19: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:196:19: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:204:20: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:210:19: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:215:19: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:222:20: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' In file included from laygram.y:11: LayoutP.h:161:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 161 | #define New(t) (t *) malloc(sizeof (t)) | ^~~~~~ laygram.y:238:20: note: in expansion of macro 'New' laygram.y:12:1: note: include '' or provide a declaration of 'malloc' --- laylex.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c laylex.c laylex.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] 73 | LayYYlex(){ | ^~~~~~~~ laylex.l: In function 'LayYYlex': laylex.l:29:21: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] laylex.l: At top level: laylex.l:75:1: warning: return type defaults to 'int' [-Wimplicit-int] laylex.l:81:1: warning: return type defaults to 'int' [-Wimplicit-int] laylex.l: In function 'LayYYlook': laylex.l:565:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] laylex.l:19:1: note: include '' or provide a declaration of 'exit' laylex.l:565:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] laylex.l:565:5: note: include '' or provide a declaration of 'exit' laylex.l:577:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] laylex.l:577:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] laylex.l:585:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] laylex.l:585:7: note: include '' or provide a declaration of 'exit' laylex.l:591:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] laylex.l:591:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] laylex.l:603:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] laylex.l:603:7: note: include '' or provide a declaration of 'exit' laylex.l:621:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] laylex.l:621:7: note: include '' or provide a declaration of 'exit' --- Rheostat.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c Rheostat.c --- dialog.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c dialog.c --- post.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c post.c --- tabgroup.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c tabgroup.c --- scroll.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c scroll.c --- util.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c util.c --- xwd.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c xwd.c --- libwidgets.a --- rm -f libwidgets.a ar cq libwidgets.a Cache.o Drawing.o Figure.o Public.o Layout.o laygram.o laylex.o Rheostat.o dialog.o post.o tabgroup.o scroll.o util.o xwd.o ranlib libwidgets.a Making all in ./src ... --- all --- Making all in ./src/Burlap ... --- apply.o --- --- arithmetic.o --- --- apply.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c apply.c --- arithmetic.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c arithmetic.c --- array.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c array.c --- assignment.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c assignment.c --- burlap.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c burlap.c burlap.c: In function 'main': burlap.c:85:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 85 | exit (1); | ^~~~ burlap.c:36:1: note: include '' or provide a declaration of 'exit' 35 | # include "interactive.h" +++ |+#include 36 | burlap.c:85:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 85 | exit (1); | ^~~~ burlap.c:85:9: note: include '' or provide a declaration of 'exit' burlap.c:110:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 110 | exit (!h_flag); | ^~~~ burlap.c:110:9: note: include '' or provide a declaration of 'exit' burlap.c:116:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 116 | exit (errno); | ^~~~ burlap.c:116:9: note: include '' or provide a declaration of 'exit' burlap.c:127:13: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 127 | exit (errno); | ^~~~ burlap.c:127:13: note: include '' or provide a declaration of 'exit' burlap.c:131:13: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 131 | exit (1); | ^~~~ burlap.c:131:13: note: include '' or provide a declaration of 'exit' burlap.c:138:13: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 138 | exit (1); | ^~~~ burlap.c:138:13: note: include '' or provide a declaration of 'exit' --- codegen.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c codegen.c --- coerce.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c coerce.c --- control.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c control.c --- debug.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c debug.c --- descriptor.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c descriptor.c --- error.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c error.c --- execute.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c execute.c --- fefunc.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c fefunc.c --- felt.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c felt.c --- field.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c field.c field.c: In function 'add_field': field.c:67:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 67 | exit (1); | ^~~~ field.c:32:1: note: include '' or provide a declaration of 'exit' 31 | # include "execute.h" +++ |+#include 32 | field.c:67:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 67 | exit (1); | ^~~~ field.c:67:9: note: include '' or provide a declaration of 'exit' --- function.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c function.c --- globals.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c globals.c --- help.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c help.c --- interactive.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -DREADLINE -c interactive.c --- literal.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c literal.c --- interactive.o --- interactive.c: In function 'completion_generator': interactive.c:139:16: warning: implicit declaration of function 'filename_completion_function'; did you mean 'rl_filename_completion_function'? [-Wimplicit-function-declaration] 139 | return filename_completion_function (text, state); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | rl_filename_completion_function interactive.c:139:16: warning: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 139 | return filename_completion_function (text, state); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interactive.c: In function 'sort_aliases': interactive.c:198:53: warning: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 198 | qsort (aliases, num_aliases, sizeof (*aliases), compare_aliases); | ^~~~~~~~~~~~~~~ | | | int (*)(void *, void *) In file included from interactive.c:29: /usr/include/stdlib.h:837:34: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(void *, void *)' 837 | __compar_fn_t __compar) __nonnull ((1, 4)); | ~~~~~~~~~~~~~~^~~~~~~~ --- location.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c location.c --- loop.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c loop.c --- mathfunc.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c mathfunc.c --- matrixfunc.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c matrixfunc.c --- miscfunc.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c miscfunc.c miscfunc.c: In function 'exit_func': miscfunc.c:154:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 154 | exit (0); | ^~~~ miscfunc.c:38:1: note: include '' or provide a declaration of 'exit' 37 | # include "interactive.h" +++ |+#include 38 | miscfunc.c:154:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 154 | exit (0); | ^~~~ miscfunc.c:154:9: note: include '' or provide a declaration of 'exit' --- pathsearch.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c pathsearch.c --- predicate.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c predicate.c --- relational.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c relational.c --- symbol.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c symbol.c --- trap.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c trap.c --- vector.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c vector.c --- write.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c write.c --- xmalloc.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c xmalloc.c xmalloc.c:36:14: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 36 | extern char *malloc (); /* changed for FElt */ | ^~~~~~ xmalloc.c:31:1: note: 'malloc' is declared in header '' 30 | #include +++ |+#include 31 | xmalloc.c:37:14: warning: conflicting types for built-in function 'realloc'; expected 'void *(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 37 | extern char *realloc (); /* changed for FElt */ | ^~~~~~~ xmalloc.c:37:14: note: 'realloc' is declared in header '' xmalloc.c: In function 'memory_error_and_abort': xmalloc.c:84:3: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] 84 | abort (); | ^~~~~ xmalloc.c:84:3: note: include '' or provide a declaration of 'abort' xmalloc.c:84:3: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] xmalloc.c:84:3: note: include '' or provide a declaration of 'abort' --- lexer.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c lexer.c --- parser.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I. -I../../include -DEXECDEBUG -I/usr/pkg/include -I/usr/pkg/include/ncurses -c parser.c --- burlap --- cc -o burlap -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib apply.o arithmetic.o array.o assignment.o burlap.o codegen.o coerce.o control.o debug.o descriptor.o error.o execute.o fefunc.o felt.o field.o function.o globals.o help.o interactive.o lexer.o literal.o location.o loop.o mathfunc.o matrixfunc.o miscfunc.o parser.o pathsearch.o predicate.o relational.o symbol.o trap.o vector.o write.o xmalloc.o ../../lib/Felt/libfelt.a ../../lib/Elements/libelt.a ../../lib/Matrix/libmtx.a -lreadline -ltermcap -lm Making all in ./src/Corduroy ... --- corduroy.o --- --- debug.o --- --- corduroy.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c corduroy.c --- debug.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c debug.c --- error.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c error.c --- corduroy.o --- In file included from corduroy.c:30: corduroy.c: In function 'AddNewArrays': ../../include/allocate.h:37:35: warning: 'realloc' called on pointer '*all_nodes' with nonzero offset 8 [-Wfree-nonheap-object] 37 | ((ptr) = (ptr) ? (type *) realloc (ptr, sizeof (type) * (number)) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corduroy.c:98:17: note: in expansion of macro 'Reallocate' 98 | *all_nodes = Reallocate (*all_nodes, Node, *nn + numnodes); | ^~~~~~~~~~ ../../include/allocate.h:37:35: warning: 'realloc' called on pointer '*all_elements' with nonzero offset 8 [-Wfree-nonheap-object] 37 | ((ptr) = (ptr) ? (type *) realloc (ptr, sizeof (type) * (number)) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ corduroy.c:102:20: note: in expansion of macro 'Reallocate' 102 | *all_elements = Reallocate (*all_elements, Element, *ne + numelts); | ^~~~~~~~~~ --- error.o --- error.c: In function 'Fatal': error.c:89:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 89 | exit (1); | ^~~~ error.c:31:1: note: include '' or provide a declaration of 'exit' 30 | # include VAR_ARGS_INCLUDE +++ |+#include 31 | error.c:89:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 89 | exit (1); | ^~~~ error.c:89:5: note: include '' or provide a declaration of 'exit' --- generator.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -DLIBDIR=\"/usr/pkg/share/felt\" -DCPP=\"cpp\" -c generator.c --- corduroy.o --- corduroy.c: In function 'main': ../../include/allocate.h:41:18: warning: 'free' called on pointer 'node' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ corduroy.c:218:26: note: in expansion of macro 'Deallocate' 218 | ZeroOffset (node); Deallocate (node); | ^~~~~~~~~~ corduroy.c:130:18: note: declared here 130 | Node *node; | ^~~~ In file included from corduroy.c:30: ../../include/allocate.h:41:18: warning: 'free' called on pointer 'element' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ corduroy.c:219:29: note: in expansion of macro 'Deallocate' 219 | ZeroOffset (element); Deallocate (element); | ^~~~~~~~~~ corduroy.c:129:18: note: declared here 129 | Element *element; | ^~~~~~~ In file included from corduroy.c:30: ../../include/allocate.h:41:18: warning: 'free' called on pointer 'node' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ corduroy.c:236:26: note: in expansion of macro 'Deallocate' 236 | ZeroOffset (node); Deallocate (node); | ^~~~~~~~~~ corduroy.c:130:18: note: declared here 130 | Node *node; | ^~~~ In file included from corduroy.c:30: ../../include/allocate.h:41:18: warning: 'free' called on pointer 'element' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ corduroy.c:237:29: note: in expansion of macro 'Deallocate' 237 | ZeroOffset (element); Deallocate (element); | ^~~~~~~~~~ corduroy.c:129:18: note: declared here 129 | Element *element; | ^~~~~~~ In file included from corduroy.c:30: ../../include/allocate.h:41:18: warning: 'free' called on pointer 'node' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ corduroy.c:254:26: note: in expansion of macro 'Deallocate' 254 | ZeroOffset (node); Deallocate (node); | ^~~~~~~~~~ corduroy.c:130:18: note: declared here 130 | Node *node; | ^~~~ In file included from corduroy.c:30: ../../include/allocate.h:41:18: warning: 'free' called on pointer 'element' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ corduroy.c:255:29: note: in expansion of macro 'Deallocate' 255 | ZeroOffset (element); Deallocate (element); | ^~~~~~~~~~ corduroy.c:129:18: note: declared here 129 | Element *element; | ^~~~~~~ In file included from corduroy.c:30: ../../include/allocate.h:41:18: warning: 'free' called on pointer 'node' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ corduroy.c:272:26: note: in expansion of macro 'Deallocate' 272 | ZeroOffset (node); Deallocate (node); | ^~~~~~~~~~ corduroy.c:130:18: note: declared here 130 | Node *node; | ^~~~ In file included from corduroy.c:30: ../../include/allocate.h:41:18: warning: 'free' called on pointer 'element' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ corduroy.c:273:29: note: in expansion of macro 'Deallocate' 273 | ZeroOffset (element); Deallocate (element); | ^~~~~~~~~~ corduroy.c:129:18: note: declared here 129 | Element *element; | ^~~~~~~ In file included from corduroy.c:30: ../../include/allocate.h:41:18: warning: 'free' called on pointer 'node' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ corduroy.c:292:26: note: in expansion of macro 'Deallocate' 292 | ZeroOffset (node); Deallocate (node); | ^~~~~~~~~~ corduroy.c:130:18: note: declared here 130 | Node *node; | ^~~~ In file included from corduroy.c:30: ../../include/allocate.h:41:18: warning: 'free' called on pointer 'element' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ corduroy.c:293:29: note: in expansion of macro 'Deallocate' 293 | ZeroOffset (element); Deallocate (element); | ^~~~~~~~~~ corduroy.c:129:18: note: declared here 129 | Element *element; | ^~~~~~~ --- lexer.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c lexer.c --- parser.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c parser.c --- corduroy --- cc -o corduroy -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib corduroy.o debug.o error.o generator.o lexer.o parser.o ../../lib/Generate/libgen.a ../../lib/Felt/libfelt.a ../../lib/Elements/libelt.a ../../lib/Matrix/libmtx.a -lm Making all in ./src/Felt ... --- error.o --- --- felt.o --- --- error.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c error.c --- felt.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c felt.c --- error.o --- error.c: In function 'Fatal': error.c:89:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 89 | exit (1); | ^~~~ error.c:31:1: note: include '' or provide a declaration of 'exit' 30 | # include VAR_ARGS_INCLUDE +++ |+#include 31 | error.c:89:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 89 | exit (1); | ^~~~ error.c:89:5: note: include '' or provide a declaration of 'exit' --- felt --- cc -o felt -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib error.o felt.o ../../lib/Felt/libfelt.a ../../lib/Elements/libelt.a ../../lib/Matrix/libmtx.a -lm Making all in ./src/Loom ... --- error.o --- --- loom.o --- --- error.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c error.c --- loom.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c loom.c loom.c: In function 'main': loom.c:329:8: warning: implicit declaration of function 'WriteWireframeFile' [-Wimplicit-function-declaration] 329 | WriteWireframeFile (structure_out, 0.0, xrot, yrot, zrot, zsc); | ^~~~~~~~~~~~~~~~~~ loom.c:400:14: warning: implicit declaration of function 'WriteLineGraph' [-Wimplicit-function-declaration] 400 | WriteLineGraph (dtable, "Nodal Time-Displacement", "time", "dx", graph_out); | ^~~~~~~~~~~~~~ loom.c:470:20: warning: implicit declaration of function 'PlotStressField' [-Wimplicit-function-declaration] 470 | PlotStressField (contour_out [i], problem.elements, | ^~~~~~~~~~~~~~~ loom.c:475:20: warning: implicit declaration of function 'PlotDisplacementField' [-Wimplicit-function-declaration] 475 | PlotDisplacementField (contour_out [i], problem.nodes, | ^~~~~~~~~~~~~~~~~~~~~ loom.c:693:17: warning: implicit declaration of function 'WriteLineGraphTransferFunctions'; did you mean 'WriteTransferFunctions'? [-Wimplicit-function-declaration] 693 | WriteLineGraphTransferFunctions (H, forced, numforced, graph_out); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | WriteTransferFunctions --- options.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c options.c --- graph.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c graph.c graph.c: In function 'WriteLineGraph': graph.c:53:33: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 53 | if (problem.title == NULL || strcmp(problem.title, "") == 0) | ^~~~~~ graph.c:32:1: note: include '' or provide a declaration of 'strcmp' 31 | # include "allocate.h" +++ |+#include 32 | --- wireframe.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c wireframe.c wireframe.c: In function 'WriteWireframeFile': wireframe.c:136:8: warning: implicit declaration of function 'WriteWireframe3D'; did you mean 'WriteWireframeFile'? [-Wimplicit-function-declaration] 136 | WriteWireframe3D (fp, cnxtable, count, mag, xrot, yrot, zrot, zsc); | ^~~~~~~~~~~~~~~~ | WriteWireframeFile wireframe.c:138:8: warning: implicit declaration of function 'WriteWireframe2D'; did you mean 'WriteWireframeFile'? [-Wimplicit-function-declaration] 138 | WriteWireframe2D (fp, cnxtable, count, mag); | ^~~~~~~~~~~~~~~~ | WriteWireframeFile In file included from wireframe.c:30: ../../include/allocate.h:41:18: warning: 'free' called on pointer '*adjacency_112 + _81' with nonzero offset 1 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ wireframe.c:144:7: note: in expansion of macro 'Deallocate' 144 | Deallocate (adjacency [i]); | ^~~~~~~~~~ ../../include/allocate.h:41:18: warning: 'free' called on pointer '*cnxtable_274 + _88' with nonzero offset 8 [-Wfree-nonheap-object] 41 | if (ptr) free ((char *) (ptr)) | ^~~~~~~~~~~~~~~~~~~~~ wireframe.c:149:7: note: in expansion of macro 'Deallocate' 149 | Deallocate (cnxtable [i]); | ^~~~~~~~~~ --- draw.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c draw.c --- draw3d.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c draw3d.c --- contour.o --- --- bivar.o --- --- contour.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c contour.c --- bivar.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c bivar.c --- contour.o --- In file included from contour.c:32: region.h:225:8: warning: type defaults to 'int' in declaration of 'XUnionRegion' [-Wimplicit-int] 225 | extern XUnionRegion PROTO(( | ^~~~~~~~~~~~ region.h:235:8: warning: type defaults to 'int' in declaration of 'XDestroyRegion' [-Wimplicit-int] 235 | extern XDestroyRegion PROTO(( | ^~~~~~~~~~~~~~ contour.c: In function 'PlotContourField': contour.c:477:13: warning: implicit declaration of function 'BivariateInterp' [-Wimplicit-function-declaration] 477 | result = BivariateInterp (nd, xd, yd, zd, width, height,xi,yi,zi,mask); | ^~~~~~~~~~~~~~~ contour.c:524:7: warning: implicit declaration of function 'ImageDataToBMP' [-Wimplicit-function-declaration] 524 | ImageDataToBMP(filename, image, height, width, red, green, blue); | ^~~~~~~~~~~~~~ --- Region.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c Region.c In file included from Region.c:76: region.h:225:8: warning: type defaults to 'int' in declaration of 'XUnionRegion' [-Wimplicit-int] 225 | extern XUnionRegion PROTO(( | ^~~~~~~~~~~~ region.h:235:8: warning: type defaults to 'int' in declaration of 'XDestroyRegion' [-Wimplicit-int] 235 | extern XDestroyRegion PROTO(( | ^~~~~~~~~~~~~~ Region.c: In function 'XCreateRegion': region.h:60:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ Region.c:90:29: note: in expansion of macro 'Xmalloc' 90 | if (! (temp = ( Region )Xmalloc( (unsigned) sizeof( REGION )))) | ^~~~~~~ Region.c:78:1: note: include '' or provide a declaration of 'malloc' 77 | #include "poly.h" +++ |+#include 78 | In file included from Region.c:76: region.h:60:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ Region.c:90:29: note: in expansion of macro 'Xmalloc' 90 | if (! (temp = ( Region )Xmalloc( (unsigned) sizeof( REGION )))) | ^~~~~~~ region.h:60:25: note: include '' or provide a declaration of 'malloc' 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ Region.c:90:29: note: in expansion of macro 'Xmalloc' 90 | if (! (temp = ( Region )Xmalloc( (unsigned) sizeof( REGION )))) | ^~~~~~~ region.h:60:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ Region.c:92:35: note: in expansion of macro 'Xmalloc' 92 | if (! (temp->rects = ( BOX * )Xmalloc( (unsigned) sizeof( BOX )))) { | ^~~~~~~ region.h:60:25: note: include '' or provide a declaration of 'malloc' 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ Region.c:92:35: note: in expansion of macro 'Xmalloc' 92 | if (! (temp->rects = ( BOX * )Xmalloc( (unsigned) sizeof( BOX )))) { | ^~~~~~~ region.h:59:25: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 59 | # define Xfree(ptr) free((ptr)) | ^~~~ Region.c:93:9: note: in expansion of macro 'Xfree' 93 | Xfree((char *) temp); | ^~~~~ region.h:59:25: note: include '' or provide a declaration of 'free' 59 | # define Xfree(ptr) free((ptr)) | ^~~~ Region.c:93:9: note: in expansion of macro 'Xfree' 93 | Xfree((char *) temp); | ^~~~~ region.h:59:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 59 | # define Xfree(ptr) free((ptr)) | ^~~~ Region.c:93:9: note: in expansion of macro 'Xfree' 93 | Xfree((char *) temp); | ^~~~~ region.h:59:25: note: include '' or provide a declaration of 'free' 59 | # define Xfree(ptr) free((ptr)) | ^~~~ Region.c:93:9: note: in expansion of macro 'Xfree' 93 | Xfree((char *) temp); | ^~~~~ Region.c: At top level: Region.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] 169 | XDestroyRegion( r ) | ^~~~~~~~~~~~~~ In file included from Region.c:76: Region.c: In function 'XDestroyRegion': region.h:59:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 59 | # define Xfree(ptr) free((ptr)) | ^~~~ Region.c:172:5: note: in expansion of macro 'Xfree' 172 | Xfree( (char *) r->rects ); | ^~~~~ region.h:59:25: note: include '' or provide a declaration of 'free' 59 | # define Xfree(ptr) free((ptr)) | ^~~~ Region.c:172:5: note: in expansion of macro 'Xfree' 172 | Xfree( (char *) r->rects ); | ^~~~~ Region.c: At top level: Region.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] 194 | miIntersectO (pReg, r1, r1End, r2, r2End, y1, y2) | ^~~~~~~~~~~~ In file included from Region.c:76: Region.c: In function 'miIntersectO': region.h:61:30: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:225:13: note: in expansion of macro 'MEMCHECK' 225 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:225:13: note: in expansion of macro 'MEMCHECK' 225 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:225:13: note: in expansion of macro 'MEMCHECK' 225 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:225:13: note: in expansion of macro 'MEMCHECK' 225 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ Region.c: In function 'miRegionCopy': region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ Region.c:270:24: note: in expansion of macro 'Xrealloc' 270 | Xrealloc((char *) dstrgn->rects, | ^~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ Region.c:270:24: note: in expansion of macro 'Xrealloc' 270 | Xrealloc((char *) dstrgn->rects, | ^~~~~~~~ Region.c:282:9: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 282 | memcpy((char *) dstrgn->rects, (char *) rgn->rects, | ^~~~~~ Region.c:78:1: note: include '' or provide a declaration of 'memcpy' 77 | #include "poly.h" +++ |+#include 78 | Region.c:282:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 282 | memcpy((char *) dstrgn->rects, (char *) rgn->rects, | ^~~~~~ Region.c:282:9: note: include '' or provide a declaration of 'memcpy' Region.c: At top level: Region.c:440:1: warning: return type defaults to 'int' [-Wimplicit-int] 440 | miCoalesce (pReg, prevStart, curStart) | ^~~~~~~~~~ In file included from Region.c:76: Region.c: In function 'miRegionOp': region.h:60:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ Region.c:648:12: note: in expansion of macro 'Xmalloc' 648 | Xmalloc ((unsigned) (sizeof(BoxRec) * newReg->size)))) { | ^~~~~~~ region.h:60:25: note: include '' or provide a declaration of 'malloc' 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ Region.c:648:12: note: in expansion of macro 'Xmalloc' 648 | Xmalloc ((unsigned) (sizeof(BoxRec) * newReg->size)))) { | ^~~~~~~ region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ Region.c:839:38: note: in expansion of macro 'Xrealloc' 839 | newReg->rects = (BoxPtr) Xrealloc ((char *) newReg->rects, | ^~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ Region.c:839:38: note: in expansion of macro 'Xrealloc' 839 | newReg->rects = (BoxPtr) Xrealloc ((char *) newReg->rects, | ^~~~~~~~ region.h:59:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 59 | # define Xfree(ptr) free((ptr)) | ^~~~ Region.c:851:13: note: in expansion of macro 'Xfree' 851 | Xfree((char *) newReg->rects); | ^~~~~ region.h:59:25: note: include '' or provide a declaration of 'free' 59 | # define Xfree(ptr) free((ptr)) | ^~~~ Region.c:851:13: note: in expansion of macro 'Xfree' 851 | Xfree((char *) newReg->rects); | ^~~~~ region.h:60:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ Region.c:852:38: note: in expansion of macro 'Xmalloc' 852 | newReg->rects = (BoxPtr) Xmalloc(sizeof(BoxRec)); | ^~~~~~~ region.h:60:25: note: include '' or provide a declaration of 'malloc' 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ Region.c:852:38: note: in expansion of macro 'Xmalloc' 852 | newReg->rects = (BoxPtr) Xmalloc(sizeof(BoxRec)); | ^~~~~~~ region.h:59:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 59 | # define Xfree(ptr) free((ptr)) | ^~~~ Region.c:855:5: note: in expansion of macro 'Xfree' 855 | Xfree ((char *) oldRects); | ^~~~~ region.h:59:25: note: include '' or provide a declaration of 'free' 59 | # define Xfree(ptr) free((ptr)) | ^~~~ Region.c:855:5: note: in expansion of macro 'Xfree' 855 | Xfree ((char *) oldRects); | ^~~~~ Region.c: At top level: Region.c:882:1: warning: return type defaults to 'int' [-Wimplicit-int] 882 | miUnionNonO (pReg, r, rEnd, y1, y2) | ^~~~~~~~~~~ In file included from Region.c:76: Region.c: In function 'miUnionNonO': region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:898:9: note: in expansion of macro 'MEMCHECK' 898 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:898:9: note: in expansion of macro 'MEMCHECK' 898 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ Region.c: At top level: Region.c:931:1: warning: return type defaults to 'int' [-Wimplicit-int] 931 | miUnionO (pReg, r1, r1End, r2, r2End, y1, y2) | ^~~~~~~~ In file included from Region.c:76: Region.c: In function 'miUnionO': region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:958:9: note: in expansion of macro 'MEMCHECK' 958 | MEMCHECK(pReg, pNextRect, pReg->rects); \ | ^~~~~~~~ Region.c:974:13: note: in expansion of macro 'MERGERECT' 974 | MERGERECT(r1); | ^~~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:958:9: note: in expansion of macro 'MEMCHECK' 958 | MEMCHECK(pReg, pNextRect, pReg->rects); \ | ^~~~~~~~ Region.c:974:13: note: in expansion of macro 'MERGERECT' 974 | MERGERECT(r1); | ^~~~~~~~~ region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:958:9: note: in expansion of macro 'MEMCHECK' 958 | MEMCHECK(pReg, pNextRect, pReg->rects); \ | ^~~~~~~~ Region.c:978:13: note: in expansion of macro 'MERGERECT' 978 | MERGERECT(r2); | ^~~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:958:9: note: in expansion of macro 'MEMCHECK' 958 | MEMCHECK(pReg, pNextRect, pReg->rects); \ | ^~~~~~~~ Region.c:978:13: note: in expansion of macro 'MERGERECT' 978 | MERGERECT(r2); | ^~~~~~~~~ region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:958:9: note: in expansion of macro 'MEMCHECK' 958 | MEMCHECK(pReg, pNextRect, pReg->rects); \ | ^~~~~~~~ Region.c:986:13: note: in expansion of macro 'MERGERECT' 986 | MERGERECT(r1); | ^~~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:958:9: note: in expansion of macro 'MEMCHECK' 958 | MEMCHECK(pReg, pNextRect, pReg->rects); \ | ^~~~~~~~ Region.c:986:13: note: in expansion of macro 'MERGERECT' 986 | MERGERECT(r1); | ^~~~~~~~~ region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:958:9: note: in expansion of macro 'MEMCHECK' 958 | MEMCHECK(pReg, pNextRect, pReg->rects); \ | ^~~~~~~~ Region.c:991:9: note: in expansion of macro 'MERGERECT' 991 | MERGERECT(r2); | ^~~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:958:9: note: in expansion of macro 'MEMCHECK' 958 | MEMCHECK(pReg, pNextRect, pReg->rects); \ | ^~~~~~~~ Region.c:991:9: note: in expansion of macro 'MERGERECT' 991 | MERGERECT(r2); | ^~~~~~~~~ Region.c: At top level: Region.c:996:1: warning: return type defaults to 'int' [-Wimplicit-int] 996 | XUnionRegion(reg1, reg2, newReg) | ^~~~~~~~~~~~ Region.c:1083:1: warning: return type defaults to 'int' [-Wimplicit-int] 1083 | miSubtractNonO1 (pReg, r, rEnd, y1, y2) | ^~~~~~~~~~~~~~~ In file included from Region.c:76: Region.c: In function 'miSubtractNonO1': region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:1099:9: note: in expansion of macro 'MEMCHECK' 1099 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:1099:9: note: in expansion of macro 'MEMCHECK' 1099 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ Region.c: At top level: Region.c:1130:1: warning: return type defaults to 'int' [-Wimplicit-int] 1130 | miSubtractO (pReg, r1, r1End, r2, r2End, y1, y2) | ^~~~~~~~~~~ In file included from Region.c:76: Region.c: In function 'miSubtractO': region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:1188:13: note: in expansion of macro 'MEMCHECK' 1188 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:1188:13: note: in expansion of macro 'MEMCHECK' 1188 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:1223:17: note: in expansion of macro 'MEMCHECK' 1223 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:1223:17: note: in expansion of macro 'MEMCHECK' 1223 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:1243:9: note: in expansion of macro 'MEMCHECK' 1243 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ region.h:139:33: note: in expansion of macro 'Xrealloc' 139 | (firstrect) = (BOX *) Xrealloc \ | ^~~~~~~~ Region.c:1243:9: note: in expansion of macro 'MEMCHECK' 1243 | MEMCHECK(pReg, pNextRect, pReg->rects); | ^~~~~~~~ --- PolyReg.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c PolyReg.c In file included from PolyReg.c:54: region.h:225:8: warning: type defaults to 'int' in declaration of 'XUnionRegion' [-Wimplicit-int] 225 | extern XUnionRegion PROTO(( | ^~~~~~~~~~~~ region.h:235:8: warning: type defaults to 'int' in declaration of 'XDestroyRegion' [-Wimplicit-int] 235 | extern XDestroyRegion PROTO(( | ^~~~~~~~~~~~~~ PolyReg.c: In function 'InsertEdgeInET': region.h:60:25: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ PolyReg.c:97:40: note: in expansion of macro 'Xmalloc' 97 | (ScanLineListBlock *)Xmalloc(sizeof(ScanLineListBlock)); | ^~~~~~~ PolyReg.c:56:1: note: include '' or provide a declaration of 'malloc' 55 | #include "poly.h" +++ |+#include 56 | In file included from PolyReg.c:54: region.h:60:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ PolyReg.c:97:40: note: in expansion of macro 'Xmalloc' 97 | (ScanLineListBlock *)Xmalloc(sizeof(ScanLineListBlock)); | ^~~~~~~ region.h:60:25: note: include '' or provide a declaration of 'malloc' 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ PolyReg.c:97:40: note: in expansion of macro 'Xmalloc' 97 | (ScanLineListBlock *)Xmalloc(sizeof(ScanLineListBlock)); | ^~~~~~~ PolyReg.c: In function 'FreeStorage': region.h:59:25: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 59 | # define Xfree(ptr) free((ptr)) | ^~~~ PolyReg.c:379:9: note: in expansion of macro 'Xfree' 379 | Xfree((char *)pSLLBlock); | ^~~~~ region.h:59:25: note: include '' or provide a declaration of 'free' 59 | # define Xfree(ptr) free((ptr)) | ^~~~ PolyReg.c:379:9: note: in expansion of macro 'Xfree' 379 | Xfree((char *)pSLLBlock); | ^~~~~ region.h:59:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 59 | # define Xfree(ptr) free((ptr)) | ^~~~ PolyReg.c:379:9: note: in expansion of macro 'Xfree' 379 | Xfree((char *)pSLLBlock); | ^~~~~ region.h:59:25: note: include '' or provide a declaration of 'free' 59 | # define Xfree(ptr) free((ptr)) | ^~~~ PolyReg.c:379:9: note: in expansion of macro 'Xfree' 379 | Xfree((char *)pSLLBlock); | ^~~~~ PolyReg.c: In function 'PtsToRegion': region.h:61:30: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ PolyReg.c:408:31: note: in expansion of macro 'Xrealloc' 408 | if (!(reg->rects = (BOX *)Xrealloc((char *)reg->rects, | ^~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ PolyReg.c:408:31: note: in expansion of macro 'Xrealloc' 408 | if (!(reg->rects = (BOX *)Xrealloc((char *)reg->rects, | ^~~~~~~~ region.h:61:30: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ PolyReg.c:408:31: note: in expansion of macro 'Xrealloc' 408 | if (!(reg->rects = (BOX *)Xrealloc((char *)reg->rects, | ^~~~~~~~ region.h:61:30: note: include '' or provide a declaration of 'realloc' 61 | # define Xrealloc(ptr, size) realloc((ptr), (size)) | ^~~~~~~ PolyReg.c:408:31: note: in expansion of macro 'Xrealloc' 408 | if (!(reg->rects = (BOX *)Xrealloc((char *)reg->rects, | ^~~~~~~~ PolyReg.c: In function 'XPolygonRegion': region.h:60:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ PolyReg.c:515:12: note: in expansion of macro 'Xmalloc' 515 | Xmalloc((unsigned) (sizeof(EdgeTableEntry) * Count)))) | ^~~~~~~ region.h:60:25: note: include '' or provide a declaration of 'malloc' 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ PolyReg.c:515:12: note: in expansion of macro 'Xmalloc' 515 | Xmalloc((unsigned) (sizeof(EdgeTableEntry) * Count)))) | ^~~~~~~ region.h:60:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ PolyReg.c:550:48: note: in expansion of macro 'Xmalloc' 550 | tmpPtBlock = (POINTBLOCK *)Xmalloc(sizeof(POINTBLOCK)); | ^~~~~~~ region.h:60:25: note: include '' or provide a declaration of 'malloc' 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ PolyReg.c:550:48: note: in expansion of macro 'Xmalloc' 550 | tmpPtBlock = (POINTBLOCK *)Xmalloc(sizeof(POINTBLOCK)); | ^~~~~~~ region.h:60:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ PolyReg.c:596:52: note: in expansion of macro 'Xmalloc' 596 | tmpPtBlock = (POINTBLOCK *)Xmalloc(sizeof(POINTBLOCK)); | ^~~~~~~ region.h:60:25: note: include '' or provide a declaration of 'malloc' 60 | # define Xmalloc(ptr) malloc((ptr)) | ^~~~~~ PolyReg.c:596:52: note: in expansion of macro 'Xmalloc' 596 | tmpPtBlock = (POINTBLOCK *)Xmalloc(sizeof(POINTBLOCK)); | ^~~~~~~ region.h:59:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 59 | # define Xfree(ptr) free((ptr)) | ^~~~ PolyReg.c:621:9: note: in expansion of macro 'Xfree' 621 | Xfree((char *)curPtBlock); | ^~~~~ region.h:59:25: note: include '' or provide a declaration of 'free' 59 | # define Xfree(ptr) free((ptr)) | ^~~~ PolyReg.c:621:9: note: in expansion of macro 'Xfree' 621 | Xfree((char *)curPtBlock); | ^~~~~ region.h:59:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 59 | # define Xfree(ptr) free((ptr)) | ^~~~ PolyReg.c:624:5: note: in expansion of macro 'Xfree' 624 | Xfree((char *)pETEs); | ^~~~~ region.h:59:25: note: include '' or provide a declaration of 'free' 59 | # define Xfree(ptr) free((ptr)) | ^~~~ PolyReg.c:624:5: note: in expansion of macro 'Xfree' 624 | Xfree((char *)pETEs); | ^~~~~ --- bmp.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c bmp.c --- loom --- cc -o loom -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib error.o loom.o options.o graph.o wireframe.o draw.o draw3d.o contour.o bivar.o Region.o PolyReg.o bmp.o ../../lib/Felt/libfelt.a ../../lib/Elements/libelt.a ../../lib/Matrix/libmtx.a -lm Making all in ./src/Patchwork ... --- dxf.o --- --- dxflib.o --- --- dxf.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c dxf.c --- dxflib.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c dxflib.c dxflib.c: In function 'ReadDXFHeader': dxflib.c:50:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:54:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 54 | fscanf (input, "%s", buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:58:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:62:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | fscanf (input, "%s", buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c: In function 'ReadDXFEntity': dxflib.c:75:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:79:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | fscanf (input, "%s", buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c: In function 'ReadDXFTrailer': dxflib.c:105:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:109:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 109 | fscanf (input, "%s", buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c: In function 'ReadDXFLine': dxflib.c:141:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:145:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | fscanf (input, "%s", buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:149:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 149 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:152:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 152 | fscanf (input, "%lf", &(line -> xa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:154:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:157:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | fscanf (input, "%lf", &(line -> ya)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:159:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 159 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:162:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | fscanf (input, "%lf", &(line -> za)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:164:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 164 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:167:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 167 | fscanf (input, "%lf", &(line -> xb)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:169:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 169 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:172:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | fscanf (input, "%lf", &(line -> yb)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:174:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 174 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:177:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 177 | fscanf (input, "%lf", &(line -> zb)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c: In function 'ReadDXFPolyline': dxflib.c:219:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 219 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:222:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | fscanf (input, "%s", buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:226:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:229:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:233:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 233 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:236:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 236 | fscanf (input, "%lf", &fdummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:238:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 238 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:241:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 241 | fscanf (input, "%lf", &fdummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:243:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 243 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:246:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 246 | fscanf (input, "%lf", &fdummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:248:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 248 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:251:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 251 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:258:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 258 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:261:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 261 | fscanf (input, "%s", buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:263:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 263 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:266:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 266 | fscanf (input, "%s", buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:270:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 270 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:273:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 273 | fscanf (input, "%lf", &(poly -> x[count])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:275:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 275 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:278:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 278 | fscanf (input, "%lf", &(poly -> y[count])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:280:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 280 | fscanf (input, "%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:283:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 283 | fscanf (input, "%lf", &(poly -> z[count])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:291:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 291 | fscanf (input,"%d", &dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dxflib.c:294:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 294 | fscanf (input, "%s", buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- error.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c error.c error.c: In function 'Fatal': error.c:88:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 88 | exit (1); | ^~~~ error.c:31:1: note: include '' or provide a declaration of 'exit' 30 | # include VAR_ARGS_INCLUDE +++ |+#include 31 | error.c:88:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 88 | exit (1); | ^~~~ error.c:88:5: note: include '' or provide a declaration of 'exit' --- graph.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c graph.c --- logan.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c logan.c --- oogl.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c oogl.c --- patchwork.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c patchwork.c --- util.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c util.c util.c: In function 'AddNode': util.c:79:32: warning: 'realloc' called on pointer 'problem.nodes' with nonzero offset 8 [-Wfree-nonheap-object] 79 | problem.nodes = (Node *) realloc (problem.nodes + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | sizeof (Node) * max_nodes); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'AddElement': util.c:118:38: warning: 'realloc' called on pointer 'problem.elements' with nonzero offset 8 [-Wfree-nonheap-object] 118 | problem.elements = (Element *) realloc (problem.elements + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 119 | sizeof (Element) * max_elements); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- patchwork --- cc -o patchwork -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib dxf.o dxflib.o error.o graph.o logan.o oogl.o patchwork.o util.o ../../lib/Generate/libgen.a ../../lib/Felt/libfelt.a ../../lib/Elements/libelt.a ../../lib/Matrix/libmtx.a -lm Making all in ./src/Velvet ... --- analysis.o --- --- animate.o --- --- analysis.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c analysis.c --- animate.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c animate.c --- analysis.o --- In file included from analysis.c:42: analysis.c: In function 'ShiftNodes': ../../include/allocate.h:37:35: warning: 'realloc' called on pointer 'analysis.nodes' with nonzero offset 8 [-Wfree-nonheap-object] 37 | ((ptr) = (ptr) ? (type *) realloc (ptr, sizeof (type) * (number)) : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysis.c:845:25: note: in expansion of macro 'Reallocate' 845 | analysis.nodes = Reallocate (analysis.nodes, Node, analysis.numnodes); | ^~~~~~~~~~ --- apply.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c apply.c --- bivar.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c bivar.c --- callbacks.o --- cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I../../include -I/usr/pkg/include -I/usr/pkg/include/ncurses -c callbacks.c {standard input}: Assembler messages: {standard input}: Fatal error: can't write 15 bytes to section .text of callbacks.o: 'No space left on device' {standard input}: Fatal error: can't close callbacks.o: No space left on device *** [callbacks.o] Error code 1 make[2]: stopped making "all" in /home/pbulk/build/cad/felt/work/FElt-3.05/src/Velvet --- bivar.o --- {standard input}: Assembler messages: {standard input}: Fatal error: can't write 176 bytes to section .text of bivar.o: 'No space left on device' {standard input}: Fatal error: can't close bivar.o: No space left on device *** [bivar.o] Error code 1 make[2]: stopped making "all" in /home/pbulk/build/cad/felt/work/FElt-3.05/src/Velvet make[2]: 2 errors make[2]: stopped making "all" in /home/pbulk/build/cad/felt/work/FElt-3.05/src/Velvet *** [all] Error code 1 make[1]: stopped making "all" in /home/pbulk/build/cad/felt/work/FElt-3.05/src make[1]: 1 error make[1]: stopped making "all" in /home/pbulk/build/cad/felt/work/FElt-3.05/src *** [all] Error code 1 bmake: stopped making "all" in /home/pbulk/build/cad/felt/work/FElt-3.05 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/cad/felt/work/FElt-3.05 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/cad/felt *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/cad/felt