=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for graphviz-12.1.0 printf '#pragma once\n' > ./graphviz_version.h /usr/bin/egrep 'PACKAGE|VERSION|GVPLUGIN' config.h >> ./graphviz_version.h /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0' Making all in libltdl gmake[2]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/libltdl' GEN libltdl/lt__argz.h /usr/pkg/bin/gmake all-am gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/libltdl' CC libltdlc_la-lt_dlloader.lo CC libltdlc_la-lt__alloc.lo CC libltdlc_la-lt_error.lo CC libltdlc_la-slist.lo CC libltdlc_la-ltdl.lo CC lt__argz.lo CC loaders/dlopen.lo CC loaders/libltdlc_la-preopen.lo CCLD dlopen.la CCLD libltdlc.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/libltdl' gmake[2]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/libltdl' Making all in lib gmake[2]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib' Making all in util gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/util' CC libutil_C_la-gv_fopen.lo CCLD libutil_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/util' Making all in cdt gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/cdt' CC dtclose.lo CC dtdisc.lo CC dtflatten.lo CC dthash.lo CC dtextract.lo CC dtlist.lo CC dtmethod.lo CC dtopen.lo dthash.c: In function 'dthtab': dthash.c:28:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 28 | if (!(s = realloc(olds, n * sizeof(Dtlink_t*)))) | ^ In file included from dthash.c:1: ../../lib/cdt/dthdr.h:25:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 25 | #define HINDEX(n,h) ((h)&((n)-1)) | ^ dthash.c:40:17: note: in expansion of macro 'HINDEX' 40 | if((is = s + HINDEX(n,t->hash)) == hs) | ^~~~~~ dthash.c: In function 'dthash': ../../lib/cdt/dthdr.h:25:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 25 | #define HINDEX(n,h) ((h)&((n)-1)) | ^ dthash.c:125:25: note: in expansion of macro 'HINDEX' 125 | s = dt->data->htab + HINDEX(dt->data->ntab,hsh); | ^~~~~~ ../../lib/cdt/dthdr.h:25:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 25 | #define HINDEX(n,h) ((h)&((n)-1)) | ^ dthash.c:133:29: note: in expansion of macro 'HINDEX' 133 | *(s = dt->data->htab + HINDEX(dt->data->ntab,hsh)); | ^~~~~~ ../../lib/cdt/dthdr.h:25:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 25 | #define HINDEX(n,h) ((h)&((n)-1)) | ^ dthash.c:190:24: note: in expansion of macro 'HINDEX' 190 | s = dt->data->htab + HINDEX(dt->data->ntab,hsh); | ^~~~~~ CC dtrenew.lo CC dtrestore.lo CC dtsize.lo CC dtstat.lo CC dtstrhash.lo CC dttree.lo CC dtview.lo In file included from dtrenew.c:1: dtrenew.c: In function 'dtrenew': ../../lib/cdt/dthdr.h:25:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 25 | #define HINDEX(n,h) ((h)&((n)-1)) | ^ dtrenew.c:37:25: note: in expansion of macro 'HINDEX' 37 | { s = dt->data->htab + HINDEX(dt->data->ntab,e->hash); | ^~~~~~ CC dtwalk.lo CCLD libcdt.la CCLD libcdt_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/cdt' Making all in xdot gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/xdot' CC xdot.lo xdot.c: In function 'radGradient': xdot.c:890:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 890 | stops = gv_calloc(clr->u.ring.n_stops, sizeof(stops[0])); | ~~~~~~~~~~~^~~~~~~~ xdot.c:894:18: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 894 | stops[i].frac = d; | ^ xdot.c: In function 'linGradient': xdot.c:927:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 927 | stops = gv_calloc(clr->u.ling.n_stops, sizeof(stops[0])); | ~~~~~~~~~~~^~~~~~~~ xdot.c:931:18: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 931 | stops[i].frac = d; | ^ CCLD libxdot_C.la CCLD libxdot.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/xdot' Making all in cgraph gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/cgraph' CC acyclic.lo CC agerror.lo CC attr.lo CC apply.lo CC edge.lo CC graph.lo CC grammar.lo CC id.lo CC imap.lo CC ingraphs.lo CC io.lo CC mem.lo CC node.lo CC node_induce.lo CC obj.lo CC rec.lo CC refstr.lo CC scan.lo CC subg.lo CC tred.lo CC unflatten.lo CC utils.lo CC write.lo scan.c: In function 'aaglex': scan.c:1504:8: warning: switch missing default case [-Wswitch-default] 1504 | else switch ( yy_get_next_buffer( ) ) | ^~~~~~ tred.c: In function 'graphviz_tred': tred.c:192:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 192 | infosize = (agnnodes(g) + 1) * sizeof(nodeinfo_t); | ^ CCLD libcgraph_C.la CCLD libcgraph.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/cgraph' Making all in pathplan gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/pathplan' CC cvt.lo CC inpoly.lo CC route.lo CC shortest.lo CC shortestpth.lo CC solvers.lo CC triang.lo CC util.lo route.c: In function 'splineintersectsline': route.c:321:19: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 321 | if (xcoeff[1] == 0) { | ^~ route.c:322:16: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 322 | if (ycoeff[1] == 0) { | ^~ route.c:341:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 341 | if (xroots[i] == yroots[j]) | ^~ shortestpth.c: In function 'shortestPath': shortestpth.c:35:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 35 | int *dad = gv_calloc(V, sizeof(int)); | ^ shortestpth.c:36:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 36 | COORD *vl = gv_calloc(V + 1, sizeof(COORD)); // One extra for sentinel | ~~^~~ shortestpth.c:52:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 52 | if (val[k] == unseen) | ^~ shortestpth.c:67:12: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 67 | if ((wkt != 0) && (val[t] < newpri)) { | ^~ shortestpth.c: In function 'makePath': shortestpth.c:97:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 97 | int *dad = gv_calloc(V + 2, sizeof(int)); | ~~^~~ util.c: In function 'Ppolybarriers': util.c:36:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 36 | Pedge_t *bar = gv_calloc(n, sizeof(Pedge_t)); | ^ shortest.c: In function 'Pshortestpath': shortest.c:129:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 129 | if ((p1.x == p2.x && p2.x == p3.x && p3.y > p2.y) || | ^~ shortest.c:129:31: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 129 | if ((p1.x == p2.x && p2.x == p3.x && p3.y > p2.y) || | ^~ shortest.c:133:22: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 133 | && polyp->ps[pi].x == polyp->ps[pi + 1].x | ^~ shortest.c:134:22: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 134 | && polyp->ps[pi].y == polyp->ps[pi + 1].y) | ^~ shortest.c:143:36: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 143 | if (pi > 0 && polyp->ps[pi].x == polyp->ps[pi - 1].x && | ^~ shortest.c:144:19: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 144 | polyp->ps[pi].y == polyp->ps[pi - 1].y) | ^~ CC visibility.lo visibility.c: In function 'allocArray': visibility.c:29:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 29 | array2 arr = gv_calloc(V + extra, sizeof(COORD*)); | ~~^~~~~~~ visibility.c: In function 'inBetween': visibility.c:67:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 67 | if (a.x != b.x) /* not vertical */ | ^~ visibility.c: In function 'ptVis': visibility.c:256:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 256 | COORD *vadj = gv_calloc(V + 2, sizeof(COORD)); | ~~^~~ CCLD libpathplan_C.la CCLD libpathplan.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/pathplan' Making all in sfio gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/sfio' Making all in Sfio_f gmake[4]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/sfio/Sfio_f' CC _sfslen.lo CCLD libsfiof_C.la gmake[4]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/sfio/Sfio_f' gmake[4]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/sfio' CC sfcvt.lo CC sfextern.lo CC sftable.lo CC sfprint.lo CC sfvscanf.lo sfcvt.c: In function '_sfcvt': sfcvt.c:42:11: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 42 | if (dval == 0.) | ^~ In file included from sfcvt.c:12: ../../lib/sfio/sfhdr.h:129:18: warning: conversion from 'long double' to 'double' may change value [-Wfloat-conversion] 129 | #define _Sfneg10 (_Sftable.sf_neg10) | ^ sfcvt.c:54:15: note: in expansion of macro '_Sfneg10' 54 | dval *= _Sfneg10[v]; | ^~~~~~~~ sfcvt.c:103:12: warning: conversion from 'long int' to 'double' may change value [-Wconversion] 103 | dval -= n; | ^~ In file included from sfvscanf.c:15: sfvscanf.c: In function 'sfvscanf': ../../lib/sfio/sfhdr.h:90:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfvscanf.c:174:4: note: in expansion of macro 'FMTSET' 174 | FMTSET(ft, form, LEFTP, 0, 0, 0, 0, 0, NULL, 0); | ^~~~~~ ../../lib/sfio/sfhdr.h:90:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfvscanf.c:202:3: note: in expansion of macro 'FMTSET' 202 | FMTSET(ft, form, '.', dot, 0, 0, 0, 0, NULL, 0); | ^~~~~~ ../../lib/sfio/sfhdr.h:90:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfvscanf.c:244:3: note: in expansion of macro 'FMTSET' 244 | FMTSET(ft, form, 'I', sizeof(int), 0, 0, 0, 0, NULL, 0); | ^~~~~~ ../../lib/sfio/sfhdr.h:90:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfvscanf.c:307:2: note: in expansion of macro 'FMTSET' 307 | FMTSET(ft, form, fmt, size, flags, width, 0, base, t_str, n_str); | ^~~~~~ sfvscanf.c:367:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] 367 | *val++ = inp; | ^~~ sfvscanf.c:376:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] 376 | *val++ = inp; | ^~~ sfprint.c: In function 'sfprint': sfvscanf.c:380:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] 380 | *val++ = inp; | ^~~ sfvscanf.c:384:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] 384 | *val++ = inp; | ^~~ sfprint.c:93:11: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 93 | sp = (char *) form++; | ^ sfprint.c:96:10: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 96 | n = form - sp; | ^~~~ sfvscanf.c:458:36: warning: conversion to 'long long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 458 | (argv.lu << 3) + (argv.lu << 1) + (inp - '0'); | ^ In file included from sfprint.c:15: ../../lib/sfio/sfhdr.h:90:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfprint.c:140:4: note: in expansion of macro 'FMTSET' 140 | FMTSET(ft, form, LEFTP, 0, 0, 0, 0, 0, NULL, 0); | ^~~~~~ sfvscanf.c:489:33: warning: conversion to 'long long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 489 | argv.lu = (argv.lu << shift) + sp[inp]; | ^ sfvscanf.c:494:23: warning: conversion to 'long long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 494 | argv.lu = (argv.lu * base) + sp[inp]; | ^ sfvscanf.c:494:31: warning: conversion to 'long long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 494 | argv.lu = (argv.lu * base) + sp[inp]; | ^ ../../lib/sfio/sfhdr.h:90:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfprint.c:209:6: note: in expansion of macro 'FMTSET' 209 | FMTSET(ft, form, '.', dot, 0, 0, 0, 0, NULL, 0); | ^~~~~~ sfvscanf.c:546:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] 546 | *argv.s++ = inp; | ^~~ sfvscanf.c:551:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] 551 | *argv.s++ = inp; | ^~~ ../../lib/sfio/sfhdr.h:90:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfprint.c:250:3: note: in expansion of macro 'FMTSET' 250 | FMTSET(ft, form, 'I', sizeof(int), 0, 0, 0, 0, NULL, 0); | ^~~~~~ sfvscanf.c:566:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] 566 | *argv.s++ = inp; | ^~~ ../../lib/sfio/sfhdr.h:90:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfprint.c:314:2: note: in expansion of macro 'FMTSET' 314 | FMTSET(ft, form, fmt, size, flags, width, precis, base, t_str, n_str); | ^~~~~~ sfprint.c:344:12: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 344 | if ((v = size) >= 0) { | ^~~~ sfprint.c:348:11: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 348 | v = strlen(sp); | ^~~~~~ sfprint.c:380:12: warning: conversion from 'int' to 'char' may change value [-Wconversion] 380 | buf[0] = fmt; | ^~~ sfprint.c:481:22: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 481 | } while ((lv = (unsigned long long)lv >> n)); | ^ sfprint.c:485:22: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 485 | } while ((lv = (unsigned long long)lv / (unsigned long long)base)); | ^ sfprint.c:532:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 532 | } while ((v = (unsigned)v >> n)); | ^ sfprint.c:536:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 536 | } while ((v = (unsigned)v / (unsigned)base)); | ^ sfprint.c:541:11: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 541 | && (n = endsp - sp) > 3) { | ^~~~~ sfprint.c:558:35: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 558 | if (precis > 0 && (precis -= (endsp - sp)) < (sp - buf) - 64) | ^ sfprint.c:575:8: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 575 | n = width - (n + (endsp - sp)); | ^~~~~ In file included from sfprint.c:15: ../../lib/sfio/sfhdr.h:130:17: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] 130 | #define _Sfdec (_Sftable.sf_dec) | ^ sfprint.c:587:16: note: in expansion of macro '_Sfdec' 587 | *--sp = _Sfdec[(base <<= 1) + 1]; | ^~~~~~ ../../lib/sfio/sfhdr.h:130:17: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] 130 | #define _Sfdec (_Sftable.sf_dec) | ^ sfprint.c:588:16: note: in expansion of macro '_Sfdec' 588 | *--sp = _Sfdec[base]; | ^~~~~~ sfprint.c:627:12: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 627 | if (dval == 0.) | ^~ sfprint.c:634:12: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 634 | if ((n = sfslen()) > precis) | ^~~~~~ sfprint.c:661:16: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 661 | precis -= (endsp -= 1) - ssp; | ^ sfprint.c:665:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 665 | if (dval != 0.) { | ^~ sfprint.c:680:33: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 680 | *--ep = (decpt > 0 || dval == 0.) ? '+' : '-'; | ^~ sfprint.c:725:16: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 725 | precis -= (endsp -= 1) - ssp; | ^ sfprint.c:742:6: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 742 | n = (endsp - sp) + (endep - ep) + (precis <= 0 ? 0 : precis) + | ^ sfprint.c:750:11: warning: conversion from 'int' to 'char' may change value [-Wconversion] 750 | *--sp = fmt; | ^~~ sfprint.c:772:11: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 772 | if ((n = endsp - sp) > 0) | ^~~~~ sfprint.c:780:15: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 780 | if ((n = endep - (sp = ep)) > 0) | ^~~~~ sftable.c: In function 'sffmtint': sftable.c:26:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 26 | return (char *) str; | ^ CCLD libsfio_C.la gmake[4]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/sfio' gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/sfio' Making all in vmalloc gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/vmalloc' CC vmclear.lo CC vmalloc.lo CC vmclose.lo CC vmopen.lo CC vmstrdup.lo CCLD libvmalloc_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/vmalloc' Making all in ast gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/ast' CC chresc.lo CC chrtoi.lo CC error.lo CC fmtesc.lo CC stresc.lo CC strmatch.lo chresc.c: In function 'chresc': chresc.c:136:7: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 136 | *p = (char *) s; | ^ stresc.c: In function 'stresc': stresc.c:39:9: warning: conversion from 'int' to 'char' may change value [-Wconversion] 39 | *t++ = c; | ^ In file included from /usr/include/ctype.h:100, from strmatch.c:49: strmatch.c: In function 'onematch': strmatch.c:405:17: warning: array subscript has type 'char' [-Wchar-subscripts] 405 | && tolower(*oldp) == tolower(*olds)) | ^ strmatch.c:405:35: warning: array subscript has type 'char' [-Wchar-subscripts] 405 | && tolower(*oldp) == tolower(*olds)) | ^ CCLD libast_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/ast' Making all in vpsc gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/vpsc' CXX block.lo CXX blocks.lo CXX constraint.lo CXX solve_VPSC.lo CXX generate-constraints.lo CXX csolve_VPSC.lo CXX variable.lo CXXLD libvpsc_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/vpsc' Making all in rbtree gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/rbtree' CC red_black_tree.lo CCLD librbtree_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/rbtree' Making all in ortho gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/ortho' CC fPQ.lo CC ortho.lo CC partition.lo CC sgraph.lo CC maze.lo CC trapezoid.lo CC rawgraph.lo fPQ.c: In function 'PQgen': fPQ.c:28:23: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 28 | pq = gv_calloc(sz + 1, sizeof(snode*)); | ~~~^~~ maze.c: In function 'mkMazeGraph': maze.c:336:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 336 | snodeitem* ditems = gv_calloc(bound, sizeof(snodeitem)); | ^~~~~ maze.c:343:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 343 | sides = gv_calloc(4 * mp->ncells, sizeof(snode*)); | ~~^~~~~~~~~~~~ maze.c:381:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 381 | sides = gv_calloc(g->nnodes, sizeof(snode*)); | ~^~~~~~~~ maze.c: In function 'mkMaze': maze.c:462:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 462 | cp = mp->gcells = gv_calloc(mp->ngcells, sizeof(cell)); | ~~^~~~~~~~~ maze.c:494:18: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 494 | mp->ncells = nrect; | ^~~~~ trapezoid.c: In function 'newnode': trapezoid.c:67:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 67 | return qs->length - 1; | ~~~~~~~~~~~^~~ trapezoid.c: In function 'newtrap': trapezoid.c:74:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 74 | return tr->length - 1; | ~~~~~~~~~~~^~~ trapezoid.c: In function 'math_N': trapezoid.c:920:10: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 920 | return (int) ceil((double) 1.0*n/v); | ^ ortho.c: In function 'segCmp': ortho.c:633:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 633 | if (S1->p.p1 == S2->p.p1) { | ^~ ortho.c:634:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 634 | if(S1->p.p2==S2->p.p2) { | ^~ ortho.c:676:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 676 | if (S1->p.p2 == S2->p.p1) { | ^~ ortho.c: In function 'seg_cmp': ortho.c:705:46: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 705 | if(S1->isVert!=S2->isVert||S1->comm_coord!=S2->comm_coord) { | ^~ ortho.c: In function 'propagate_prec': ortho.c:786:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 786 | if(next->comm_coord==current->p.p1) { | ^~ ortho.c:794:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 794 | if(next->comm_coord==current->p.p1) { | ^~ In file included from ../../lib/cgraph/agxbuf.h:17, from ../../lib/common/render.h:39, from ../../lib/ortho/ortho.h:13, from ortho.c:32: ortho.c: In function 'is_parallel': ortho.c:809:27: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 809 | assert (s1->comm_coord==s2->comm_coord); | ^~ ortho.c:810:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 810 | return s1->p.p1 == s2->p.p1 && | ^~ ortho.c:811:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 811 | s1->p.p2 == s2->p.p2 && | ^~ ortho.c: In function 'set_parallel_edges': ortho.c:876:26: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 876 | if(prev1->comm_coord==seg1->p.p1) { | ^~ ortho.c:907:26: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 907 | if(prev1->comm_coord==seg1->p.p1) { | ^~ ortho.c: In function 'addPEdges': ortho.c:996:48: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 996 | if (seg_list_get(segs, i)->prev->comm_coord == | ^~ ortho.c: In function 'vtrack': ortho.c:1109:45: warning: cast from function call of type 'size_t' {aka 'long unsigned int'} to non-matching type 'double' [-Wbad-function-cast] 1109 | const double f = (double)seg->track_no / ((double)seg_list_size(&chp->seg_list) + 1); | ^ ortho.c: In function 'htrack': ortho.c:1117:45: warning: cast from function call of type 'size_t' {aka 'long unsigned int'} to non-matching type 'double' [-Wbad-function-cast] 1117 | double f = 1.0 - (double)seg->track_no / ((double)seg_list_size(&chp->seg_list) + 1); | ^ ortho.c: In function 'orthoEdges': ortho.c:1243:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1243 | epair_t* es = gv_calloc(agnedges(g), sizeof(epair_t)); | ^~~~~~~~~~~ partition.c: In function 'generateRandomOrdering': partition.c:161:6: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 161 | j = i + drand48() * (n + 1 - i); | ^ sgraph.c: In function 'initSEdges': sgraph.c:44:40: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 44 | int* adj = gv_calloc(6 * g->nnodes + 2 * maxdeg, sizeof(int)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~ sgraph.c:45:40: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 45 | g->edges = gv_calloc(3 * g->nnodes + maxdeg, sizeof(sedge)); | ~~~~~~~~~~~~~~^~~~~~~~ sgraph.c: In function 'createSGraph': sgraph.c:63:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 63 | g->nodes = gv_calloc(nnodes, sizeof(snode)); | ^~~~~~ sgraph.c: In function 'shortPath': sgraph.c:171:7: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 171 | d = -(N_VAL(n) + E_WT(e)); | ^ partition.c: In function 'monotonate_trapezoids': partition.c:602:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 602 | vert = gv_calloc(nsegs + 1, sizeof(vertexchain_t)); | ~~~~~~^~~ partition.c:603:21: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 603 | mon = gv_calloc(nsegs, sizeof(int)); | ^~~~~ partition.c:607:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 607 | for (i = 0; i < tr->length; i++) | ^ partition.c: In function 'partition': partition.c:687:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 687 | segment_t* segs = gv_calloc(nsegs + 1, sizeof(segment_t)); | ~~~~~~^~~ partition.c:688:36: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 688 | int* permute = gv_calloc(nsegs + 1, sizeof(int)); | ~~~~~~^~~ CCLD libortho_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/ortho' Making all in sparse gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/sparse' CC SparseMatrix.lo CC DotIO.lo CC general.lo CC colorutil.lo CC mq.lo CC color_palette.lo CC clustering.lo CC QuadTree.lo QuadTree.c: In function 'node_data_new': QuadTree.c:26:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 26 | nd->coord = gv_calloc(dim, sizeof(double)); | ^~~ QuadTree.c: In function 'check_or_realloc_arrays': QuadTree.c:43:40: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 43 | *center = gv_recalloc(*center, dim * *nsupermax, dim * new_nsupermax, sizeof(double)); | ~~~~^~~~~~~~~~~~ QuadTree.c:43:58: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 43 | *center = gv_recalloc(*center, dim * *nsupermax, dim * new_nsupermax, sizeof(double)); | ~~~~^~~~~~~~~~~~~~~ QuadTree.c:44:52: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 44 | *supernode_wgts = gv_recalloc(*supernode_wgts, *nsupermax, new_nsupermax, sizeof(double)); | ^~~~~~~~~~ QuadTree.c:44:64: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 44 | *supernode_wgts = gv_recalloc(*supernode_wgts, *nsupermax, new_nsupermax, sizeof(double)); | ^~~~~~~~~~~~~ QuadTree.c:45:42: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 45 | *distances = gv_recalloc(*distances, *nsupermax, new_nsupermax, sizeof(double)); | ^~~~~~~~~~ QuadTree.c:45:54: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 45 | *distances = gv_recalloc(*distances, *nsupermax, new_nsupermax, sizeof(double)); | ^~~~~~~~~~~~~ QuadTree.c: In function 'QuadTree_get_supernodes': QuadTree.c:102:48: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 102 | if (!*center) *center = gv_calloc(*nsupermax * dim, sizeof(double)); | ~~~~~~~~~~~^~~~~ QuadTree.c:103:53: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 103 | if (!*supernode_wgts) *supernode_wgts = gv_calloc(*nsupermax, sizeof(double)); | ^~~~~~~~~~ QuadTree.c:104:43: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 104 | if (!*distances) *distances = gv_calloc(*nsupermax, sizeof(double)); | ^~~~~~~~~~ QuadTree.c: In function 'get_or_alloc_force_qt': QuadTree.c:123:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 123 | qt->data = gv_calloc(dim, sizeof(double)); | ^~~ QuadTree.c: In function 'QuadTree_repulsive_force_interact': QuadTree.c:156:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 156 | if (p == -1){ | ^~ QuadTree.c:188:10: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 188 | if (p == -1){ | ^~ QuadTree.c: In function 'QuadTree_new_from_point_list': QuadTree.c:316:20: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 316 | xmin = gv_calloc(dim, sizeof(double)); | ^~~ QuadTree.c:317:20: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 317 | xmax = gv_calloc(dim, sizeof(double)); | ^~~ QuadTree.c:318:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 318 | center = gv_calloc(dim, sizeof(double)); | ^~~ QuadTree.c: In function 'QuadTree_new': QuadTree.c:361:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 361 | q->center = gv_calloc(dim, sizeof(double)); | ^~~ QuadTree.c: In function 'QuadTree_add_internal': QuadTree.c:456:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 456 | q->average = gv_calloc(dim, sizeof(double)); | ^~~ mq.c: In function 'get_mq': mq.c:90:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 90 | counts = gv_calloc(n, sizeof(int)); | ^ mq.c:128:20: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 128 | dout = gv_calloc(n, sizeof(double)); | ^ mq.c: In function 'Multilevel_MQ_Clustering_init': mq.c:172:41: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 172 | matching = grid->matching = gv_calloc(n, sizeof(double)); | ^ mq.c:182:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 182 | grid->deg_intra = gv_calloc(n, sizeof(double)); | ^ mq.c:185:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 185 | grid->wgt = gv_calloc(n, sizeof(double)); | ^ mq.c: In function 'Multilevel_MQ_Clustering_establish': mq.c:240:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 240 | ints_t *neighbors = gv_calloc(n, sizeof(ints_t)); | ^ mq.c:246:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 246 | double *deg_intra_new = gv_calloc(n, sizeof(double)); | ^ mq.c:247:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 247 | double *wgt_new = gv_calloc(n, sizeof(double)); | ^ mq.c:248:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 248 | double *deg_inter = gv_calloc(n, sizeof(double)); | ^ mq.c:249:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 249 | int *mask = gv_calloc(n, sizeof(int)); | ^ mq.c:250:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 250 | double *dout_new = gv_calloc(n, sizeof(double)); | ^ mq.c:480:48: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 480 | deg_intra_new = gv_recalloc(deg_intra_new, n, nc, sizeof(double)); | ^ mq.c:480:51: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 480 | deg_intra_new = gv_recalloc(deg_intra_new, n, nc, sizeof(double)); | ^~ mq.c:481:36: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 481 | wgt_new = gv_recalloc(wgt_new, n, nc, sizeof(double)); | ^ mq.c:481:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 481 | wgt_new = gv_recalloc(wgt_new, n, nc, sizeof(double)); | ^~ mq.c:485:38: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 485 | dout_new = gv_recalloc(dout_new, n, nc, sizeof(double)); | ^ mq.c:485:41: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 485 | dout_new = gv_recalloc(dout_new, n, nc, sizeof(double)); | ^~ mq.c: In function 'hierachical_mq_clustering': mq.c:555:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 555 | double *u = gv_calloc(cgrid->n, sizeof(double)); | ~~~~~^~~ mq.c:572:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 572 | matching = gv_calloc(grid->n, sizeof(int)); | ~~~~^~~ SparseMatrix.c: In function 'SparseMatrix_realloc': SparseMatrix.c:328:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 328 | A->ia = gv_recalloc(A->ia, A->nzmax, nz_t, sizeof(int)); | ~^~~~~~~ SparseMatrix.c:329:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 329 | A->ja = gv_recalloc(A->ja, A->nzmax, nz_t, sizeof(int)); | ~^~~~~~~ SparseMatrix.c:332:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 332 | A->a = gv_recalloc(A->a, A->nzmax, nz_t, A->size); | ~^~~~~~~ SparseMatrix.c:340:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 340 | A->ja = gv_recalloc(A->ja, A->nzmax, nz_t, sizeof(int)); | ~^~~~~~~ SparseMatrix.c:343:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 343 | A->a = gv_recalloc(A->a, A->nzmax, nz_t, A->size); | ~^~~~~~~ clustering.c: In function 'Multilevel_Modularity_Clustering_init': clustering.c:36:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 36 | grid->matching = gv_calloc(n, sizeof(double)); | ^ clustering.c:47:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 47 | grid->deg = gv_calloc(n, sizeof(double)); | ^ clustering.c:50:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 50 | double *indeg = gv_calloc(n, sizeof(double)); | ^ clustering.c: In function 'Multilevel_Modularity_Clustering_establish': clustering.c:105:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 105 | double *deg_new = gv_calloc(n, sizeof(double)); | ^ clustering.c:106:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 106 | double *deg_inter = gv_calloc(n, sizeof(double)); | ^ clustering.c:107:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 107 | int *mask = gv_calloc(n, sizeof(int)); | ^ SparseMatrix.c: In function 'SparseMatrix_distance_matrix': SparseMatrix.c:2049:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2049 | if (!(*dist0)) *dist0 = gv_calloc(n * n, sizeof(double)); | ~~^~~ clustering.c: In function 'hierachical_modularity_clustering': clustering.c:314:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 314 | double *u = gv_calloc(cgrid->n, sizeof(double)); | ~~~~~^~~ clustering.c:331:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 331 | matching = gv_calloc(grid->n, sizeof(int)); | ~~~~^~~ general.c: In function 'random_permutation': general.c:36:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 36 | int *p = gv_calloc(n, sizeof(int)); | ^ general.c: In function 'vector_float_take': general.c:82:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 82 | if (!*u) *u = gv_calloc(m, sizeof(float)); | ^ general.c: In function 'vector_ordering': general.c:122:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 122 | if (!*p) *p = gv_calloc(n, sizeof(int)); | ^ general.c:123:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 123 | double *u = gv_calloc(2 * n, sizeof(double)); | ~~^~~ general.c:130:12: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 130 | qsort(u, n, sizeof(double)*2, comp_ascend); | ^ general.c: In function 'vector_sort_int': general.c:137:12: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 137 | qsort(v, n, sizeof(int), comp_ascend_int); | ^ DotIO.c: In function 'SparseMatrix_import_dot': DotIO.c:107:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 107 | ND_id(n) = i++; | ^ DotIO.c:116:19: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 116 | I = gv_calloc(nedges, sizeof(int)); | ^~~~~~ DotIO.c:117:19: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 117 | J = gv_calloc(nedges, sizeof(int)); | ^~~~~~ DotIO.c:118:21: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 118 | val = gv_calloc(nedges, sizeof(double)); | ^~~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:124:11: note: in expansion of macro 'ND_id' 124 | row = ND_id(n); | ^~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:127:14: note: in expansion of macro 'ND_id' 127 | J[i] = ND_id(aghead(e)); | ^~~~~ DotIO.c:145:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 145 | *x = gv_calloc(dim * nnodes, sizeof(double)); | ~~~~^~~~~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:150:11: note: in expansion of macro 'ND_id' 150 | i = ND_id(n); | ^~~~~ DotIO.c: In function 'Import_dot_splines': DotIO.c:243:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 243 | *xsplines = gv_calloc(nedges, sizeof(char*)); | ^~~~~~ DotIO.c: In function 'hexcol2rgb': DotIO.c:265:44: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 265 | return (hex2int(h[0])*16 + hex2int(h[1]))/255.; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ DotIO.c: In function 'Import_coord_clusters_from_dot': DotIO.c:358:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 358 | ND_id(n) = i++; | ^ DotIO.c:361:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 361 | int* I = gv_calloc(nedges, sizeof(int)); | ^~~~~~ DotIO.c:362:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 362 | int* J = gv_calloc(nedges, sizeof(int)); | ^~~~~~ DotIO.c:363:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 363 | double* val = gv_calloc(nedges, sizeof(double)); | ^~~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:370:11: note: in expansion of macro 'ND_id' 370 | row = ND_id(n); | ^~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:373:14: note: in expansion of macro 'ND_id' 373 | J[i] = ND_id(aghead(e)); | ^~~~~ DotIO.c:388:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 388 | *clusters = gv_calloc(nnodes, sizeof(int)); | ^~~~~~ In file included from /usr/include/string.h:127, from ../../lib/cgraph/alloc.h:24, from ../../lib/cgraph/agxbuf.h:18, from DotIO.c:12: DotIO.c:397:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 397 | memset (*clusters, 0, sizeof(int)*nnodes); | ^ DotIO.c:397:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 397 | memset (*clusters, 0, sizeof(int)*nnodes); | ^ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:402:13: note: in expansion of macro 'ND_id' 402 | i = ND_id(n); | ^~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:410:11: note: in expansion of macro 'ND_id' 410 | i = ND_id(n); | ^~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:419:11: note: in expansion of macro 'ND_id' 419 | i = ND_id(n); | ^~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:454:11: note: in expansion of macro 'ND_id' 454 | i = ND_id(n); | ^~~~~ DotIO.c:465:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 465 | *label_sizes = gv_calloc(dim * nnodes, sizeof(double)); | ~~~~^~~~~~~~ DotIO.c:467:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 467 | *rgb_r = gv_calloc(1 + MAX_GRPS, sizeof(float)); | ~~^~~~~~~~~~ DotIO.c:468:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 468 | *rgb_g = gv_calloc(1 + MAX_GRPS, sizeof(float)); | ~~^~~~~~~~~~ DotIO.c:469:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 469 | *rgb_b = gv_calloc(1 + MAX_GRPS, sizeof(float)); | ~~^~~~~~~~~~ DotIO.c:475:20: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 475 | *fsz = gv_calloc(nnodes, sizeof(float)); | ^~~~~~ DotIO.c:476:23: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 476 | *labels = gv_calloc(nnodes, sizeof(char*)); | ^~~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:481:9: note: in expansion of macro 'ND_id' 481 | i = ND_id(n); | ^~~~~ DotIO.c:522:33: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 522 | (*rgb_r)[(*clusters)[i]] = color.u.RGBA[0]; | ^~~~~ DotIO.c:523:33: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 523 | (*rgb_g)[(*clusters)[i]] = color.u.RGBA[1]; | ^~~~~ DotIO.c:524:33: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 524 | (*rgb_b)[(*clusters)[i]] = color.u.RGBA[2]; | ^~~~~ DotIO.c:539:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 539 | *x = gv_calloc(dim * nnodes, sizeof(double)); | ~~~~^~~~~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:542:11: note: in expansion of macro 'ND_id' 542 | i = ND_id(n); | ^~~~~ DotIO.c: In function 'attached_clustering': DotIO.c:587:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 587 | ND_id(n) = i++; | ^ DotIO.c:590:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 590 | int* I = gv_calloc(nedges, sizeof(int)); | ^~~~~~ DotIO.c:591:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 591 | int* J = gv_calloc(nedges, sizeof(int)); | ^~~~~~ DotIO.c:592:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 592 | double* val = gv_calloc(nedges, sizeof(double)); | ^~~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:599:11: note: in expansion of macro 'ND_id' 599 | row = ND_id(n); | ^~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:602:14: note: in expansion of macro 'ND_id' 602 | J[i] = ND_id(aghead(e)); | ^~~~~ DotIO.c:615:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 615 | int *clusters = gv_calloc(nnodes, sizeof(int)); | ^~~~~~ DotIO.c:31:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ^ DotIO.c:632:11: note: in expansion of macro 'ND_id' 632 | i = ND_id(n); | ^~~~~ DotIO.c: In function 'setDotNodeID': DotIO.c:661:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 661 | ND_id(n) = v; | ^ DotIO.c: In function 'getDotNodeID': DotIO.c:31:53: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 31 | #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ DotIO.c:666:12: note: in expansion of macro 'ND_id' 666 | return ND_id(n); | ^~~~~ CCLD libsparse_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/sparse' Making all in patchwork gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/patchwork' CC patchwork.lo CC patchworkinit.lo CC tree_map.lo patchworkinit.c: In function 'patchwork_init_node_edge': patchworkinit.c:86:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 86 | rdata* alg = gv_calloc(agnnodes(g), sizeof(rdata)); | ^~~~~~~~~~~ patchworkinit.c:88:47: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 88 | GD_neato_nlist(g) = gv_calloc(agnnodes(g) + 1, sizeof(node_t*)); | ~~~~~~~~~~~~^~~ patchwork.c: In function 'getArea': patchwork.c:63:14: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 63 | if (area == 0) area = DFLT_SZ; | ^~ patchwork.c: In function 'layoutTree': patchwork.c:166:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 166 | if (tree->area == tree->child_area) | ^~ CCLD libpatchwork_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/patchwork' Making all in expr gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/expr' CC excc.lo CC exerror.lo CC exdata.lo CC excontext.lo CC exeval.lo CC exexpr.lo CC exopen.lo CC extoken.lo excontext.c: In function 'excontext': excontext.c:42:30: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 42 | if ((n = (sizeof(p->line) - (t - (p->linep + 1))) - (e - s)) > 0) | ^ excontext.c:42:54: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] 42 | if ((n = (sizeof(p->line) - (t - (p->linep + 1))) - (e - s)) > 0) | ^ excontext.c:42:13: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 42 | if ((n = (sizeof(p->line) - (t - (p->linep + 1))) - (e - s)) > 0) | ^ excontext.c:56:12: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 56 | if ((n = (p->linep - t) - (e - s)) > 0) | ^ In file included from extoken.c:22: extoken.c: In function 'lex': ../../lib/expr/exlib.h:126:123: warning: conversion from 'int' to 'char' may change value [-Wconversion] 126 | #define putcontext(p,c) (((p)->linep>=&(p)->line[sizeof((p)->line)]?(p)->linep=(p)->line,(p)->linewrap=1:0),*(p)->linep++=(c)) | ^ extoken.c:300:4: note: in expansion of macro 'putcontext' 300 | putcontext(ex, c); | ^~~~~~~~~~ extoken.c: In function 'extoken_fn': extoken.c:339:6: warning: switch missing default case [-Wswitch-default] 339 | switch (lex(ex)) | ^~~~~~ extoken.c:331:14: warning: switch missing default case [-Wswitch-default] 331 | for (;;) switch (lex(ex)) | ^~~~~~ extoken.c:592:24: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 592 | ex_lval.integer = strtoull(s, &e, b); | ^~~~~~~~ extoken.c:643:5: warning: switch missing default case [-Wswitch-default] 643 | switch (ex_lval.id->lex) | ^~~~~~ extoken.c:855:22: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 855 | return ex_lval.id->lex; | ~~~~~~~~~~^~~~~ In file included from /usr/include/ctype.h:100, from ../../lib/expr/exlib.h:120, from exeval.c:24: exeval.c: In function 'prformat': exeval.c:303:26: warning: array subscript has type 'char' [-Wchar-subscripts] 303 | *s = (char)tolower(*s); | ^ exeval.c:305:26: warning: array subscript has type 'char' [-Wchar-subscripts] 305 | *s = (char)toupper(*s); | ^ exeval.c:271:2: warning: switch missing default case [-Wswitch-default] 271 | switch (dp->fmt) | ^~~~~~ exeval.c: In function 'exsubstr': exeval.c:982:8: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 982 | len = strlen(s.string); | ^~~~~~ exeval.c:994:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long long int' may change the sign of the result [-Wsign-conversion] 994 | v.string = vmalloc(ex->ve, l.integer + 1); | ~~~~~~~~~~^~~ In file included from /usr/include/string.h:127, from ../../lib/cgraph/alloc.h:24, from exeval.c:18: exeval.c:996:44: warning: conversion to 'long unsigned int' from 'long long int' may change the sign of the result [-Wsign-conversion] 996 | strncpy(v.string, s.string + i.integer, l.integer); | ~^~~~~~~~ exeval.c:996:44: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'long long int' may change the sign of the result [-Wsign-conversion] 996 | strncpy(v.string, s.string + i.integer, l.integer); | ~^~~~~~~~ exeval.c: In function 'eval': exeval.c:1222:26: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1222 | if ((*t)->floating == v.floating) | ^~ exeval.c:1210:6: warning: switch missing default case [-Wswitch-default] 1210 | switch ((int)i.integer) | ^~~~~~ exeval.c:1470:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1470 | if (r.floating == 0.0) | ^~ exeval.c:1476:23: warning: conversion from 'double' to 'long long int' may change value [-Wfloat-conversion] 1476 | if ((r.integer = r.floating) == 0) | ^ exeval.c:1479:20: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] 1479 | v.floating = (long long)v.floating % r.integer; | ^ exeval.c:1491:19: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] 1491 | v.floating = (long long)v.floating << (long long)r.floating; | ^ exeval.c:1497:19: warning: conversion from 'long long unsigned int' to 'double' may change value [-Wconversion] 1497 | v.floating = (unsigned long long)v.floating >> (long long)r.floating; | ^ exeval.c:1542:18: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 1542 | v.integer = (unsigned long long)v.integer >> r.integer; | ^ exeval.c:1059:2: warning: switch missing default case [-Wswitch-default] 1059 | switch (exnode->op) | ^~~~~~ exeval.c:1621:16: warning: conversion from 'double' to 'long long int' may change value [-Wfloat-conversion] 1621 | v.integer = v.floating; | ^ exeval.c:1646:17: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] 1646 | v.floating = ~(long long)v.floating; | ^ excc.c: In function 'gen': exeval.c:1670:19: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1670 | if (r.floating == 0.0) | ^~ excc.c:215:2: warning: switch missing default case [-Wswitch-default] 215 | switch (exnode->op) | ^~~~~~ excc.c:563:3: warning: switch missing default case [-Wswitch-default] 563 | switch (exnode->op) | ^~~~~~ exeval.c:1676:21: warning: conversion from 'double' to 'long long int' may change value [-Wfloat-conversion] 1676 | if ((r.integer = r.floating) == 0) | ^ exeval.c:1679:18: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] 1679 | v.floating = (long long)v.floating % r.integer; | ^ exeval.c:1688:27: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1688 | v.integer = v.floating == r.floating; | ^~ exeval.c:1691:27: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1691 | v.integer = v.floating != r.floating; | ^~ exeval.c:1618:3: warning: switch missing default case [-Wswitch-default] 1618 | switch (exnode->op) | ^~~~~~ exeval.c:1739:3: warning: switch missing default case [-Wswitch-default] 1739 | switch (exnode->op) | ^~~~~~ exeval.c:1764:18: warning: conversion from 'long long unsigned int' to 'double' may change value [-Wconversion] 1764 | v.floating = (unsigned long long)v.integer; | ^ exeval.c:1766:18: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] 1766 | v.floating = v.integer; | ^ exeval.c:1847:16: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] 1847 | v.integer = (unsigned long long)v.integer >> r.integer; | ^ exeval.c:1757:3: warning: switch missing default case [-Wswitch-default] 1757 | switch (exnode->op) | ^~~~~~ exeval.c:1864:3: warning: switch missing default case [-Wswitch-default] 1864 | switch (exnode->op) | ^~~~~~ exeval.c:1928:3: warning: switch missing default case [-Wswitch-default] 1928 | switch (exnode->op) | ^~~~~~ In file included from ../../lib/expr/expr.h:30, from ../../lib/expr/exlib.h:119, from exexpr.c:18: exexpr.c: In function 'exexpr': ../../lib/cdt/cdt.h:192:47: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 192 | #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(void*)(o),DT_MATCH) | ^ exexpr.c:31:17: note: in expansion of macro 'dtmatch' 31 | sym = name ? dtmatch(ex->symbols, name) : &ex->main; | ^~~~~~~ CC extype.lo CC exzero.lo CC exparse.lo extype.c: In function 'extype': extype.c:25:2: warning: switch missing default case [-Wswitch-default] 25 | switch (type) | ^~~~~~ CC exnospace.lo In file included from ../../lib/expr/exparse.y:171: ../../lib/expr/exgram.h: In function 'exstringOf': ../../lib/expr/exgram.h:309:3: warning: switch missing default case [-Wswitch-default] 309 | switch (type) { | ^~~~~~ In file included from ../../lib/expr/exparse.y:171: ../../lib/expr/exgram.h: In function 'excast': ../../lib/expr/exgram.h:493:37: warning: conversion from 'double' to 'long long int' may change value [-Wfloat-conversion] 493 | x->data.constant.value.integer = x->data.constant.value.floating; | ^ ../../lib/expr/exgram.h:500:38: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] 500 | x->data.constant.value.floating = x->data.constant.value.integer; | ^ ../../lib/expr/exgram.h: In function 'preprint': ../../lib/expr/exgram.h:723:4: warning: switch missing default case [-Wswitch-default] 723 | switch (t) | ^~~~~~ ../../lib/expr/exgram.h: In function 'expush': ../../lib/expr/exgram.h:818:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 818 | error_info.file = (char*)name; | ^ exnospace.c: In function 'exnospace': exnospace.c:30:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 30 | return (char*)null; | ^ ../../lib/expr/exparse.y: In function 'ex_parse': ../../lib/expr/exparse.y:868:5: warning: switch missing default case [-Wswitch-default] 868 | switch ($1->index) | ^~~~~~ ../../lib/expr/exparse.y:895:5: warning: switch missing default case [-Wswitch-default] 895 | switch ($1->index) | ^~~~~~ exzero.c: In function 'exzero': exzero.c:27:2: warning: switch missing default case [-Wswitch-default] 27 | switch (type) | ^~~~~~ CCLD libexpr_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/expr' Making all in common gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/common' /usr/pkg/bin/gmake all-am gmake[4]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/common' CC libcommon_C_la-arrows.lo CC libcommon_C_la-colxlate.lo CC libcommon_C_la-ellipse.lo CC libcommon_C_la-textspan.lo CC libcommon_C_la-textspan_lut.lo CC libcommon_C_la-args.lo CC libcommon_C_la-globals.lo CC libcommon_C_la-htmllex.lo arrows.c: In function 'arrow_length': arrows.c:264:19: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 264 | if (arrowsize == 0) { | ^~ arrows.c: In function 'arrowOrthoClip': arrows.c:374:10: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 374 | if (p.y == q.y) { // horizontal segment | ^~ arrows.c:411:10: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 411 | if (p.y == q.y) { // horizontal segment | ^~ htmllex.c: In function 'characterData': arrows.c:435:10: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 435 | if (p.y == q.y) { // horizontal segment | ^~ arrows.c: In function 'miter_shape': htmllex.c:748:10: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] 748 | c = *s++; | ^ arrows.c:461:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 461 | if ((base_left.x == P.x && base_left.y == P.y) || | ^~ arrows.c:461:42: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 461 | if ((base_left.x == P.x && base_left.y == P.y) || | ^~ arrows.c:462:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 462 | (base_right.x == P.x && base_right.y == P.y)) { | ^~ arrows.c:462:44: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 462 | (base_right.x == P.x && base_right.y == P.y)) { | ^~ arrows.c: In function 'arrow_type_normal0': arrows.c:554:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 554 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c:554:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 554 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c: In function 'arrow_type_crow0': arrows.c:678:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 678 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c:678:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 678 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c: In function 'arrow_type_box': arrows.c:894:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 894 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c:894:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 894 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c: In function 'arrow_type_dot': arrows.c:1009:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1009 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c:1009:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1009 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c: In function 'arrow_type_curve': arrows.c:1050:39: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1050 | if (!(flag & ARR_MOD_INV) && (u.x != 0 || u.y != 0)) { | ^~ arrows.c:1050:51: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1050 | if (!(flag & ARR_MOD_INV) && (u.x != 0 || u.y != 0)) { | ^~ In file included from /usr/include/ctype.h:100, from textspan_lut.c:10: textspan_lut.c: In function 'font_name_equal_permissive': textspan_lut.c:725:18: warning: array subscript has type 'char' [-Wchar-subscripts] 725 | if (tolower(a[a_pos]) != tolower(b[b_pos])) { | ^ textspan_lut.c:725:39: warning: array subscript has type 'char' [-Wchar-subscripts] 725 | if (tolower(a[a_pos]) != tolower(b[b_pos])) { | ^ CC libcommon_C_la-htmlparse.lo CC libcommon_C_la-htmltable.lo CC libcommon_C_la-input.lo CC libcommon_C_la-pointset.lo CC libcommon_C_la-intset.lo CC libcommon_C_la-postproc.lo CC libcommon_C_la-routespl.lo ../../lib/common/htmlparse.y: In function 'appendFLineList': ../../lib/common/htmlparse.y:164:19: warning: conversion from 'int' to 'char' may change value [-Wconversion] 164 | ln->lp.just = v; | ^ htmltable.c: In function 'size_html_txt': htmltable.c:992:19: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 992 | else if (tf.size != prev_fsize) { | ^~ htmltable.c: In function 'nameOf': htmltable.c:1832:5: warning: switch missing default case [-Wswitch-default] 1832 | switch (agobjkind(obj)) { | ^~~~~~ htmltable.c: In function 'make_html_label': htmltable.c:1997:5: warning: switch missing default case [-Wswitch-default] 1997 | switch (agobjkind(obj)) { | ^~~~~~ CC libcommon_C_la-splines.lo postproc.c: In function 'translate_drawing': postproc.c:153:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 153 | bool shift = Offset.x || Offset.y; | ^~~~~~ postproc.c:153:27: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 153 | bool shift = Offset.x || Offset.y; | ^~ CC libcommon_C_la-psusershape.lo CC libcommon_C_la-timing.lo routespl.c: In function 'bend': routespl.c:923:11: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 923 | if (magV == 0) return; /* if midpoint == centroid, don't divide by zero */ | ^~ splines.c: In function 'beginpath': splines.c:562:2: warning: switch missing default case [-Wswitch-default] 562 | switch (et) { | ^~~~~~ splines.c: In function 'endpath': splines.c:760:2: warning: switch missing default case [-Wswitch-default] 760 | switch (et) { | ^~~~~~ splines.c: In function 'selfRight': splines.c:1023:24: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1023 | case 65: if(tp.y == hp.y) | ^~ splines.c: In function 'selfLeft': splines.c:1096:11: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1096 | if(tp.y == hp.y) | ^~ In file included from ../../lib/cgraph/cgraph.h:32, from ../../lib/common/types.h:33, from ../../lib/common/render.h:33, from psusershape.c:15: psusershape.c: In function 'user_init': ../../lib/cdt/cdt.h:192:47: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 192 | #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(void*)(o),DT_MATCH) | ^ psusershape.c:45:23: note: in expansion of macro 'dtmatch' 45 | usershape_t *us = dtmatch(EPSF_contents, str); | ^~~~~~~ CC libcommon_C_la-labels.lo CC libcommon_C_la-ns.lo CC libcommon_C_la-shapes.lo CC libcommon_C_la-utils.lo CC libcommon_C_la-geom.lo labels.c: In function 'make_label': labels.c:116:5: warning: switch missing default case [-Wswitch-default] 116 | switch (agobjkind(obj)) { | ^~~~~~ labels.c:144:6: warning: switch missing default case [-Wswitch-default] 144 | switch (agobjkind(obj)) { | ^~~~~~ labels.c: In function 'strdup_and_subst_obj0': labels.c:291:5: warning: switch missing default case [-Wswitch-default] 291 | switch (agobjkind(obj)) { | ^~~~~~ CC libcommon_C_la-taper.lo CC libcommon_C_la-output.lo shapes.c: In function 'round_corners': shapes.c:733:5: warning: switch missing default case [-Wswitch-default] 733 | switch (mode.shape) { | ^~~~~~ In file included from ../../lib/util/streq.h:5, from shapes.c:25: shapes.c: In function 'poly_init': shapes.c:2328:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2328 | assert(cosx != 0 || sinx != 0); | ^~ shapes.c:2328:28: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2328 | assert(cosx != 0 || sinx != 0); | ^~ shapes.c: In function 'invflip_angle': shapes.c:2610:12: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2610 | if (angle == M_PI) | ^~ shapes.c:2612:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2612 | else if (angle == M_PI * 0.75) | ^~ shapes.c:2614:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2614 | else if (angle == M_PI * 0.5) | ^~ shapes.c:2616:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2616 | else if (angle == 0) | ^~ shapes.c:2618:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2618 | else if (angle == M_PI * -0.25) | ^~ shapes.c:2620:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2620 | else if (angle == M_PI * -0.5) | ^~ shapes.c: In function 'compassPort': shapes.c:2856:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2856 | if (p.x == 0 && p.y == 0) | ^~ shapes.c:2856:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2856 | if (p.x == 0 && p.y == 0) | ^~ shapes.c:2863:14: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 2863 | pp->order = (int) (MC_SCALE * angle / (2 * M_PI)); | ^ geom.c: In function 'lineToBox': geom.c:70:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 70 | if (p.x == q.x) { | ^~ geom.c:78:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 78 | } else if (p.y == q.y) { | ^~ CC libcommon_C_la-emit.lo taper.c: In function 'myatan': taper.c:64:11: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 64 | if (x == 0 && y == 0) | ^~ taper.c:64:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 64 | if (x == 0 && y == 0) | ^~ taper.c: In function 'taper': taper.c:236:19: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 236 | if (cos(phi) == 0) { | ^~ utils.c: In function 'setAttr': utils.c:705:2: warning: switch missing default case [-Wswitch-default] 705 | switch (agobjkind(obj)) { | ^~~~~~ utils.c: In function 'undoClusterEdges': utils.c:1049:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1049 | edge_t **edgelist = gv_calloc(ecnt, sizeof(edge_t*)); | ^~~~ utils.c: In function 'cvtAndAppend': utils.c:1177:14: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] 1177 | buf[0] = c; | ^ utils.c:1185:9: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] 1185 | c = *p; | ^ utils.c: In function 'htmlEntityUTF8': utils.c:1238:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1238 | v = htmlEntity (&s); | ^~~~~~~~~~ utils.c:1241:8: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] 1241 | c = v; | ^ utils.c: In function 'latin1ToUTF8': utils.c:1283:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1283 | v = htmlEntity (&s); | ^~~~~~~~~~ utils.c: In function 'setEdgeType': utils.c:1450:20: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 1450 | GD_flags(g) |= et; | ^~ CC libcommon_C_la-xml.lo emit.c: In function 'getObjId': emit.c:218:5: warning: switch missing default case [-Wswitch-default] 218 | switch (agobjkind(obj)) { | ^~~~~~ emit.c: In function 'parse_layerselect': emit.c:1066:45: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1066 | int* laylist = gv_calloc(gvc->numLayers + 2, sizeof(int)); | ~~~~~~~~~~~~~~~^~~ In file included from ../../lib/common/geom.h:21, from ../../lib/common/geomprocs.h:28, from emit.c:26: emit.c: In function 'init_job_pagination': ../../lib/common/arith.h:48:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 48 | #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) | ^ emit.c:1305:18: note: in expansion of macro 'ROUND' 1305 | job->width = ROUND((pageSize.x + 2*margin.x) * job->dpi.x / POINTS_PER_INCH); | ^~~~~ ../../lib/common/arith.h:48:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 48 | #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) | ^ emit.c:1306:19: note: in expansion of macro 'ROUND' 1306 | job->height = ROUND((pageSize.y + 2*margin.y) * job->dpi.y / POINTS_PER_INCH); | ^~~~~ emit.c: In function 'emit_xdot': emit.c:1492:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1492 | if (p->x1 == p->x0 && p->y1 == p->y0) | ^~ emit.c:1492:35: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1492 | if (p->x1 == p->x0 && p->y1 == p->y0) | ^~ emit.c: In function 'emit_node': emit.c:1883:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] 1883 | ND_state(n) = gvc->common.viewNum; /* mark node as drawn */ | ^~~ emit.c: In function 'textBB': emit.c:2831:5: warning: switch missing default case [-Wswitch-default] 2831 | switch (span->just) { | ^~~~~~ emit.c: In function 'xdotBB': emit.c:2872:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2872 | if (bb.LL.x == bb.UR.x && bb.LL.y == bb.UR.y) { | ^~ emit.c:2872:39: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2872 | if (bb.LL.x == bb.UR.x && bb.LL.y == bb.UR.y) { | ^~ emit.c:2909:17: warning: conversion from 'int' to 'unsigned char:7' may change value [-Wconversion] 2909 | tf.flags = fontflags; | ^~~~~~~~~ emit.c:2924:18: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2924 | fontflags = op->op.u.fontchar; | ^~ emit.c: In function 'init_job_dpi': emit.c:3050:28: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 3050 | if (GD_drawing(g)->dpi != 0) { | ^~ CCLD libcommon_C.la gmake[4]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/common' gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/common' Making all in pack gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/pack' CC pack.lo CC ccomps.lo pack.c: In function 'genBox': pack.c:34:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 34 | #define GRID(x,s) ((int)ceil((x)/(s))) | ^ pack.c:252:9: note: in expansion of macro 'GRID' 252 | W = GRID(bb0.UR.x - bb0.LL.x + 2 * margin, ssize); | ^~~~ pack.c:34:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 34 | #define GRID(x,s) ((int)ceil((x)/(s))) | ^ pack.c:253:9: note: in expansion of macro 'GRID' 253 | H = GRID(bb0.UR.y - bb0.LL.y + 2 * margin, ssize); | ^~~~ pack.c: In function 'genPoly': pack.c:301:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 301 | void **alg = gv_calloc(agnnodes(g), sizeof(void*)); | ^~~~~~~~~~~ pack.c:34:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 34 | #define GRID(x,s) ((int)ceil((x)/(s))) | ^ pack.c:404:9: note: in expansion of macro 'GRID' 404 | W = GRID(GD_bb(g).UR.x - GD_bb(g).LL.x + 2 * margin, ssize); | ^~~~ pack.c:34:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 34 | #define GRID(x,s) ((int)ceil((x)/(s))) | ^ pack.c:405:9: note: in expansion of macro 'GRID' 405 | H = GRID(GD_bb(g).UR.y - GD_bb(g).LL.y + 2 * margin, ssize); | ^~~~ pack.c: In function 'placeGraph': pack.c:34:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 34 | #define GRID(x,s) ((int)ceil((x)/(s))) | ^ pack.c:493:16: note: in expansion of macro 'GRID' 493 | const int W = GRID(bb.UR.x - bb.LL.x + 2 * margin, step); | ^~~~ pack.c:34:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 34 | #define GRID(x,s) ((int)ceil((x)/(s))) | ^ pack.c:494:16: note: in expansion of macro 'GRID' 494 | const int H = GRID(bb.UR.y - bb.LL.y + 2 * margin, step); | ^~~~ pack.c: In function 'arrayRects': pack.c:606:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'double' may change value [-Wconversion] 606 | nr = ceil(sqrt(ng)); | ^~ pack.c:606:11: warning: conversion from 'double' to 'size_t' {aka 'long unsigned int'} may change value [-Wfloat-conversion] 606 | nr = ceil(sqrt(ng)); | ^~~~ pack.c:617:21: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'double' may change value [-Wconversion] 617 | nc = ceil(sqrt(ng)); | ^~ pack.c:617:11: warning: conversion from 'double' to 'size_t' {aka 'long unsigned int'} may change value [-Wfloat-conversion] 617 | nc = ceil(sqrt(ng)); | ^~~~ pack.c: In function 'putGraphs': pack.c:904:24: warning: conversion to 'packval_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 904 | pinfo->vals[i] = v; | ^ pack.c: In function 'getPackInfo': pack.c:1280:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1280 | pinfo->margin = getPack(g, dfltMargin, dfltMargin); | ^~~~~~~ CCLD libpack_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/pack' Making all in label gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/label' CC index.lo CC xlabels.lo CC rectangle.lo CC node.lo CC split.q.lo rectangle.c: In function 'RectArea': rectangle.c:74:26: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 74 | unsigned int dim = r->boundary[i + NUMDIMS] - r->boundary[i]; | ^ xlabels.c: In function 'xlhorder': xlabels.c:81:12: warning: cast from function call of type 'double' to non-matching type 'unsigned int' [-Wbad-function-cast] 81 | return (unsigned)floor(log2(round(fmax(maxx, maxy)))) + 1; | ^ In file included from ../../lib/cgraph/alloc.h:17, from xlabels.c:12: xlabels.c: In function 'lblenclosing': xlabels.c:169:22: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 169 | assert(objp1->sz.x == 0 && objp1->sz.y == 0); | ^~ xlabels.c:169:42: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 169 | assert(objp1->sz.x == 0 && objp1->sz.y == 0); | ^~ xlabels.c: In function 'objp2rect': xlabels.c:182:19: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 182 | r.boundary[0] = op->pos.x; | ^~ xlabels.c:183:19: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 183 | r.boundary[1] = op->pos.y; | ^~ xlabels.c:184:19: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 184 | r.boundary[2] = op->pos.x + op->sz.x; | ^~ xlabels.c:185:19: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 185 | r.boundary[3] = op->pos.y + op->sz.y; | ^~ xlabels.c: In function 'objplp2rect': xlabels.c:193:19: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 193 | r.boundary[0] = lp->pos.x; | ^~ xlabels.c:194:19: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 194 | r.boundary[1] = lp->pos.y; | ^~ xlabels.c:195:19: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 195 | r.boundary[2] = lp->pos.x + lp->sz.x; | ^~ xlabels.c:196:19: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 196 | r.boundary[3] = lp->pos.y + lp->sz.y; | ^~ xlabels.c: In function 'objplpmks': xlabels.c:210:24: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 210 | rect.boundary[0] = (int) floor(objp->pos.x - p.x); | ^ xlabels.c:211:24: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 211 | rect.boundary[1] = (int) floor(objp->pos.y - p.y); | ^ xlabels.c:213:24: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 213 | rect.boundary[2] = (int) ceil(objp->pos.x + objp->sz.x + p.x); | ^ xlabels.c:215:24: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 215 | rect.boundary[3] = (int) ceil(objp->pos.y + objp->sz.y + p.y); | ^ xlabels.c: In function 'getintrsxi': xlabels.c:229:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 229 | if ((op->pos.x == 0.0 && op->pos.y == 0.0) || | ^~ xlabels.c:229:40: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 229 | if ((op->pos.x == 0.0 && op->pos.y == 0.0) || | ^~ xlabels.c:230:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 230 | (cp->pos.x == 0.0 && cp->pos.y == 0.0)) | ^~ xlabels.c:230:33: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 230 | (cp->pos.x == 0.0 && cp->pos.y == 0.0)) | ^~ xlabels.c: In function 'xlhdxload': xlabels.c:522:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 522 | int order = xlhorder(xlp); | ^~~~~~~~ xlabels.c:538:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 538 | hp->key = hd_hil_s_from_xy(pi, order); | ^~~~~~~~~~~~~~~~ xlabels.c: In function 'placeLabels': xlabels.c:609:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 609 | } else if(bp.area == 0) { | ^~ CCLD liblabel_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/label' Making all in gvc gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/gvc' CC gvlayout.lo CC gvrender.lo CC gvdevice.lo CC gvcontext.lo CC gvloadimage.lo CC gvjobs.lo CC gvevent.lo CC gvplugin.lo gvevent.c: In function 'gvevent_leave_obj': gvevent.c:123:9: warning: switch missing default case [-Wswitch-default] 123 | switch (agobjkind(obj)) { | ^~~~~~ gvevent.c: In function 'gvevent_enter_obj': gvevent.c:150:9: warning: switch missing default case [-Wswitch-default] 150 | switch (agobjkind(obj)) { | ^~~~~~ gvevent.c: In function 'gvevent_select_current_obj': gvevent.c:227:9: warning: switch missing default case [-Wswitch-default] 227 | switch (agobjkind(obj)) { | ^~~~~~ gvevent.c:248:9: warning: switch missing default case [-Wswitch-default] 248 | switch (agobjkind(obj)) { | ^~~~~~ gvevent.c: In function 'gvevent_button_press': gvevent.c:267:5: warning: switch missing default case [-Wswitch-default] 267 | switch (button) { | ^~~~~~ gvevent.c: In function 'gvevent_motion': gvevent.c:344:5: warning: switch missing default case [-Wswitch-default] 344 | switch (job->button) { | ^~~~~~ gvevent.c: In function 'toggle_fit_cb': gvevent.c:434:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 434 | dflt_width = job->width; | ^~~ gvevent.c:435:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 435 | dflt_height = job->height; | ^~~ gvrender.c: In function 'gvrender_resolve_color': gvrender.c:199:47: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 199 | (bsearch(tok, features->knowncolors, features->sz_knowncolors, | ~~~~~~~~^~~~~~~~~~~~~~~~ gvdevice.c: In function 'gvwrite_no_z': gvdevice.c:66:35: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 66 | job->output_data_allocated = job->output_data_position + len + 1; | ^~~ gvdevice.c:74:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 74 | job->output_data_position += len; | ^~~ CC gvconfig.lo CC gvtool_tred.lo CC gvtextlayout.lo CC gvusershape.lo CC gvc.lo In file included from ../../lib/cgraph/cgraph.h:32, from ../../lib/common/types.h:33, from gvusershape.c:29: gvusershape.c: In function 'gvusershape_find': ../../lib/cdt/cdt.h:192:47: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 192 | #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(void*)(o),DT_MATCH) | ^ gvusershape.c:618:10: note: in expansion of macro 'dtmatch' 618 | us = dtmatch(ImageDict, name); | ^~~~~~~ gvusershape.c: In function 'gvusershape_size_dpi': gvusershape.c:751:9: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 751 | rv.x = us->w * POINTS_PER_INCH / dpi.x; | ^~ gvusershape.c:752:9: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 752 | rv.y = us->h * POINTS_PER_INCH / dpi.y; | ^~ CCLD libgvc.la CCLD libgvc_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/gvc' Making all in topfish gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/topfish' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/topfish' Making all in glcomp gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/glcomp' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/glcomp' Making all in mingle gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/mingle' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/mingle' Making all in edgepaint gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/edgepaint' CC furtherest_point.lo CC edge_distinct_coloring.lo CC intersection.lo CC lab.lo CC lab_gamut.lo CC node_distinct_coloring.lo intersection.c: In function 'intersection_angle': intersection.c:168:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 168 | if (p1[0] == q1[0] && p1[1] == q1[1]){ | ^~ intersection.c:168:33: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 168 | if (p1[0] == q1[0] && p1[1] == q1[1]){ | ^~ intersection.c:170:22: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 170 | } else if (p1[0] == q2[0] && p1[1] == q2[1]){ | ^~ intersection.c:170:40: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 170 | } else if (p1[0] == q2[0] && p1[1] == q2[1]){ | ^~ intersection.c:172:22: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 172 | } else if (p2[0] == q1[0] && p2[1] == q1[1]){ | ^~ intersection.c:172:40: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 172 | } else if (p2[0] == q1[0] && p2[1] == q1[1]){ | ^~ intersection.c:174:22: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 174 | } else if (p2[0] == q2[0] && p2[1] == q2[1]){ | ^~ intersection.c:174:40: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 174 | } else if (p2[0] == q2[0] && p2[1] == q2[1]){ | ^~ furtherest_point.c: In function 'furtherest_point': furtherest_point.c:92:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 92 | if (!(*argmax)) *argmax = gv_calloc(dim, sizeof(double)); | ^~~ In file included from /usr/include/string.h:127, from ../../lib/cgraph/alloc.h:24, from furtherest_point.c:11: furtherest_point.c:93:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 93 | memcpy(*argmax, center, sizeof(double)*dim); | ^ furtherest_point.c:93:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 93 | memcpy(*argmax, center, sizeof(double)*dim); | ^ furtherest_point.c:133:55: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 133 | memcpy(*argmax, qt->qts[ii]->center, sizeof(double)*dim); | ^ furtherest_point.c:133:55: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 133 | memcpy(*argmax, qt->qts[ii]->center, sizeof(double)*dim); | ^ furtherest_point.c: In function 'furtherest_point_in_list': furtherest_point.c:196:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 196 | if (!(*argmax)) *argmax = gv_calloc(dim, sizeof(double)); | ^~~ In file included from /usr/include/string.h:127, from ../../lib/cgraph/alloc.h:24, from furtherest_point.c:11: furtherest_point.c:197:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 197 | memcpy(*argmax, average, sizeof(double)*dim); | ^ furtherest_point.c:197:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 197 | memcpy(*argmax, average, sizeof(double)*dim); | ^ furtherest_point.c:237:56: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 237 | memcpy(*argmax, qt->qts[ii]->average, sizeof(double)*dim); | ^ furtherest_point.c:237:56: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 237 | memcpy(*argmax, qt->qts[ii]->average, sizeof(double)*dim); | ^ In file included from ../../lib/sparse/general.h:26, from node_distinct_coloring.c:12: node_distinct_coloring.c: In function 'node_distinct_coloring_internal2': ../../lib/common/arith.h:33:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 33 | #define MAX(a,b) ((a)>(b)?(a):(b)) | ^ node_distinct_coloring.c:44:15: note: in expansion of macro 'MAX' 44 | max_level = MAX(1, -log(accuracy)/log(2.)); | ^~~ node_distinct_coloring.c:95:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 95 | srand(seed); | ^~~~ node_distinct_coloring.c:98:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 98 | double *x = gv_calloc(cdim * n, sizeof(double)); | ~~~~~^~~ node_distinct_coloring.c:99:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 99 | double *wgt = weightedQ ? gv_calloc(n, sizeof(double)) : NULL; | ^ node_distinct_coloring.c:104:75: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 104 | while (iter++ < iter_max && (color_diff > color_diff_old || (color_diff == color_diff_old && color_diff_sum > color_diff_sum_old))){ | ^~ In file included from /usr/include/string.h:127, from ../../lib/cgraph/alloc.h:24, from node_distinct_coloring.c:11: node_distinct_coloring.c:111:60: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 111 | memcpy(&(x[k*cdim]), &(colors[ja[j]*cdim]), sizeof(double)*cdim); | ^ node_distinct_coloring.c:111:60: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 111 | memcpy(&(x[k*cdim]), &(colors[ja[j]*cdim]), sizeof(double)*cdim); | ^ node_distinct_coloring.c: In function 'node_distinct_coloring': node_distinct_coloring.c:245:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 245 | *colors = gv_calloc(cdim * n, sizeof(double)); | ~~~~~^~~ node_distinct_coloring.c:246:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 246 | double *ctmp = gv_calloc(cdim * n, sizeof(double)); | ~~~~~^~~ In file included from /usr/include/string.h:127, from ../../lib/cgraph/alloc.h:24, from node_distinct_coloring.c:11: node_distinct_coloring.c:260:65: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 260 | memcpy(&((*colors)[comps[j]*cdim]), &(ctmp[jj*cdim]), cdim*sizeof(double)); | ^ node_distinct_coloring.c:260:65: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 260 | memcpy(&((*colors)[comps[j]*cdim]), &(ctmp[jj*cdim]), cdim*sizeof(double)); | ^ In file included from ../../lib/sparse/general.h:26, from lab.c:13: lab.c: In function 'color_blend_rgb2lab': ../../lib/common/arith.h:33:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 33 | #define MAX(a,b) ((a)>(b)?(a):(b)) | ~~~~~~~~~~~~^~~~~ lab.c:235:30: note: in expansion of macro 'MAX' 235 | color_lab *lab = gv_calloc(MAX(nc, 1), sizeof(color_lab)); | ^~~ ../../lib/common/arith.h:33:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 33 | #define MAX(a,b) ((a)>(b)?(a):(b)) | ~~~~~~~~~~~~^~~~~ lab.c:246:29: note: in expansion of macro 'MAX' 246 | double *dists = gv_calloc(MAX(1, nc), sizeof(double)); | ^~~ lab.c:258:40: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 258 | double *colors = gv_calloc(maxpoints * cdim, sizeof(double)); | ~~~~~~~~~~^~~~~~ CCLD libedgepaint_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/edgepaint' Making all in circogen gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/circogen' CC circularinit.lo CC nodelist.lo CC block.lo CC circular.lo CC edgelist.lo CC blocktree.lo CC blockpath.lo CC circpos.lo circularinit.c: In function 'circular_init_node_edge': circularinit.c:39:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 39 | ndata* alg = gv_calloc(agnnodes(g), sizeof(ndata)); | ^~~~~~~~~~~ circularinit.c:41:47: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 41 | GD_neato_nlist(g) = gv_calloc(agnnodes(g) + 1, sizeof(node_t*)); | ~~~~~~~~~~~~^~~ circpos.c: In function 'positionChildren': circpos.c:253:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 253 | if (childAngle != 0) { | ^~ blockpath.c: In function 'find_pair_edges': blockpath.c:121:43: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 121 | Agnode_t **neighbors_with = gv_calloc(node_degree, sizeof(Agnode_t*)); | ^~~~~~~~~~~ blockpath.c:122:46: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 122 | Agnode_t **neighbors_without = gv_calloc(node_degree, sizeof(Agnode_t*)); | ^~~~~~~~~~~ CCLD libcircogen_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/circogen' Making all in dotgen gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/dotgen' CC acyclic.lo CC class2.lo CC class1.lo CC conc.lo CC compound.lo CC cluster.lo CC decomp.lo CC fastgr.lo cluster.c: In function 'map_path': cluster.c:105:24: warning: conversion from 'int' to 'char' may change value [-Wconversion] 105 | ED_edge_type(e) = type; | ^~~~ cluster.c:115:22: warning: conversion from 'int' to 'char' may change value [-Wconversion] 115 | ED_edge_type(ve) = type; | ^~~~ cluster.c:123:22: warning: conversion from 'int' to 'char' may change value [-Wconversion] 123 | ED_edge_type(ve) = type; | ^~~~ cluster.c:138:21: warning: conversion from 'int' to 'char' may change value [-Wconversion] 138 | ED_edge_type(e) = type; | ^~~~ cluster.c: In function 'build_skeleton': cluster.c:360:54: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 360 | GD_rankleader(subg) = gv_calloc(GD_maxrank(subg) + 2, sizeof(node_t*)); cluster.c: In function 'install_cluster': cluster.c:400:24: warning: conversion from 'int' to 'char' may change value [-Wconversion] 400 | GD_installed(clust) = pass + 1; | ^~~~ compound.c: In function 'findVertical': compound.c:168:14: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 168 | if (tmin == tmax) | ^~ compound.c: In function 'findHorizontal': compound.c:210:14: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 210 | if (tmin == tmax) | ^~ CC flat.lo CC mincross.lo CC dotinit.lo CC position.lo CC rank.lo CC sameport.lo CC dotsplines.lo CC aspect.lo flat.c: In function 'make_vn_slot': flat.c:21:72: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 21 | v = GD_rank(g)[r].v = gv_recalloc(GD_rank(g)[r].v, GD_rank(g)[r].n + 1, flat.c:22:55: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 22 | GD_rank(g)[r].n + 2, sizeof(node_t *)); flat.c: In function 'abomination': flat.c:191:58: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 191 | rank_t *rptr = gv_recalloc(GD_rank(g), GD_maxrank(g) + 1, r, flat.c:191:63: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 191 | rank_t *rptr = gv_recalloc(GD_rank(g), GD_maxrank(g) + 1, r, | ^ mincross.c: In function 'fixLabelOrder': mincross.c:273:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 273 | Agnode_t **arr = gv_calloc(agnnodes(g), sizeof(Agnode_t*)); | ^~~~~~~~~~~ mincross.c:274:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 274 | int *indices = gv_calloc(agnnodes(g), sizeof(int)); | ^~~~~~~~~~~ mincross.c:282:21: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 282 | qsort(indices, cnt, sizeof(int), ordercmpf); | ^~~ mincross.c: In function 'do_ordering_node': mincross.c:464:21: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 464 | qsort(sortlist, ne, sizeof(sortlist[0]), edgeidcmpf); | ^~ mincross.c: In function 'restore_best': mincross.c:42:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 42 | #define saveorder(v) (ND_coord(v)).x | ^ mincross.c:763:20: note: in expansion of macro 'saveorder' 763 | ND_order(n) = saveorder(n); | ^~~~~~~~~ mincross.c:768:38: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 768 | qsort(GD_rank(g)[r].v, GD_rank(g)[r].n, sizeof(GD_rank(g)[0].v[0]), In file included from /usr/include/string.h:127, from ../../lib/cgraph/alloc.h:24, from ../../lib/cgraph/agxbuf.h:18, from mincross.c:20: mincross.c: In function 'realFillRanks': mincross.c:996:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 996 | memset (rnks, 0, sizeof(int)*rnks_sz); | ^ mincross.c:996:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 996 | memset (rnks, 0, sizeof(int)*rnks_sz); | ^ mincross.c: In function 'fillRanks': mincross.c:1027:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1027 | int *rnks = gv_calloc(rnks_sz, sizeof(int)); | ^~~~~~~ mincross.c: In function 'init_mincross': mincross.c:1043:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1043 | TE_list = gv_calloc(size, sizeof(edge_t*)); | ^~~~ mincross.c:1044:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1044 | TI_list = gv_calloc(size, sizeof(int)); | ^~~~ mincross.c: In function 'allocate_ranks': mincross.c:1157:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1157 | int *cn = gv_calloc(GD_maxrank(g) + 2, sizeof(int)); // must be 0 based, not GD_minrank mincross.c:1172:42: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1172 | GD_rank(g) = gv_calloc(GD_maxrank(g) + 2, sizeof(rank_t)); mincross.c:1175:55: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1175 | GD_rank(g)[r].av = GD_rank(g)[r].v = gv_calloc(cn[r] + 1, sizeof(node_t*)); | ~~~~~~^~~ In file included from ../../lib/common/geom.h:21, from ../../lib/common/types.h:29, from ../../lib/common/render.h:33, from ../../lib/dotgen/dot.h:13, from mincross.c:27: mincross.c: In function 'mincross_options': ../../lib/common/arith.h:33:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 33 | #define MAX(a,b) ((a)>(b)?(a):(b)) | ^ mincross.c:1836:12: note: in expansion of macro 'MAX' 1836 | MinQuit = MAX(1, MinQuit * f); | ^~~ ../../lib/common/arith.h:33:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 33 | #define MAX(a,b) ((a)>(b)?(a):(b)) | ^ mincross.c:1837:12: note: in expansion of macro 'MAX' 1837 | MaxIter = MAX(1, MaxIter * f); | ^~~ dotinit.c: In function 'attachPos': dotinit.c:349:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 349 | double* ps = gv_calloc(2 * agnnodes(g), sizeof(double)); | ~~^~~~~~~~~~~~~ dotinit.c: In function 'copyCluster': dotinit.c:390:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 390 | GD_clust(cl) = gv_calloc(nclust + 1, sizeof(Agraph_t*)); | ~~~~~~~^~~ dotinit.c: In function 'copyClusterInfo': dotinit.c:414:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 414 | GD_clust(root) = gv_calloc(nclust + 1, sizeof(Agraph_t*)); | ~~~~~~~^~~ rank.c: In function 'collapse_rankset': rank.c:112:19: warning: conversion from 'int' to 'char' may change value [-Wconversion] 112 | ND_ranktype(u) = kind; | ^~~~ rank.c:117:2: warning: switch missing default case [-Wswitch-default] 117 | switch (kind) { | ^~~~~~ rank.c:135:34: warning: conversion from 'int' to 'char' may change value [-Wconversion] 135 | ND_ranktype(GD_minset(g)) = kind; | ^~~~ rank.c:138:34: warning: conversion from 'int' to 'char' may change value [-Wconversion] 138 | ND_ranktype(GD_maxset(g)) = kind; | ^~~~ rank.c:133:2: warning: switch missing default case [-Wswitch-default] 133 | switch (kind) { | ^~~~~~ rank.c: In function 'rank_set_class': rank.c:155:22: warning: conversion from 'int' to 'char' may change value [-Wconversion] 155 | GD_set_type(g) = val; | ^~~ In file included from ../../lib/common/render.h:33, from ../../lib/dotgen/dot.h:13, from position.c:23: position.c: In function 'allocate_aux_edges': In file included from ../../lib/common/render.h:33, from ../../lib/dotgen/dot.h:13, from rank.c:28: rank.c: In function 'make_new_cluster': ../../lib/common/types.h:389:52: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 389 | #define GD_n_cluster(g) (((Agraphinfo_t*)AGDATA(g))->n_cluster) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ rank.c:164:44: note: in expansion of macro 'GD_n_cluster' 164 | GD_clust(g) = gv_recalloc(GD_clust(g), GD_n_cluster(g), cno + 1, | ^~~~~~~~~~~~ rank.c:164:65: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 164 | GD_clust(g) = gv_recalloc(GD_clust(g), GD_n_cluster(g), cno + 1, | ~~~~^~~ ../../lib/common/types.h:270:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 270 | L.list = gv_calloc(n + 1, sizeof(edge_t *)); \ position.c:208:2: note: in expansion of macro 'alloc_elist' 208 | alloc_elist(n_in + 3, ND_in(n)); | ^~~~~~~~~~~ position.c: In function 'make_LR_constraints': position.c:262:24: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 262 | last = (ND_rank(v) = last + width); | ^~~~ In file included from ../../lib/common/render.h:33, from ../../lib/dotgen/dot.h:13, from position.c:23: ../../lib/common/types.h:592:22: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 592 | #define ED_minlen(e) (((Agedgeinfo_t*)AGDATA(e))->minlen) | ^ position.c:299:8: note: in expansion of macro 'ED_minlen' 299 | m0 = ED_minlen(e) * GD_nodesep(g) + width; | ^~~~~~~~~ In file included from ../../lib/common/geom.h:21, from ../../lib/common/geomprocs.h:28, from position.c:20: ../../lib/common/arith.h:33:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 33 | #define MAX(a,b) ((a)>(b)?(a):(b)) | ^ position.c:305:12: note: in expansion of macro 'MAX' 305 | m0 = MAX(m0, width + GD_nodesep(g) + ROUND(ED_dist(e))); | ^~~ position.c: In function 'make_edge_pairs': position.c:336:8: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 336 | m0 = (ED_head_port(e).p.x - ED_tail_port(e).p.x); | ^ rank.c: In function 'readout_levels': rank.c:900:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 900 | minrk = gv_calloc(ncc + 1, sizeof(int)); | ~~~~^~~ rank.c: In function 'my_init_graph': rank.c:993:63: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 993 | { int *sz = arg; (void)g; agbindrec(graph,"level graph rec",sz[0],true); } | ~~^~~ rank.c: In function 'my_init_node': rank.c:995:61: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 995 | { int *sz = arg; (void)g; agbindrec(node,"level node rec",sz[1],true); } | ~~^~~ rank.c: In function 'my_init_edge': position.c: In function 'make_leafslots': rank.c:997:61: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 997 | { int *sz = arg; (void)g; agbindrec(edge,"level edge rec",sz[2],true); } | ~~^~~ position.c:1001:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1001 | node_t **new_v = gv_calloc(j + 1, sizeof(node_t*)); | ~~^~~ position.c: In function 'ports_eq': position.c:1016:31: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1016 | && ((ED_head_port(e).p.x == ED_head_port(f).p.x && | ^~ position.c:1017:24: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1017 | ED_head_port(e).p.y == ED_head_port(f).p.y) | ^~ position.c:1019:31: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1019 | && ((ED_tail_port(e).p.x == ED_tail_port(f).p.x && | ^~ position.c:1020:24: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1020 | ED_tail_port(e).p.y == ED_tail_port(f).p.y) | ^~ In file included from ../../lib/common/geom.h:21, from ../../lib/common/geomprocs.h:28, from position.c:20: position.c: In function 'make_lrvn': ../../lib/common/arith.h:33:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 33 | #define MAX(a,b) ((a)>(b)?(a):(b)) | ^ position.c:1073:10: note: in expansion of macro 'MAX' 1073 | int w = MAX(GD_border(g)[BOTTOM_IX].x, GD_border(g)[TOP_IX].x); | ^~~ sameport.c: In function 'sameport': sameport.c:150:2: warning: conversion from 'double' to 'unsigned char' may change value [-Wfloat-conversion] 150 | (MC_SCALE * (ND_lw(u) + prt.p.x)) / (ND_lw(u) + ND_rw(u)); | ^ dotsplines.c: In function 'dot_splines_': dotsplines.c:370:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 370 | P.boxes = gv_calloc(n_nodes + 20 * 2 * NSUB, sizeof(boxf)); | ^ dotsplines.c:371:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 371 | sd.Rank_box = gv_calloc(i, sizeof(boxf)); | ^ dotsplines.c: In function 'rank_box': dotsplines.c:2072:16: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2072 | if (b.LL.x == b.UR.x) { | ^~ dotsplines.c: In function 'straight_len': dotsplines.c:2097:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2097 | if (ND_coord(v).x != ND_coord(n).x) | ^~ CCLD libdotgen_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/dotgen' Making all in fdpgen gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/fdpgen' CC comp.lo CC dbg.lo CC grid.lo CC fdpinit.lo CC layout.lo CC tlayout.lo CC xlayout.lo CC clusteredges.lo tlayout.c: In function 'init_params': tlayout.c:131:14: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 131 | if (T_T0 == -1.0) { | ^~ tlayout.c: In function 'fdp_initParams': tlayout.c:179:14: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 179 | if (D_T0 == -1.0) { | ^~ tlayout.c: In function 'doRep': tlayout.c:213:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 213 | while (dist2 == 0.0) { | ^~ tlayout.c: In function 'applyAttr': tlayout.c:321:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 321 | while (dist2 == 0.0) { | ^~ tlayout.c: In function 'gAdjust': tlayout.c:383:19: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 383 | #define FLOOR(d) ((int)floor(d)) | ^ tlayout.c:399:16: note: in expansion of macro 'FLOOR' 399 | addGrid(grid, FLOOR((ND_pos(n))[0] / T_Cell), FLOOR((ND_pos(n))[1] / T_Cell), | ^~~~~ tlayout.c:383:19: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 383 | #define FLOOR(d) ((int)floor(d)) | ^ tlayout.c:399:48: note: in expansion of macro 'FLOOR' 399 | addGrid(grid, FLOOR((ND_pos(n))[0] / T_Cell), FLOOR((ND_pos(n))[1] / T_Cell), | ^~~~~ tlayout.c: In function 'fdp_tLayout': tlayout.c:644:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 644 | if (ctr.x != 0.0 || ctr.y != 0.0) { | ^~ tlayout.c:644:31: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 644 | if (ctr.x != 0.0 || ctr.y != 0.0) { | ^~ fdpinit.c: In function 'fdp_init_node_edge': fdpinit.c:102:38: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 102 | GD_neato_nlist(g) = gv_calloc(nn + 1, sizeof(node_t*)); | ~~~^~~ In file included from ../../lib/common/render.h:33, from ../../lib/fdpgen/fdp.h:13, from comp.c:28: comp.c: In function 'dfs': ../../lib/common/types.h:483:45: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 483 | #define ND_id(n) (((Agnodeinfo_t*)AGDATA(n))->id) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ comp.c:39:25: note: in expansion of macro 'ND_id' 39 | bitarray_set(marks, ND_id(n), true); | ^~~~~ ../../lib/common/types.h:483:45: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 483 | #define ND_id(n) (((Agnodeinfo_t*)AGDATA(n))->id) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ comp.c:44:28: note: in expansion of macro 'ND_id' 44 | if (!bitarray_get(*marks, ND_id(other))) | ^~~~~ comp.c: In function 'findCComp': ../../lib/common/types.h:483:45: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 483 | #define ND_id(n) (((Agnodeinfo_t*)AGDATA(n))->id) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ comp.c:84:30: note: in expansion of macro 'ND_id' 84 | if (bitarray_get(marks, ND_id(pp->n))) | ^~~~~ ../../lib/common/types.h:483:45: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 483 | #define ND_id(n) (((Agnodeinfo_t*)AGDATA(n))->id) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ comp.c:93:26: note: in expansion of macro 'ND_id' 93 | if (bitarray_get(marks, ND_id(n))) | ^~~~~ ../../lib/common/types.h:483:45: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 483 | #define ND_id(n) (((Agnodeinfo_t*)AGDATA(n))->id) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ comp.c:111:26: note: in expansion of macro 'ND_id' 111 | if (bitarray_get(marks, ND_id(n))) | ^~~~~ layout.c: In function 'addEdge': layout.c:356:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'short int' may change the sign of the result [-Wsign-conversion] 356 | el = gv_recalloc(el, cnt, cnt + 1, sizeof(edge_t*)); | ^~~ layout.c:356:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 356 | el = gv_recalloc(el, cnt, cnt + 1, sizeof(edge_t*)); | ~~~~^~~ layout.c: In function 'deriveGraph': layout.c:499:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 499 | PORTS(dg) = pq = gv_calloc(sz + 1, sizeof(bport_t)); | ~~~^~~ layout.c: In function 'getEdgeList': layout.c:568:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 568 | erec *erecs = gv_calloc(deg + 1, sizeof(erec)); | ~~~~^~~ layout.c:583:18: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 583 | qsort(erecs, deg, sizeof(erec), ecmp); | ^~~ layout.c:594:39: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 594 | while (j < deg && erecs[j].alpha == a) | ^~ layout.c: In function 'expandCluster': layout.c:686:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 686 | bport_t *pp = gv_calloc(sz + 1, sizeof(bport_t)); | ~~~^~~ layout.c: In function 'fdp_init_graph': layout.c:1025:26: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 1025 | GD_ndim(agroot(g)) = late_int(g, agattr(g,AGRAPH, "dim", NULL), 2, 2); | ^~~~~~~~ grid.c: In function 'newBlock': grid.c:46:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 46 | newb->mem = gv_calloc(size, sizeof(cell)); | ^~~~ grid.c: In function 'getCell': grid.c:86:28: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 86 | bp->next = newBlock(2 * (bp->endp - bp->mem)); | ~~^~~~~~~~~~~~~~~~~~~~~~ grid.c: In function 'adjustGrid': grid.c:186:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 186 | g->listMem = gv_calloc(nsize, sizeof(node_list)); | ^~~~~ xlayout.c: In function 'xinit_params': xlayout.c:85:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 85 | if (xParams.T0 == 0.0) | ^~ xlayout.c: In function 'doRep': xlayout.c:261:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 261 | while (dist2 == 0.0) { | ^~ CCLD libfdpgen_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/fdpgen' Making all in neatogen gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/neatogen' CC circuit.lo CC edges.lo CC geometry.lo CC heap.lo CC adjust.lo CC hedges.lo CC info.lo CC neatoinit.lo geometry.c: In function 'geominit': geometry.c:25:10: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'double' may change value [-Wconversion] 25 | sn = nsites + 4; | ^~~~~~ geometry.c:26:19: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 26 | sqrt_nsites = (int) sqrt(sn); | ^ geometry.c: In function 'intersection': geometry.c:69:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 69 | if (denom == 0.0) | ^~ info.c: In function 'compare': info.c:35:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 35 | if (p.x == q.x && p.y == q.y) | ^~ info.c:35:27: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 35 | if (p.x == q.x && p.y == q.y) | ^~ neatoinit.c: In function 'cluster_map': neatoinit.c:203:40: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 203 | bitarray_t assigned = bitarray_new(agnnodes(g)); | ^~~~~~~~~~~ neatoinit.c:214:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 214 | cs = cdata.clusters = gv_calloc(nclusters, sizeof(int*)); | ^~~~~~~~~ neatoinit.c:215:41: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 215 | cn = cdata.clustersizes = gv_calloc(nclusters, sizeof(int)); | ^~~~~~~~~ neatoinit.c:223:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 223 | c = *cs++ = gv_calloc(*cn++, sizeof(int)); | ^~~~~ neatoinit.c:232:41: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 232 | bitarray_set(&assigned, ind, true); | ^~~ neatoinit.c:237:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 237 | cdata.bb = gv_calloc(cdata.nclusters, sizeof(boxf)); | ~~~~~^~~~~~~~~~ neatoinit.c:238:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 238 | cdata.toplevel = gv_calloc(cdata.ntoplevel, sizeof(int)); | ~~~~~^~~~~~~~~~ neatoinit.c:240:36: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 240 | if(!bitarray_get(assigned, i)) { | ^ neatoinit.c: In function 'user_spline': neatoinit.c:312:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 312 | pointf *ps = gv_calloc(n, sizeof(pointf)); | ^ hedges.c: In function 'ELinitialize': hedges.c:39:21: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 39 | ELhash = gv_calloc(ELhashsize, sizeof(Halfedge *)); | ^~~~~~~~~~ In file included from ../../lib/common/render.h:33, from ../../lib/neatogen/neato.h:31, from neatoinit.c:25: neatoinit.c: In function 'add_cluster': hedges.c: In function 'hintersect': hedges.c:76:23: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 76 | (e1->reg[1]->coord.y == e2->reg[1]->coord.y && | ^~ ../../lib/common/types.h:389:52: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 389 | #define GD_n_cluster(g) (((Agraphinfo_t*)AGDATA(g))->n_cluster) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ neatoinit.c:461:44: note: in expansion of macro 'GD_n_cluster' 461 | GD_clust(g) = gv_recalloc(GD_clust(g), GD_n_cluster(g), cno + 1, | ^~~~~~~~~~~~ hedges.c: In function 'right_of': hedges.c:111:14: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 111 | if (e->a == 1.0) { | ^~ neatoinit.c:461:65: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 461 | GD_clust(g) = gv_recalloc(GD_clust(g), GD_n_cluster(g), cno + 1, | ~~~~^~~ hedges.c: In function 'ELleftbnd': hedges.c:187:14: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 187 | bucket = (p->x - xmin) / deltax * ELhashsize; | ^ neatoinit.c: In function 'init_nop': neatoinit.c:601:53: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 601 | if (translate && !haveBackground && (GD_bb(g).LL.x != 0||GD_bb(g).LL.y != 0)) | ^~ neatoinit.c:601:73: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 601 | if (translate && !haveBackground && (GD_bb(g).LL.x != 0||GD_bb(g).LL.y != 0)) | ^~ neatoinit.c: In function 'neato_init_graph': neatoinit.c:624:26: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 624 | GD_ndim(agroot(g)) = late_int(g, agfindgraphattr(g, "dim"), outdim, 2); | ^~~~~~~~ In file included from ../../lib/common/geom.h:21, from ../../lib/common/types.h:29, from ../../lib/common/render.h:33, from ../../lib/neatogen/neato.h:31, from neatoinit.c:25: ../../lib/common/arith.h:28:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 28 | #define MIN(a,b) ((a)<(b)?(a):(b)) | ^ neatoinit.c:626:24: note: in expansion of macro 'MIN' 626 | GD_odim(g->root) = MIN(outdim, Ndim); | ^~~ neatoinit.c: In function 'dfsCycle': neatoinit.c:725:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 725 | if (graph[i].edists[e] == 1.0) continue; /* in edge */ | ^~ neatoinit.c:729:34: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 729 | graph[i].edists[e] = x; | ^ neatoinit.c: In function 'makeGraphData': neatoinit.c:803:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 803 | vtx_data *graph = gv_calloc(nv, sizeof(vtx_data)); | ^~ neatoinit.c:804:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 804 | node_t** nodes = gv_calloc(nv, sizeof(node_t*)); | ^~ In file included from ../../lib/common/render.h:33, from ../../lib/neatogen/neato.h:31, from neatoinit.c:25: ../../lib/common/types.h:585:22: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 585 | #define ED_factor(e) (((Agedgeinfo_t*)AGDATA(e))->factor) | ^ neatoinit.c:847:33: note: in expansion of macro 'ED_factor' 847 | graph[i].eweights[idx] += ED_factor(ep); | ^~~~~~~~~ neatoinit.c:849:29: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 849 | graph[i].ewgts[idx] = fmax(graph[i].ewgts[idx], ED_dist(ep)); | ^~~~ In file included from ../../lib/common/render.h:33, from ../../lib/neatogen/neato.h:31, from neatoinit.c:25: ../../lib/common/types.h:585:22: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 585 | #define ED_factor(e) (((Agedgeinfo_t*)AGDATA(e))->factor) | ^ neatoinit.c:858:21: note: in expansion of macro 'ED_factor' 858 | *eweights++ = ED_factor(ep); | ^~~~~~~~~ ../../lib/common/types.h:602:20: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 602 | #define ED_dist(e) (((Agedgeinfo_t*)AGDATA(e))->dist) | ^ neatoinit.c:860:18: note: in expansion of macro 'ED_dist' 860 | *ewgts++ = ED_dist(ep); | ^~~~~~~ neatoinit.c:892:57: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 892 | edges = gv_recalloc(graph[0].edges, edges_size, 2 * ne + nv, sizeof(int)); | ~~~~~~~^~~~ neatoinit.c:894:61: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 894 | ewgts = gv_recalloc(graph[0].ewgts, edges_size, 2 * ne + nv, sizeof(float)); | ~~~~~~~^~~~ neatoinit.c:896:67: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 896 | eweights = gv_recalloc(graph[0].eweights, edges_size, 2 * ne + nv, sizeof(float)); | ~~~~~~~^~~~ neatoinit.c: In function 'majorization': neatoinit.c:1141:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1141 | double **coords = gv_calloc(dim, sizeof(double *)); | ^~~ neatoinit.c:1142:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1142 | coords[0] = gv_calloc(nv * dim, sizeof(double)); | ~~~^~~~~ neatoinit.c:1171:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1171 | pointf *nsize = gv_calloc(nv, sizeof(pointf)); | ^~ edges.c: In function 'clip_line': edges.c:74:14: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 74 | if (e->a == 1.0 && e->b >= 0.0) { | ^~ edges.c:82:14: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 82 | if (e->a == 1.0) { | ^~ heap.c: In function 'PQbucket': heap.c:37:11: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 37 | bucket = b; | ^ heap.c: In function 'PQinitialize': heap.c:116:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 116 | pq->hash = gv_calloc(pq->hashsize, sizeof(Halfedge)); | ~~^~~~~~~~~~ adjust.c: In function 'rmEquality': adjust.c:234:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 234 | (*jp)->coord.x != (*ip)->coord.x || | ^~ adjust.c:235:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 235 | (*jp)->coord.y != (*ip)->coord.y) { | ^~ adjust.c:244:24: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 244 | (*kp)->coord.x == (*ip)->coord.x && | ^~ adjust.c:245:24: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 245 | (*kp)->coord.y == (*ip)->coord.y) { | ^~ adjust.c:252:41: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 252 | if (kp < st->endSite && (*kp)->coord.y == (*ip)->coord.y) { | ^~ adjust.c: In function 'getSizes': adjust.c:531:36: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 531 | double *sizes = gv_calloc(Ndim * agnnodes(g), sizeof(double)); | ~~~~~^~~~~~~~~~~~~ adjust.c:543:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 543 | int* elabs = gv_calloc(nedge_nodes, sizeof(int)); | ^~~~~~~~~~~ adjust.c: In function 'makeMatrix': adjust.c:570:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 570 | int *I = gv_calloc(nedges, sizeof(int)); | ^~~~~~ adjust.c:571:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 571 | int *J = gv_calloc(nedges, sizeof(int)); | ^~~~~~ adjust.c:572:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 572 | double *val = gv_calloc(nedges, sizeof(double)); | ^~~~~~ adjust.c: In function 'fdpAdjust': adjust.c:607:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 607 | double *pos = gv_calloc(Ndim * agnnodes(g), sizeof(double)); | ~~~~~^~~~~~~~~~~~~ adjust.c: In function 'vpscAdjust': adjust.c:659:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 659 | pointf *nsize = gv_calloc(nnodes, sizeof(pointf)); | ^~~~~~ adjust.c:661:38: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 661 | float *f_storage = gv_calloc(dim * nnodes, sizeof(float)); | ~~~~^~~~~~~~ adjust.c:664:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 664 | coords[i] = f_storage + i * nnodes; | ^ adjust.c: In function 'normalize': adjust.c:753:9: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 753 | if (p.x || p.y) ret = 1; | ^ adjust.c:753:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 753 | if (p.x || p.y) ret = 1; | ^~ adjust.c:767:9: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 767 | if (phi) { | ^~~ adjust.c: In function 'simpleScale': adjust.c:898:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 898 | if (sc.y == 1 && sc.x == 1) return 0; | ^~ adjust.c:898:28: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 898 | if (sc.y == 1 && sc.x == 1) return 0; | ^~ CC legal.lo CC lu.lo CC matinv.lo CC memory.lo CC poly.lo CC site.lo legal.c: In function 'online': legal.c:124:16: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 124 | return a.x == b.x | ^~ legal.c:125:14: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 125 | ? (a.x == c.x && -1 != between(a.y, c.y, b.y)) | ^~ legal.c: In function 'intpoint': legal.c:145:11: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 145 | if (ls.x == le.x) { | ^~ legal.c:148:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 148 | } else if (ms.x == me.x) { | ^~ legal.c:183:36: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 183 | if ((ls.x - le.x) * (ms.y - ls.y) == (ls.y - le.y) * (ms.x - ls.x)) { | ^~ legal.c:142:5: warning: switch missing default case [-Wswitch-default] 142 | switch (cond) { | ^~~~~~ legal.c: In function 'realIntersect': legal.c:214:16: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 214 | if ((vft.x != avft.x && vsd.x != avsd.x) || | ^~ legal.c:214:35: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 214 | if ((vft.x != avft.x && vsd.x != avsd.x) || | ^~ legal.c:215:9: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 215 | (vft.x == avft.x && !EQ_PT(vft, p) && !EQ_PT(avft, p)) || | ^~ legal.c:23:28: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 23 | #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) | ^~ legal.c:215:23: note: in expansion of macro 'EQ_PT' 215 | (vft.x == avft.x && !EQ_PT(vft, p) && !EQ_PT(avft, p)) || | ^~~~~ legal.c:23:48: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 23 | #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) | ^~ legal.c:215:23: note: in expansion of macro 'EQ_PT' 215 | (vft.x == avft.x && !EQ_PT(vft, p) && !EQ_PT(avft, p)) || | ^~~~~ legal.c:23:28: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 23 | #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) | ^~ legal.c:215:41: note: in expansion of macro 'EQ_PT' 215 | (vft.x == avft.x && !EQ_PT(vft, p) && !EQ_PT(avft, p)) || | ^~~~~ legal.c:23:48: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 23 | #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) | ^~ legal.c:215:41: note: in expansion of macro 'EQ_PT' 215 | (vft.x == avft.x && !EQ_PT(vft, p) && !EQ_PT(avft, p)) || | ^~~~~ legal.c:216:9: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 216 | (vsd.x == avsd.x && !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) | ^~ legal.c:23:28: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 23 | #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) | ^~ legal.c:216:23: note: in expansion of macro 'EQ_PT' 216 | (vsd.x == avsd.x && !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) | ^~~~~ legal.c:23:48: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 23 | #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) | ^~ legal.c:216:23: note: in expansion of macro 'EQ_PT' 216 | (vsd.x == avsd.x && !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) | ^~~~~ legal.c:23:28: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 23 | #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) | ^~ legal.c:216:41: note: in expansion of macro 'EQ_PT' 216 | (vsd.x == avsd.x && !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) | ^~~~~ legal.c:23:48: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 23 | #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) | ^~ legal.c:216:41: note: in expansion of macro 'EQ_PT' 216 | (vsd.x == avsd.x && !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) | ^~~~~ legal.c: In function 'Plegal_arrangement': legal.c:419:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 419 | polygon *polygon_list = gv_calloc(n_polys, sizeof(polygon)); | ^~~~~~~ lu.c: In function 'lu_decompose': lu.c:75:20: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 75 | ps = gv_calloc(n, sizeof(int)); | ^ lu.c:77:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 77 | scales = gv_calloc(n, sizeof(double)); | ^ lu.c:119:30: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 119 | if (lu[ps[n - 1]][n - 1] == 0.0) | ^~ memory.c: In function 'freeinit': memory.c:39:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 39 | #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) | ^ memory.c:45:20: note: in expansion of macro 'LCM' 45 | fl->nodesize = LCM(size, sizeof(Freenode)); | ^~~ memory.c:39:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 39 | #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) | ^ memory.c:45:20: note: in expansion of macro 'LCM' 45 | fl->nodesize = LCM(size, sizeof(Freenode)); | ^~~ memory.c:39:65: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 39 | #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) | ^ memory.c:45:20: note: in expansion of macro 'LCM' 45 | fl->nodesize = LCM(size, sizeof(Freenode)); | ^~~ memory.c:39:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 39 | #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) | ^ memory.c:45:20: note: in expansion of macro 'LCM' 45 | fl->nodesize = LCM(size, sizeof(Freenode)); | ^~~ memory.c:39:34: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 39 | #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) | ^~~ memory.c:45:20: note: in expansion of macro 'LCM' 45 | fl->nodesize = LCM(size, sizeof(Freenode)); | ^~~ memory.c:39:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 39 | #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) | ^ memory.c:45:20: note: in expansion of macro 'LCM' 45 | fl->nodesize = LCM(size, sizeof(Freenode)); | ^~~ memory.c:39:18: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 39 | #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) | ^ memory.c:45:20: note: in expansion of macro 'LCM' 45 | fl->nodesize = LCM(size, sizeof(Freenode)); | ^~~ memory.c: In function 'getfree': memory.c:70:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 70 | mem->nodes = gv_calloc(sqrt_nsites, size); | ^~~~~~~~~~~ memory.c:70:38: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 70 | mem->nodes = gv_calloc(sqrt_nsites, size); | ^~~~ poly.c: In function 'isBox': poly.c:83:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 83 | if (verts[0].y == verts[1].y) | ^~ poly.c:84:22: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 84 | return ((verts[2].y == verts[3].y) && | ^~ poly.c:85:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 85 | (verts[0].x == verts[3].x) && (verts[1].x == verts[2].x)); | ^~ poly.c:85:45: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 85 | (verts[0].x == verts[3].x) && (verts[1].x == verts[2].x)); | ^~ poly.c:87:22: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 87 | return ((verts[0].x == verts[1].x) && | ^~ poly.c:88:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 88 | (verts[2].x == verts[3].x) && | ^~ poly.c:89:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 89 | (verts[0].y == verts[3].y) && (verts[1].y == verts[2].y)); | ^~ poly.c:89:45: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 89 | (verts[0].y == verts[3].y) && (verts[1].y == verts[2].y)); | ^~ poly.c: In function 'makePoly': poly.c:280:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 280 | if ((xmargin != 1.0) || (ymargin != 1.0)) | ^~ poly.c:280:38: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 280 | if ((xmargin != 1.0) || (ymargin != 1.0)) | ^~ poly.c: In function 'edgesIntersect': poly.c:336:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 336 | if ((cross == 0) && !bHA && !aHB) { | ^~ poly.c: In function 'inPoly': poly.c:384:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 384 | if (tp3[i].y == 0 && tp3[i1].y == 0) { | ^~ poly.c:384:33: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 384 | if (tp3[i].y == 0 && tp3[i1].y == 0) { | ^~ poly.c:400:12: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 400 | if (x == 0) | ^~ poly.c:405:16: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 405 | if (tp3[i].y == 0 || tp3[i1].y == 0) { | ^~ poly.c:405:34: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 405 | if (tp3[i].y == 0 || tp3[i1].y == 0) { | ^~ matinv.c: In function 'matinv': matinv.c:49:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 49 | double *b = gv_calloc(n, sizeof(double)); | ^ CC solve.lo CC neatosplines.lo CC stuff.lo CC voronoi.lo CC stress.lo CC kkutils.lo CC matrix_ops.lo voronoi.c: In function 'voronoi': voronoi.c:39:26: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 39 | (newsite->coord.y ==newintstar.y && newsite->coord.x < newintstar.x))) { | ^~ CC embed_graph.lo stuff.c: In function 'new_array': stuff.c:51:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 51 | double **rv = gv_calloc(m, sizeof(double*)); | ^ stuff.c:52:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 52 | double *mem = gv_calloc(m * n, sizeof(double)); | ~~^~~ stuff.c: In function 'new_3array': stuff.c:75:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 75 | double ***rv = gv_calloc(m + 1, sizeof(double**)); | ~~^~~ stuff.c:77:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 77 | rv[i] = gv_calloc(n + 1, sizeof(double*)); | ~~^~~ stuff.c:79:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 79 | rv[i][j] = gv_calloc(p, sizeof(double)); | ^ stuff.c: In function 'lenattr': stuff.c:118:56: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 118 | if (sscanf(s, "%lf", val) < 1 || *val < 0 || (*val == 0 && !Nop)) { | ^~ stuff.c: In function 'scan_graph_mode': stuff.c:255:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 255 | GD_neato_nlist(G) = gv_calloc(nV + 1, sizeof(node_t*)); | ~~~^~~ stuff.c:265:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 265 | GD_neato_nlist(G) = gv_calloc(nV + 1, sizeof(node_t*)); // not sure why but sometimes needs the + 1 | ~~~^~~ In file included from ../../lib/sparse/general.h:17, from ../../lib/sparse/SparseMatrix.h:13, from ../../lib/neatogen/adjust.h:18, from ../../lib/neatogen/neatoprocs.h:19, from ../../lib/neatogen/neato.h:33, from neatosplines.c:17: neatosplines.c: In function 'ellipse_tangent_slope': neatosplines.c:271:14: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 271 | assert(p.x != a && | ^~ stuff.c: In function 'shortest_path': stuff.c:658:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 658 | Heap = gv_calloc(nG + 1, sizeof(node_t*)); | ~~~^~~ neatosplines.c: In function '_spline_edges': neatosplines.c:609:18: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 609 | obs = gv_calloc(agnnodes(g), sizeof(Ppoly_t*)); | ^~~~~~~~~~~ In file included from ../../lib/common/render.h:33, from ../../lib/neatogen/neato.h:31, from neatosplines.c:17: neatosplines.c: In function '_neato_set_aspect': ../../lib/common/types.h:354:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 354 | #define GD_bb(g) (((Agraphinfo_t*)AGDATA(g))->bb) | ^ neatosplines.c:1037:6: note: in expansion of macro 'GD_bb' 1037 | if (GD_bb(g).LL.x || GD_bb(g).LL.y) { | ^~~~~ neatosplines.c:1037:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1037 | if (GD_bb(g).LL.x || GD_bb(g).LL.y) { | ^~ stress.c: In function 'circuitModel': stress.c:171:42: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 171 | float *Dij = gv_calloc(nG * (nG + 1) / 2, sizeof(float)); | ~~~~~~~~~~~~~~^~~ stress.c: In function 'sparse_stress_subspace_majorization_kD': stress.c:257:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 257 | double **subspace = gv_calloc(subspace_dim, sizeof(double *)); | ^~~~~~~~~~~~ stress.c:258:48: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 258 | double *d_storage = gv_calloc(subspace_dim * n, sizeof(double)); | ~~~~~~~~~~~~~^~~ stress.c:313:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 313 | int *CenterIndex = gv_calloc(n, sizeof(int)); | ^ stress.c:332:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 332 | DistType *dist = gv_calloc(n, sizeof(DistType)); | ^ stress.c:337:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 337 | invCenterIndex = gv_calloc(num_centers, sizeof(int)); | ^~~~~~~~~~~ stress.c:339:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 339 | storage = gv_calloc(n * num_centers, sizeof(DistType)); | ~~^~~~~~~~~~~~~ stress.c:340:21: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 340 | Dij = gv_calloc(num_centers, sizeof(DistType *)); | ^~~~~~~~~~~ stress.c:395:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 395 | visited_nodes = gv_calloc(n, sizeof(int)); | ^ stress.c:396:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 396 | distances = gv_calloc(n, sizeof(dist_data)); | ^ stress.c:401:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 401 | distances[i].edges = gv_calloc(n - 1, sizeof(int)); | ~~^~~ stress.c:402:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 402 | distances[i].edist = gv_calloc(n - 1, sizeof(DistType)); | ~~^~~ stress.c:424:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 424 | storage1 = gv_calloc(available_space, sizeof(int)); | ^~~~~~~~~~~~~~~ stress.c:425:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 425 | storage2 = gv_calloc(available_space, sizeof(DistType)); | ^~~~~~~~~~~~~~~ stress.c:463:21: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 463 | lap = gv_calloc(n, sizeof(vtx_data)); | ^ stress.c:464:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 464 | edges = gv_calloc(nedges + n, sizeof(int)); | ^ stress.c:465:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 465 | ewgts = gv_calloc(nedges + n, sizeof(float)); | ^ stress.c:497:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 497 | directions = gv_calloc(dim, sizeof(double *)); | ^~~ stress.c:498:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 498 | directions[0] = gv_calloc(dim * subspace_dim, sizeof(double)); | ~~~~^~~~~~~~~~~~~~ stress.c:534:22: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] 534 | directions[k][i] = (double) rand() / RAND_MAX; | ^ stress.c:563:19: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 563 | b = gv_calloc(n, sizeof(double)); | ^ stress.c:564:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 564 | b_restricted = gv_calloc(subspace_dim, sizeof(double)); | ^~~~~~~~~~~~ stress.c:584:21: warning: conversion from 'DistType' {aka 'int'} to 'float' may change value [-Wconversion] 584 | L_ij = -ewgts[j] * dist_list[j] / dist_ij; /* L_ij=w_{ij}*d_{ij}/dist_{ij} */ | ^ stress.c: In function 'compute_weighted_apsp_packed': stress.c:648:40: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 648 | float *Dij = gv_calloc(n * (n + 1) / 2, sizeof(float)); | ~~~~~~~~~~~~^~~ stress.c:650:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 650 | float *Di = gv_calloc(n, sizeof(float)); | ^ stress.c: In function 'compute_apsp_packed': stress.c:703:40: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 703 | float *Dij = gv_calloc(n * (n + 1) / 2, sizeof(float)); | ~~~~~~~~~~~~^~~ stress.c:705:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 705 | DistType *Di = gv_calloc(n, sizeof(DistType)); | ^ stress.c: In function 'compute_apsp_artificial_weights_packed': stress.c:734:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 734 | int *vtx_vec = gv_calloc(n, sizeof(int)); | ^ stress.c: In function 'stress_majorization_kD_mkernel': stress.c:935:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 935 | coords = gv_calloc(dim, sizeof(float *)); | ^~~ stress.c:936:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 936 | f_storage = gv_calloc(dim * n, sizeof(float)); | ~~~~^~~ stress.c:947:30: warning: conversion from 'int' to 'float' may change value [-Wconversion] 947 | constant_term = (float)n * (n - 1) / 2; | ^ stress.c:963:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 963 | degrees = gv_calloc(n, sizeof(DegType)); | ^ stress.c:975:16: warning: conversion from 'long double' to 'float' may change value [-Wfloat-conversion] 975 | lap2[count] = degrees[i]; | ^~~~~~~ stress.c:982:19: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 982 | b = gv_calloc(dim, sizeof(float *)); | ^~~ stress.c:983:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 983 | b[0] = gv_calloc(dim * n, sizeof(float)); | ~~~~^~~ stress.c:988:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 988 | tmp_coords = gv_calloc(n, sizeof(float)); | ^ stress.c:989:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 989 | dist_accumulator = gv_calloc(n, sizeof(float)); | ^ stress.c:990:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 990 | lap1 = gv_calloc(lap_length, sizeof(float)); | ^~~~~~~~~~ In file included from /usr/include/string.h:127, from ../../lib/cgraph/alloc.h:24, from stress.c:11: stress.c:1005:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1005 | memset(degrees, 0, n * sizeof(DegType)); | ^ stress.c:1005:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1005 | memset(degrees, 0, n * sizeof(DegType)); | ^ stress.c:1050:20: warning: conversion from 'long double' to 'float' may change value [-Wfloat-conversion] 1050 | lap1[count] = degrees[i]; | ^~~~~~~ kkutils.c: In function 'compute_apsp_dijkstra': kkutils.c:58:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 58 | DistType **dij = gv_calloc(n, sizeof(DistType*)); | ^ kkutils.c: In function 'compute_apsp_simple': kkutils.c:75:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 75 | DistType **dij = gv_calloc(n, sizeof(DistType*)); | ^ kkutils.c: In function 'quicksort_placef': kkutils.c:143:41: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 143 | gv_sort(ordering + first, last - first + 1, sizeof(ordering[0]), fcmpf, place); | ~~~~~~~~~~~~~^~~ kkutils.c: In function 'quicksort_place': kkutils.c:162:21: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 162 | gv_sort(ordering, size, sizeof(ordering[0]), cmp, place); | ^~~~ kkutils.c: In function 'compute_new_weights': kkutils.c:171:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 171 | int *vtx_vec = gv_calloc(n, sizeof(int)); | ^ CC dijkstra.lo matrix_ops.c: In function 'power_iteration': matrix_ops.c:25:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 25 | double *tmp_vec = gv_calloc(n, sizeof(double)); | ^ matrix_ops.c:26:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 26 | double *last_vec = gv_calloc(n, sizeof(double)); | ^ matrix_ops.c: In function 'mult_dense_mat': matrix_ops.c:140:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 140 | float *storage = gv_calloc(dim1 * dim3, sizeof(A[0])); | ~~~~~^~~~~~ matrix_ops.c:141:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 141 | float **C = *CC = gv_calloc(dim1, sizeof(A)); | ^~~~ matrix_ops.c: In function 'mult_dense_mat_d': matrix_ops.c:168:38: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 168 | double *storage = gv_calloc(dim1 * dim3, sizeof(double)); | ~~~~~^~~~~~ matrix_ops.c:169:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 169 | double **C = *CC = gv_calloc(dim1, sizeof(double *)); | ^~~~ matrix_ops.c: In function 'mult_sparse_dense_mat_transpose': matrix_ops.c:197:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 197 | float *storage = gv_calloc(dim1 * dim2, sizeof(A[0])); | ~~~~~^~~~~~ matrix_ops.c:198:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 198 | float **C = *CC = gv_calloc(dim1, sizeof(A)); | ^~~~ matrix_ops.c: In function 'orthog1f': matrix_ops.c:401:9: warning: conversion from 'int' to 'float' may change value [-Wconversion] 401 | sum /= n; | ^~ matrix_ops.c: In function 'invert_vec': matrix_ops.c:513:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 513 | if (vec[i] != 0.0) { | ^~ CC conjgrad.lo embed_graph.c: In function 'embed_graph': embed_graph.c:40:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 40 | DistType *storage = gv_calloc(n * dim, sizeof(DistType)); | ~~^~~~~ embed_graph.c:42:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 42 | DistType *dist = gv_calloc(n, sizeof(DistType)); // this vector stores the | ^ embed_graph.c:49:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 49 | *Coords = coords = gv_calloc(dim, sizeof(DistType *)); | ^~~ CC pca.lo dijkstra.c: In function 'initHeap': dijkstra.c:89:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 89 | else h->data = gv_calloc(n - 1, sizeof(int)); | ~~^~~ dijkstra.c: In function 'dijkstra': dijkstra.c:146:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 146 | int *index = gv_calloc(n, sizeof(int)); | ^ dijkstra.c: In function 'initHeap_f': dijkstra.c:203:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 203 | h->data = gv_calloc(n - 1, sizeof(int)); | ~~^~~ dijkstra.c: In function 'dijkstra_f': dijkstra.c:263:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 263 | int *index = gv_calloc(n, sizeof(int)); | ^ dijkstra.c:276:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 276 | if (closestDist == FLT_MAX) | ^~ dijkstra.c: In function 'dijkstra_sgd': dijkstra.c:311:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 311 | if (d == FLT_MAX) { | ^~ dijkstra.c:316:42: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 316 | if (bitarray_get(graph->pinneds, closest) || closestdata = gv_calloc(size, sizeof(int)); | ^~~~ constraint.c: In function 'mapGraphs': constraint.c:148:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 148 | if (ED_minlen(ce) == 0.0) { | ^~ constraint.c: In function 'mkNConstraintG': constraint.c:245:18: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 245 | ED_minlen(e) = delta; | ^~~~~ In file included from ../../lib/common/render.h:33, from ../../lib/neatogen/neato.h:31, from constraint.c:17: constraint.c: In function 'mkConstraintG': ../../lib/common/types.h:270:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 270 | L.list = gv_calloc(n + 1, sizeof(edge_t *)); \ constraint.c:312:6: note: in expansion of macro 'alloc_elist' 312 | alloc_elist(lcnt, ND_in(n)); | ^~~~~~~~~~~ ../../lib/common/types.h:270:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 270 | L.list = gv_calloc(n + 1, sizeof(edge_t *)); \ constraint.c:315:7: note: in expansion of macro 'alloc_elist' 315 | alloc_elist(2 * (cnt - 1), ND_out(prev)); | ^~~~~~~~~~~ ../../lib/common/types.h:270:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 270 | L.list = gv_calloc(n + 1, sizeof(edge_t *)); \ constraint.c:317:7: note: in expansion of macro 'alloc_elist' 317 | alloc_elist(cnt - lcnt - 1, ND_out(prev)); | ^~~~~~~~~~~ constraint.c: In function 'initItem': constraint.c:23:15: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 23 | #define SCALE 10 | ^~ constraint.c:507:7: note: in expansion of macro 'SCALE' 507 | w2 = SCALE * (POINTS(ND_width(n)/2.0) + margin.x); | ^~~~~ constraint.c:23:15: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 23 | #define SCALE 10 | ^~ constraint.c:508:7: note: in expansion of macro 'SCALE' 508 | h2 = SCALE * (POINTS(ND_height(n)/2.0) + margin.y); | ^~~~~ constraint.c: In function 'cAdjust': constraint.c:559:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 559 | nitem *nlist = gv_calloc(nnodes, sizeof(nitem)); | ^~~~~~ constraint.c: In function 'compress': constraint.c:659:19: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 659 | if (p->pos.x == q->pos.x) | ^~ constraint.c:664:19: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 664 | if (p->pos.y == q->pos.y) | ^~ constraint.c: In function 'mkOverlapSet': constraint.c:696:16: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 696 | if (p->pos.x == q->pos.x) | ^~ constraint.c:703:16: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 703 | if (p->pos.y == q->pos.y) | ^~ constraint.c: In function 'scAdjust': constraint.c:790:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 790 | info *nlist = gv_calloc(nnodes, sizeof(info)); | ^~~~~~ constraint.c:829:10: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 829 | if (s.x == 0) { /* overlaps exist */ | ^~ CC opt_arrangement.lo closest.c: In function 'heapify': closest.c:37:27: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 37 | #define EQ(p,q) ((p).dist == (q).dist) | ^~ closest.c:83:35: note: in expansion of macro 'EQ' 83 | (LT(h->data[i],h->data[j]) || ((EQ(h->data[i],h->data[j])) && (rand()%2))) | ^~ closest.c:96:26: note: in expansion of macro 'greaterPriority' 96 | if (insideHeap(h, l) && greaterPriority(h, l, i)) | ^~~~~~~~~~~~~~~ closest.c:37:27: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 37 | #define EQ(p,q) ((p).dist == (q).dist) | ^~ closest.c:83:35: note: in expansion of macro 'EQ' 83 | (LT(h->data[i],h->data[j]) || ((EQ(h->data[i],h->data[j])) && (rand()%2))) | ^~ closest.c:100:26: note: in expansion of macro 'greaterPriority' 100 | if (insideHeap(h, r) && greaterPriority(h, r, largest)) | ^~~~~~~~~~~~~~~ closest.c: In function 'insert': closest.c:37:27: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 37 | #define EQ(p,q) ((p).dist == (q).dist) | ^~ closest.c:83:35: note: in expansion of macro 'EQ' 83 | (LT(h->data[i],h->data[j]) || ((EQ(h->data[i],h->data[j])) && (rand()%2))) | ^~ closest.c:155:21: note: in expansion of macro 'greaterPriority' 155 | while (i > 0 && greaterPriority(h, i, parent(i))) { | ^~~~~~~~~~~~~~~ CC overlap.lo quad_prog_solve.c: In function 'equals': quad_prog_solve.c:29:27: warning: conversion from 'double' to 'float' changes value from '1.0e-2' to '9.99999978e-3' [-Wfloat-conversion] 29 | const float TOLERANCE = 1e-2; | ^~~~ quad_prog_solve.c: In function 'unpackMatrix': quad_prog_solve.c:37:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 37 | float **mat = gv_calloc(n, sizeof(float *)); | ^ quad_prog_solve.c:38:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 38 | mat[0] = gv_calloc(n * n, sizeof(float)); | ~~^~~ quad_prog_solve.c: In function 'constrained_majorization_new_with_gaps': quad_prog_solve.c:140:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 140 | int *lev = gv_calloc(n, sizeof(int)); // level of each node | ^ quad_prog_solve.c:230:31: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 230 | if (desired_place[node] == cur_place) { | ^~ quad_prog_solve.c:392:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 392 | ordering[i] = ints_get(&block, i - (size_t)left); | ^ quad_prog_solve.c: In function 'initConstrainedMajorization': quad_prog_solve.c:436:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 436 | e->fArray1 = gv_calloc(n, sizeof(float)); | ^ quad_prog_solve.c:437:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 437 | e->fArray2 = gv_calloc(n, sizeof(float)); | ^ quad_prog_solve.c:438:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 438 | e->fArray3 = gv_calloc(n, sizeof(float)); | ^ quad_prog_solve.c:439:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 439 | e->fArray4 = gv_calloc(n, sizeof(float)); | ^ smart_ini_x.c: In function 'power_iteration_orthog': smart_ini_x.c:73:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 73 | double *tmp_vec = gv_calloc(n, sizeof(double)); | ^ smart_ini_x.c:74:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 74 | double *last_vec = gv_calloc(n, sizeof(double)); | ^ smart_ini_x.c: In function 'compute_avgs': smart_ini_x.c:185:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 185 | float* row_avg = gv_calloc(n, sizeof(float)); | ^ smart_ini_x.c:195:28: warning: conversion from 'int' to 'float' may change value [-Wconversion] 195 | row_avg[i]=(float)sum_row/n; | ^ smart_ini_x.c:197:21: warning: conversion from 'int' to 'float' may change value [-Wconversion] 197 | *all_avg=(float)sum/(n*n); | ^ smart_ini_x.c: In function 'compute_Bij': smart_ini_x.c:205:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 205 | float *storage = gv_calloc(n * n, sizeof(float)); | ~~^~~ smart_ini_x.c:206:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 206 | float **Bij = gv_calloc(n, sizeof(float *)); | ^ smart_ini_x.c:216:31: warning: conversion from 'DistType' {aka 'int'} to 'float' may change value [-Wconversion] 216 | Bij[i][j]=-(float)Dij[i][j]*Dij[i][j]+row_avg[i]+row_avg[j]-all_avg; | ^ smart_ini_x.c: In function 'CMDS_orthog': smart_ini_x.c:230:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 230 | double *evals = gv_calloc(dim, sizeof(double)); | ^~~ smart_ini_x.c:233:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 233 | double *orthog_aux = gv_calloc(n, sizeof(double)); | ^ smart_ini_x.c: In function 'IMDS_given_dim': smart_ini_x.c:260:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 260 | float **lap = gv_calloc(n, sizeof(float *)); | ^ smart_ini_x.c:263:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 263 | double *balance = gv_calloc(n, sizeof(double)); | ^ smart_ini_x.c:295:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 295 | float *f_storage = gv_calloc(n * n, sizeof(float)); | ~~^~~ smart_ini_x.c:318:34: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] 318 | Dij[i][j]=Dij[j][i]=diff>0 ? (DistType)sqrt(diff) : 0; | ^ smart_ini_x.c:331:26: warning: conversion from 'DistType' {aka 'int'} to 'float' may change value [-Wconversion] 331 | balance[i]+=Dij[i][j]*(-lap[i][j]); // w_{ij}*delta_{ij} | ^ smart_ini_x.c:334:26: warning: conversion from 'DistType' {aka 'int'} to 'float' may change value [-Wconversion] 334 | balance[i]-=Dij[i][j]*(-lap[i][j]); // w_{ij}*delta_{ij} | ^ smart_ini_x.c:352:18: warning: conversion from 'DistType' {aka 'int'} to 'float' may change value [-Wconversion] 352 | b+=Dij[i][j]*(-lap[i][j]); | ^ smart_ini_x.c:356:18: warning: conversion from 'DistType' {aka 'int'} to 'float' may change value [-Wconversion] 356 | b-=Dij[i][j]*(-lap[i][j]); | ^ smart_ini_x.c:360:11: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 360 | if ((b != balance[i]) && (fabs(1-b/balance[i])>1e-5)) { | ^~ CC call_tri.lo opt_arrangement.c: In function 'compute_y_coords': opt_arrangement.c:50:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 50 | double *b = gv_calloc(n, sizeof(double)); | ^ constrained_majorization.c: In function 'stress_majorization_with_hierarchy': constrained_majorization.c:86:45: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 86 | directionalityExist |= graph[i].edists[j] != 0; | ^~ constrained_majorization.c:267:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 267 | coords = gv_calloc(dim, sizeof(float *)); | ^~~ constrained_majorization.c:268:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 268 | f_storage = gv_calloc(dim * n, sizeof(float)); | ~~~~^~~ constrained_majorization.c:296:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 296 | degrees = gv_calloc(n, sizeof(double)); | ^ constrained_majorization.c:316:19: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 316 | b = gv_calloc(dim, sizeof(float *)); | ^~~ constrained_majorization.c:317:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 317 | b[0] = gv_calloc(dim * n, sizeof(float)); | ~~~~^~~ constrained_majorization.c:322:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 322 | tmp_coords = gv_calloc(n, sizeof(float)); | ^ constrained_majorization.c:323:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 323 | dist_accumulator = gv_calloc(n, sizeof(float)); | ^ constrained_majorization.c:324:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 324 | lap1 = gv_calloc(lap_length, sizeof(float)); | ^~~~~~~~~~ constrained_majorization.c:423:14: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 423 | levels_gap); | ^~~~~~~~~~ overlap.c: In function 'get_overlap_graph': overlap.c:117:41: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 117 | scan_point *scanpointsx = gv_calloc(2 * n, sizeof(scan_point)); | ~~^~~ overlap.c:126:23: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 126 | qsort(scanpointsx, 2*n, sizeof(scan_point), comp_scan_points); | ~^~ overlap.c:128:41: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 128 | scan_point *scanpointsy = gv_calloc(2 * n, sizeof(scan_point)); | ~~^~~ overlap.c: In function 'overlap_scaling': overlap.c:290:19: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 290 | if (scale_sta == 0) { | ^~ overlap.c: In function 'OverlapSmoother_new': overlap.c:353:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 353 | sm->lambda = gv_calloc(m, sizeof(double)); | ^ overlap.c: In function 'print_bounding_box': overlap.c:455:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 455 | double *xmin = gv_calloc(dim, sizeof(double)); | ^~~ overlap.c:456:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 456 | double *xmax = gv_calloc(dim, sizeof(double)); | ^~~ CC compute_hierarchy.lo call_tri.c: In function 'call_tri': call_tri.c:25:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 25 | double* xv = gv_calloc(n, sizeof(double)); | ^ call_tri.c:26:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 26 | double* yv = gv_calloc(n, sizeof(double)); | ^ call_tri.c: In function 'call_tri2': call_tri.c:71:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 71 | double *x = gv_calloc(n, sizeof(double)); | ^ call_tri.c:72:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 72 | double *y = gv_calloc(n, sizeof(double)); | ^ CC delaunay.lo CC multispline.lo CC constrained_majorization_ipsep.lo CC quad_prog_vpsc.lo compute_hierarchy.c: In function 'compute_hierarchy': compute_hierarchy.c:63:16: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 63 | y = gv_calloc(n, sizeof(double)); | ^ compute_hierarchy.c:71:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 71 | *orderingp = ordering = gv_calloc(n, sizeof(int)); | ^ compute_hierarchy.c:100:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 100 | *levelsp = levels = gv_calloc(num_levels, sizeof(int)); | ^~~~~~~~~~ CC sgd.lo CC randomkit.lo multispline.c: In function 'ctrlPtIdx': multispline.c:297:10: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 297 | if (w.x == v.x && w.y == v.y) { | ^~ multispline.c:297:24: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 297 | if (w.x == v.x && w.y == v.y) { | ^~ multispline.c: In function 'mkCtrlPts': multispline.c:328:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 328 | pointf *ps = gv_calloc(mult, sizeof(pointf)); | ^~~~ multispline.c: In function 'mkTriIndices': multispline.c:460:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 460 | int *tris = gv_calloc(3 * sf->nfaces, sizeof(int)); | ~~^~~~~~~~~~~~ In file included from /usr/include/string.h:127, from ../../lib/cgraph/alloc.h:24, from multispline.c:12: multispline.c:461:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 461 | memcpy(tris, sf->faces, 3 * sf->nfaces * sizeof(int)); | ^ multispline.c:461:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 461 | memcpy(tris, sf->faces, 3 * sf->nfaces * sizeof(int)); | ^ multispline.c: In function 'addTriEdge': multispline.c:506:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 506 | g->edges = gv_recalloc(g->edges, g->nedges, g->nedges + 1, | ~^~~~~~~~ multispline.c:506:59: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 506 | g->edges = gv_recalloc(g->edges, g->nedges, g->nedges + 1, | ~~~~~~~~~~^~~ multispline.c: In function 'mkTriGraph': multispline.c:554:17: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 554 | g->nnodes = sf->nfaces + 2; | ^~ multispline.c: In function 'mkRouter': multispline.c:598:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 598 | int *obsi = gv_calloc(npoly + 1, sizeof(int)); | ~~~~~~^~~ multispline.c:603:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 603 | pointf *pts = gv_calloc(npts, sizeof(pointf)); // all points are stored in pts | ^~~~ multispline.c:604:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 604 | int *segs = gv_calloc(2 * npts, sizeof(int)); // indices of points forming segments | ~~^~~~~~ multispline.c:637:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 637 | double *x = gv_calloc(npts, sizeof(double)); | ^~~~ multispline.c:638:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 638 | double *y = gv_calloc(npts, sizeof(double)); | ^~~~ multispline.c: In function 'tweakEnd': multispline.c:679:26: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 679 | #define EQPT(p,q) (((p).x==(q).x)&&((p).y==(q).y)) | ^~ multispline.c:704:9: note: in expansion of macro 'EQPT' 704 | if (EQPT(q, nxt) || EQPT(q, prv) ){ | ^~~~ multispline.c:679:42: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 679 | #define EQPT(p,q) (((p).x==(q).x)&&((p).y==(q).y)) | ^~ multispline.c:704:9: note: in expansion of macro 'EQPT' 704 | if (EQPT(q, nxt) || EQPT(q, prv) ){ | ^~~~ multispline.c:679:26: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 679 | #define EQPT(p,q) (((p).x==(q).x)&&((p).y==(q).y)) | ^~ multispline.c:704:25: note: in expansion of macro 'EQPT' 704 | if (EQPT(q, nxt) || EQPT(q, prv) ){ | ^~~~ multispline.c:679:42: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 679 | #define EQPT(p,q) (((p).x==(q).x)&&((p).y==(q).y)) | ^~ multispline.c:704:25: note: in expansion of macro 'EQPT' 704 | if (EQPT(q, nxt) || EQPT(q, prv) ){ | ^~~~ In file included from multispline.c:1141: ../../lib/neatogen/fPQ.h: In function 'PQgen': ../../lib/neatogen/fPQ.h:39:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 39 | pq->pq = gv_calloc(sz + 1, sizeof(PQTYPE)); | ~~~^~~ multispline.c: In function 'triPath': multispline.c:1161:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1161 | int *dad = gv_calloc(n, sizeof(int)); | ^ multispline.c:1185:23: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1185 | if (N_VAL(pq, adjn) == UNSEEN) { | ^~ multispline.c:1186:25: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 1186 | N_VAL(pq, adjn) = d; | ^ multispline.c:1193:26: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 1193 | PQupdate(pq, adjn, d); | ^ multispline.c: In function 'makeMultiSpline': multispline.c:1235:43: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1235 | PQTYPE *idxs = gv_calloc(pq.pq.PQsize + 1, sizeof(PQTYPE)); | ~~~~~~~~~~~~~^~~ multispline.c:1236:44: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1236 | PQVTYPE *vals = gv_calloc(pq.pq.PQsize + 1, sizeof(PQVTYPE)); | ~~~~~~~~~~~~~^~~ constrained_majorization_ipsep.c: In function 'stress_majorization_cola': constrained_majorization_ipsep.c:203:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 203 | float *clap = gv_calloc(clap_length, sizeof(float)); | ^~~~~~~~~~~ constrained_majorization_ipsep.c:232:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 232 | degrees = gv_calloc(n, sizeof(double)); | ^ constrained_majorization_ipsep.c:248:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 248 | coords = gv_calloc(dim, sizeof(float *)); | ^~~ constrained_majorization_ipsep.c:249:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 249 | f_storage = gv_calloc(dim * n, sizeof(float)); | ~~~~^~~ constrained_majorization_ipsep.c:266:19: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 266 | b = gv_calloc(dim, sizeof(float *)); | ^~~ constrained_majorization_ipsep.c:267:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 267 | b[0] = gv_calloc(dim * n, sizeof(float)); | ~~~~^~~ constrained_majorization_ipsep.c:272:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 272 | tmp_coords = gv_calloc(n, sizeof(float)); | ^ constrained_majorization_ipsep.c:273:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 273 | dist_accumulator = gv_calloc(n, sizeof(float)); | ^ constrained_majorization_ipsep.c:286:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 286 | lap1 = gv_calloc(lap_length, sizeof(float)); | ^~~~~~~~~~ constrained_majorization_ipsep.c:394:48: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 394 | generateNonoverlapConstraints(cMajEnvHor, nsizeScale, coords, | ^~~~~~~~~~ constrained_majorization_ipsep.c:413:48: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 413 | generateNonoverlapConstraints(cMajEnvVrt, nsizeScale, coords, | ^~~~~~~~~~ quad_prog_vpsc.c: In function 'constrained_majorization_vpsc': quad_prog_vpsc.c:73:17: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 73 | place[i] = getVariablePos(e->vs[i]); | ^~~~~~~~~~~~~~ quad_prog_vpsc.c:108:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 108 | if (denominator != 0) | ^~ quad_prog_vpsc.c:122:14: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 122 | place[i] = getVariablePos(e->vs[i]); | ^~~~~~~~~~~~~~ quad_prog_vpsc.c:141:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 141 | if (denominator != 0.0) | ^~ quad_prog_vpsc.c: In function 'initCMajVPSC': quad_prog_vpsc.c:201:23: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 201 | e->vs = gv_calloc(n, sizeof(Variable*)); | ^ quad_prog_vpsc.c:242:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 242 | e->vs = gv_calloc(n + e->ndv, sizeof(Variable*)); | ~~^~~~~~~~ quad_prog_vpsc.c:306:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 306 | e->fArray1 = gv_calloc(n, sizeof(float)); | ^ quad_prog_vpsc.c:307:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 307 | e->fArray2 = gv_calloc(n, sizeof(float)); | ^ quad_prog_vpsc.c:308:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 308 | e->fArray3 = gv_calloc(n, sizeof(float)); | ^ quad_prog_vpsc.c: In function 'generateNonoverlapConstraints': quad_prog_vpsc.c:360:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 360 | boxf* bb = gv_calloc(n, sizeof(boxf)); | ^ quad_prog_vpsc.c:387:57: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 387 | Constraint ***cscl = gv_calloc(opt->clusters.nclusters + 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ quad_prog_vpsc.c:389:46: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 389 | int* cm = gv_calloc(opt->clusters.nclusters + 1, sizeof(int)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ quad_prog_vpsc.c:392:36: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 392 | Variable** cvs = gv_calloc(cn + 2, sizeof(Variable*)); | ~~~^~~ quad_prog_vpsc.c:393:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 393 | boxf* cbb = gv_calloc(cn + 2, sizeof(boxf)); | ~~~^~~ quad_prog_vpsc.c:427:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 427 | Variable** cvs = gv_calloc(cn, sizeof(Variable*)); | ^~ quad_prog_vpsc.c:428:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 428 | boxf* cbb = gv_calloc(cn, sizeof(boxf)); | ^~ quad_prog_vpsc.c: In function 'removeoverlaps': quad_prog_vpsc.c:560:17: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 560 | coords[0][i] = getVariablePos(e->vs[i]); | ^~~~~~~~~~~~~~ quad_prog_vpsc.c:565:17: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 565 | coords[1][i] = getVariablePos(e->vs[i]); | ^~~~~~~~~~~~~~ quad_prog_vpsc.c: In function 'assign_digcola_levels': quad_prog_vpsc.c:577:47: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 577 | DigColaLevel *l = gv_calloc(num_divisions + 1, sizeof(DigColaLevel)); | ~~~~~~~~~~~~~~^~~ quad_prog_vpsc.c:580:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 580 | l[0].nodes = gv_calloc(l[0].num_nodes, sizeof(int)); | ~~~~^~~~~~~~~~ quad_prog_vpsc.c:587:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 587 | l[i].nodes = gv_calloc(l[i].num_nodes, sizeof(int)); | ~~~~^~~~~~~~~~ quad_prog_vpsc.c:595:53: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 595 | l[num_divisions].nodes = gv_calloc(l[num_divisions].num_nodes, sizeof(int)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from delaunay.c:24: /pbulk/work/graphics/graphviz/work/.buildlink/include/gts.h:261:13: warning: Deprecated pre-processor symbol: replace with "static inline" 261 | G_INLINE_FUNC | ^ /pbulk/work/graphics/graphviz/work/.buildlink/include/gts.h:264:13: warning: Deprecated pre-processor symbol: replace with "static inline" 264 | G_INLINE_FUNC | ^ /pbulk/work/graphics/graphviz/work/.buildlink/include/gts.h:269:13: warning: Deprecated pre-processor symbol: replace with "static inline" 269 | G_INLINE_FUNC | ^ /pbulk/work/graphics/graphviz/work/.buildlink/include/gts.h:293:13: warning: Deprecated pre-processor symbol: replace with "static inline" 293 | G_INLINE_FUNC | ^ delaunay.c: In function 'tri': delaunay.c:146:36: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 146 | GVertex **vertices = gv_calloc(npt, sizeof(GVertex *)); | ^~~ delaunay.c:147:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 147 | GtsEdge **edges = gv_calloc(nsegs, sizeof(GtsEdge *)); | ^~~~~ delaunay.c: In function 'delaunay_triangulation': delaunay.c:270:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 270 | v_data *delaunay = gv_calloc(n, sizeof(v_data)); | ^ delaunay.c:281:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 281 | int *edges = gv_calloc(2 * nedges + n, sizeof(int)); | ~~~~~~~~~~~^~~ delaunay.c: In function 'delaunay_tri': delaunay.c:355:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 355 | edges = gv_calloc(2 * nedges, sizeof(int)); | ~~^~~~~~~~ delaunay.c:361:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 361 | int* vs = gv_calloc(n, sizeof(int)); | ^ delaunay.c:366:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 366 | ip = edges = gv_calloc(2 * nedges, sizeof(int)); | ~~^~~~~~~~ delaunay.c:371:41: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 371 | gv_sort(vs, n, sizeof(int), vcmp, x[0] == x[1] /* vertical line? */ ? y : x); | ^~ delaunay.c:371:14: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 371 | gv_sort(vs, n, sizeof(int), vcmp, x[0] == x[1] /* vertical line? */ ? y : x); | ^ delaunay.c: In function 'mkSurface': delaunay.c:483:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 483 | segs = gv_calloc(2 * nsegs, sizeof(int)); | ~~^~~~~~~ delaunay.c:491:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 491 | int *faces = gv_calloc(3 * nfaces, sizeof(int)); | ~~^~~~~~~~ delaunay.c:492:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 492 | int *neigh = gv_calloc(3 * nfaces, sizeof(int)); | ~~^~~~~~~~ delaunay.c: In function 'get_triangles': delaunay.c:529:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 529 | statf.faces = gv_calloc(3 * nfaces, sizeof(int)); | ~~^~~~~~~~ delaunay.c: In function 'UG_graph': delaunay.c:791:23: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 791 | delaunay = gv_calloc(n, sizeof(v_data)); | ^ delaunay.c:805:23: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 805 | delaunay = gv_calloc(n, sizeof(v_data)); | ^ sgd.c: In function 'fisheryates_shuffle': sgd.c:32:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 32 | int j = rk_interval(i, &rstate); | ^ sgd.c:32:17: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 32 | int j = rk_interval(i, &rstate); | ^~~~~~~~~~~ In file included from ../../lib/sparse/general.h:17, from ../../lib/sparse/SparseMatrix.h:13, from ../../lib/neatogen/adjust.h:18, from ../../lib/neatogen/neatoprocs.h:19, from ../../lib/neatogen/neato.h:33, from sgd.c:5: sgd.c: In function 'extract_adjacency': sgd.c:46:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 46 | assert(ND_id(np) == n_nodes); | ^~ In file included from ../../lib/common/render.h:33, from ../../lib/neatogen/neato.h:31, from sgd.c:5: ../../lib/common/types.h:602:20: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 602 | #define ED_dist(e) (((Agedgeinfo_t*)AGDATA(e))->dist) | ^ sgd.c:75:39: note: in expansion of macro 'ED_dist' 75 | graph->weights[n_edges] = ED_dist(ep); | ^~~~~~~ sgd.c:117:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 117 | graph->weights[x] = deg_i + deg_j - (2*intersect); | ^~~~~ sgd.c: In function 'sgd': sgd.c:172:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 172 | term_sgd *terms = gv_calloc(n_terms, sizeof(term_sgd)); | ^~~~~~~ sgd.c:199:21: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 199 | float eta_min = Epsilon / w_max; | ^~~~~~~ sgd.c:200:20: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 200 | float lambda = log(eta_max/eta_min) / (MaxIter-1); | ^~~ sgd.c:205:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 205 | float *pos = gv_calloc(2 * n, sizeof(float)); | ~~^~~ sgd.c:206:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 206 | bool *unfixed = gv_calloc(n, sizeof(bool)); | ^ In file included from ../../lib/common/render.h:33, from ../../lib/neatogen/neato.h:31, from sgd.c:5: ../../lib/common/types.h:520:19: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 520 | #define ND_pos(n) (((Agnodeinfo_t*)AGDATA(n))->pos) | ^ sgd.c:209:20: note: in expansion of macro 'ND_pos' 209 | pos[2*i] = ND_pos(node)[0]; | ^~~~~~ ../../lib/common/types.h:520:19: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 520 | #define ND_pos(n) (((Agnodeinfo_t*)AGDATA(n))->pos) | ^ sgd.c:210:22: note: in expansion of macro 'ND_pos' 210 | pos[2*i+1] = ND_pos(node)[1]; | ^~~~~~ sgd.c:223:43: warning: conversion from 'int' to 'float' may change value [-Wconversion] 223 | float eta = eta_max * exp(-lambda * t); | ^ sgd.c:223:21: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 223 | float eta = eta_max * exp(-lambda * t); | ^~~~~~~ randomkit.c: In function 'rk_seed': randomkit.c:91:54: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 91 | seed = (1812433253UL * (seed ^ (seed >> 30)) + pos + 1) & 0xffffffffUL; | ^ CCLD libneatogen_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/neatogen' Making all in twopigen gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/twopigen' CC twopiinit.lo CC circle.lo twopiinit.c: In function 'twopi_init_node_edge': twopiinit.c:40:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 40 | rdata* alg = gv_calloc(n_nodes, sizeof(rdata)); | ^~~~~~~ twopiinit.c:41:43: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 41 | GD_neato_nlist(g) = gv_calloc(n_nodes + 1, sizeof(node_t*)); | ~~~~~~~~^~~ circle.c: In function 'setChildSubtreeSpans': circle.c:187:28: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to 'double' may change value [-Wconversion] 187 | double ratio = SPAN(n) / STSIZE(n); | ^ circle.c:194:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 194 | if (SPAN(next) != 0.0) | ^~ circle.c:196:21: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to 'double' may change value [-Wconversion] 196 | SPAN(next) = ratio * STSIZE(next); | ^ CCLD libtwopigen_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/twopigen' Making all in sfdpgen gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/sfdpgen' CC sfdpinit.lo CC spring_electrical.lo CC sparse_solve.lo CC stress_model.lo CC post_process.lo CC Multilevel.lo sfdpinit.c: In function 'sfdp_init_graph': sfdpinit.c:56:26: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 56 | GD_ndim(agroot(g)) = late_int(g, agfindgraphattr(g, "dim"), outdim, 2); | ^~~~~~~~ In file included from ../../lib/common/geom.h:21, from ../../lib/common/types.h:29, from ../../lib/common/render.h:33, from ../../lib/sfdpgen/sfdp.h:15, from sfdpinit.c:15: ../../lib/common/arith.h:28:18: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 28 | #define MIN(a,b) ((a)<(b)?(a):(b)) | ^ sfdpinit.c:58:26: note: in expansion of macro 'MIN' 58 | GD_odim(agroot(g)) = MIN(outdim, Ndim); | ^~~ sfdpinit.c: In function 'getPos': sfdpinit.c:67:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 67 | double *pos = gv_calloc(Ndim * agnnodes(g), sizeof(double)); | ~~~~~^~~~~~~~~~~~~ sfdpinit.c: In function 'tuneControl': sfdpinit.c:211:25: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 211 | ctrl->random_seed = seed; | ^~~~ stress_model.c: In function 'stress_model': stress_model.c:27:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 27 | *x = gv_calloc(m * dim, sizeof(double)); | ~~^~~~~ sparse_solve.c: In function 'diag_precon_new': sparse_solve.c:39:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 39 | double *data = gv_calloc(A->m + 1, sizeof(double)); | ~~~~~^~~ sparse_solve.c: In function 'conjugate_gradient': sparse_solve.c:61:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 61 | double *z = gv_calloc(n, sizeof(double)); | ^ sparse_solve.c:62:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 62 | double *r = gv_calloc(n, sizeof(double)); | ^ sparse_solve.c:63:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 63 | double *p = gv_calloc(n, sizeof(double)); | ^ sparse_solve.c:64:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 64 | double *q = gv_calloc(n, sizeof(double)); | ^ In file included from /usr/include/string.h:127, from ../../lib/cgraph/alloc.h:24, from sparse_solve.c:12: sparse_solve.c:86:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 86 | memcpy(p, z, sizeof(double)*n); | ^ sparse_solve.c:86:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 86 | memcpy(p, z, sizeof(double)*n); | ^ sparse_solve.c: In function 'cg': sparse_solve.c:117:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 117 | double *x = gv_calloc(n, sizeof(double)); | ^ sparse_solve.c:118:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 118 | double *b = gv_calloc(n, sizeof(double)); | ^ Multilevel.c: In function 'maximal_independent_edge_set_heavest_edge_pernode_supernodes_first': Multilevel.c:69:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 69 | *cluster = gv_calloc(m, sizeof(int)); | ^ Multilevel.c:70:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 70 | *clusterp = gv_calloc(m + 1, sizeof(int)); | ~~^~~ Multilevel.c:71:23: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 71 | matched = gv_calloc(m, sizeof(int)); | ^ Multilevel.c: In function 'Multilevel_coarsen_internal': Multilevel.c:167:19: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 167 | irn = gv_calloc(n, sizeof(int)); | ^ Multilevel.c:168:19: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 168 | jcn = gv_calloc(n, sizeof(int)); | ^ Multilevel.c:169:19: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 169 | val = gv_calloc(n, sizeof(double)); | ^ post_process.c: In function 'ideal_distance_matrix': post_process.c:49:23: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 49 | D->a = gv_calloc(D->nz, sizeof(double)); | ~^~~~ post_process.c:53:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 53 | int *mask = gv_calloc(D->m, sizeof(int)); | ~^~~ post_process.c: In function 'StressMajorizationSmoother2_new': post_process.c:123:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 123 | lambda = sm->lambda = gv_calloc(m, sizeof(double)); | ^ post_process.c:125:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 125 | int *mask = gv_calloc(m, sizeof(int)); | ^ post_process.c:127:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 127 | double *avg_dist = gv_calloc(m, sizeof(double)); | ^ post_process.c: In function 'SparseStressMajorizationSmoother_new': post_process.c:307:12: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 307 | if (xdot == 0){ | ^~ post_process.c:323:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 323 | lambda = sm->lambda = gv_calloc(m, sizeof(double)); | ^ post_process.c:374:9: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 374 | if (s == 0) { | ^~ post_process.c: In function 'get_edge_label_matrix': post_process.c:451:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 451 | irn = data->irn = gv_calloc(nz, sizeof(int)); | ^~ post_process.c:452:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 452 | jcn = data->jcn = gv_calloc(nz, sizeof(int)); | ^~ post_process.c:453:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 453 | val = data->val = gv_calloc(nz, sizeof(double)); | ^~ post_process.c:487:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 487 | irn = data->irn = gv_calloc(nz, sizeof(int)); | ^~ post_process.c:488:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 488 | jcn = data->jcn = gv_calloc(nz, sizeof(int)); | ^~ post_process.c:489:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 489 | val = data->val = gv_calloc(nz, sizeof(double)); | ^~ post_process.c:491:23: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 491 | x00 = gv_calloc(m * dim, sizeof(double)); | ~~^~~~~ post_process.c: In function 'StressMajorizationSmoother_smooth': post_process.c:545:18: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 545 | x0 = calloc(dim*m, sizeof(double)); | ~~~^~ In file included from /usr/include/string.h:127, from post_process.c:14: post_process.c:548:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 548 | memcpy(x0, x, sizeof(double)*dim*m); | ^ post_process.c:548:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 548 | memcpy(x0, x, sizeof(double)*dim*m); | ^ post_process.c:548:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 548 | memcpy(x0, x, sizeof(double)*dim*m); | ^ post_process.c:548:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 548 | memcpy(x0, x, sizeof(double)*dim*m); | ^ post_process.c:549:17: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 549 | y = calloc(dim*m, sizeof(double)); | ~~~^~ post_process.c:582:11: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 582 | if (d[j] == 0){ | ^~ post_process.c:585:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 585 | if (dist == 0){ | ^~ In file included from /usr/include/string.h:127, from post_process.c:14: post_process.c:643:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 643 | memcpy(x, y, sizeof(double)*m*dim); | ^ post_process.c:643:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 643 | memcpy(x, y, sizeof(double)*m*dim); | ^ post_process.c:643:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 643 | memcpy(x, y, sizeof(double)*m*dim); | ^ post_process.c:643:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 643 | memcpy(x, y, sizeof(double)*m*dim); | ^ post_process.c: In function 'TriangleSmoother_new': post_process.c:686:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 686 | double *avg_dist = gv_calloc(m, sizeof(double)); | ^ post_process.c:707:43: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 707 | double *lambda = sm->lambda = gv_calloc(m, sizeof(double)); | ^ post_process.c: In function 'SpringSmoother_new': post_process.c:799:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 799 | int *mask = gv_calloc(m, sizeof(int)); | ^ post_process.c:801:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 801 | double *avg_dist = gv_calloc(m, sizeof(double)); | ^ post_process.c: In function 'post_process_smoothing': post_process.c:921:3: warning: switch missing default case [-Wswitch-default] 921 | switch (ctrl->smoothing){ | ^~~~~~ spring_electrical.c: In function 'beautify_leaves': spring_electrical.c:207:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 207 | bitarray_t checked = bitarray_new(m); | ^ spring_electrical.c:211:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 211 | if (bitarray_get(checked, i)) continue; | ^ spring_electrical.c:213:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 213 | if (!bitarray_get(checked, p)) { | ^ spring_electrical.c:214:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 214 | bitarray_set(&checked, p, true); | ^ spring_electrical.c:219:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 219 | bitarray_set(&checked, ja[j], true); | ~~^~~ spring_electrical.c:225:15: warning: cast from function call of type 'size_t' {aka 'long unsigned int'} to non-matching type 'double' [-Wbad-function-cast] 225 | dist /= (double)ints_size(&leaves); | ^ spring_electrical.c:234:58: warning: cast from function call of type 'size_t' {aka 'long unsigned int'} to non-matching type 'double' [-Wbad-function-cast] 234 | if (ints_size(&leaves) > 1) step = (ang2 - ang1) / (double)ints_size(&leaves); | ^ spring_electrical.c: In function 'spring_electrical_embedding_fast': spring_electrical.c:283:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 283 | srand(ctrl->random_seed); | ~~~~^~~~~~~~~~~~~ spring_electrical.c:293:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 293 | force = gv_calloc(dim * n, sizeof(double)); | ~~~~^~~ spring_electrical.c: In function 'spring_electrical_embedding_slow': spring_electrical.c:414:23: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 414 | force = gv_calloc(n *dim, sizeof(double)); | ~~^~~~ spring_electrical.c:427:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 427 | srand(ctrl->random_seed); | ~~~~^~~~~~~~~~~~~ spring_electrical.c:437:17: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 437 | f = gv_calloc(dim, sizeof(double)); | ^~~ spring_electrical.c: In function 'spring_electrical_embedding': spring_electrical.c:549:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 549 | center = gv_calloc(nsupermax * dim, sizeof(double)); | ~~~~~~~~~~^~~~~ spring_electrical.c:550:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 550 | supernode_wgts = gv_calloc(nsupermax, sizeof(double)); | ^~~~~~~~~ spring_electrical.c:551:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 551 | distances = gv_calloc(nsupermax, sizeof(double)); | ^~~~~~~~~ spring_electrical.c:564:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 564 | srand(ctrl->random_seed); | ~~~~^~~~~~~~~~~~~ spring_electrical.c:574:17: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 574 | f = gv_calloc(dim, sizeof(double)); | ^~~ spring_electrical.c: In function 'spring_electrical_spring_embedding': spring_electrical.c:712:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 712 | center = gv_calloc(nsupermax * dim, sizeof(double)); | ~~~~~~~~~~^~~~~ spring_electrical.c:713:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 713 | supernode_wgts = gv_calloc(nsupermax, sizeof(double)); | ^~~~~~~~~ spring_electrical.c:714:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 714 | distances = gv_calloc(nsupermax, sizeof(double)); | ^~~~~~~~~ spring_electrical.c:730:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 730 | srand(ctrl->random_seed); | ~~~~^~~~~~~~~~~~~ spring_electrical.c:740:17: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 740 | f = gv_calloc(dim, sizeof(double)); | ^~~ spring_electrical.c:741:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 741 | xold = gv_calloc(dim * n, sizeof(double)); | ~~~~^~~ In file included from /usr/include/string.h:127, from ../../lib/cgraph/alloc.h:24, from ../../lib/cgraph/agxbuf.h:18, from spring_electrical.c:12: spring_electrical.c:744:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 744 | memcpy(xold, x, sizeof(double)*dim*n); | ^ spring_electrical.c:744:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 744 | memcpy(xold, x, sizeof(double)*dim*n); | ^ spring_electrical.c:744:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 744 | memcpy(xold, x, sizeof(double)*dim*n); | ^ spring_electrical.c:744:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 744 | memcpy(xold, x, sizeof(double)*dim*n); | ^ spring_electrical.c: In function 'interpolate_coord': spring_electrical.c:830:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 830 | double *y = gv_calloc(dim, sizeof(double)); | ^~~ spring_electrical.c: In function 'power_law_graph': spring_electrical.c:870:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 870 | int *mask = gv_calloc(m + 1, sizeof(int)); | ~~^~~ spring_electrical.c: In function 'pcp_rotate': spring_electrical.c:916:12: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 916 | if (y[1] == 0) { | ^~ spring_electrical.c: In function 'attach_edge_label_coordinates': spring_electrical.c:977:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 977 | int *mask = gv_calloc(A->m, sizeof(int)); | ~^~~ spring_electrical.c: In function 'shorting_edge_label_nodes': spring_electrical.c:1021:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1021 | int *mask = gv_calloc(A->m, sizeof(int)); | ~^~~ spring_electrical.c:1049:21: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1049 | irn = gv_calloc(nz, sizeof(int)); | ^~ spring_electrical.c:1050:21: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1050 | jcn = gv_calloc(nz, sizeof(int)); | ^~ spring_electrical.c: In function 'multilevel_spring_electrical_embedding': spring_electrical.c:1118:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1118 | double *x2 = gv_calloc(A->m * dim, sizeof(double)); | ~~~~~^~~~~ spring_electrical.c:1140:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1140 | xc = gv_calloc(grid->n * dim, sizeof(double)); | ~~~~~~~~^~~~~ spring_electrical.c:1144:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1144 | if (ctrl->p == AUTOP){ | ^~ spring_electrical.c:1180:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1180 | xf = gv_calloc(grid->n * dim, sizeof(double)); | ~~~~~~~~^~~~~ spring_electrical.c:1205:22: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1205 | if (ctrl->rotation != 0) rotate(n, dim, x, ctrl->rotation); | ^~ CCLD libsfdpgen_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/sfdpgen' Making all in osage gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/osage' CC osageinit.lo osageinit.c: In function 'layout': osageinit.c:107:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 107 | pinfo.vals = gv_calloc(total, sizeof(packval_t)); | ^~~~~ osageinit.c:113:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 113 | boxf *gs = gv_calloc(total, sizeof(boxf)); | ^~~~~ osageinit.c:114:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 114 | void **children = gv_calloc(total, sizeof(void*)); | ^~~~~ osageinit.c:120:22: warning: conversion to 'packval_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 120 | pinfo.vals[j] = late_int (subg, cattr, 0, 0); | ^~~~~~~~ osageinit.c:134:19: warning: conversion to 'packval_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 134 | pinfo.vals[j] = late_int (n, vattr, 0, 0); | ^~~~~~~~ CCLD libosage_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/osage' Making all in gvpr gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/gvpr' CC compile.lo CC actions.lo CC gvpr.lo CC gprstate.lo CC parse.lo actions.c: In function 'iofread': actions.c:39:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 39 | return (int)read(fileno(fp), buf, bufsize); | ^~~~~~~ actions.c: In function 'cloneGraph': actions.c:291:48: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 291 | edgepair_t *data = malloc(sizeof(edgepair_t) * agnedges(src)); | ^ actions.c: In function 'openFile': actions.c:625:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 625 | for (idx = 3; idx < elementsof(ex->file); idx++) | ^ compile.c: In function 'iofread': compile.c:65:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 65 | return (int)read(fileno(fp), buf, bufsize); | ^~~~~~~ compile.c: In function 'getval': compile.c:1264:36: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] 1264 | v.integer = lockGraph(gp, args[1].integer); | ~~~~~~~^~~~~~~~ compile.c:1489:18: warning: conversion to 'long long int' from 'size_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] 1489 | v.integer = strlen(args[0].string); | ^~~~~~ compile.c:1522:31: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] 1522 | v.string = getArg(args[0].integer, state); | ~~~~~~~^~~~~~~~ compile.c:1540:2: warning: switch missing default case [-Wswitch-default] 1540 | switch (sym->index) { | ^~~~~~ compile.c: In function 'typeChk': compile.c:1740:6: warning: switch missing default case [-Wswitch-default] 1740 | switch (sym->index) { | ^~~~~~ compile.c: In function 'binary': compile.c:1904:2: warning: switch missing default case [-Wswitch-default] 1904 | switch (ex->op) { | ^~~~~~ compile.c:1953:5: warning: switch missing default case [-Wswitch-default] 1953 | switch (ex->op) { | ^~~~~~ compile.c: In function 'convert': compile.c:2150:6: warning: switch missing default case [-Wswitch-default] 2150 | switch (type) { | ^~~~~~ In file included from ./gprstate.h:18, from ../../lib/gvpr/compile.h:19, from compile.c:20: compile.c: In function 'keyval': ../../lib/cgraph/cgraph.h:220:19: warning: conversion to 'long long int' from 'IDTYPE' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] 220 | #define AGID(obj) (AGTAG(obj).id) | ^ compile.c:2208:14: note: in expansion of macro 'AGID' 2208 | v.integer = AGID(int2ptr(v.integer)); | ^~~~ parse.c: In function 'readc': parse.c:101:7: warning: switch missing default case [-Wswitch-default] 101 | switch (cc = getc(str)) { | ^~~~~~ parse.c:94:3: warning: switch missing default case [-Wswitch-default] 94 | switch (c = getc(str)) { | ^~~~~~ parse.c: In function 'parseBracket': parse.c:298:30: warning: conversion from 'int' to 'char' may change value [-Wconversion] 298 | c = endBracket(str, buf, bc, (char)ec); | ^~ CCLD libgvpr.la CCLD libgvpr_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib/gvpr' gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib' gmake[2]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/lib' Making all in plugin gmake[2]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin' Making all in core gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/core' CC gvplugin_core.lo CC gvrender_core_json.lo CC gvrender_core_dot.lo CC gvrender_core_fig.lo CC gvrender_core_map.lo CC gvrender_core_ps.lo CC gvrender_core_svg.lo CC gvrender_core_tk.lo CC gvrender_core_pov.lo gvrender_core_fig.c: In function 'fig_textspan': gvrender_core_fig.c:226:42: warning: cast from function call of type 'size_t' {aka 'long unsigned int'} to non-matching type 'double' [-Wbad-function-cast] 226 | double length = 2.0*font_size/3.0 * (double)strlen(span->str) / 2.0; | ^ gvrender_core_dot.c: In function 'xdot_style': gvrender_core_dot.c:148:28: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 148 | if (job->obj->penwidth != penwidth[job->obj->emit_state]) { | ^~ gvrender_core_pov.c: In function 'pov_ellipse': gvrender_core_pov.c:554:13: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 554 | float cx = (A[0].x + job->translation.x) * job->scale.x; | ^ gvrender_core_pov.c:555:13: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 555 | float cy = (A[0].y + job->translation.y) * job->scale.y; | ^ gvrender_core_pov.c:556:13: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 556 | float rx = (A[1].x - A[0].x) * job->scale.x; | ^ gvrender_core_pov.c:557:13: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 557 | float ry = (A[1].y - A[0].y) * job->scale.y; | ^ gvrender_core_pov.c:558:12: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 558 | float w = job->obj->penwidth / (rx + ry) / 2.0 * 5; | ^~~ CC gvrender_core_pic.lo CC gvloadimage_core.lo CCLD libgvplugin_core.la CCLD libgvplugin_core_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/core' Making all in devil gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/devil' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/devil' Making all in gd gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/gd' CC gvplugin_gd.lo CC gvrender_gd_vrml.lo CC gvtextlayout_gd.lo CC gvrender_gd.lo CC gvloadimage_gd.lo CC gvdevice_gd.lo gvrender_gd.c: In function 'gdgen_begin_page': gvrender_gd.c:103:20: warning: conversion from 'double' to 'unsigned int' may change value [-Wfloat-conversion] 103 | job->width *= scale; | ^~~~~ gvrender_gd.c:104:21: warning: conversion from 'double' to 'unsigned int' may change value [-Wfloat-conversion] 104 | job->height *= scale; | ^~~~~ gvrender_gd.c:117:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 117 | im = gdImageCreateTrueColor(job->width, job->height); | ~~~^~~~~~~ gvrender_gd.c:117:49: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 117 | im = gdImageCreateTrueColor(job->width, job->height); | ~~~^~~~~~~~ gvrender_gd.c:125:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 125 | im = gdImageCreate(job->width, job->height); | ~~~^~~~~~~ gvrender_gd.c:125:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 125 | im = gdImageCreate(job->width, job->height); | ~~~^~~~~~~~ gvrender_gd.c: In function 'gdgen_text': gvrender_gd.c:243:108: warning: unused parameter 'fontangle' [-Wunused-parameter] 243 | void gdgen_text(gdImagePtr im, pointf spf, pointf epf, int fontcolor, double fontsize, int fontdpi, double fontangle, char *fontname, char *str) | ~~~~~~~^~~~~~~~~ gvrender_gd.c: In function 'gdgen_textspan': gvrender_gd.c:350:14: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 350 | job->dpi.x, | ~~~~~~~~^~ gvrender_gd.c: In function 'gdgen_set_penstyle': gvrender_gd.c:379:13: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 379 | width = obj->penwidth * job->zoom; | ^~~ gvrender_gd.c:384:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 384 | if (width != PENWIDTH_NORMAL) { | ^~ gvdevice_gd.c: In function 'gvdevice_gd_putBuf': gvdevice_gd.c:25:45: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 25 | return gvwrite(gd_context->job, buffer, len); | ^~~ gvdevice_gd.c:25:12: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 25 | return gvwrite(gd_context->job, buffer, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gvdevice_gd.c: In function 'gvdevice_gd_putC': gvdevice_gd.c:31:14: warning: conversion from 'int' to 'char' may change value [-Wconversion] 31 | char c = C; | ^ gvdevice_gd.c: In function 'gd_format': gvdevice_gd.c:61:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 61 | im = gdImageCreateTrueColor(width, height); | ^~~~~ gvdevice_gd.c:61:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 61 | im = gdImageCreateTrueColor(width, height); | ^~~~~~ gvdevice_gd.c:89:27: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 89 | im->tpixels[y][x] = (color & 0xffffff) | ((0x7f - alpha) << 24); | ^ At top level: gvdevice_gd.c:163:28: warning: 'device_features_gd' defined but not used [-Wunused-variable] 163 | static gvdevice_features_t device_features_gd = { | ^~~~~~~~~~~~~~~~~~ gvloadimage_gd.c: In function 'gd_loadimage_cairo': gvloadimage_gd.c:123:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 123 | data = malloc (stride * height); | ~~~~~~~^~~~~~~~ In file included from gvloadimage_gd.c:24: /pbulk/work/graphics/graphviz/work/.x11-buildlink/include/gd.h:1538:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1538 | #define gdImageTrueColorPixel(im, x, y) (im)->tpixels[(y)][(x)] | ^ gvloadimage_gd.c:131:16: note: in expansion of macro 'gdImageTrueColorPixel' 131 | px = gdImageTrueColorPixel(im, x, y); | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/graphics/graphviz/work/.x11-buildlink/include/gd.h:1538:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1538 | #define gdImageTrueColorPixel(im, x, y) (im)->tpixels[(y)][(x)] | ^ gvloadimage_gd.c:142:16: note: in expansion of macro 'gdImageTrueColorPixel' 142 | px = gdImageTrueColorPixel(im, x, y); | ^~~~~~~~~~~~~~~~~~~~~ gvloadimage_gd.c:155:17: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 155 | *data++ = im->blue[px]; | ^~ gvloadimage_gd.c:156:17: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 156 | *data++ = im->green[px]; | ^~ gvloadimage_gd.c:157:17: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 157 | *data++ = im->red[px]; | ^~ gvloadimage_gd.c:158:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 158 | *data++ = (px==im->transparent)?0x00:0xff; | ^~ CCLD libgvplugin_gd.la CCLD libgvplugin_gd_C.la *** Warning: linker path does not have real file for library -lraqm. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libraqm and none of the candidates passed a file format test *** using a regex pattern. Last file checked: /usr/lib/libpthread.so *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. ld: warning: libfreetype.so.19, needed by /pbulk/work/graphics/graphviz/work/.buildlink/lib/libfontconfig.so, may conflict with libfreetype.so.6 gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/gd' Making all in gdk gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/gdk' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/gdk' Making all in gdiplus gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/gdiplus' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/gdiplus' Making all in gs gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/gs' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/gs' Making all in kitty gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/kitty' CC gvplugin_kitty.lo CC gvdevice_kitty.lo gvdevice_kitty.c: In function 'base64_encode': gvdevice_kitty.c:55:24: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] 55 | unsigned char d0 = data[data_i]; | ^~~~ gvdevice_kitty.c:59:24: warning: conversion to 'unsigned char' from 'int' may change the sign of the result [-Wsign-conversion] 59 | unsigned char d1 = data_i + 1 < size ? data[data_i + 1] : 0; | ^~~~~~ gvdevice_kitty.c:67:24: warning: conversion to 'unsigned char' from 'int' may change the sign of the result [-Wsign-conversion] 67 | unsigned char d2 = data_i + 2 < size ? data[data_i + 2] : 0; | ^~~~~~ gvdevice_kitty.c: In function 'kitty_format': gvdevice_kitty.c:120:45: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 120 | kitty_write(imagedata, imagedata_size, job->width, job->height, false); | ~~~^~~~~~~ gvdevice_kitty.c:120:57: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 120 | kitty_write(imagedata, imagedata_size, job->width, job->height, false); | ~~~^~~~~~~~ gvdevice_kitty.c: In function 'zlib_compress': gvdevice_kitty.c:149:19: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'uInt' {aka 'unsigned int'} may change value [-Wconversion] 149 | strm.avail_in = source_len; | ^~~~~~~~~~ gvdevice_kitty.c:152:20: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'uInt' {aka 'unsigned int'} may change value [-Wconversion] 152 | strm.avail_out = dest_cap; | ^~~~~~~~ gvdevice_kitty.c: In function 'zkitty_format': gvdevice_kitty.c:175:31: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 175 | kitty_write(zbuf, zsize, job->width, job->height, true); | ~~~^~~~~~~ gvdevice_kitty.c:175:43: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 175 | kitty_write(zbuf, zsize, job->width, job->height, true); | ~~~^~~~~~~~ CCLD libgvplugin_kitty.la CCLD libgvplugin_kitty_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/kitty' Making all in lasi gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/lasi' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/lasi' Making all in pango gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/pango' CC gvplugin_pango.lo CC gvgetfontlist_pango.lo CC gvtextlayout_pango.lo CC gvloadimage_pango.lo CC gvrender_pango.lo gvrender_pango.c: In function 'cairogen_begin_page': gvrender_pango.c:174:17: warning: conversion from 'double' to 'unsigned int' may change value [-Wfloat-conversion] 174 | job->width *= scale; | ^~~~~ gvrender_pango.c:175:18: warning: conversion from 'double' to 'unsigned int' may change value [-Wfloat-conversion] 175 | job->height *= scale; | ^~~~~ gvrender_pango.c:183:7: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 183 | job->width, job->height); | ~~~^~~~~~~ gvrender_pango.c:183:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 183 | job->width, job->height); | ~~~^~~~~~~~ gvrender_pango.c: In function 'cairo_gradient_fill': gvrender_pango.c:357:7: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 357 | r1 = G[1].x; /* Set a r2/4 in get_gradient_points */ | ^ gvrender_pango.c:358:7: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 358 | r2 = G[1].y; | ^ gvtextlayout_pango.c: In function 'pango_textlayout': gvtextlayout_pango.c:96:74: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 96 | if (!fontname || strcmp(fontname, span->font->name) != 0 || fontsize != span->font->size) { | ^~ gvtextlayout_pango.c:135:10: warning: 'pango_fc_font_lock_face' is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations] 135 | FT_Face face = pango_fc_font_lock_face(fcfont); | ^~~~~~~ In file included from gvtextlayout_pango.c:27: /pbulk/work/graphics/graphviz/work/.buildlink/include/pango-1.0/pango/pangofc-font.h:115:12: note: declared here 115 | FT_Face pango_fc_font_lock_face (PangoFcFont *font); | ^~~~~~~~~~~~~~~~~~~~~~~ gvtextlayout_pango.c:150:10: warning: 'pango_fc_font_unlock_face' is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations] 150 | pango_fc_font_unlock_face(fcfont); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gvtextlayout_pango.c:27: /pbulk/work/graphics/graphviz/work/.buildlink/include/pango-1.0/pango/pangofc-font.h:117:12: note: declared here 117 | void pango_fc_font_unlock_face (PangoFcFont *font); | ^~~~~~~~~~~~~~~~~~~~~~~~~ CCLD libgvplugin_pango.la CCLD libgvplugin_pango_C.la ld: warning: libfreetype.so.19, needed by /pbulk/work/graphics/graphviz/work/.buildlink/lib/libfontconfig.so, may conflict with libfreetype.so.6 gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/pango' Making all in quartz gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/quartz' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/quartz' Making all in rsvg gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/rsvg' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/rsvg' Making all in xlib gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/xlib' cp ../../plugin/xlib/vimdot.sh vimdot CC gvdevice_xlib.lo CC gvplugin_xlib.lo chmod +x vimdot gvdevice_xlib.c: In function 'handle_xlib_events': gvdevice_xlib.c:181:12: warning: declaration of 'pointer' shadows a global declaration [-Wshadow] 181 | pointf pointer; | ^~~~~~~ In file included from /pbulk/work/graphics/graphviz/work/.x11-buildlink/include/X11/extensions/render.h:27, from /pbulk/work/graphics/graphviz/work/.x11-buildlink/include/X11/extensions/Xrender.h:38, from gvdevice_xlib.c:53: /pbulk/work/graphics/graphviz/work/.x11-buildlink/include/X11/Xdefs.h:53:15: note: shadowed declaration is here 53 | typedef void *pointer; | ^~~~~~~ CCLD libgvplugin_xlib.la CCLD libgvplugin_xlib_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/xlib' Making all in dot_layout gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/dot_layout' CC gvlayout_dot_layout.lo CC gvplugin_dot_layout.lo CCLD libgvplugin_dot_layout.la CCLD libgvplugin_dot_layout_C.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/dot_layout' Making all in neato_layout gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/neato_layout' CC gvlayout_neato_layout.lo CC gvplugin_neato_layout.lo CCLD libgvplugin_neato_layout_C.la CXXLD libgvplugin_neato_layout.la copying selected object files to avoid basename conflicts... gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/neato_layout' Making all in webp gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/webp' CC gvloadimage_webp.lo CC gvplugin_webp.lo CC gvdevice_webp.lo CCLD libgvplugin_webp_C.la CCLD libgvplugin_webp.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/webp' Making all in poppler gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/poppler' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/poppler' Making all in vt gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/vt' CC gvplugin_vt.lo CCLD libgvplugin_vt_C.la CCLD libgvplugin_vt.la gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin/vt' gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin' gmake[2]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/plugin' Making all in cmd gmake[2]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/cmd' Making all in dot gmake[3]: Entering directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/cmd/dot' CC dot-no_builtins.o CC dot_builtins-dot.o CXX dot_builtins-dot_builtins.o CC dot-dot.o CCLD dot CXXLD dot_builtins ld: cannot find -lraqm gmake[3]: *** [Makefile:762: dot_builtins] Error 1 gmake[3]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/cmd/dot' gmake[2]: *** [Makefile:542: all-recursive] Error 1 gmake[2]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0/cmd' gmake[1]: *** [Makefile:759: all-recursive] Error 1 gmake[1]: Leaving directory '/pbulk/work/graphics/graphviz/work/graphviz-12.1.0' gmake: *** [Makefile:590: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/graphics/graphviz *** Error code 1 Stop. make: stopped in /usr/pkgsrc/graphics/graphviz