+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/graphviz-12.2.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/graphviz-12.2.0/work.log ===> Building for graphviz-12.2.0 printf '#pragma once\n' > ./graphviz_version.h /usr/xpg4/bin/grep -E 'PACKAGE|VERSION|GVPLUGIN' config.h >> ./graphviz_version.h /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0' Making all in libltdl gmake[2]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/libltdl' GEN libltdl/lt__argz.h /opt/pkg/bin/gmake all-am gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/libltdl' CC libltdlc_la-lt__alloc.lo CC libltdlc_la-lt_dlloader.lo CC libltdlc_la-lt_error.lo CC libltdlc_la-ltdl.lo CC libltdlc_la-slist.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 '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/libltdl' gmake[2]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/libltdl' Making all in lib gmake[2]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib' Making all in util gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/util' CC libutil_C_la-gv_fopen.lo CCLD libutil_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/util' Making all in cdt gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/cdt' CC dtdisc.lo CC dtclose.lo CC dtflatten.lo CC dtextract.lo CC dthash.lo CC dtlist.lo CC dtmethod.lo CC dtopen.lo dthash.c: In function 'dthtab': dthash.c:28:35: 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:29: 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:38: 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:29: 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:46: note: in expansion of macro 'HINDEX' 125 | s = dt->data->htab + HINDEX(dt->data->ntab,hsh); | ^~~~~~ ../../lib/cdt/dthdr.h:25:29: 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:56: note: in expansion of macro 'HINDEX' 133 | *(s = dt->data->htab + HINDEX(dt->data->ntab,hsh)); | ^~~~~~ ../../lib/cdt/dthdr.h:25:29: 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:38: 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 In file included from dtrenew.c:1: dtrenew.c: In function 'dtrenew': ../../lib/cdt/dthdr.h:25:29: 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:38: note: in expansion of macro 'HINDEX' 37 | { s = dt->data->htab + HINDEX(dt->data->ntab,e->hash); | ^~~~~~ CC dtstat.lo CC dtstrhash.lo CC dttree.lo CC dtview.lo CC dtwalk.lo CCLD libcdt.la CCLD libcdt_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/cdt' Making all in xdot gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.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:25: 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:25: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 931 | stops[i].frac = d; | ^ CCLD libxdot.la CCLD libxdot_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/xdot' Making all in cgraph gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/cgraph' CC acyclic.lo CC agerror.lo CC apply.lo CC attr.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 scan.c: In function 'aaglex': scan.c:1423:22: warning: switch missing default case [-Wswitch-default] 1423 | 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); | ^ CC utils.lo CC write.lo utils.c: In function 'agdtopen': utils.c:29:29: warning: unused parameter 'g' [-Wunused-parameter] 29 | Dict_t *agdtopen(Agraph_t * g, Dtdisc_t * disc, Dtmethod_t * method) | ~~~~~~~~~~~^ CCLD libcgraph.la CCLD libcgraph_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/cgraph' Making all in pathplan gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/pathplan' CC cvt.lo CC inpoly.lo CC route.lo CC shortest.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:23: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 322 | if (ycoeff[1] == 0) { | ^~ route.c:341:39: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 341 | if (xroots[i] == yroots[j]) | ^~ shortest.c: In function 'Pshortestpath': shortest.c:127:15: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 127 | if ((p1.x == p2.x && p2.x == p3.x && p3.y > p2.y) || | ^~ shortest.c:127:31: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 127 | if ((p1.x == p2.x && p2.x == p3.x && p3.y > p2.y) || | ^~ shortest.c:131:36: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 131 | && polyp->ps[pi].x == polyp->ps[pi + 1].x | ^~ shortest.c:132:36: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 132 | && polyp->ps[pi].y == polyp->ps[pi + 1].y) | ^~ shortest.c:141:43: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 141 | if (pi > 0 && polyp->ps[pi].x == polyp->ps[pi - 1].x && | ^~ shortest.c:142:33: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 142 | polyp->ps[pi].y == polyp->ps[pi - 1].y) | ^~ CC shortestpth.lo CC solvers.lo 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:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 52 | if (val[k] == unseen) | ^~ shortestpth.c:67:26: 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:32: 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)); | ~~^~~ CC triang.lo CC util.lo CC visibility.lo 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)); | ^ 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 '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/pathplan' Making all in sfio gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/sfio' Making all in Sfio_f gmake[4]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/sfio/Sfio_f' CC _sfslen.lo CCLD libsfiof_C.la gmake[4]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/sfio/Sfio_f' gmake[4]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/sfio' CC sfextern.lo CC sfcvt.lo CC sfprint.lo CC sftable.lo sfprint.c: In function 'sfprint': sfprint.c:93:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 93 | sp = (char *) form++; | ^ sfprint.c:96:17: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 96 | n = form - sp; | ^~~~ In file included from sfprint.c:15: ../../lib/sfio/sfhdr.h:90:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfprint.c:140:25: note: in expansion of macro 'FMTSET' 140 | FMTSET(ft, form, LEFTP, 0, 0, 0, 0, 0, NULL, 0); | ^~~~~~ ../../lib/sfio/sfhdr.h:90:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfprint.c:209:13: note: in expansion of macro 'FMTSET' 209 | FMTSET(ft, form, '.', dot, 0, 0, 0, 0, NULL, 0); | ^~~~~~ ../../lib/sfio/sfhdr.h:90:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfprint.c:250:17: note: in expansion of macro 'FMTSET' 250 | FMTSET(ft, form, 'I', sizeof(int), 0, 0, 0, 0, NULL, 0); | ^~~~~~ ../../lib/sfio/sfhdr.h:90:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfprint.c:314:9: note: in expansion of macro 'FMTSET' 314 | FMTSET(ft, form, fmt, size, flags, width, precis, base, t_str, n_str); | ^~~~~~ sfprint.c:344:26: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 344 | if ((v = size) >= 0) { | ^~~~ sfprint.c:348:25: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 348 | v = strlen(sp); | ^~~~~~ sfprint.c:380:26: warning: conversion from 'int' to 'char' may change value [-Wconversion] 380 | buf[0] = fmt; | ^~~ sfprint.c:481:36: 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:36: 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:35: 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:35: 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:25: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 541 | && (n = endsp - sp) > 3) { | ^~~~~ sftable.c: In function 'sffmtint': sftable.c:26:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 26 | return (char *) str; | ^ sfprint.c:558:42: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 558 | if (precis > 0 && (precis -= (endsp - sp)) < (sp - buf) - 64) | ^ sfprint.c:575:29: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 575 | n = width - (n + (endsp - sp)); | ^~~~~ ../../lib/sfio/sfhdr.h:130:25: 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:37: note: in expansion of macro '_Sfdec' 587 | *--sp = _Sfdec[(base <<= 1) + 1]; | ^~~~~~ ../../lib/sfio/sfhdr.h:130:25: 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:37: note: in expansion of macro '_Sfdec' 588 | *--sp = _Sfdec[base]; | ^~~~~~ sfprint.c:627:26: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 627 | if (dval == 0.) | ^~ sfprint.c:634:26: warning: conversion from 'ssize_t' {aka 'long int'} to 'int' may change value [-Wconversion] 634 | if ((n = sfslen()) > precis) | ^~~~~~ sfprint.c:661:23: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 661 | precis -= (endsp -= 1) - ssp; | ^ sfprint.c:665:22: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 665 | if (dval != 0.) { | ^~ sfprint.c:680:40: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 680 | *--ep = (decpt > 0 || dval == 0.) ? '+' : '-'; | ^~ sfprint.c:725:23: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 725 | precis -= (endsp -= 1) - ssp; | ^ sfprint.c:742:13: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 742 | n = (endsp - sp) + (endep - ep) + (precis <= 0 ? 0 : precis) + | ^ sfprint.c:750:25: warning: conversion from 'int' to 'char' may change value [-Wconversion] 750 | *--sp = fmt; | ^~~ sfprint.c:772:18: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 772 | if ((n = endsp - sp) > 0) | ^~~~~ sfprint.c:780:22: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 780 | if ((n = endep - (sp = ep)) > 0) | ^~~~~ sfcvt.c: In function '_sfcvt': sfcvt.c:42:18: 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:25: warning: conversion from 'long double' to 'double' may change value [-Wfloat-conversion] 129 | #define _Sfneg10 (_Sftable.sf_neg10) | ^ sfcvt.c:54:29: note: in expansion of macro '_Sfneg10' 54 | dval *= _Sfneg10[v]; | ^~~~~~~~ sfcvt.c:103:26: warning: conversion from 'long int' to 'double' may change value [-Wconversion] 103 | dval -= n; | ^~ CC sfvscanf.lo In file included from sfvscanf.c:15: sfvscanf.c: In function 'sfvscanf': ../../lib/sfio/sfhdr.h:90:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfvscanf.c:174:25: note: in expansion of macro 'FMTSET' 174 | FMTSET(ft, form, LEFTP, 0, 0, 0, 0, 0, NULL, 0); | ^~~~~~ ../../lib/sfio/sfhdr.h:90:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfvscanf.c:202:17: note: in expansion of macro 'FMTSET' 202 | FMTSET(ft, form, '.', dot, 0, 0, 0, 0, NULL, 0); | ^~~~~~ ../../lib/sfio/sfhdr.h:90:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfvscanf.c:244:17: note: in expansion of macro 'FMTSET' 244 | FMTSET(ft, form, 'I', sizeof(int), 0, 0, 0, 0, NULL, 0); | ^~~~~~ ../../lib/sfio/sfhdr.h:90:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 90 | ((ft->form = (char*)frm), \ | ^ sfvscanf.c:307:9: note: in expansion of macro 'FMTSET' 307 | FMTSET(ft, form, fmt, size, flags, width, 0, base, t_str, n_str); | ^~~~~~ sfvscanf.c:367:30: warning: conversion from 'int' to 'char' may change value [-Wconversion] 367 | *val++ = inp; | ^~~ sfvscanf.c:376:30: warning: conversion from 'int' to 'char' may change value [-Wconversion] 376 | *val++ = inp; | ^~~ sfvscanf.c:380:30: warning: conversion from 'int' to 'char' may change value [-Wconversion] 380 | *val++ = inp; | ^~~ sfvscanf.c:384:30: warning: conversion from 'int' to 'char' may change value [-Wconversion] 384 | *val++ = inp; | ^~~ sfvscanf.c:458:57: 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'); | ^ sfvscanf.c:489:54: 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:44: 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:52: 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:546:37: warning: conversion from 'int' to 'char' may change value [-Wconversion] 546 | *argv.s++ = inp; | ^~~ sfvscanf.c:551:37: warning: conversion from 'int' to 'char' may change value [-Wconversion] 551 | *argv.s++ = inp; | ^~~ sfvscanf.c:566:37: warning: conversion from 'int' to 'char' may change value [-Wconversion] 566 | *argv.s++ = inp; | ^~~ CCLD libsfio_C.la gmake[4]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/sfio' gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/sfio' Making all in vmalloc gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/vmalloc' CC vmalloc.lo CC vmclear.lo CC vmopen.lo CC vmclose.lo CC vmstrdup.lo CCLD libvmalloc_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/vmalloc' Making all in ast gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/ast' CC chresc.lo CC chrtoi.lo CC error.lo CC fmtesc.lo chresc.c: In function 'chresc': chresc.c:136:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 136 | *p = (char *) s; | ^ CC stresc.lo CC strmatch.lo stresc.c: In function 'stresc': stresc.c:39:16: warning: conversion from 'int' to 'char' may change value [-Wconversion] 39 | *t++ = c; | ^ CCLD libast_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/ast' Making all in vpsc gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/vpsc' CXX block.lo CXX blocks.lo CXX constraint.lo CXX generate-constraints.lo CXX solve_VPSC.lo CXX csolve_VPSC.lo CXX variable.lo CXXLD libvpsc_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/vpsc' Making all in rbtree gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/rbtree' CC red_black_tree.lo CCLD librbtree_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/rbtree' Making all in ortho gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/ortho' CC fPQ.lo CC ortho.lo CC maze.lo CC partition.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*)); | ~~~^~~ ortho.c: In function 'segCmp': ortho.c:630:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 630 | if (S1->p.p1 == S2->p.p1) { | ^~ ortho.c:631:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 631 | if(S1->p.p2==S2->p.p2) { | ^~ ortho.c:673:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 673 | if (S1->p.p2 == S2->p.p1) { | ^~ ortho.c: In function 'seg_cmp': ortho.c:702:46: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 702 | if(S1->isVert!=S2->isVert||S1->comm_coord!=S2->comm_coord) { | ^~ ortho.c: In function 'propagate_prec': ortho.c:783:32: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 783 | if(next->comm_coord==current->p.p1) { | ^~ ortho.c:791:32: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 791 | if(next->comm_coord==current->p.p1) { | ^~ In file included from ../../lib/cgraph/agxbuf.h:17, from ../../lib/common/render.h:35, from ../../lib/ortho/ortho.h:13, from ortho.c:32: ortho.c: In function 'is_parallel': ortho.c:806:27: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 806 | assert (s1->comm_coord==s2->comm_coord); | ^~ ortho.c:807:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 807 | return s1->p.p1 == s2->p.p1 && | ^~ ortho.c:808:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 808 | s1->p.p2 == s2->p.p2 && | ^~ ortho.c: In function 'set_parallel_edges': ortho.c:873:33: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 873 | if(prev1->comm_coord==seg1->p.p1) { | ^~ ortho.c:904:33: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 904 | if(prev1->comm_coord==seg1->p.p1) { | ^~ ortho.c: In function 'addPEdges': ortho.c:993:69: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 993 | if (seg_list_get(segs, i)->prev->comm_coord == | ^~ ortho.c: In function 'vtrack': ortho.c:1106:45: warning: cast from function call of type 'size_t' {aka 'long unsigned int'} to non-matching type 'double' [-Wbad-function-cast] 1106 | const double f = (double)seg->track_no / ((double)seg_list_size(&chp->seg_list) + 1); | ^ ortho.c: In function 'htrack': ortho.c:1114:45: warning: cast from function call of type 'size_t' {aka 'long unsigned int'} to non-matching type 'double' [-Wbad-function-cast] 1114 | double f = 1.0 - (double)seg->track_no / ((double)seg_list_size(&chp->seg_list) + 1); | ^ ortho.c: In function 'orthoEdges': ortho.c:1240:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1240 | epair_t* es = gv_calloc(agnedges(g), sizeof(epair_t)); | ^~~~~~~~~~~ partition.c: In function 'generateRandomOrdering': partition.c:161:13: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 161 | j = i + drand48() * (n + 1 - i); | ^ 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)); | ~~~~~~^~~ 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; | ^~~~~ CC rawgraph.lo CC sgraph.lo CC trapezoid.lo 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:21: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 171 | d = -(N_VAL(n) + E_WT(e)); | ^ 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); | ^ CCLD libortho_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/ortho' Making all in sparse gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/sparse' CC general.lo CC SparseMatrix.lo CC DotIO.lo CC colorutil.lo 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:356:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 356 | ND_id(n) = i++; | ^ DotIO.c:359:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 359 | int* I = gv_calloc(nedges, sizeof(int)); | ^~~~~~ DotIO.c:360:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 360 | int* J = gv_calloc(nedges, sizeof(int)); | ^~~~~~ DotIO.c:361:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 361 | 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:368:11: note: in expansion of macro 'ND_id' 368 | 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:371:14: note: in expansion of macro 'ND_id' 371 | J[i] = ND_id(aghead(e)); | ^~~~~ DotIO.c:386:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 386 | *clusters = gv_calloc(nnodes, sizeof(int)); | ^~~~~~ DotIO.c:395:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 395 | 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:400:13: note: in expansion of macro 'ND_id' 400 | 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:408:11: note: in expansion of macro 'ND_id' 408 | 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:417:11: note: in expansion of macro 'ND_id' 417 | 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:452:11: note: in expansion of macro 'ND_id' 452 | i = ND_id(n); | ^~~~~ DotIO.c:463:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 463 | *label_sizes = gv_calloc(dim * nnodes, sizeof(double)); | ~~~~^~~~~~~~ DotIO.c:465:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 465 | *rgb_r = gv_calloc(1 + MAX_GRPS, sizeof(float)); | ~~^~~~~~~~~~ DotIO.c:466:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 466 | *rgb_g = gv_calloc(1 + MAX_GRPS, sizeof(float)); | ~~^~~~~~~~~~ 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_b = gv_calloc(1 + MAX_GRPS, sizeof(float)); | ~~^~~~~~~~~~ DotIO.c:473:20: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 473 | *fsz = gv_calloc(nnodes, sizeof(float)); | ^~~~~~ DotIO.c:474:23: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 474 | *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:479:9: note: in expansion of macro 'ND_id' 479 | i = ND_id(n); | ^~~~~ DotIO.c:520:33: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 520 | (*rgb_r)[(*clusters)[i]] = color.u.RGBA[0]; | ^~~~~ DotIO.c:521:33: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 521 | (*rgb_g)[(*clusters)[i]] = color.u.RGBA[1]; | ^~~~~ DotIO.c:522:33: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 522 | (*rgb_b)[(*clusters)[i]] = color.u.RGBA[2]; | ^~~~~ DotIO.c:537:24: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 537 | *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:540:11: note: in expansion of macro 'ND_id' 540 | i = ND_id(n); | ^~~~~ DotIO.c: In function 'attached_clustering': DotIO.c:585:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 585 | ND_id(n) = i++; | ^ DotIO.c:588:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 588 | int* I = gv_calloc(nedges, sizeof(int)); | ^~~~~~ DotIO.c:589:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 589 | int* J = gv_calloc(nedges, sizeof(int)); | ^~~~~~ DotIO.c:590:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 590 | 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:597:11: note: in expansion of macro 'ND_id' 597 | 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:600:14: note: in expansion of macro 'ND_id' 600 | J[i] = ND_id(aghead(e)); | ^~~~~ DotIO.c:613:29: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 613 | 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:630:11: note: in expansion of macro 'ND_id' 630 | i = ND_id(n); | ^~~~~ DotIO.c: In function 'setDotNodeID': DotIO.c:659:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 659 | ND_id(n) = v; | ^ DotIO.c: In function 'getDotNodeID': SparseMatrix.c: In function 'SparseMatrix_realloc': SparseMatrix.c:325:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 325 | A->ia = gv_recalloc(A->ia, A->nzmax, nz_t, sizeof(int)); | ~^~~~~~~ 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:664:12: note: in expansion of macro 'ND_id' 664 | return ND_id(n); | ^~~~~ SparseMatrix.c:326:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 326 | A->ja = gv_recalloc(A->ja, A->nzmax, nz_t, sizeof(int)); | ~^~~~~~~ SparseMatrix.c:329:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 329 | A->a = gv_recalloc(A->a, A->nzmax, nz_t, A->size); | ~^~~~~~~ SparseMatrix.c:337:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 337 | A->ja = gv_recalloc(A->ja, A->nzmax, nz_t, sizeof(int)); | ~^~~~~~~ SparseMatrix.c:340:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 340 | A->a = gv_recalloc(A->a, A->nzmax, nz_t, A->size); | ~^~~~~~~ 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); | ^ SparseMatrix.c: In function 'SparseMatrix_distance_matrix': SparseMatrix.c:2048:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 2048 | if (!(*dist0)) *dist0 = gv_calloc(n * n, sizeof(double)); | ~~^~~ CC color_palette.lo CC mq.lo 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)); | ~~~~^~~ CC clustering.lo clustering.c: In function 'Multilevel_Modularity_Clustering_init': clustering.c:35:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 35 | grid->matching = gv_calloc(n, sizeof(double)); | ^ clustering.c:46:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 46 | grid->deg = gv_calloc(n, sizeof(double)); | ^ clustering.c:49:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 49 | double *indeg = gv_calloc(n, sizeof(double)); | ^ clustering.c: In function 'Multilevel_Modularity_Clustering_establish': clustering.c:104:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 104 | double *deg_new = gv_calloc(n, sizeof(double)); | ^ clustering.c:105:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 105 | double *deg_inter = gv_calloc(n, sizeof(double)); | ^ clustering.c:106:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 106 | int *mask = gv_calloc(n, sizeof(int)); | ^ clustering.c: In function 'hierachical_modularity_clustering': clustering.c:313:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 313 | double *u = gv_calloc(cgrid->n, sizeof(double)); | ~~~~~^~~ clustering.c:330:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 330 | matching = gv_calloc(grid->n, sizeof(int)); | ~~~~^~~ 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:17: 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:317:20: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 317 | xmin = gv_calloc(dim, sizeof(double)); | ^~~ QuadTree.c:318:20: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 318 | xmax = gv_calloc(dim, sizeof(double)); | ^~~ QuadTree.c:319:22: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 319 | center = gv_calloc(dim, sizeof(double)); | ^~~ QuadTree.c: In function 'QuadTree_new': QuadTree.c:362:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 362 | q->center = gv_calloc(dim, sizeof(double)); | ^~~ QuadTree.c: In function 'QuadTree_add_internal': QuadTree.c:457:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 457 | q->average = gv_calloc(dim, sizeof(double)); | ^~~ CCLD libsparse_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/sparse' Making all in patchwork gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.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 '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/patchwork' Making all in expr gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/expr' CC excc.lo CC exdata.lo CC excontext.lo CC exerror.lo excontext.c: In function 'excontext': excontext.c:42:51: 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:75: 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:34: 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:26: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 56 | if ((n = (p->linep - t) - (e - s)) > 0) | ^ excc.c: In function 'gen': excc.c:215:9: warning: switch missing default case [-Wswitch-default] 215 | switch (exnode->op) | ^~~~~~ excc.c:563:17: warning: switch missing default case [-Wswitch-default] 563 | switch (exnode->op) | ^~~~~~ CC exeval.lo CC exexpr.lo CC exopen.lo exeval.c: In function 'prformat': exeval.c:271:9: warning: switch missing default case [-Wswitch-default] 271 | switch (dp->fmt) | ^~~~~~ exeval.c: In function 'exsubstr': exeval.c:982:15: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] 982 | len = strlen(s.string); | ^~~~~~ exeval.c:994:46: 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); | ~~~~~~~~~~^~~ exeval.c:996:58: 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:68: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1222 | if ((*t)->floating == v.floating) | ^~ exeval.c:1210:41: warning: switch missing default case [-Wswitch-default] 1210 | switch ((int)i.integer) | ^~~~~~ exeval.c:1470:56: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1470 | if (r.floating == 0.0) | ^~ exeval.c:1476:58: warning: conversion from 'double' to 'long long int' may change value [-Wfloat-conversion] 1476 | if ((r.integer = r.floating) == 0) | ^ exeval.c:1479:62: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] 1479 | v.floating = (long long)v.floating % r.integer; | ^ exeval.c:1491:54: 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:54: 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:53: 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:9: warning: switch missing default case [-Wswitch-default] 1059 | switch (exnode->op) | ^~~~~~ exeval.c:1621:37: warning: conversion from 'double' to 'long long int' may change value [-Wfloat-conversion] 1621 | v.integer = v.floating; | ^ exeval.c:1646:38: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] 1646 | v.floating = ~(long long)v.floating; | ^ exeval.c:1670:40: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1670 | if (r.floating == 0.0) | ^~ exeval.c:1676:42: warning: conversion from 'double' to 'long long int' may change value [-Wfloat-conversion] 1676 | if ((r.integer = r.floating) == 0) | ^ exeval.c:1679:46: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] 1679 | v.floating = (long long)v.floating % r.integer; | ^ exeval.c:1688:48: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1688 | v.integer = v.floating == r.floating; | ^~ exeval.c:1691:48: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1691 | v.integer = v.floating != r.floating; | ^~ exeval.c:1618:17: warning: switch missing default case [-Wswitch-default] 1618 | switch (exnode->op) | ^~~~~~ exeval.c:1739:17: warning: switch missing default case [-Wswitch-default] 1739 | switch (exnode->op) | ^~~~~~ exeval.c:1764:46: warning: conversion from 'long long unsigned int' to 'double' may change value [-Wconversion] 1764 | v.floating = (unsigned long long)v.integer; | ^ exeval.c:1766:46: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] 1766 | v.floating = v.integer; | ^ exeval.c:1847:37: 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:17: warning: switch missing default case [-Wswitch-default] 1757 | switch (exnode->op) | ^~~~~~ exeval.c:1864:17: warning: switch missing default case [-Wswitch-default] 1864 | switch (exnode->op) | ^~~~~~ exeval.c:1928:17: 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:118, from exexpr.c:18: exexpr.c: In function 'exexpr': ../../lib/cdt/cdt.h:192:50: 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:38: note: in expansion of macro 'dtmatch' 31 | sym = name ? dtmatch(ex->symbols, name) : &ex->main; | ^~~~~~~ CC extoken.lo CC extype.lo In file included from extoken.c:21: extoken.c: In function 'lex': ../../lib/expr/exlib.h:125:123: warning: conversion from 'int' to 'char' may change value [-Wconversion] 125 | #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:25: note: in expansion of macro 'putcontext' 300 | putcontext(ex, c); | ^~~~~~~~~~ extoken.c: In function 'extoken_fn': extoken.c:339:41: warning: switch missing default case [-Wswitch-default] 339 | switch (lex(ex)) | ^~~~~~ extoken.c:331:42: warning: switch missing default case [-Wswitch-default] 331 | for (;;) switch (lex(ex)) | ^~~~~~ extoken.c:592:59: 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:644:33: warning: switch missing default case [-Wswitch-default] 644 | switch (ex_lval.id->lex) | ^~~~~~ extoken.c:856:50: warning: conversion from 'long int' to 'int' may change value [-Wconversion] 856 | return ex_lval.id->lex; | ~~~~~~~~~~^~~~~ extype.c: In function 'extype': extype.c:25:9: warning: switch missing default case [-Wswitch-default] 25 | switch (type) | ^~~~~~ CC exzero.lo exzero.c: In function 'exzero': exzero.c:27:9: warning: switch missing default case [-Wswitch-default] 27 | switch (type) | ^~~~~~ CC exparse.lo CC exnospace.lo In file included from ../../lib/expr/exparse.y:171: ../../lib/expr/exgram.h: In function 'exstringOf': ../../lib/expr/exgram.h:308:17: warning: switch missing default case [-Wswitch-default] 308 | switch (type) { | ^~~~~~ ../../lib/expr/exgram.h: In function 'excast': ../../lib/expr/exgram.h:492:58: warning: conversion from 'double' to 'long long int' may change value [-Wfloat-conversion] 492 | x->data.constant.value.integer = x->data.constant.value.floating; | ^ ../../lib/expr/exgram.h:499:59: warning: conversion from 'long long int' to 'double' may change value [-Wconversion] 499 | x->data.constant.value.floating = x->data.constant.value.integer; | ^ ../../lib/expr/exgram.h: In function 'preprint': ../../lib/expr/exgram.h:722:25: warning: switch missing default case [-Wswitch-default] 722 | switch (t) | ^~~~~~ ../../lib/expr/exgram.h: In function 'expush': ../../lib/expr/exgram.h:817:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 817 | error_info.file = (char*)name; | ^ ../../lib/expr/exparse.y: In function 'ex_parse': ../../lib/expr/exparse.y:861:33: warning: switch missing default case [-Wswitch-default] 861 | switch ($1->index) | ^~~~~~ ../../lib/expr/exparse.y:888:33: warning: switch missing default case [-Wswitch-default] 888 | switch ($1->index) | ^~~~~~ exnospace.c: In function 'exnospace': exnospace.c:30:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 30 | return (char*)null; | ^ CCLD libexpr_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/expr' Making all in common gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/common' /opt/pkg/bin/gmake all-am gmake[4]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/common' CC libcommon_C_la-colxlate.lo CC libcommon_C_la-arrows.lo CC libcommon_C_la-ellipse.lo CC libcommon_C_la-textspan.lo arrows.c: In function 'arrow_length': arrows.c:259:19: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 259 | if (arrowsize == 0) { | ^~ arrows.c: In function 'arrowOrthoClip': arrows.c:369:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 369 | if (p.y == q.y) { // horizontal segment | ^~ arrows.c:406:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 406 | if (p.y == q.y) { // horizontal segment | ^~ arrows.c:430:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 430 | if (p.y == q.y) { // horizontal segment | ^~ arrows.c: In function 'miter_shape': arrows.c:456:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 456 | if ((base_left.x == P.x && base_left.y == P.y) || | ^~ arrows.c:456:42: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 456 | if ((base_left.x == P.x && base_left.y == P.y) || | ^~ arrows.c:457:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 457 | (base_right.x == P.x && base_right.y == P.y)) { | ^~ arrows.c:457:44: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 457 | (base_right.x == P.x && base_right.y == P.y)) { | ^~ arrows.c: In function 'arrow_type_normal0': arrows.c:549:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 549 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c:549:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 549 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c: In function 'arrow_type_crow0': arrows.c:673:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 673 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c:673:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 673 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c: In function 'arrow_type_box': arrows.c:889:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 889 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c:889:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 889 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c: In function 'arrow_type_dot': arrows.c:1004:13: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1004 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c:1004:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1004 | if (u.x != 0 || u.y != 0) { | ^~ arrows.c: In function 'arrow_type_curve': arrows.c:1045:39: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1045 | if (!(flag & ARR_MOD_INV) && (u.x != 0 || u.y != 0)) { | ^~ arrows.c:1045:51: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1045 | if (!(flag & ARR_MOD_INV) && (u.x != 0 || u.y != 0)) { | ^~ 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 CC libcommon_C_la-htmlparse.lo CC libcommon_C_la-htmltable.lo htmllex.c: In function 'characterData': htmllex.c:734:17: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] 734 | c = *s++; | ^ ../../lib/common/htmlparse.y: In function 'appendFLineList': ../../lib/common/htmlparse.y:374:15: warning: conversion from 'int' to 'char' may change value [-Wconversion] 374 | lp.just = v; | ^ CC libcommon_C_la-input.lo htmltable.c: In function 'size_html_txt': htmltable.c:978:26: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 978 | else if (tf.size != prev_fsize) { | ^~ In file included from ../../lib/util/unreachable.h:5, from htmltable.c:52: htmltable.c: In function 'findCol': htmltable.c:1176:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1176 | assert(col >= 0 && col <= UINT16_MAX); | ^~ htmltable.c: In function 'nameOf': htmltable.c:1700:5: warning: switch missing default case [-Wswitch-default] 1700 | switch (agobjkind(obj)) { | ^~~~~~ htmltable.c: In function 'make_html_label': htmltable.c:1863:5: warning: switch missing default case [-Wswitch-default] 1863 | switch (agobjkind(obj)) { | ^~~~~~ CC libcommon_C_la-pointset.lo CC libcommon_C_la-postproc.lo CC libcommon_C_la-routespl.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-splines.lo routespl.c: In function 'bend': routespl.c:923:18: 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:9: warning: switch missing default case [-Wswitch-default] 562 | switch (et) { | ^~~~~~ splines.c: In function 'endpath': splines.c:760:9: warning: switch missing default case [-Wswitch-default] 760 | switch (et) { | ^~~~~~ splines.c: In function 'selfRight': splines.c:1023:25: 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:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1096 | if(tp.y == hp.y) | ^~ CC libcommon_C_la-psusershape.lo In file included from ../../lib/cgraph/cgraph.h:32, from ../../lib/common/types.h:33, from ../../lib/common/render.h:29, from psusershape.c:14: psusershape.c: In function 'user_init': ../../lib/cdt/cdt.h:192:50: 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:46:23: note: in expansion of macro 'dtmatch' 46 | usershape_t *us = dtmatch(EPSF_contents, str); | ^~~~~~~ CC libcommon_C_la-timing.lo timing.c: In function 'elapsed_sec': timing.c:26:84: warning: cast from function call of type 'long int' to non-matching type 'double' [-Wbad-function-cast] 26 | #define DIFF_IN_SECS(S,T) ((S.tms_utime + S.tms_stime - T.tms_utime - T.tms_stime)/(double)HZ) | ^ timing.c:54:10: note: in expansion of macro 'DIFF_IN_SECS' 54 | rv = DIFF_IN_SECS(S, T); | ^~~~~~~~~~~~ timing.c:26:83: warning: conversion from 'clock_t' {aka 'long int'} to 'double' may change value [-Wconversion] 26 | #define DIFF_IN_SECS(S,T) ((S.tms_utime + S.tms_stime - T.tms_utime - T.tms_stime)/(double)HZ) | ^ timing.c:54:10: note: in expansion of macro 'DIFF_IN_SECS' 54 | rv = DIFF_IN_SECS(S, T); | ^~~~~~~~~~~~ CC libcommon_C_la-labels.lo CC libcommon_C_la-ns.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:13: 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-shapes.lo CC libcommon_C_la-utils.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/unreachable.h:5, from shapes.c:25: shapes.c: In function 'poly_init': shapes.c:2328:29: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2328 | assert(cosx != 0 || sinx != 0); | ^~ shapes.c:2328:42: 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:19: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2610 | if (angle == M_PI) | ^~ shapes.c:2612:24: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2612 | else if (angle == M_PI * 0.75) | ^~ shapes.c:2614:24: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2614 | else if (angle == M_PI * 0.5) | ^~ shapes.c:2616:24: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2616 | else if (angle == 0) | ^~ shapes.c:2618:24: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2618 | else if (angle == M_PI * -0.25) | ^~ shapes.c:2620:24: 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:21: warning: conversion from 'int' to 'unsigned char' may change value [-Wconversion] 2863 | pp->order = (int) (MC_SCALE * angle / (2 * M_PI)); | ^ utils.c: In function 'setAttr': utils.c:704:9: warning: switch missing default case [-Wswitch-default] 704 | switch (agobjkind(obj)) { | ^~~~~~ utils.c: In function 'undoClusterEdges': utils.c:1048:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1048 | edge_t **edgelist = gv_calloc(ecnt, sizeof(edge_t*)); | ^~~~ utils.c: In function 'cvtAndAppend': utils.c:1176:14: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] 1176 | buf[0] = c; | ^ utils.c:1184:9: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] 1184 | c = *p; | ^ utils.c: In function 'htmlEntityUTF8': utils.c:1237:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1237 | v = htmlEntity (&s); | ^~~~~~~~~~ utils.c:1240:29: warning: conversion from 'unsigned int' to 'unsigned char' may change value [-Wconversion] 1240 | c = v; | ^ utils.c: In function 'latin1ToUTF8': utils.c:1282:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1282 | v = htmlEntity (&s); | ^~~~~~~~~~ utils.c: In function 'setEdgeType': utils.c:1447:20: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 1447 | GD_flags(g) |= et; | ^~ CC libcommon_C_la-geom.lo 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-taper.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:26: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 236 | if (cos(phi) == 0) { | ^~ CC libcommon_C_la-output.lo CC libcommon_C_la-emit.lo emit.c: In function 'getObjId': emit.c:221:5: warning: switch missing default case [-Wswitch-default] 221 | switch (agobjkind(obj)) { | ^~~~~~ emit.c: In function 'parse_layerselect': emit.c:1052:45: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1052 | 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:1291:18: note: in expansion of macro 'ROUND' 1291 | 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:1292:19: note: in expansion of macro 'ROUND' 1292 | job->height = ROUND((pageSize.y + 2*margin.y) * job->dpi.y / POINTS_PER_INCH); | ^~~~~ emit.c: In function 'emit_xdot': emit.c:1478:31: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1478 | if (p->x1 == p->x0 && p->y1 == p->y0) | ^~ emit.c:1478:49: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1478 | if (p->x1 == p->x0 && p->y1 == p->y0) | ^~ emit.c: In function 'emit_node': emit.c:1870:23: warning: conversion from 'int' to 'char' may change value [-Wconversion] 1870 | ND_state(n) = gvc->common.viewNum; /* mark node as drawn */ | ^~~ emit.c: In function 'textBB': emit.c:2812:5: warning: switch missing default case [-Wswitch-default] 2812 | switch (span->just) { | ^~~~~~ emit.c: In function 'xdotBB': emit.c:2853:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2853 | if (bb.LL.x == bb.UR.x && bb.LL.y == bb.UR.y) { | ^~ emit.c:2853:39: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2853 | if (bb.LL.x == bb.UR.x && bb.LL.y == bb.UR.y) { | ^~ emit.c:2890:24: warning: conversion from 'int' to 'unsigned char:7' may change value [-Wconversion] 2890 | tf.flags = fontflags; | ^~~~~~~~~ emit.c:2905:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 2905 | fontflags = op->op.u.fontchar; | ^~ emit.c: In function 'init_job_dpi': emit.c:3031:28: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 3031 | if (GD_drawing(g)->dpi != 0) { | ^~ CC libcommon_C_la-xml.lo CCLD libcommon_C.la gmake[4]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/common' gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/common' Making all in pack gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/pack' CC pack.lo CC ccomps.lo pack.c: In function 'genPoly': pack.c:297:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 297 | void **alg = gv_calloc(agnnodes(g), sizeof(void *)); | ^~~~~~~~~~~ pack.c: In function 'arrayRects': pack.c:619:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'double' may change value [-Wconversion] 619 | nr = ceil(sqrt(ng)); | ^~ pack.c:619:12: warning: conversion from 'double' to 'size_t' {aka 'long unsigned int'} may change value [-Wfloat-conversion] 619 | nr = ceil(sqrt(ng)); | ^~~~ pack.c:628:22: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'double' may change value [-Wconversion] 628 | nc = ceil(sqrt(ng)); | ^~ pack.c:628:12: warning: conversion from 'double' to 'size_t' {aka 'long unsigned int'} may change value [-Wfloat-conversion] 628 | nc = ceil(sqrt(ng)); | ^~~~ pack.c: In function 'putGraphs': pack.c:914:28: warning: conversion to 'packval_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 914 | pinfo->vals[i] = v; | ^ pack.c: In function 'getPackInfo': pack.c:1285:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1285 | pinfo->margin = getPack(g, dfltMargin, dfltMargin); | ^~~~~~~ CCLD libpack_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/pack' Making all in label gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/label' CC index.lo CC xlabels.lo CC node.lo CC rectangle.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/util/alloc.h:17, from xlabels.c:21: 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:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 230 | (cp->pos.x == 0.0 && cp->pos.y == 0.0)) | ^~ xlabels.c:230:40: 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:19: 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:27: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 609 | } else if(bp.area == 0) { | ^~ CC split.q.lo CCLD liblabel_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/label' Making all in gvc gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/gvc' CC gvrender.lo CC gvlayout.lo CC gvdevice.lo CC gvloadimage.lo gvrender.c: In function 'gvrender_resolve_color': gvrender.c:197:55: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 197 | (bsearch(name, features->knowncolors, features->sz_knowncolors, | ~~~~~~~~^~~~~~~~~~~~~~~~ gvdevice.c: In function 'gvwrite_no_z': gvdevice.c:67:42: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 67 | job->output_data_allocated = job->output_data_position + len + 1; | ^~~ gvdevice.c:75:38: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'unsigned int' may change value [-Wconversion] 75 | job->output_data_position += len; | ^~~ CC gvcontext.lo CC gvjobs.lo CC gvevent.lo gvevent.c: In function 'gvevent_leave_obj': gvevent.c:124:9: warning: switch missing default case [-Wswitch-default] 124 | switch (agobjkind(obj)) { | ^~~~~~ gvevent.c: In function 'gvevent_enter_obj': gvevent.c:151:9: warning: switch missing default case [-Wswitch-default] 151 | switch (agobjkind(obj)) { | ^~~~~~ gvevent.c: In function 'gvevent_select_current_obj': gvevent.c:228:9: warning: switch missing default case [-Wswitch-default] 228 | switch (agobjkind(obj)) { | ^~~~~~ gvevent.c:249:9: warning: switch missing default case [-Wswitch-default] 249 | switch (agobjkind(obj)) { | ^~~~~~ gvevent.c: In function 'gvevent_button_press': gvevent.c:268:5: warning: switch missing default case [-Wswitch-default] 268 | switch (button) { | ^~~~~~ gvevent.c: In function 'gvevent_motion': gvevent.c:345:5: warning: switch missing default case [-Wswitch-default] 345 | switch (job->button) { | ^~~~~~ gvevent.c: In function 'toggle_fit_cb': gvevent.c:435:22: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 435 | dflt_width = job->width; | ^~~ gvevent.c:436:23: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 436 | dflt_height = job->height; | ^~~ CC gvplugin.lo CC gvconfig.lo CC gvtool_tred.lo CC gvtextlayout.lo CC gvusershape.lo In file included from ../../lib/cgraph/cgraph.h:32, from ../../lib/common/types.h:33, from gvusershape.c:30: gvusershape.c: In function 'gvusershape_find': ../../lib/cdt/cdt.h:192:50: 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:619:10: note: in expansion of macro 'dtmatch' 619 | us = dtmatch(ImageDict, name); | ^~~~~~~ gvusershape.c: In function 'gvusershape_size_dpi': gvusershape.c:752:16: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 752 | rv.x = us->w * POINTS_PER_INCH / dpi.x; | ^~ gvusershape.c:753:16: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 753 | rv.y = us->h * POINTS_PER_INCH / dpi.y; | ^~ CC gvc.lo CCLD libgvc.la CCLD libgvc_C.la ld: warning: file ../../lib/cdt/.libs/libcdt.so: linked to /home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/cdt/.libs/libcdt.so: attempted multiple inclusion of file gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/gvc' Making all in topfish gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/topfish' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/topfish' Making all in glcomp gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/glcomp' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/glcomp' Making all in mingle gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/mingle' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/mingle' Making all in edgepaint gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/edgepaint' CC edge_distinct_coloring.lo CC furtherest_point.lo CC intersection.lo CC lab.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)); | ^~~ 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:62: 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)); | ^~~ 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:63: 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 lab.c:11: lab.c: In function 'color_blend_rgb2lab': ../../lib/common/arith.h:33:37: 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:232:30: note: in expansion of macro 'MAX' 232 | color_lab *lab = gv_calloc(MAX(nc, 1), sizeof(color_lab)); | ^~~ ../../lib/common/arith.h:33:37: 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:243:29: note: in expansion of macro 'MAX' 243 | double *dists = gv_calloc(MAX(1, nc), sizeof(double)); | ^~~ lab.c:255:40: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 255 | double *colors = gv_calloc(maxpoints * cdim, sizeof(double)); | ~~~~~~~~~~^~~~~~ CC lab_gamut.lo CC node_distinct_coloring.lo In file included from ../../lib/sparse/general.h:26, from node_distinct_coloring.c:11: node_distinct_coloring.c: In function 'node_distinct_coloring_internal2': ../../lib/common/arith.h:33:25: 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))){ | ^~ node_distinct_coloring.c:111:67: 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:229:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 229 | *colors = gv_calloc(cdim * n, sizeof(double)); | ~~~~~^~~ node_distinct_coloring.c:230:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 230 | double *ctmp = gv_calloc(cdim * n, sizeof(double)); | ~~~~~^~~ node_distinct_coloring.c:244:65: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 244 | memcpy(&((*colors)[comps[j]*cdim]), &(ctmp[jj*cdim]), cdim*sizeof(double)); | ^ CCLD libedgepaint_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/edgepaint' Making all in circogen gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/circogen' CC circularinit.lo CC nodelist.lo CC edgelist.lo CC block.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*)); | ~~~~~~~~~~~~^~~ CC circular.lo CC blocktree.lo CC blockpath.lo CC circpos.lo 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*)); | ^~~~~~~~~~~ circpos.c: In function 'positionChildren': circpos.c:253:28: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 253 | if (childAngle != 0) { | ^~ CCLD libcircogen_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/circogen' Making all in dotgen gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/dotgen' CC acyclic.lo CC class1.lo CC class2.lo CC cluster.lo cluster.c: In function 'map_path': cluster.c:104:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] 104 | ED_edge_type(e) = type; | ^~~~ cluster.c:114:36: warning: conversion from 'int' to 'char' may change value [-Wconversion] 114 | ED_edge_type(ve) = type; | ^~~~ cluster.c:122:36: warning: conversion from 'int' to 'char' may change value [-Wconversion] 122 | ED_edge_type(ve) = type; | ^~~~ cluster.c:137:35: warning: conversion from 'int' to 'char' may change value [-Wconversion] 137 | ED_edge_type(e) = type; | ^~~~ cluster.c: In function 'build_skeleton': cluster.c:359:54: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 359 | GD_rankleader(subg) = gv_calloc(GD_maxrank(subg) + 2, sizeof(node_t*)); cluster.c: In function 'install_cluster': cluster.c:399:31: warning: conversion from 'int' to 'char' may change value [-Wconversion] 399 | GD_installed(clust) = pass + 1; | ^~~~ CC compound.lo CC conc.lo 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 decomp.lo CC fastgr.lo CC flat.lo CC dotinit.lo CC mincross.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:272:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 272 | Agnode_t **arr = gv_calloc(agnnodes(g), sizeof(Agnode_t*)); | ^~~~~~~~~~~ mincross.c:273:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 273 | int *indices = gv_calloc(agnnodes(g), sizeof(int)); | ^~~~~~~~~~~ mincross.c:281:28: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 281 | qsort(indices, cnt, sizeof(int), ordercmpf); | ^~~ mincross.c: In function 'do_ordering_node': mincross.c:463:21: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 463 | qsort(sortlist, ne, sizeof(sortlist[0]), edgeidcmpf); | ^~ mincross.c: In function 'restore_best': mincross.c:41:25: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 41 | #define saveorder(v) (ND_coord(v)).x | ^ mincross.c:762:27: note: in expansion of macro 'saveorder' 762 | ND_order(n) = saveorder(n); | ^~~~~~~~~ mincross.c:767:45: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 767 | qsort(GD_rank(g)[r].v, GD_rank(g)[r].n, sizeof(GD_rank(g)[0].v[0]), mincross.c: In function 'realFillRanks': mincross.c:995:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 995 | memset (rnks, 0, sizeof(int)*rnks_sz); | ^ mincross.c: In function 'fillRanks': mincross.c:1026:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1026 | int *rnks = gv_calloc(rnks_sz, sizeof(int)); | ^~~~~~~ mincross.c: In function 'init_mincross': mincross.c:1042:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1042 | TE_list = gv_calloc(size, sizeof(edge_t*)); | ^~~~ 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 | TI_list = gv_calloc(size, sizeof(int)); | ^~~~ mincross.c: In function 'allocate_ranks': mincross.c:1156:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1156 | int *cn = gv_calloc(GD_maxrank(g) + 2, sizeof(int)); // must be 0 based, not GD_minrank mincross.c:1171:42: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1171 | GD_rank(g) = gv_calloc(GD_maxrank(g) + 2, sizeof(rank_t)); mincross.c:1174:62: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 1174 | GD_rank(g)[r].av = GD_rank(g)[r].v = gv_calloc(cn[r] + 1, sizeof(node_t*)); | ~~~~~~^~~ 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*)); | ~~~~~~~^~~ In file included from ../../lib/common/geom.h:21, from ../../lib/common/types.h:29, from ../../lib/common/render.h:29, from ../../lib/dotgen/dot.h:13, from mincross.c:24: mincross.c: In function 'mincross_options': ../../lib/common/arith.h:33:25: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 33 | #define MAX(a,b) ((a)>(b)?(a):(b)) | ^ mincross.c:1836:19: note: in expansion of macro 'MAX' 1836 | MinQuit = MAX(1, MinQuit * f); | ^~~ ../../lib/common/arith.h:33:25: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 33 | #define MAX(a,b) ((a)>(b)?(a):(b)) | ^ mincross.c:1837:19: note: in expansion of macro 'MAX' 1837 | MaxIter = MAX(1, MaxIter * f); | ^~~ CC position.lo In file included from ../../lib/common/render.h:29, from ../../lib/dotgen/dot.h:13, from position.c:22: position.c: In function 'allocate_aux_edges': ../../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:9: 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:38: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 262 | last = (ND_rank(v) = last + width); | ^~~~ ../../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:22: 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:25: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 33 | #define MAX(a,b) ((a)>(b)?(a):(b)) | ^ position.c:305:26: 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:22: 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); | ^ position.c: In function 'make_leafslots': position.c:999:38: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 999 | node_t **new_v = gv_calloc(j + 1, sizeof(node_t*)); | ~~^~~ position.c: In function 'ports_eq': position.c:1014:38: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1014 | && ((ED_head_port(e).p.x == ED_head_port(f).p.x && | ^~ position.c:1015:38: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1015 | ED_head_port(e).p.y == ED_head_port(f).p.y) | ^~ position.c:1017:38: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1017 | && ((ED_tail_port(e).p.x == ED_tail_port(f).p.x && | ^~ position.c:1018:38: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1018 | ED_tail_port(e).p.y == ED_tail_port(f).p.y) | ^~ position.c: In function 'make_lrvn': ../../lib/common/arith.h:33:25: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 33 | #define MAX(a,b) ((a)>(b)?(a):(b)) | ^ position.c:1071:17: note: in expansion of macro 'MAX' 1071 | int w = MAX(GD_border(g)[BOTTOM_IX].x, GD_border(g)[TOP_IX].x); | ^~~ CC rank.lo rank.c: In function 'collapse_rankset': rank.c:112:26: warning: conversion from 'int' to 'char' may change value [-Wconversion] 112 | ND_ranktype(u) = kind; | ^~~~ rank.c:117:9: warning: switch missing default case [-Wswitch-default] 117 | switch (kind) { | ^~~~~~ rank.c:135:41: warning: conversion from 'int' to 'char' may change value [-Wconversion] 135 | ND_ranktype(GD_minset(g)) = kind; | ^~~~ rank.c:138:41: warning: conversion from 'int' to 'char' may change value [-Wconversion] 138 | ND_ranktype(GD_maxset(g)) = kind; | ^~~~ rank.c:133:9: 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:29, from ../../lib/dotgen/dot.h:13, from rank.c:27: 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, | ~~~~^~~ rank.c: In function 'readout_levels': rank.c:900:31: 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': 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); } | ~~^~~ CC sameport.lo sameport.c: In function 'sameport': sameport.c:150:9: 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)); | ^ CC dotsplines.lo CC aspect.lo dotsplines.c: In function 'dot_splines_': dotsplines.c:362:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 362 | P.boxes = gv_calloc(n_nodes + 20 * 2 * NSUB, sizeof(boxf)); | ^ dotsplines.c:363:27: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 363 | sd.Rank_box = gv_calloc(i, sizeof(boxf)); | ^ dotsplines.c: In function 'rank_box': dotsplines.c:2087:14: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2087 | if (b.LL.x == b.UR.x) { | ^~ dotsplines.c: In function 'straight_len': dotsplines.c:2111:23: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2111 | if (ND_coord(v).x != ND_coord(n).x) | ^~ CCLD libdotgen_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/dotgen' Making all in fdpgen gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/fdpgen' CC comp.lo CC dbg.lo CC grid.lo CC fdpinit.lo CC layout.lo In file included from ../../lib/common/render.h:29, from ../../lib/fdpgen/fdp.h:13, from comp.c:25: 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:35: 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:37: 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:33: 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:33: note: in expansion of macro 'ND_id' 111 | if (bitarray_get(marks, ND_id(n))) | ^~~~~ 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*)); | ~~~^~~ 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:35: 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:32: 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)); | ^~~~~ layout.c: In function 'addEdge': layout.c:355:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'short int' may change the sign of the result [-Wsign-conversion] 355 | el = gv_recalloc(el, cnt, cnt + 1, sizeof(edge_t*)); | ^~~ layout.c:355:35: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 355 | el = gv_recalloc(el, cnt, cnt + 1, sizeof(edge_t*)); | ~~~~^~~ layout.c: In function 'deriveGraph': layout.c:498:39: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 498 | PORTS(dg) = pq = gv_calloc(sz + 1, sizeof(bport_t)); | ~~~^~~ layout.c: In function 'getEdgeList': layout.c:567:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 567 | erec *erecs = gv_calloc(deg + 1, sizeof(erec)); | ~~~~^~~ layout.c:582:18: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 582 | qsort(erecs, deg, sizeof(erec), ecmp); | ^~~ layout.c:593:46: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 593 | while (j < deg && erecs[j].alpha == a) | ^~ layout.c: In function 'expandCluster': layout.c:685:36: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 685 | bport_t *pp = gv_calloc(sz + 1, sizeof(bport_t)); | ~~~^~~ layout.c: In function 'fdp_init_graph': layout.c:1024:26: warning: conversion from 'int' to 'short unsigned int' may change value [-Wconversion] 1024 | GD_ndim(agroot(g)) = late_int(g, agattr(g,AGRAPH, "dim", NULL), 2, 2); | ^~~~~~~~ CC tlayout.lo CC xlayout.lo xlayout.c: In function 'xinit_params': xlayout.c:78:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 78 | if (xParams.T0 == 0.0) | ^~ xlayout.c: In function 'doRep': xlayout.c:138:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 138 | while (dist2 == 0.0) { | ^~ 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:23: 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:55: 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) { | ^~ CC clusteredges.lo CCLD libfdpgen_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/fdpgen' Making all in neatogen gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/neatogen' CC circuit.lo CC adjust.lo CC edges.lo CC geometry.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) | ^~ adjust.c: In function 'rmEquality': adjust.c:234:28: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 234 | (*jp)->coord.x != (*ip)->coord.x || | ^~ adjust.c:235:28: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 235 | (*jp)->coord.y != (*ip)->coord.y) { | ^~ adjust.c:244:31: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 244 | (*kp)->coord.x == (*ip)->coord.x && | ^~ adjust.c:245:31: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 245 | (*kp)->coord.y == (*ip)->coord.y) { | ^~ adjust.c:252:48: 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:32: 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:35: 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:22: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 898 | if (sc.y == 1 && sc.x == 1) return 0; | ^~ adjust.c:898:35: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 898 | if (sc.y == 1 && sc.x == 1) return 0; | ^~ 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) { | ^~ CC heap.lo CC hedges.lo heap.c: In function 'PQbucket': heap.c:37:18: 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)); | ~~^~~~~~~~~~ CC info.lo hedges.c: In function 'ELinitialize': hedges.c:39:28: 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 *)); | ^~~~~~~~~~ hedges.c: In function 'hintersect': hedges.c:76:30: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 76 | (e1->reg[1]->coord.y == e2->reg[1]->coord.y && | ^~ 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) { | ^~ 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; | ^ 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) | ^~ CC neatoinit.lo CC legal.lo 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:32: 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)); | ^ In file included from ../../lib/common/render.h:29, from ../../lib/neatogen/neato.h:31, from neatoinit.c:25: neatoinit.c: In function 'add_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) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 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, | ^~~~~~~~~~~~ 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, | ~~~~^~~ neatoinit.c: In function 'init_nop': neatoinit.c:601:60: 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:80: 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: ../../lib/common/arith.h:28:25: 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:32: 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*)); | ^~ ../../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:47: note: in expansion of macro 'ED_factor' 847 | graph[i].eweights[idx] += ED_factor(ep); | ^~~~~~~~~ neatoinit.c:849:43: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 849 | graph[i].ewgts[idx] = fmax(graph[i].ewgts[idx], ED_dist(ep)); | ^~~~ ../../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:35: 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:32: note: in expansion of macro 'ED_dist' 860 | *ewgts++ = ED_dist(ep); | ^~~~~~~ neatoinit.c:892:64: 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:68: 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:74: 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)); | ^~ CC lu.lo CC matinv.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:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 145 | if (ls.x == le.x) { | ^~ legal.c:148:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 148 | } else if (ms.x == me.x) { | ^~ legal.c:183:43: 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:16: 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:30: 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:30: 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:48: 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:48: note: in expansion of macro 'EQ_PT' 215 | (vft.x == avft.x && !EQ_PT(vft, p) && !EQ_PT(avft, p)) || | ^~~~~ legal.c:216:16: 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:30: 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:30: 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:48: 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:48: 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) | ^~ 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 memory.lo CC poly.lo 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:32: 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:45: 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:29: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 84 | return ((verts[2].y == verts[3].y) && | ^~ poly.c:85:29: 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:59: 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:29: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 87 | return ((verts[0].x == verts[1].x) && | ^~ poly.c:88:29: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 88 | (verts[2].x == verts[3].x) && | ^~ poly.c:89:29: 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:59: 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:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 336 | if ((cross == 0) && !bHA && !aHB) { | ^~ poly.c: In function 'inPoly': poly.c:384:22: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 384 | if (tp3[i].y == 0 && tp3[i1].y == 0) { | ^~ poly.c:384:40: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 384 | if (tp3[i].y == 0 && tp3[i1].y == 0) { | ^~ poly.c:400:19: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 400 | if (x == 0) | ^~ poly.c:405:30: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 405 | if (tp3[i].y == 0 || tp3[i1].y == 0) { | ^~ poly.c:405:48: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 405 | if (tp3[i].y == 0 || tp3[i1].y == 0) { | ^~ CC site.lo CC solve.lo CC neatosplines.lo CC stuff.lo CC voronoi.lo In file included from ../../lib/util/unreachable.h:5, from neatosplines.c:23: 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 && | ^~ neatosplines.c: In function 'spline_edges_': neatosplines.c:607:25: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 607 | obs = gv_calloc(agnnodes(g), sizeof(Ppoly_t*)); | ^~~~~~~~~~~ In file included from ../../lib/common/render.h:29, from ../../lib/neatogen/neato.h:31, from neatosplines.c:15: 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:1035:13: note: in expansion of macro 'GD_bb' 1035 | if (GD_bb(g).LL.x || GD_bb(g).LL.y) { | ^~~~~ neatosplines.c:1035:27: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1035 | if (GD_bb(g).LL.x || GD_bb(g).LL.y) { | ^~ 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:29: 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:34: 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:42: 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:42: 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 | ~~~^~~ 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*)); | ~~~^~~ 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 stress.lo CC kkutils.lo 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:46: 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:46: 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:34: 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:34: 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:36: 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:42: 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:23: 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)); | ^~~~~~~~~~ stress.c:1005:30: 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:27: 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:48: 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 matrix_ops.lo CC embed_graph.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:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 513 | if (vec[i] != 0.0) { | ^~ embed_graph.c: In function 'embed_graph': embed_graph.c:39:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 39 | DistType *storage = gv_calloc(n * dim, sizeof(DistType)); | ~~^~~~~ embed_graph.c:41:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 41 | DistType *dist = gv_calloc(n, sizeof(DistType)); // this vector stores the | ^ embed_graph.c:48:34: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 48 | *Coords = coords = gv_calloc(dim, sizeof(DistType *)); | ^~~ CC dijkstra.lo CC conjgrad.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:25: 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[i],h->data[j]) || ((EQ(h->data[i],h->data[j])) && (rand()%2))) | ^~ closest.c:96:33: 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:33: 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))) { | ^~~~~~~~~~~~~~~ bfs.c: In function 'mkQueue': bfs.c:76:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 76 | qp->data = gv_calloc(size, sizeof(int)); | ^~~~ CC quad_prog_solve.lo constraint.c: In function 'mapGraphs': constraint.c:148:35: 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:32: warning: conversion from 'double' to 'int' may change value [-Wfloat-conversion] 245 | ED_minlen(e) = delta; | ^~~~~ In file included from ../../lib/common/render.h:29, from ../../lib/neatogen/neato.h:31, from constraint.c:16: 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:13: 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:21: 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:21: 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:14: 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:14: 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:26: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 659 | if (p->pos.x == q->pos.x) | ^~ constraint.c:664:26: 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:30: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 696 | if (p->pos.x == q->pos.x) | ^~ constraint.c:703:30: 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:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 829 | if (s.x == 0) { /* overlaps exist */ | ^~ CC smart_ini_x.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:45: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 230 | if (desired_place[node] == cur_place) { | ^~ quad_prog_solve.c:392:54: 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:37: 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:38: 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:36: 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:42: warning: conversion from 'int' to 'float' may change value [-Wconversion] 195 | row_avg[i]=(float)sum_row/n; | ^ smart_ini_x.c:197:28: 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:38: 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:33: 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:52: 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:35: 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:40: 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:33: 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:37: 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:40: 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:62: 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:54: 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:54: 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:53: 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:53: 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:32: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 360 | if ((b != balance[i]) && (fabs(1-b/balance[i])>1e-5)) { | ^~ CC constrained_majorization.lo constrained_majorization.c: In function 'stress_majorization_with_hierarchy': constrained_majorization.c:86:59: 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:56: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 423 | levels_gap); | ^~~~~~~~~~ CC opt_arrangement.lo CC overlap.lo 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)); | ^ 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)); | ^~~ 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 compute_hierarchy.lo CC delaunay.lo CC multispline.lo compute_hierarchy.c: In function 'compute_hierarchy': compute_hierarchy.c:63:23: 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:39: 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)); | ^~~~~~~~~~ In file included from delaunay.c:24: /home/pbulk/build/graphics/graphviz/work/.buildlink/include/gts.h:261:13: warning: Deprecated pre-processor symbol: replace with "static inline" 261 | G_INLINE_FUNC | ^ /home/pbulk/build/graphics/graphviz/work/.buildlink/include/gts.h:264:13: warning: Deprecated pre-processor symbol: replace with "static inline" 264 | G_INLINE_FUNC | ^ /home/pbulk/build/graphics/graphviz/work/.buildlink/include/gts.h:269:13: warning: Deprecated pre-processor symbol: replace with "static inline" 269 | G_INLINE_FUNC | ^ /home/pbulk/build/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:29: 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:29: 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:34: 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:48: 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:21: 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:30: 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:30: 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)); | ^ multispline.c: In function 'ctrlPtIdx': multispline.c:297:17: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 297 | if (w.x == v.x && w.y == v.y) { | ^~ multispline.c:297:31: 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)); | ~~^~~~~~~~~~~~ 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:37: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 1185 | if (N_VAL(pq, adjn) == UNSEEN) { | ^~ multispline.c:1186:39: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 1186 | N_VAL(pq, adjn) = d; | ^ multispline.c:1193:40: 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)); | ~~~~~~~~~~~~~^~~ CC constrained_majorization_ipsep.lo CC quad_prog_vpsc.lo constrained_majorization_ipsep.c: In function 'stress_majorization_cola': constrained_majorization_ipsep.c:203:33: 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:55: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 394 | generateNonoverlapConstraints(cMajEnvHor, nsizeScale, coords, | ^~~~~~~~~~ constrained_majorization_ipsep.c:413:55: 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:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 73 | place[i] = getVariablePos(e->vs[i]); | ^~~~~~~~~~~~~~ quad_prog_vpsc.c:108:25: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 108 | if (denominator != 0) | ^~ quad_prog_vpsc.c:122:28: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 122 | place[i] = getVariablePos(e->vs[i]); | ^~~~~~~~~~~~~~ quad_prog_vpsc.c:141:25: 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:29: 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:64: 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:53: 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:43: 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:38: 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:40: 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:35: 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:24: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 560 | coords[0][i] = getVariablePos(e->vs[i]); | ^~~~~~~~~~~~~~ quad_prog_vpsc.c:565:24: 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:36: 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:60: 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 function 'PQgen', inlined from 'makeMultiSpline' at multispline.c:1234:5: ../../lib/neatogen/fPQ.h:40:15: warning: array subscript 0 is outside array bounds of 'void[0]' [-Warray-bounds=] 40 | pq->pq[0] = guard; | ~~~~~~~~~~^~~~~~~ In file included from ../../lib/cgraph/list.h:12, from ../../lib/common/globals.h:18, from ../../lib/common/render.h:32, from ../../lib/neatogen/multispline.h:13, from multispline.c:14: In function 'gv_calloc', inlined from 'PQgen' at ../../lib/neatogen/fPQ.h:39:14, inlined from 'makeMultiSpline' at multispline.c:1234:5: ../../lib/util/alloc.h:36:13: note: object of size 0 allocated by 'calloc' 36 | void *p = calloc(nmemb, size); | ^~~~~~~~~~~~~~~~~~~ CC sgd.lo sgd.c: In function 'fisheryates_shuffle': sgd.c:28:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 28 | int j = rk_interval(i, rstate); | ^ sgd.c:28:17: warning: conversion from 'long unsigned int' to 'int' may change value [-Wconversion] 28 | int j = rk_interval(i, rstate); | ^~~~~~~~~~~ In file included from ../../lib/util/bitarray.h:25, from ../../lib/neatogen/sgd.h:4, from sgd.c:4: sgd.c: In function 'extract_adjacency': sgd.c:42:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 42 | assert(ND_id(np) == n_nodes); | ^~ In file included from ../../lib/common/render.h:29, from ../../lib/neatogen/neato.h:31, from sgd.c:3: ../../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:71:39: note: in expansion of macro 'ED_dist' 71 | graph->weights[n_edges] = ED_dist(ep); | ^~~~~~~ sgd.c:113:37: warning: conversion from 'int' to 'float' may change value [-Wconversion] 113 | graph->weights[x] = deg_i + deg_j - (2*intersect); | ^~~~~ sgd.c: In function 'sgd': sgd.c:168:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 168 | term_sgd *terms = gv_calloc(n_terms, sizeof(term_sgd)); | ^~~~~~~ sgd.c:193:21: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 193 | float eta_min = Epsilon / w_max; | ^~~~~~~ sgd.c:194:20: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 194 | float lambda = log(eta_max/eta_min) / (MaxIter-1); | ^~~ sgd.c:199:30: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 199 | float *pos = gv_calloc(2 * n, sizeof(float)); | ~~^~~ sgd.c:200:31: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 200 | bool *unfixed = gv_calloc(n, sizeof(bool)); | ^ ../../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:203:20: note: in expansion of macro 'ND_pos' 203 | 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:204:22: note: in expansion of macro 'ND_pos' 204 | pos[2*i+1] = ND_pos(node)[1]; | ^~~~~~ sgd.c:218:43: warning: conversion from 'int' to 'float' may change value [-Wconversion] 218 | float eta = eta_max * exp(-lambda * t); | ^ sgd.c:218:21: warning: conversion from 'double' to 'float' may change value [-Wfloat-conversion] 218 | float eta = eta_max * exp(-lambda * t); | ^~~~~~~ CC randomkit.lo randomkit.c: In function 'rk_seed': randomkit.c:83:54: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 83 | seed = (1812433253UL * (seed ^ (seed >> 30)) + pos + 1) & 0xffffffffUL; | ^ CCLD libneatogen_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/neatogen' Making all in twopigen gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/twopigen' CC circle.lo CC twopiinit.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:190:28: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to 'double' may change value [-Wconversion] 190 | double ratio = SPAN(n) / STSIZE(n); | ^ circle.c:197:24: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 197 | if (SPAN(next) != 0.0) | ^~ circle.c:199:28: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to 'double' may change value [-Wconversion] 199 | SPAN(next) = ratio * STSIZE(next); | ^ CCLD libtwopigen_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/twopigen' Making all in sfdpgen gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/sfdpgen' CC sfdpinit.lo CC spring_electrical.lo CC sparse_solve.lo CC post_process.lo 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)); | ^ 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)); | ^ 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)); | ^ 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:29, from ../../lib/sfdpgen/sfdp.h:15, from sfdpinit.c:15: ../../lib/common/arith.h:28:25: 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; | ^~~~ 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:36: 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)); | ~~~~^~~ 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)); | ~~~^~ 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:18: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 582 | if (d[j] == 0){ | ^~ post_process.c:585:20: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 585 | if (dist == 0){ | ^~ 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)); | ^ 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)); | ~~~~^~~ 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) { | ^~ 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 '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); | ^~ CC stress_model.lo CC Multilevel.lo 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)); | ~~^~~~~ 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)); | ^ CCLD libsfdpgen_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/sfdpgen' Making all in osage gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/osage' CC osageinit.lo osageinit.c: In function 'layout': osageinit.c:109:36: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 109 | pinfo.vals = gv_calloc(total, sizeof(packval_t)); | ^~~~~ osageinit.c:115:26: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 115 | boxf *gs = gv_calloc(total, sizeof(boxf)); | ^~~~~ osageinit.c:116:33: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 116 | void **children = gv_calloc(total, sizeof(void*)); | ^~~~~ osageinit.c:122:29: warning: conversion to 'packval_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 122 | pinfo.vals[j] = late_int (subg, cattr, 0, 0); | ^~~~~~~~ osageinit.c:136:33: warning: conversion to 'packval_t' {aka 'unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 136 | pinfo.vals[j] = late_int (n, vattr, 0, 0); | ^~~~~~~~ CCLD libosage_C.la gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/osage' Making all in gvpr gmake[3]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/gvpr' CC actions.lo CC compile.lo CC gprstate.lo CC gvpr.lo In file included from compile.c:21: ../../lib/gvpr/compile.h:41:3: error: conflicting types for 'lock_t'; have 'struct ' 41 | } lock_t; | ^~~~~~ In file included from /usr/include/sys/types.h:43, from ../../lib/sfio/sfio.h:25, from ../../lib/ast/ast.h:18, from ../../lib/expr/expr.h:24, from ../../lib/gvpr/actions.h:18, from compile.c:20: /usr/include/sys/machtypes.h:63:25: note: previous declaration of 'lock_t' with type 'lock_t' {aka 'unsigned char'} 63 | typedef unsigned char lock_t; /* lock work for busy wait */ | ^~~~~~ In file included from gvpr.c:28: ../../lib/gvpr/compile.h:41:3: error: conflicting types for 'lock_t'; have 'struct ' 41 | } lock_t; | ^~~~~~ In file included from /usr/include/sys/types.h:43, from ../../lib/sfio/sfio.h:25, from ../../lib/ast/ast.h:18, from ../../lib/expr/expr.h:24, from ../../lib/gvpr/actions.h:18, from gvpr.c:27: /usr/include/sys/machtypes.h:63:25: note: previous declaration of 'lock_t' with type 'lock_t' {aka 'unsigned char'} 63 | typedef unsigned char lock_t; /* lock work for busy wait */ | ^~~~~~ gvpr.c: In function 'chkClose': gvpr.c:834:17: error: request for member 'locked' in something not a structure or union 834 | if (data->lock.locked) | ^ gvpr.c:835:15: error: request for member 'zombie' in something not a structure or union 835 | data->lock.zombie = true; | ^ In file included from actions.c:20: ../../lib/gvpr/compile.h:41:3: error: conflicting types for 'lock_t'; have 'struct ' 41 | } lock_t; | ^~~~~~ In file included from /usr/include/sys/types.h:43, from ../../lib/sfio/sfio.h:25, from ../../lib/ast/ast.h:18, from actions.c:15: /usr/include/sys/machtypes.h:63:25: note: previous declaration of 'lock_t' with type 'lock_t' {aka 'unsigned char'} 63 | typedef unsigned char lock_t; /* lock work for busy wait */ | ^~~~~~ 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:32: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 291 | edgepair_t *data = gv_calloc(agnedges(src), sizeof(edgepair_t)); | ^~~~~~~~~~~~~ actions.c: In function 'lockGraph': actions.c:498:30: error: request for member 'locked' in something not a structure or union 498 | const int oldv = data->lock.locked; | ^ actions.c:500:15: error: request for member 'locked' in something not a structure or union 500 | data->lock.locked = true; | ^ actions.c:502:19: error: request for member 'zombie' in something not a structure or union 502 | if (data->lock.zombie) | ^ compile.c: In function 'iofread': compile.c:58:37: warning: conversion to 'size_t' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion] 58 | return (int)read(fileno(fp), buf, bufsize); | ^~~~~~~ compile.c: In function 'getval': actions.c: In function 'deleteObj': actions.c:525:19: error: request for member 'locked' in something not a structure or union 525 | if (data->lock.locked) { | ^ compile.c:1232:42: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] 1232 | v.integer = lockGraph(gp, args[1].integer); | ~~~~~~~^~~~~~~~ actions.c:527:17: error: request for member 'zombie' in something not a structure or union 527 | data->lock.zombie = true; | ^ actions.c: In function 'openFile': actions.c:624:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 624 | for (idx = 3; idx < elementsof(ex->file); idx++) | ^ compile.c:1447:19: warning: conversion to 'long long int' from 'size_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] 1447 | v.integer = strlen(args[0].string); | ^~~~~~ compile.c:1480:32: warning: conversion from 'long long int' to 'int' may change value [-Wconversion] 1480 | v.string = getArg(args[0].integer, state); | ~~~~~~~^~~~~~~~ compile.c:1498:5: warning: switch missing default case [-Wswitch-default] 1498 | switch (sym->index) { | ^~~~~~ compile.c: In function 'typeChk': compile.c:1693:7: warning: switch missing default case [-Wswitch-default] 1693 | switch (sym->index) { | ^~~~~~ compile.c: In function 'binary': compile.c:1852:5: warning: switch missing default case [-Wswitch-default] 1852 | switch (ex->op) { | ^~~~~~ compile.c:1901:3: warning: switch missing default case [-Wswitch-default] 1901 | switch (ex->op) { | ^~~~~~ compile.c: In function 'convert': compile.c:2095:7: warning: switch missing default case [-Wswitch-default] 2095 | switch (type) { | ^~~~~~ In file included from compile.c:19: 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:2153:17: note: in expansion of macro 'AGID' 2153 | v.integer = AGID(int2ptr(v.integer)); | ^~~~ gmake[3]: *** [Makefile:701: gvpr.lo] Error 1 gmake[3]: *** Waiting for unfinished jobs.... actions.c: In function 'gvelapsed_sec': actions.c:853:62: warning: cast from function call of type 'long int' to non-matching type 'double' [-Wbad-function-cast] 853 | ((S.tms_utime + S.tms_stime - T.tms_utime - T.tms_stime) / (double)HZ) | ^ actions.c:874:8: note: in expansion of macro 'DIFF_IN_SECS' 874 | rv = DIFF_IN_SECS(S, T); | ^~~~~~~~~~~~ actions.c:853:60: warning: conversion from 'clock_t' {aka 'long int'} to 'double' may change value [-Wconversion] 853 | ((S.tms_utime + S.tms_stime - T.tms_utime - T.tms_stime) / (double)HZ) | ^ actions.c:874:8: note: in expansion of macro 'DIFF_IN_SECS' 874 | rv = DIFF_IN_SECS(S, T); | ^~~~~~~~~~~~ gmake[3]: *** [Makefile:701: actions.lo] Error 1 gmake[3]: *** [Makefile:701: compile.lo] Error 1 gmake[3]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib/gvpr' gmake[2]: *** [Makefile:541: all-recursive] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0/lib' gmake[1]: *** [Makefile:755: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/graphics/graphviz/work/graphviz-12.2.0' gmake: *** [Makefile:586: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/graphviz *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/graphviz