<86>Nov 12 04:02:08 userdel[120911]: delete user 'rooter' <86>Nov 12 04:02:08 userdel[120911]: removed group 'rooter' owned by 'rooter' <86>Nov 12 04:02:08 userdel[120911]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 12 04:02:08 groupadd[120930]: group added to /etc/group: name=rooter, GID=684 <86>Nov 12 04:02:08 groupadd[120930]: group added to /etc/gshadow: name=rooter <86>Nov 12 04:02:08 groupadd[120930]: new group: name=rooter, GID=684 <86>Nov 12 04:02:08 useradd[120943]: new user: name=rooter, UID=684, GID=684, home=/root, shell=/bin/bash <86>Nov 12 04:02:08 userdel[120980]: delete user 'builder' <86>Nov 12 04:02:08 userdel[120980]: removed group 'builder' owned by 'builder' <86>Nov 12 04:02:08 userdel[120980]: removed shadow group 'builder' owned by 'builder' <86>Nov 12 04:02:08 groupadd[120998]: group added to /etc/group: name=builder, GID=685 <86>Nov 12 04:02:08 groupadd[120998]: group added to /etc/gshadow: name=builder <86>Nov 12 04:02:08 groupadd[120998]: new group: name=builder, GID=685 <86>Nov 12 04:02:08 useradd[121017]: new user: name=builder, UID=685, GID=685, home=/usr/src, shell=/bin/bash <13>Nov 12 04:02:15 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Nov 12 04:02:15 rpmi: libjpeg-2:1.5.1-alt1 1498218302 installed <13>Nov 12 04:02:15 rpmi: libpng16-1.6.35-alt1 sisyphus.214397.100 1539159326 installed <13>Nov 12 04:02:15 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Nov 12 04:02:15 rpmi: libtiff5-4.0.3-alt1 1348347498 installed <13>Nov 12 04:02:15 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Nov 12 04:02:15 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Nov 12 04:02:15 rpmi: perl-Module-Runtime-0.016-alt1 1509549848 installed <13>Nov 12 04:02:15 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Nov 12 04:02:15 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Nov 12 04:02:15 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Nov 12 04:02:15 rpmi: perl-Term-ANSIColor-4.06-alt1 1479407083 installed <13>Nov 12 04:02:15 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Nov 12 04:02:15 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812760 installed <13>Nov 12 04:02:15 rpmi: libnspr-1:4.19-alt1 1521589045 installed <13>Nov 12 04:02:15 rpmi: libpaper-1.1.24-alt4 1315383473 installed <13>Nov 12 04:02:16 rpmi: libicu63-1:6.3.1-alt1 sisyphus.215328.100 1540049981 installed <13>Nov 12 04:02:16 rpmi: psutils-2:1.23-alt2 sisyphus.216379.100 1541920784 installed <13>Nov 12 04:02:16 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Nov 12 04:02:16 rpmi: libSM-devel-1.2.3-alt1 sisyphus.215747.100 1540812760 installed <13>Nov 12 04:02:16 rpmi: perl-Module-Implementation-0.09-alt1 1418836057 installed <13>Nov 12 04:02:16 rpmi: perl-Dist-CheckConflicts-0.11-alt1 1397076608 installed <13>Nov 12 04:02:16 rpmi: libjasper-2.0.14-alt1 1530105213 installed <13>Nov 12 04:02:16 rpmi: python-module-sphinxcontrib-2.1.1-alt2.1.2 1526455698 installed <13>Nov 12 04:02:16 rpmi: perl-Tie-RefHash-1.39-alt1 1316492563 installed <13>Nov 12 04:02:16 rpmi: perl-MRO-Compat-0.13-alt1 1491292748 installed <13>Nov 12 04:02:16 rpmi: perl-TimeDate-2.30-alt1 1374766201 installed <13>Nov 12 04:02:16 rpmi: perl-IO-stringy-2.111-alt1 1432302202 installed <13>Nov 12 04:02:16 rpmi: perl-Unicode-Normalize-1:5.26.2-alt2 1534850660 installed <13>Nov 12 04:02:16 rpmi: perl-File-Which-1.22-alt1 1506480125 installed <13>Nov 12 04:02:16 rpmi: perl-Devel-StackTrace-1:2.03-alt1 1511420922 installed <13>Nov 12 04:02:16 rpmi: perl-Sub-Exporter-Progressive-0.001013-alt1 1479395404 installed <13>Nov 12 04:02:16 rpmi: libtcl-8.6.8-alt1 1518663608 installed <13>Nov 12 04:02:17 rpmi: tcl-8.6.8-alt1 1518663608 installed <13>Nov 12 04:02:17 rpmi: libsqlite3-3.25.2-alt2 sisyphus.215082.100 1539700192 installed <13>Nov 12 04:02:17 rpmi: libopenblas-0.2.20-alt1 1527006103 installed <13>Nov 12 04:02:17 rpmi: zlib-devel-1.2.8-alt1 1371079009 installed <13>Nov 12 04:02:17 rpmi: libpixman-3:0.34.0-alt1 1480491642 installed <13>Nov 12 04:02:17 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Nov 12 04:02:17 rpmi: libwayland-server-1.16.0-alt1 1535614868 installed <13>Nov 12 04:02:17 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Nov 12 04:02:17 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed <13>Nov 12 04:02:17 rpmi: perl-Compress-Raw-Zlib-2.081-alt1 1523236571 installed <13>Nov 12 04:02:17 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Nov 12 04:02:17 rpmi: libgc-7.6.8-alt1 sisyphus.216106.100 1541351010 installed <13>Nov 12 04:02:17 rpmi: libopenjpeg2.0-2.3.0-alt2 sisyphus.216213.100 1541598434 installed <13>Nov 12 04:02:17 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1.1 1525115736 installed <13>Nov 12 04:02:17 rpmi: libgraphite2-1.3.12-alt2.1 sisyphus.215942.100 1540990747 installed <13>Nov 12 04:02:17 rpmi: libharfbuzz-2.0.2-alt1 sisyphus.215425.100 1540400149 installed <13>Nov 12 04:02:17 rpmi: libfreetype-2.9.1-alt1.S1 1530781049 installed <13>Nov 12 04:02:17 rpmi: fontconfig-2.13.1-alt1 sisyphus.215917.100 1540973883 installed Updating fonts cache: <29>Nov 12 04:02:18 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Nov 12 04:02:18 rpmi: fonts-type1-urw-3:1.0.7pre44-alt2 1419342366 installed <13>Nov 12 04:02:18 rpmi: libharfbuzz-icu-2.0.2-alt1 sisyphus.215425.100 1540400149 installed <13>Nov 12 04:02:18 rpmi: libgraphite2-devel-1.3.12-alt2.1 sisyphus.215942.100 1540990747 installed <13>Nov 12 04:02:18 rpmi: rpm-build-gir-0.7.2-alt4 1534675014 installed <13>Nov 12 04:02:18 rpmi: libgc-devel-7.6.8-alt1 sisyphus.216106.100 1541351010 installed <13>Nov 12 04:02:18 rpmi: libXau-devel-1.0.8-alt1 1369565807 installed <13>Nov 12 04:02:18 rpmi: perl-Devel-GlobalDestruction-1:0.14-alt1 1479389769 installed <13>Nov 12 04:02:18 rpmi: perl-File-HomeDir-1.004-alt1 1525450444 installed <13>Nov 12 04:02:18 rpmi: perl-unicore-1:5.26.2-alt2 1534850660 installed <13>Nov 12 04:02:19 rpmi: perl-Net-IDN-Encode-2.401-alt1 sisyphus.213503.100 1537609145 installed <13>Nov 12 04:02:19 rpmi: perl-OLE-Storage_Lite-0.19-alt2 1291028388 installed <13>Nov 12 04:02:19 rpmi: perl-Role-Tiny-2.000006-alt1 1513709006 installed <13>Nov 12 04:02:19 rpmi: perl-autodie-2.29-alt1 1445013559 installed <13>Nov 12 04:02:19 rpmi: icu-utils-1:6.3.1-alt1 sisyphus.215328.100 1540049981 installed <13>Nov 12 04:02:19 rpmi: libicu-devel-1:6.3.1-alt1 sisyphus.215328.100 1540049981 installed <13>Nov 12 04:02:19 rpmi: libgdbm-devel-1.8.3-alt10 1454943313 installed <13>Nov 12 04:02:19 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Nov 12 04:02:19 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Nov 12 04:02:19 rpmi: libOpenGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Nov 12 04:02:19 rpmi: libGLES-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Nov 12 04:02:19 rpmi: zziplib-0.13.69-alt1 1523001466 installed <13>Nov 12 04:02:19 rpmi: tex-common-0.2-alt4 1244804096 installed <13>Nov 12 04:02:19 rpmi: t1utils-1.41-alt1 1502978415 installed <13>Nov 12 04:02:19 rpmi: ttf2pt1-3.4.4-alt1.qa1 1366267504 installed <13>Nov 12 04:02:19 rpmi: rpm-build-tcl-0.5.1-alt1 1519671307 installed <13>Nov 12 04:02:19 rpmi: tcl-devel-8.6.8-alt1 1518663608 installed <13>Nov 12 04:02:19 rpmi: python-module-imagesize-0.7.1-alt1 1461387704 installed <13>Nov 12 04:02:19 rpmi: python-sphinx-objects.inv-1:2.3.8.20181109-alt1 sisyphus.216361.100 1541805649 installed <13>Nov 12 04:02:19 rpmi: python-module-google-0.4.2-alt2.1 1517733339 installed <13>Nov 12 04:02:19 rpmi: python-module-enum34-1.1.6-alt3 1527251693 installed <13>Nov 12 04:02:19 rpmi: perl-Text-Unidecode-1.30-alt1 1480505027 installed <13>Nov 12 04:02:19 rpmi: perl-Unicode-Map-0.112-alt7 1530370825 installed <13>Nov 12 04:02:19 rpmi: perl-Math-Complex-1.59-alt1 1334229876 installed <13>Nov 12 04:02:19 rpmi: perl-XML-RegExp-0.04-alt1 1348526543 installed <13>Nov 12 04:02:19 rpmi: perl-Package-Stash-XS-0.28-alt2.1.1.1.1 1513352296 installed <13>Nov 12 04:02:19 rpmi: perl-Package-Stash-0.37-alt1 1412723835 installed <13>Nov 12 04:02:19 rpmi: perl-Sub-Identify-0.14-alt1.1 1513352366 installed <13>Nov 12 04:02:19 rpmi: perl-Sub-Quote-2.005001-alt1 1524683989 installed <13>Nov 12 04:02:19 rpmi: perl-Mail-Sendmail-0.80-alt1 1504118031 installed <13>Nov 12 04:02:19 rpmi: perl-Mail-Sender-1:0.903-alt1 1479576662 installed <13>Nov 12 04:02:19 rpmi: ppp-common-0.5.1-alt1 1244040597 installed <13>Nov 12 04:02:19 rpmi: sendmail-common-1.7-alt3 1353029717 installed <13>Nov 12 04:02:19 rpmi: perl-Locale-Maketext-Simple-0.21-alt3 1321333616 installed <13>Nov 12 04:02:19 rpmi: perl-IPC-System-Simple-1.25-alt2_1 1388863478 installed <13>Nov 12 04:02:19 rpmi: perl-Term-Cap-1.17-alt1 1445018869 installed <13>Nov 12 04:02:19 rpmi: perl-Pod-Escapes-1.07-alt1 1418767892 installed <13>Nov 12 04:02:19 rpmi: perl-File-Copy-Recursive-0.44-alt1 1525447381 installed <13>Nov 12 04:02:19 rpmi: perl-Email-Date-Format-1.005-alt1 1413796337 installed <13>Nov 12 04:02:19 rpmi: perl-Digest-SHA1-2.13-alt5.1.1.1.1 1513356469 installed <13>Nov 12 04:02:19 rpmi: perl-Digest-Perl-MD5-1.9-alt1 1394057208 installed <13>Nov 12 04:02:19 rpmi: perl-PadWalker-2.3-alt1.1 1513352262 installed <13>Nov 12 04:02:19 rpmi: perl-Devel-Caller-2.06-alt2.1.1.1.1 1513352398 installed <13>Nov 12 04:02:19 rpmi: perl-Devel-LexAlias-0.05-alt2_17 1531757319 installed <13>Nov 12 04:02:19 rpmi: perl-Eval-Closure-0.14-alt1 1465147597 installed <13>Nov 12 04:02:19 rpmi: perl-DBI-1.642-alt1 sisyphus.215860.100 1540963439 installed <13>Nov 12 04:02:19 rpmi: perl-Crypt-RC4-2.02-alt1 1319549646 installed <13>Nov 12 04:02:19 rpmi: perl-Class-Data-Inheritable-0.08-alt2 1316996762 installed <13>Nov 12 04:02:19 rpmi: perl-Exception-Class-1.44-alt1 1513614520 installed <13>Nov 12 04:02:19 rpmi: perl-Params-ValidationCompiler-0.30-alt1 1533170707 installed <13>Nov 12 04:02:19 rpmi: perl-Variable-Magic-0.62-alt1.1 1513352333 installed <13>Nov 12 04:02:19 rpmi: perl-B-Hooks-EndOfScope-0.24-alt1 1524680298 installed <13>Nov 12 04:02:19 rpmi: perl-namespace-clean-0.27-alt1 1464272543 installed <13>Nov 12 04:02:19 rpmi: perl-namespace-autoclean-0.28-alt1 1444994071 installed <13>Nov 12 04:02:19 rpmi: ncompress-4.2.4.4-alt1 1366160439 installed <13>Nov 12 04:02:19 rpmi: mailx-8.1.2-alt7 1366314831 installed <13>Nov 12 04:02:19 rpmi: sharutils-4.6.3-alt1.1.qa2.1 1449219807 installed <13>Nov 12 04:02:19 rpmi: libyaml2-0.2.1-alt1 sisyphus.214707.100 1539464409 installed <13>Nov 12 04:02:19 rpmi: libxapian-1.4.5-alt3 sisyphus.215025.100 1539610702 installed <13>Nov 12 04:02:19 rpmi: libtexlua5-2018-alt2_4 sisyphus.215831.100 1540947184 installed <13>Nov 12 04:02:19 rpmi: libteckit-2.5.1-alt2.1 1319227424 installed <13>Nov 12 04:02:19 rpmi: libteckit-utils-2.5.1-alt2.1 1319227424 installed <13>Nov 12 04:02:19 rpmi: libsynctex1-2018-alt2_4 sisyphus.215831.100 1540947184 installed <13>Nov 12 04:02:19 rpmi: libruby-2.5.1-alt4 sisyphus.209945.120 1537061429 installed <13>Nov 12 04:02:19 rpmi: vapi-common-0.42.3-alt1 sisyphus.216231.100 1541621201 installed <13>Nov 12 04:02:19 rpmi: libqqwing-1.3.4-alt2 1436192940 installed <13>Nov 12 04:02:19 rpmi: qqwing-1.3.4-alt2 1436192940 installed <13>Nov 12 04:02:19 rpmi: poppler-data-0.4.9-alt1 sisyphus.216033.100 1541141723 installed <13>Nov 12 04:02:19 rpmi: libpng12-1.2.50-alt2 1347753407 installed <13>Nov 12 04:02:19 rpmi: libnumpy-1:1.13.3-alt2.2.qa1 sisyphus.214885.100 1539806593 installed <13>Nov 12 04:02:19 rpmi: xorg-rgb-1.0.4-alt1.qa1 1366268675 installed <13>Nov 12 04:02:19 rpmi: libnetpbm-10.35.97-alt1.qa1 sisyphus.214808.100 1539731131 installed <13>Nov 12 04:02:19 rpmi: liblcms2-2.9-alt1 1516411888 installed <13>Nov 12 04:02:20 rpmi: libxblas-1.0.248-alt1.1 1496143642 installed <13>Nov 12 04:02:20 rpmi: libkpathsea6-2018-alt2_4 sisyphus.215831.100 1540947184 installed <13>Nov 12 04:02:20 rpmi: libptexenc1-2018-alt2_4 sisyphus.215831.100 1540947184 installed <13>Nov 12 04:02:20 rpmi: libjbig-2.1-alt1 1401380921 installed <13>Nov 12 04:02:20 rpmi: libgts-0.7.6-alt2.drc20130205 1360123643 installed <13>Nov 12 04:02:20 rpmi: libgtk+2-locales-2.24.32-alt2 1518699309 installed <13>Nov 12 04:02:20 rpmi: libquadmath0-7.3.1-alt5 1531512602 installed <13>Nov 12 04:02:20 rpmi: libgfortran4-7.3.1-alt5 1531512602 installed <13>Nov 12 04:02:20 rpmi: liblapack-1:3.8.0-alt1 1527158327 installed <13>Nov 12 04:02:20 rpmi: libwebp7-1.0.0-alt2.1 sisyphus.215162.400 1539895635 installed <13>Nov 12 04:02:20 rpmi: libfribidi-1.0.5-alt1 1532424343 installed <13>Nov 12 04:02:20 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed <13>Nov 12 04:02:20 rpmi: libthai-0.1.28-alt1_1 sisyphus.214516.100 1539257851 installed <13>Nov 12 04:02:20 rpmi: libsombok-2.4.0-alt1_8 sisyphus.214514.100 1539257352 installed <13>Nov 12 04:02:20 rpmi: libidn2-2.0.5-alt1 1526923871 installed <13>Nov 12 04:02:20 rpmi: publicsuffix-list-dafsa-20181106-alt1 sisyphus.216228.100 1541611754 installed <13>Nov 12 04:02:20 rpmi: libpsl-0.20.2-alt2 sisyphus.216228.200 1541611883 installed <13>Nov 12 04:02:20 rpmi: libnghttp2-1.34.0-alt1 sisyphus.214524.100 1539249616 installed <13>Nov 12 04:02:20 rpmi: libpng15-1.5.28-alt2 1497966592 installed <13>Nov 12 04:02:20 rpmi: libpng15-devel-1.5.28-alt2 1497966592 installed <13>Nov 12 04:02:20 rpmi: libatk-locales-2.30.0-alt1 sisyphus.212779.100 1536768328 installed <13>Nov 12 04:02:20 rpmi: libatk-2.30.0-alt1 sisyphus.212779.100 1536768328 installed <13>Nov 12 04:02:20 rpmi: libann-1.1.2-alt4 1299827962 installed <13>Nov 12 04:02:20 rpmi: libxshmfence-1.2-alt2 1518613549 installed <13>Nov 12 04:02:20 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Nov 12 04:02:20 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Nov 12 04:02:20 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170828 installed <13>Nov 12 04:02:21 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Nov 12 04:02:21 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Nov 12 04:02:21 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Nov 12 04:02:21 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Nov 12 04:02:21 rpmi: libXmu-1.1.2-alt1 1391072528 installed <13>Nov 12 04:02:21 rpmi: libXft-2.3.2-alt1 1409902650 installed <13>Nov 12 04:02:21 rpmi: libXpm-3.5.11-alt1 1391072398 installed <13>Nov 12 04:02:21 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Nov 12 04:02:21 rpmi: libXaw-1.0.12-alt1 1391072621 installed <13>Nov 12 04:02:21 rpmi: libgd3-2.2.5-alt2.S1 1525496211 installed <13>Nov 12 04:02:21 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Nov 12 04:02:21 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Nov 12 04:02:21 rpmi: libXi-1.7.9-alt1.S1 1515755338 installed <13>Nov 12 04:02:21 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Nov 12 04:02:22 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170828 installed <13>Nov 12 04:02:22 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Nov 12 04:02:22 rpmi: libXt-devel-1.1.4-alt1 1369984716 installed <13>Nov 12 04:02:22 rpmi: libXmu-devel-1.1.2-alt1 1391072528 installed <13>Nov 12 04:02:22 rpmi: libXrender-devel-0.9.8-alt1 1371312110 installed <13>Nov 12 04:02:22 rpmi: libXext-devel-1.3.3-alt1 1409902932 installed <13>Nov 12 04:02:22 rpmi: libXcursor-1.1.15-alt1.S1 1512373363 installed <13>Nov 12 04:02:22 rpmi: libtk-8.6.8-alt1 1518663802 installed <13>Nov 12 04:02:22 rpmi: tk-8.6.8-alt1 1518663802 installed <13>Nov 12 04:02:22 rpmi: libXinerama-1.1.3-alt2 1527671624 installed <13>Nov 12 04:02:22 rpmi: libXcomposite-0.4.3-alt3 1297306939 installed <13>Nov 12 04:02:22 rpmi: libwayland-client-1.16.0-alt1 1535614868 installed <13>Nov 12 04:02:22 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Nov 12 04:02:22 rpmi: libdrm-1:2.4.96-alt1 sisyphus.215486.100 1540374008 installed <13>Nov 12 04:02:23 rpmi: libGLX-mesa-4:18.2.4-alt1 sisyphus.215982.200 1541500289 installed <13>Nov 12 04:02:23 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Nov 12 04:02:23 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Nov 12 04:02:23 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Nov 12 04:02:23 rpmi: libfreeglut-3.0.0-alt3 sisyphus.215254.100 1540853073 installed <13>Nov 12 04:02:23 rpmi: libgbm-4:18.2.4-alt1 sisyphus.215982.200 1541500289 installed <13>Nov 12 04:02:23 rpmi: libEGL-mesa-4:18.2.4-alt1 sisyphus.215982.200 1541500289 installed <13>Nov 12 04:02:23 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Nov 12 04:02:23 rpmi: libcairo-1:1.16.0-alt1 sisyphus.215566.100 1540457760 installed <13>Nov 12 04:02:23 rpmi: libpango-1.42.4-alt1 1534787249 installed <13>Nov 12 04:02:23 rpmi: libglvnd-devel-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Nov 12 04:02:23 rpmi: libGL-devel-4:18.2.4-alt1 sisyphus.215982.200 1541500289 installed <13>Nov 12 04:02:23 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Nov 12 04:02:23 rpmi: libpangox-compat-0.0.2-alt1 1465069388 installed <13>Nov 12 04:02:23 rpmi: libEGL-devel-4:18.2.4-alt1 sisyphus.215982.200 1541500289 installed <13>Nov 12 04:02:23 rpmi: liblasi-1.1.2-alt1.qa1 1460141148 installed <13>Nov 12 04:02:23 rpmi: less-481-alt2 1477575585 installed <13>Nov 12 04:02:23 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Nov 12 04:02:23 rpmi: perl-Compress-Raw-Bzip2-2.081-alt1 1523236185 installed <13>Nov 12 04:02:23 rpmi: perl-Filter-1.59-alt1 1533737240 installed <13>Nov 12 04:02:23 rpmi: perl-Encode-2.98-alt1 1525447808 installed <13>Nov 12 04:02:23 rpmi: perl-URI-1.74-alt1 1525446424 installed <13>Nov 12 04:02:23 rpmi: perl-HTML-Parser-3.72-alt1.1.1 1513340652 installed <13>Nov 12 04:02:23 rpmi: perl-IO-Compress-2.081-alt1 1523237108 installed <13>Nov 12 04:02:23 rpmi: perl-Net-HTTP-6.18-alt1 1526560501 installed <13>Nov 12 04:02:23 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Nov 12 04:02:23 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Nov 12 04:02:23 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Nov 12 04:02:23 rpmi: perl-HTTP-Message-6.18-alt1 1528288416 installed <13>Nov 12 04:02:23 rpmi: perl-HTTP-Cookies-6.04-alt1 1504116575 installed <13>Nov 12 04:02:23 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Nov 12 04:02:23 rpmi: perl-libwww-6.36-alt1 sisyphus.215515.100 1540400896 installed <13>Nov 12 04:02:23 rpmi: perl-XML-Parser-2.44-alt2.1.1 1513346066 installed <13>Nov 12 04:02:23 rpmi: perl-XML-DOM-1.46-alt1 1474815568 installed <13>Nov 12 04:02:23 rpmi: perl-XML-XPath-1.44-alt1 sisyphus.215541.100 1540451758 installed <13>Nov 12 04:02:23 rpmi: perl-HTML-Form-6.03-alt1_18 1531781634 installed <13>Nov 12 04:02:23 rpmi: perl-XML-Writer-0.625-alt1 1402417374 installed <13>Nov 12 04:02:23 rpmi: perl-Pod-Simple-3.35-alt1 1482098090 installed <13>Nov 12 04:02:23 rpmi: perl-Pod-Usage-1.69-alt1 1464274721 installed <13>Nov 12 04:02:23 rpmi: perl-podlators-4.11-alt1 1525935408 installed <13>Nov 12 04:02:23 rpmi: perl-HTML-Formatter-2.16-alt1 1482105372 installed <13>Nov 12 04:02:23 rpmi: perl-HTML-Tree-5.07-alt1 1506480309 installed <13>Nov 12 04:02:23 rpmi: perl-WWW-Mechanize-1.89-alt1 sisyphus.215539.100 1540448373 installed <13>Nov 12 04:02:23 rpmi: perl-MIME-Types-2.17-alt1 1517533413 installed <13>Nov 12 04:02:23 rpmi: perl-MIME-Charset-1.012.2-alt1 1494353584 installed <13>Nov 12 04:02:23 rpmi: perl-Unicode-LineBreak-2018.003-alt1 1522477364 installed <13>Nov 12 04:02:23 rpmi: perl-Text-CSV_XS-1.37-alt1 sisyphus.214305.100 1539023290 installed <13>Nov 12 04:02:23 rpmi: perl-Spreadsheet-ParseExcel-1:0.65-alt1 1395677487 installed <13>Nov 12 04:02:23 rpmi: perl-Tk-804.034-alt1.1 1513447171 installed <13>Nov 12 04:02:23 rpmi: perl-YAML-Tiny-1.73-alt1 1520430664 installed <13>Nov 12 04:02:23 rpmi: libdb4.7-devel-4.7.25-alt9 1490438456 installed <13>Nov 12 04:02:23 rpmi: perl-devel-1:5.26.2-alt2 1534850660 installed <13>Nov 12 04:02:23 rpmi: hwinfo-utils-21.23-alt1 1449144170 installed <13>Nov 12 04:02:23 rpmi: perl-Test-Fatal-0.014-alt1 1418768336 installed <13>Nov 12 04:02:23 rpmi: perl-Specio-0.43-alt1 sisyphus.215861.100 1540964587 installed <13>Nov 12 04:02:23 rpmi: swig-data-1:3.0.12-alt4.S1.1 sisyphus.209945.42010 1537076650 installed <13>Nov 12 04:02:23 rpmi: hd2u-1.0.3-alt2 1400842666 installed <13>Nov 12 04:02:23 rpmi: libgmp-devel-6.1.2-alt2 1492204409 installed <13>Nov 12 04:02:23 rpmi: libltdl7-2.4.2-alt6 1533413284 installed <13>Nov 12 04:02:24 rpmi: guile22-2.2.4-alt3 1533908773 installed <13>Nov 12 04:02:24 rpmi: guile-2.2-alt2 1533908840 installed <13>Nov 12 04:02:24 rpmi: guile-devel-2.2-alt2 1533908840 installed <13>Nov 12 04:02:24 rpmi: guile22-devel-2.2.4-alt3 1533908773 installed <13>Nov 12 04:02:24 rpmi: libgdk-pixbuf-locales-2.38.0-alt2 sisyphus.213523.100 1537685512 installed <13>Nov 12 04:02:24 rpmi: shared-mime-info-1.10-alt1.1 1530525597 installed <13>Nov 12 04:02:24 rpmi: gsettings-desktop-schemas-data-3.28.1-alt1 sisyphus.212587.100 1536082062 installed <13>Nov 12 04:02:24 rpmi: libgio-2.58.1-alt3 sisyphus.214034.100 1538601655 installed <13>Nov 12 04:02:24 rpmi: gsettings-desktop-schemas-3.28.1-alt1 sisyphus.212587.100 1536082062 installed <13>Nov 12 04:02:24 rpmi: libgdk-pixbuf-2.38.0-alt2 sisyphus.213523.100 1537685512 installed <13>Nov 12 04:02:24 rpmi: gtk-update-icon-cache-3.24.1-alt1 sisyphus.213271.100 1537346040 installed <13>Nov 12 04:02:24 rpmi: libgdk-pixbuf-xlib-2.38.0-alt2 sisyphus.213523.100 1537685512 installed <13>Nov 12 04:02:24 rpmi: librsvg-1:2.44.8-alt1 sisyphus.215574.100 1540470645 installed <13>Nov 12 04:02:24 rpmi: liblz4-1:1.8.3-alt1 sisyphus.213737.100 1538009646 installed <13>Nov 12 04:02:25 rpmi: libgpg-error-1.31-alt1.S1 1529015796 installed <13>Nov 12 04:02:25 rpmi: libgcrypt20-1.8.3-alt3 sisyphus.214019.140 1538990261 installed <13>Nov 12 04:02:25 rpmi: libsystemd-1:239-alt3 sisyphus.215710.300 1540765573 installed <13>Nov 12 04:02:25 rpmi: libdbus-1.12.10-alt1 sisyphus.212941.100 1536831868 installed <13>Nov 12 04:02:25 rpmi: libavahi-0.6.32-alt1 1500485694 installed <13>Nov 12 04:02:25 rpmi: libxslt-1.1.32-alt2 1517429962 installed <13>Nov 12 04:02:25 rpmi: gcc-c++-common-1.4.22-alt1 1519183788 installed <13>Nov 12 04:02:25 rpmi: libstdc++7-devel-7.3.1-alt5 1531512602 installed <13>Nov 12 04:02:26 rpmi: gcc7-c++-7.3.1-alt5 1531512602 installed <13>Nov 12 04:02:26 rpmi: libdialog-1.3.20171209-alt1 1529583087 installed <13>Nov 12 04:02:26 rpmi: dialog-1.3.20171209-alt1 1529583087 installed <13>Nov 12 04:02:26 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831969 installed <13>Nov 12 04:02:26 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831969 installed <13>Nov 12 04:02:26 rpmi: python-modules-curses-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:26 rpmi: libverto-0.3.0-alt1_5 1525957716 installed <13>Nov 12 04:02:26 rpmi: libkeyutils-1.5.10-alt1 1489994069 installed <13>Nov 12 04:02:26 rpmi: libcom_err-1.44.3-alt1 1532134713 installed <13>Nov 12 04:02:26 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Nov 12 04:02:26 rpmi: rpm-macros-alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 12 04:02:26 rpmi: alternatives-0.4.5-alt1.1 1404382149 installed <13>Nov 12 04:02:26 rpmi: libnss-3.39.0-alt1 sisyphus.212781.200 1536519321 installed <13>Nov 12 04:02:26 rpmi: nss-utils-3.39.0-alt1 sisyphus.212781.200 1536519321 installed <13>Nov 12 04:02:27 rpmi: netpbm-10.35.97-alt1.qa1 sisyphus.214808.100 1539731131 installed <13>Nov 12 04:02:27 rpmi: gambit-4.7.7-alt1.1.1 1520125513 installed <13>Nov 12 04:02:27 rpmi: foomatic-db-engine-4.0.12-alt1 1449527980 installed <13>Nov 12 04:02:27 rpmi: libp11-kit-0.23.9-alt5 1525798241 installed <13>Nov 12 04:02:27 rpmi: ca-certificates-2018.09.09-alt1 sisyphus.212781.100 1536518628 installed <13>Nov 12 04:02:27 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Nov 12 04:02:27 rpmi: p11-kit-trust-0.23.9-alt5 1525798241 installed <13>Nov 12 04:02:27 rpmi: libcrypto1.1-1.1.0i-alt1 1535471288 installed <13>Nov 12 04:02:27 rpmi: libssl1.1-1.1.0i-alt1 1535471288 installed <86>Nov 12 04:02:27 groupadd[49173]: group added to /etc/group: name=_keytab, GID=499 <86>Nov 12 04:02:27 groupadd[49173]: group added to /etc/gshadow: name=_keytab <86>Nov 12 04:02:27 groupadd[49173]: new group: name=_keytab, GID=499 <13>Nov 12 04:02:27 rpmi: libkrb5-1.16.2-alt1 sisyphus.216047.100 1541159108 installed <13>Nov 12 04:02:27 rpmi: libpython3-3.6.5-alt1.1 1535734400 installed <13>Nov 12 04:02:27 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Nov 12 04:02:27 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Nov 12 04:02:27 rpmi: python3-3.6.5-alt1.1 1535734400 installed <13>Nov 12 04:02:28 rpmi: python3-base-3.6.5-alt1.1 1535734400 installed <13>Nov 12 04:02:28 rpmi: glib2-devel-2.58.1-alt3 sisyphus.214034.100 1538601655 installed <13>Nov 12 04:02:28 rpmi: libgio-devel-2.58.1-alt3 sisyphus.214034.100 1538601655 installed <13>Nov 12 04:02:28 rpmi: libgdk-pixbuf-devel-2.38.0-alt2 sisyphus.213523.100 1537685512 installed <13>Nov 12 04:02:28 rpmi: libcups-2.2.6-alt1 1510070331 installed <13>Nov 12 04:02:28 rpmi: libgtk+2-2.24.32-alt2 1518699259 installed <13>Nov 12 04:02:28 rpmi: libgs-9.25-alt2 sisyphus.213398.100 1537455952 installed <13>Nov 12 04:02:29 rpmi: ghostscript-common-9.25-alt2 sisyphus.213398.100 1537455952 installed <13>Nov 12 04:02:30 rpmi: ghostscript-classic-9.25-alt2 sisyphus.213398.100 1537455952 installed <13>Nov 12 04:02:30 rpmi: libcrypto10-1.0.2p-alt2 1535474143 installed <13>Nov 12 04:02:30 rpmi: libssl10-1.0.2p-alt2 1535474143 installed <13>Nov 12 04:02:30 rpmi: ruby-stdlibs-2.5.1-alt4 sisyphus.209945.120 1537061429 installed <13>Nov 12 04:02:30 rpmi: ruby-2.5.1-alt4 sisyphus.209945.120 1537061429 installed <13>Nov 12 04:02:30 rpmi: libglade-2.6.4-alt5.qa1 1366416175 installed <13>Nov 12 04:02:30 rpmi: libgtkglext-1.2.0-alt4 1526376544 installed <13>Nov 12 04:02:30 rpmi: libharfbuzz-devel-2.0.2-alt1 sisyphus.215425.100 1540400149 installed <13>Nov 12 04:02:31 rpmi: libfreetype-devel-2.9.1-alt1.S1 1530781049 installed <13>Nov 12 04:02:31 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus.215917.100 1540973883 installed <13>Nov 12 04:02:31 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus.215566.100 1540457760 installed <13>Nov 12 04:02:31 rpmi: libXft-devel-2.3.2-alt1 1409902650 installed <13>Nov 12 04:02:31 rpmi: libpango-devel-1.42.4-alt1 1534787249 installed <13>Nov 12 04:02:31 rpmi: libpangox-compat-devel-0.0.2-alt1 1465069388 installed <13>Nov 12 04:02:31 rpmi: libatk-devel-2.30.0-alt1 sisyphus.212779.100 1536768328 installed <13>Nov 12 04:02:31 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Nov 12 04:02:31 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Nov 12 04:02:31 rpmi: python-modules-compiler-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-modules-email-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-modules-unittest-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-modules-nis-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-modules-encodings-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-modules-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-module-six-1.11.0-alt2 1535611135 installed <13>Nov 12 04:02:31 rpmi: python-modules-xml-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-modules-ctypes-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-module-pkg_resources-1:40.5.0-alt1 sisyphus.216029.100 1541106477 installed <13>Nov 12 04:02:31 rpmi: python-modules-json-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-modules-multiprocessing-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-modules-logging-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-modules-hotshot-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-module-py-1.7.0-alt1 sisyphus.214414.220 1539670883 installed <13>Nov 12 04:02:31 rpmi: python-module-chardet-3.0.4-alt1 1506613818 installed <13>Nov 12 04:02:31 rpmi: python-tools-2to3-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-module-future-0.16.0-alt2 1500998941 installed <13>Nov 12 04:02:31 rpmi: python-module-pyglet-1.3.0-alt4.a1.hg20150730.1.1.1 1460413686 installed <13>Nov 12 04:02:31 rpmi: python-module-whoosh-2.7.4-alt1 1527697941 installed <13>Nov 12 04:02:31 rpmi: python-module-webencodings-0.5.1-alt1.1 1517943573 installed <13>Nov 12 04:02:31 rpmi: gtk-builder-convert-2.24.32-alt2 1518699309 installed <13>Nov 12 04:02:31 rpmi: libgtk+2-devel-2.24.32-alt2 1518699259 installed <13>Nov 12 04:02:31 rpmi: python-module-more-itertools-4.3.0-alt1 1533048475 installed <13>Nov 12 04:02:31 rpmi: python-modules-bsddb-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:31 rpmi: python-strict-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:32 rpmi: python-modules-distutils-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:32 rpmi: python-module-idna-2.7-alt1 1530720902 installed <13>Nov 12 04:02:32 rpmi: python-module-numpy-1:1.13.3-alt2.2.qa1 sisyphus.214885.100 1539806593 installed <13>Nov 12 04:02:32 rpmi: python-module-numpy-testing-1:1.13.3-alt2.2.qa1 sisyphus.214885.100 1539806593 installed <13>Nov 12 04:02:32 rpmi: python-module-pycparser-2.19-alt1 sisyphus.216095.100 1541345023 installed <13>Nov 12 04:02:32 rpmi: python-module-cffi-1.10.0-alt1.1 1525117590 installed <13>Nov 12 04:02:32 rpmi: python-module-asn1crypto-0.24.0-alt1 1521037480 installed <13>Nov 12 04:02:32 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321387369 installed <13>Nov 12 04:02:32 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Nov 12 04:02:32 rpmi: python-module-cssselect-0.9.1-alt1.2 1526980827 installed <13>Nov 12 04:02:32 rpmi: python-module-html5lib-1:0.999999999-alt4.qa1 sisyphus.214868.100 1539741045 installed <13>Nov 12 04:02:32 rpmi: python-module-lxml-4.2.1-alt1.1 1525118997 installed <13>Nov 12 04:02:32 rpmi: python-module-docutils-0.14-alt2 1535729778 installed <13>Nov 12 04:02:32 rpmi: python-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed <13>Nov 12 04:02:32 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Nov 12 04:02:33 rpmi: python-module-babel-1:2.4.0-alt1.1 1517644530 installed <13>Nov 12 04:02:33 rpmi: python-module-attrs-18.2.0-alt1 sisyphus.214354.100 1539088435 installed <13>Nov 12 04:02:33 rpmi: python-module-ipaddress-1.0.18-alt1.1 1517713372 installed <13>Nov 12 04:02:33 rpmi: python-module-cryptography-2.3.0-alt1.1 sisyphus.212297.100 1535813240 installed <13>Nov 12 04:02:33 rpmi: python-module-OpenSSL-18.0.0-alt1 1532996168 installed <13>Nov 12 04:02:33 rpmi: python-module-simplejson-3.15.0-alt1.qa1 sisyphus.214917.100 1539845520 installed <13>Nov 12 04:02:33 rpmi: python-module-ndg-0.4.2-alt1.qa1 1531457730 installed <13>Nov 12 04:02:33 rpmi: python-module-ndg-httpsclient-0.4.2-alt1.qa1 1531457730 installed <13>Nov 12 04:02:33 rpmi: python-module-backports-3.5.0.1-alt1.1.1 1517645428 installed <13>Nov 12 04:02:33 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1.1 1517645428 installed <13>Nov 12 04:02:33 rpmi: python-module-urllib3-2:1.21.1-alt1 1506613994 installed <13>Nov 12 04:02:33 rpmi: python-module-requests-2.19.1-alt1 1530831197 installed <13>Nov 12 04:02:33 rpmi: python-module-typing-3.6.4-alt1 1517577671 installed <13>Nov 12 04:02:34 rpmi: python-module-markupsafe-0.23-alt1.2.1.1 1525118564 installed <13>Nov 12 04:02:34 rpmi: python-module-jinja2-2.10-alt1 1521724576 installed <13>Nov 12 04:02:34 rpmi: python-modules-sqlite3-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:34 rpmi: python-module-SQLAlchemy-1.0.12-alt1.1 1525119185 installed <13>Nov 12 04:02:34 rpmi: python-module-funcsigs-1.0.2-alt1.1 1517699355 installed <13>Nov 12 04:02:34 rpmi: python-module-scandir-1.9.0-alt1 1535455368 installed <13>Nov 12 04:02:34 rpmi: python-module-pathlib2-2.3.2-alt1 1535455443 installed <13>Nov 12 04:02:34 rpmi: python-module-atomicwrites-1.2.1-alt1 sisyphus.214347.100 1539076636 installed <13>Nov 12 04:02:34 rpmi: python-module-mpmath-0.19-alt1.git20150621.1.1.1.1 1496417680 installed <13>Nov 12 04:02:35 rpmi: python-module-sympy-1:1.1.1-alt1.1 1517989815 installed <13>Nov 12 04:02:35 rpmi: python-module-sympy-tests-1:1.1.1-alt1.1 1517989815 installed <13>Nov 12 04:02:35 rpmi: python-module-xapian-1.4.5-alt2.qa1 1531484055 installed <13>Nov 12 04:02:35 rpmi: python-module-pluggy-0.8.0-alt1 sisyphus.215346.100 1540073015 installed <13>Nov 12 04:02:35 rpmi: python-module-pytest-3.9.3-alt1 sisyphus.215666.100 1540687418 installed <13>Nov 12 04:02:35 rpmi: python-module-sphinxcontrib-websupport-1.0.1-alt3.qa1 sisyphus.214922.100 1539851266 installed <13>Nov 12 04:02:35 rpmi: python-module-alabaster-0.7.6-alt3 1526385201 installed <13>Nov 12 04:02:35 rpmi: python-module-Pygments-2.2.0-alt2 1526455576 installed <13>Nov 12 04:02:36 rpmi: python-module-sphinx-1:1.6.5-alt3 sisyphus.213215.100 1537280252 installed <13>Nov 12 04:02:36 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Nov 12 04:02:36 rpmi: libcurl-7.62.0-alt2 sisyphus.215995.100 1541066189 installed <13>Nov 12 04:02:36 rpmi: libpoppler78-0.67.0-alt2 sisyphus.216206.300 1541601224 installed <13>Nov 12 04:02:36 rpmi: perl-Net-SSLeay-1.85-alt1.1 1535797024 installed <13>Nov 12 04:02:36 rpmi: perl-IO-Socket-SSL-2.060-alt1 sisyphus.213414.100 1537479277 installed <13>Nov 12 04:02:36 rpmi: perl-Net-HTTPS-6.18-alt1 1526560501 installed <13>Nov 12 04:02:36 rpmi: perl-LWP-Protocol-https-6.07-alt1 1494527383 installed <13>Nov 12 04:02:36 rpmi: perl-Net-SMTP-SSL-1.04-alt1 1479470835 installed <13>Nov 12 04:02:36 rpmi: perl-MailTools-2.20-alt1 1517533205 installed <13>Nov 12 04:02:36 rpmi: perl-MIME-Lite-3.030-alt1 1383865152 installed <13>Nov 12 04:02:36 rpmi: perl-Log-Dispatch-2.68-alt1 sisyphus.212465.100 1535917600 installed <13>Nov 12 04:02:36 rpmi: perl-Log-Log4perl-1.49-alt1 1489613295 installed <13>Nov 12 04:02:36 rpmi: ghostscript-utils-9.25-alt2 sisyphus.213398.100 1537455952 installed <13>Nov 12 04:02:37 rpmi: texlive-2018-alt2_4 sisyphus.215831.100 1540947184 installed <13>Nov 12 04:02:52 rpmi: texlive-collection-basic-2018-alt1_5 sisyphus.215114.200 1539918315 installed <13>Nov 12 04:02:52 rpmi: python-dev-2.7.14-alt7.1 sisyphus.212296.100 1535808793 installed <13>Nov 12 04:02:52 rpmi: libglade-devel-2.6.4-alt5.qa1 1366416175 installed <13>Nov 12 04:02:52 rpmi: libgtkglext-devel-1.2.0-alt4 1526376544 installed <13>Nov 12 04:02:52 rpmi: liblasi-devel-1.1.2-alt1.qa1 1460141148 installed <13>Nov 12 04:02:52 rpmi: librsvg-devel-1:2.44.8-alt1 sisyphus.215574.100 1540470645 installed <13>Nov 12 04:02:52 rpmi: libgs-devel-9.25-alt2 sisyphus.213398.100 1537455952 installed <13>Nov 12 04:02:52 rpmi: libgts-devel-0.7.6-alt2.drc20130205 1360123643 installed <13>Nov 12 04:02:52 rpmi: gcc-c++-7-alt6 1528289185 installed <13>Nov 12 04:02:52 rpmi: swig-1:3.0.12-alt4.S1.1 sisyphus.209945.42010 1537076650 installed <13>Nov 12 04:02:52 rpmi: libfreeglut-devel-3.0.0-alt3 sisyphus.215254.100 1540853073 installed <13>Nov 12 04:02:52 rpmi: tk-devel-8.6.8-alt1 1518663802 installed <13>Nov 12 04:02:52 rpmi: libXaw-devel-1.0.12-alt1 1391072621 installed <13>Nov 12 04:02:52 rpmi: libXpm-devel-3.5.11-alt1 1391072398 installed <13>Nov 12 04:02:52 rpmi: libgd3-devel-2.2.5-alt2.S1 1525496211 installed <13>Nov 12 04:02:52 rpmi: libann-devel-1.1.2-alt4 1299827962 installed <13>Nov 12 04:02:52 rpmi: libexpat-devel-2.2.4-alt1 1503305341 installed <13>Nov 12 04:02:52 rpmi: groff-base-1.22.3-alt2 1502488668 installed <13>Nov 12 04:02:53 rpmi: xorg-cf-files-1.0.6-alt1 1453137637 installed <13>Nov 12 04:02:53 rpmi: imake-1.0.7-alt3 1518797773 installed <13>Nov 12 04:02:53 rpmi: flex-2.6.0-alt1 1449073214 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/graphviz-2.40.1-alt4.nosrc.rpm Installing graphviz-2.40.1-alt4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.82458 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf graphviz-2.40.1 + echo 'Source #0 (graphviz-2.40.1.tar):' Source #0 (graphviz-2.40.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/graphviz-2.40.1.tar + cd graphviz-2.40.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (graphviz-2.24.0-alt-perl-5.12.patch):' Patch #0 (graphviz-2.24.0-alt-perl-5.12.patch): + /usr/bin/patch -p1 patching file config/config_perl.pl + echo 'Patch #2 (graphviz-2.38.0-gs-9.18-fix.patch):' Patch #2 (graphviz-2.38.0-gs-9.18-fix.patch): + /usr/bin/patch -p1 patching file plugin/gs/gvloadimage_gs.c Hunk #1 succeeded at 83 (offset 11 lines). + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.70783 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd graphviz-2.40.1 + sed -i 's,-Wall -ffast-math,-Wall,' configure configure.ac + autoreconf -fisv --no-recursive autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force -I m4 autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install --ltdl libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'. libtoolize-default: linking file `config/config.guess' libtoolize-default: linking file `config/config.sub' libtoolize-default: linking file `config/install-sh' libtoolize-default: linking file `config/ltmain.sh' libtoolize-default: putting auxiliary files in `config'. libtoolize-default: linking file `libltdl/config/compile' libtoolize-default: linking file `libltdl/config/config.guess' libtoolize-default: linking file `libltdl/config/config.sub' libtoolize-default: linking file `libltdl/config/depcomp' libtoolize-default: linking file `libltdl/config/install-sh' libtoolize-default: linking file `libltdl/config/missing' libtoolize-default: linking file `libltdl/config/ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize-default: linking file `m4/argz.m4' libtoolize-default: linking file `m4/libtool.m4' libtoolize-default: linking file `m4/ltdl.m4' libtoolize-default: linking file `m4/ltoptions.m4' libtoolize-default: linking file `m4/ltsugar.m4' libtoolize-default: linking file `m4/ltversion.m4' libtoolize-default: linking file `m4/lt~obsolete.m4' libtoolize-default: putting macros in `libltdl/m4'. libtoolize-default: linking file `libltdl/m4/argz.m4' libtoolize-default: linking file `libltdl/m4/libtool.m4' libtoolize-default: linking file `libltdl/m4/ltdl.m4' libtoolize-default: linking file `libltdl/m4/ltoptions.m4' libtoolize-default: linking file `libltdl/m4/ltsugar.m4' libtoolize-default: linking file `libltdl/m4/ltversion.m4' libtoolize-default: linking file `libltdl/m4/lt~obsolete.m4' libtoolize-default: putting libltdl files in LT_CONFIG_LTDL_DIR, `libltdl'. libtoolize-default: linking file `libltdl/COPYING.LIB' libtoolize-default: linking file `libltdl/README' libtoolize-default: linking file `libltdl/Makefile.am' libtoolize-default: linking file `libltdl/configure.ac' libtoolize-default: copying file `libltdl/aclocal.m4' libtoolize-default: linking file `libltdl/Makefile.in' libtoolize-default: linking file `libltdl/config-h.in' libtoolize-default: linking file `libltdl/configure' libtoolize-default: linking file `libltdl/argz_.h' libtoolize-default: linking file `libltdl/argz.c' libtoolize-default: linking file `libltdl/loaders/dld_link.c' libtoolize-default: linking file `libltdl/loaders/dlopen.c' libtoolize-default: linking file `libltdl/loaders/dyld.c' libtoolize-default: linking file `libltdl/loaders/load_add_on.c' libtoolize-default: linking file `libltdl/loaders/loadlibrary.c' libtoolize-default: linking file `libltdl/loaders/shl_load.c' libtoolize-default: linking file `libltdl/lt__dirent.c' libtoolize-default: linking file `libltdl/lt__strl.c' libtoolize-default: linking file `libltdl/libltdl/lt__alloc.h' libtoolize-default: linking file `libltdl/libltdl/lt__dirent.h' libtoolize-default: linking file `libltdl/libltdl/lt__glibc.h' libtoolize-default: linking file `libltdl/libltdl/lt__private.h' libtoolize-default: linking file `libltdl/libltdl/lt__strl.h' libtoolize-default: linking file `libltdl/libltdl/lt_dlloader.h' libtoolize-default: linking file `libltdl/libltdl/lt_error.h' libtoolize-default: linking file `libltdl/libltdl/lt_system.h' libtoolize-default: linking file `libltdl/libltdl/slist.h' libtoolize-default: linking file `libltdl/loaders/preopen.c' libtoolize-default: linking file `libltdl/lt__alloc.c' libtoolize-default: linking file `libltdl/lt_dlloader.c' libtoolize-default: linking file `libltdl/lt_error.c' libtoolize-default: linking file `libltdl/ltdl.c' libtoolize-default: linking file `libltdl/ltdl.h' libtoolize-default: linking file `libltdl/slist.c' libtoolize-default: Consider using `AC_CONFIG_AUX_DIR([libltdl/config])' in configure.ac. libtoolize-default: Consider using `AC_CONFIG_MACRO_DIR([libltdl/m4])' in configure.ac. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing cmd/dotty/Makefile.am:21: warning: source file 'mswin32/dotty.c' is in a subdirectory, cmd/dotty/Makefile.am:21: but option 'subdir-objects' is disabled automake-default: warning: possible forward-incompatibility. automake-default: At least a source file is in a subdirectory, but the 'subdir-objects' automake-default: automake option hasn't been enabled. For now, the corresponding output automake-default: object file(s) will be placed in the top-level directory. However, automake-default: this behaviour will change in future Automake versions: they will automake-default: unconditionally cause object files to be placed in the same subdirectory automake-default: of the corresponding sources. automake-default: You are advised to start using 'subdir-objects' option throughout your automake-default: project, to avoid future incompatibilities. cmd/lneato/Makefile.am:19: warning: source file '${top_srcdir}/cmd/dotty/mswin32/dotty.c' is in a subdirectory, cmd/lneato/Makefile.am:19: but option 'subdir-objects' is disabled cmd/smyrna/Makefile.am:47: warning: source file 'gui/appmouse.c' is in a subdirectory, cmd/smyrna/Makefile.am:47: but option 'subdir-objects' is disabled cmd/smyrna/Makefile.am:47: warning: source file 'gui/callbacks.c' is in a subdirectory, cmd/smyrna/Makefile.am:47: but option 'subdir-objects' is disabled cmd/smyrna/Makefile.am:47: warning: source file 'gui/datalistcallbacks.c' is in a subdirectory, cmd/smyrna/Makefile.am:47: but option 'subdir-objects' is disabled cmd/smyrna/Makefile.am:47: warning: source file 'gui/frmobjectui.c' is in a subdirectory, cmd/smyrna/Makefile.am:47: but option 'subdir-objects' is disabled cmd/smyrna/Makefile.am:47: warning: source file 'gui/glcompui.c' is in a subdirectory, cmd/smyrna/Makefile.am:47: but option 'subdir-objects' is disabled cmd/smyrna/Makefile.am:47: warning: source file 'gui/gui.c' is in a subdirectory, cmd/smyrna/Makefile.am:47: but option 'subdir-objects' is disabled cmd/smyrna/Makefile.am:47: warning: source file 'gui/menucallbacks.c' is in a subdirectory, cmd/smyrna/Makefile.am:47: but option 'subdir-objects' is disabled cmd/smyrna/Makefile.am:47: warning: source file 'gui/toolboxcallbacks.c' is in a subdirectory, cmd/smyrna/Makefile.am:47: but option 'subdir-objects' is disabled cmd/smyrna/Makefile.am:47: warning: source file 'gui/topviewsettings.c' is in a subdirectory, cmd/smyrna/Makefile.am:47: but option 'subdir-objects' is disabled lib/vpsc/Makefile.am:14: warning: source file 'pairingheap/PairingHeap.cpp' is in a subdirectory, lib/vpsc/Makefile.am:14: but option 'subdir-objects' is disabled tclpkg/tcldot/Makefile.am:41: warning: source file '$(top_srcdir)/tclpkg/gdtclft/gdtclft.c' is in a subdirectory, tclpkg/tcldot/Makefile.am:41: but option 'subdir-objects' is disabled autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --disable-static --with-pangocairo --with-x --with-gdk-pixbuf --without-gnomeui --with-gtk --without-qt --with-ipsepcola --with-sfdp --with-smyrna --enable-guile --disable-lua --disable-ocaml --disable-php --enable-python --disable-ruby --disable-tcl --disable-java --disable-sharp checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-alt-linux-gcc... none checking for library containing strerror... none required checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking for gawk... (cached) gawk checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gsed... /bin/sed checking for gsort... no checking for sort... sort checking for egrep... /bin/grep -E checking for groff... groff checking for ps2pdf... ps2pdf checking for pstopdf... (cached) ps2pdf checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for tclsh8.6... /usr/bin/tclsh8.6 checking for x86_64-alt-linux-gcc option to accept ISO C99... none needed checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-g++ static flag -static works... no checking if x86_64-alt-linux-g++ supports -c -o file.o... yes checking if x86_64-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether we are using the GNU Objective C compiler... no checking whether x86_64-alt-linux-gcc accepts -g... no checking dependency style of x86_64-alt-linux-gcc... none checking for inline... inline checking for windres... no checking for x86_64-alt-linux-gnu-windres... no checking for pid_t... yes checking for ssize_t... yes checking for uid_t in sys/types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/stat.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for main in -lm... yes checking for log2... yes checking for sincos... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for basename in -lgen... no checking for lrand48... yes checking for drand48... yes checking for srand48... yes checking for setmode... no checking for setenv... yes checking for getenv... yes checking for strerror... yes checking for cbrt... no checking for vsnprintf... yes checking for _NSGetEnviron... no checking for strcasecmp... yes checking for strncasecmp... yes checking for strcasestr... yes checking which extension is used for runtime loadable modules... .so checking which variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /lib64 /usr/lib64 /usr/lib64/nsl checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for ltdl.h... no checking where to find libltdl headers... -I${top_srcdir}/libltdl checking where to find libltdl library... ${top_build_prefix}libltdl/libltdlc.la checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... yes checking for strlcpy... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for xrender... yes checking for swig... swig checking for guile2... no checking for guile1.8... no checking for guile... guile GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread GC Warning: Couldn't read /proc/stat GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread GC Warning: Couldn't read /proc/stat GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread GC Warning: Couldn't read /proc/stat checking for guile-2.0 >= "2.2"... no checking for guile-1.8 >= "2.2"... no checking libguile.h usability... yes checking libguile.h presence... yes checking for libguile.h... yes checking for perl... perl checking EXTERN.h usability... yes checking EXTERN.h presence... yes checking for EXTERN.h... yes checking for python... python checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for libR... no checking for connect... (cached) yes checking for gethostbyname... (cached) yes checking for expat-config... no checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for main in -lexpat... yes checking IL/il.h usability... no checking IL/il.h presence... no checking for IL/il.h... no configure: WARNING: Optional DevIL library not available - missing headers checking for main in -lIL... no configure: WARNING: Optional DevIL library not available checking for main in -lXpm... yes checking X11/Intrinsic.h usability... yes checking X11/Intrinsic.h presence... yes checking for X11/Intrinsic.h... yes checking for X11/Xaw/Text.h... yes checking for main in -lXaw... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for main in -lz... yes checking for deflateBound... no checking for poppler-glib... no checking for librsvg-2.0... yes checking for librsvg-2.0 >= 2.36.0 cairo >= 1.0.0... yes checking ghostscript/iapi.h usability... yes checking ghostscript/iapi.h presence... yes checking for ghostscript/iapi.h... yes checking for main in -lgs... yes checking for pangocairo >= 1.14.9... yes checking for pangoft2... yes checking for pango_fc_font_lock_face... yes checking for pango_fc_font_unlock_face... yes checking for pango_font_map_create_context... yes checking for lasi... yes checking for freetype2... yes checking for fontconfig... yes checking for gdk-2.0... yes checking for g_object_unref... yes checking for g_type_init... yes checking for gdk-pixbuf-2.0... yes checking for gtk+-2.0 >= 2.7.0... yes checking for gtkgl-2.0... no checking for gtkglext-1.0... yes checking for gts... yes checking for ann... no checking for libglade-2.0... yes checking for gdlib >= 2.0.33... yes checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for main in -lgd... yes checking GL/glut.h usability... yes checking GL/glut.h presence... yes checking for GL/glut.h... yes checking for main in -lglut... yes checking if FILE struct contains _cnt... no checking if FILE struct contains _r... no checking if FILE struct contains _next... no checking if FILE struct contains _IO_read_end... yes checking if errno externs are declared... yes checking if intptr_t is declared... yes checking if assert needs __eprintf... conftest.c: In function 'main': conftest.c:3:14: warning: unused parameter 'argc' [-Wunused-parameter] int main(int argc, char **argv) { ^~~~ no checking size of long long... 8 checking size of int... 4 checking for main in -lcriterion... no configure: WARNING: Criterion unit testing framework not installed checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating debian/changelog config.status: creating doc/Makefile config.status: creating doc/info/Makefile config.status: creating doc/schema/Makefile config.status: creating contrib/Makefile config.status: creating contrib/prune/Makefile config.status: creating contrib/diffimg/Makefile config.status: creating graphs/Makefile config.status: creating graphs/directed/Makefile config.status: creating graphs/undirected/Makefile config.status: creating lib/Makefile config.status: creating lib/cdt/Makefile config.status: creating lib/cdt/libcdt.pc config.status: creating lib/cgraph/Makefile config.status: creating lib/cgraph/libcgraph.pc config.status: creating lib/rbtree/Makefile config.status: creating lib/pathplan/Makefile config.status: creating lib/pathplan/libpathplan.pc config.status: creating lib/ast/Makefile config.status: creating lib/sfio/Makefile config.status: creating lib/sfio/Sfio_f/Makefile config.status: creating lib/spine/Makefile config.status: creating lib/vmalloc/Makefile config.status: creating lib/dotgen/Makefile config.status: creating lib/neatogen/Makefile config.status: creating lib/fdpgen/Makefile config.status: creating lib/sparse/Makefile config.status: creating lib/mingle/Makefile config.status: creating lib/label/Makefile config.status: creating lib/sfdpgen/Makefile config.status: creating lib/sfdpgen/libsfdp.pc config.status: creating lib/osage/Makefile config.status: creating lib/edgepaint/Makefile config.status: creating lib/edgepaint/liblab_gamut.pc config.status: creating lib/gvpr/Makefile config.status: creating lib/gvpr/libgvpr.pc config.status: creating lib/circogen/Makefile config.status: creating lib/twopigen/Makefile config.status: creating lib/patchwork/Makefile config.status: creating lib/pack/Makefile config.status: creating lib/ortho/Makefile config.status: creating lib/expr/Makefile config.status: creating lib/expr/libexpr.pc config.status: creating lib/common/Makefile config.status: creating lib/ingraphs/Makefile config.status: creating lib/vpsc/Makefile config.status: creating lib/gvc/Makefile config.status: creating lib/gvc/libgvc.pc config.status: creating lib/xdot/Makefile config.status: creating lib/xdot/libxdot.pc config.status: creating lib/topfish/Makefile config.status: creating lib/glcomp/Makefile config.status: creating macosx/Info.plist config.status: creating macosx/build/graphviz.pmdoc/01local.xml config.status: creating macosx/build/graphviz.pmdoc/02graphviz.xml config.status: creating windows/build/graphviz.wxs config.status: creating windows/Properties/AssemblyInfo.cs config.status: creating plugin/Makefile config.status: creating plugin/core/Makefile config.status: creating plugin/devil/Makefile config.status: creating plugin/gd/Makefile config.status: creating plugin/gdk/Makefile config.status: creating plugin/gdiplus/Makefile config.status: creating plugin/glitz/Makefile config.status: creating plugin/gs/Makefile config.status: creating plugin/gtk/Makefile config.status: creating plugin/lasi/Makefile config.status: creating plugin/ming/Makefile config.status: creating plugin/pango/Makefile config.status: creating plugin/poppler/Makefile config.status: creating plugin/quartz/Makefile config.status: creating plugin/rsvg/Makefile config.status: creating plugin/visio/Makefile config.status: creating plugin/webp/Makefile config.status: creating plugin/xlib/Makefile config.status: creating plugin/dot_layout/Makefile config.status: creating plugin/neato_layout/Makefile config.status: creating cmd/Makefile config.status: creating cmd/dot/Makefile config.status: creating cmd/tools/Makefile config.status: creating cmd/gvpr/Makefile config.status: creating cmd/gvpr/lib/Makefile config.status: creating cmd/lefty/ws/x11/libfilereq/Makefile config.status: creating cmd/lefty/ws/x11/Makefile config.status: creating cmd/lefty/ws/mswin32/Makefile config.status: creating cmd/lefty/ws/Makefile config.status: creating cmd/lefty/os/unix/Makefile config.status: creating cmd/lefty/os/mswin32/Makefile config.status: creating cmd/lefty/os/Makefile config.status: creating cmd/lefty/dot2l/Makefile config.status: creating cmd/lefty/examples/Makefile config.status: creating cmd/lefty/Makefile config.status: creating cmd/lneato/Makefile config.status: creating cmd/dotty/Makefile config.status: creating cmd/smyrna/Makefile config.status: creating cmd/gvmap/Makefile config.status: creating cmd/mingle/Makefile config.status: creating cmd/edgepaint/Makefile config.status: creating cmd/gvedit/Makefile config.status: creating cmd/gvedit/gvedit.pro config.status: creating cmd/gvedit/ui/Makefile config.status: creating cmd/gvedit/images/Makefile config.status: creating tclpkg/Makefile config.status: creating tclpkg/tclstubs/Makefile config.status: creating tclpkg/tclhandle/Makefile config.status: creating tclpkg/gdtclft/Makefile config.status: creating tclpkg/gdtclft/demo/Makefile config.status: creating tclpkg/tcldot/Makefile config.status: creating tclpkg/tcldot/demo/Makefile config.status: creating tclpkg/tclpathplan/Makefile config.status: creating tclpkg/tclpathplan/demo/Makefile config.status: creating tclpkg/tclpathplan/demo/pathplan_data/Makefile config.status: creating tclpkg/gv/Makefile config.status: creating tclpkg/gv/demo/Makefile config.status: creating tclpkg/gv/META.gv config.status: creating rtest/Makefile config.status: creating tests/Makefile config.status: creating tests/unit_tests/Makefile config.status: creating tests/unit_tests/lib/Makefile config.status: creating tests/unit_tests/lib/common/Makefile config.status: creating tests/regression_tests/Makefile config.status: creating tests/regression_tests/shapes/Makefile config.status: creating share/Makefile config.status: creating share/examples/Makefile config.status: creating share/gui/Makefile config.status: creating graphviz.spec config.status: creating Doxyfile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands === configuring in libltdl (/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-alt-linux' '--host=x86_64-alt-linux' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--without-included-gettext' '--disable-static' '--with-pangocairo' '--with-x' '--with-gdk-pixbuf' '--without-gnomeui' '--with-gtk' '--without-qt' '--with-ipsepcola' '--with-sfdp' '--with-smyrna' '--enable-guile' '--disable-lua' '--disable-ocaml' '--disable-php' '--enable-python' '--disable-ruby' '--disable-tcl' '--disable-java' '--disable-sharp' 'build_alias=x86_64-alt-linux' 'host_alias=x86_64-alt-linux' 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG' 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG' '--enable-ltdl-convenience' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-alt-linux-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking which extension is used for runtime loadable modules... .so checking which variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /lib64 /usr/lib64 /usr/lib64/nsl checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... yes checking for strlcpy... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ---------------------------------------------------------------- graphviz-2.40.1 will be compiled with the following: options: cgraph: Yes (always enabled) digcola: Yes expat: Yes fontconfig: Yes freetype: Yes glut: Yes ann: Yes (but no ann.pc found) gts: Yes ipsepcola: Yes ltdl: Yes ortho: Yes sfdp: Yes shared: Yes static: No (disabled by default) qt: No (disabled) x: Yes commands: dot: Yes (always enabled) neato: Yes (always enabled) fdp: Yes (always enabled) circo: Yes (always enabled) twopi: Yes (always enabled) gvpr: Yes (always enabled) gvmap: Yes (always enabled) lefty: Yes smyrna: Yes gvedit: No (disabled) plugin libraries: dot_layout: Yes (always enabled) neato_layout: Yes (always enabled) core: Yes (always enabled) devil: No (missing library) gd: Yes gdiplus: No (disabled by default - Windows only) gdk: Yes gdk_pixbuf: Yes ghostscript: Yes glitz: No (disabled by default - incomplete) gtk: Yes lasi: Yes ming: No (disabled by default - incomplete) pangocairo: Yes poppler: No (poppler library not available) quartz: No (disabled by default - Mac only) rsvg: Yes visio: No (disabled by default - experimental) webp: No (disabled by default - experimental) xlib: Yes language extensions: gv_sharp: No (disabled) gv_go: No (disabled by default - experimental) gv_guile: Yes gv_io: No (disabled by default - no swig support yet) gv_java: No (disabled) gv_lua: No (disabled) gv_ocaml: No (disabled) gv_perl: Yes gv_php: No (disabled) gv_python: Yes gv_python23: No (disabled by default - for multiversion installs) gv_python24: No (disabled by default - for multiversion installs) gv_python25: No (disabled by default - for multiversion installs) gv_python26: No (disabled by default - for multiversion installs) gv_python27: No (disabled by default - for multiversion installs) gv_python34: No (disabled by default - for multiversion installs) gv_R: No (R not available) gv_ruby: No (disabled) gv_tcl: No (tcl not available) tcldot: No (tcl not available) tclpathplan: No (tcl not available) gdtclft: No (tcl not available) Testing utilities: criterion: No (Criterion unit testing framework not installed) + make -j8 make: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1' /bin/grep -E 'PACKAGE|VERSION|GVPLUGIN' config.h > ./graphviz_version.h make: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1' make all-recursive Making all in libltdl make all-am make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' /bin/sh ./libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c -o libltdlc_la-slist.lo `test -f 'slist.c' || echo './'`slist.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c slist.c -fPIC -DPIC -o .libs/libltdlc_la-slist.o make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' /bin/sh ./libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c -o dlopen.lo `test -f 'loaders/dlopen.c' || echo './'`loaders/dlopen.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c loaders/dlopen.c -fPIC -DPIC -o .libs/dlopen.o make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' /bin/sh ./libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c -o libltdlc_la-preopen.lo `test -f 'loaders/preopen.c' || echo './'`loaders/preopen.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c loaders/preopen.c -fPIC -DPIC -o .libs/libltdlc_la-preopen.o make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' /bin/sh ./libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c -o libltdlc_la-lt__alloc.lo `test -f 'lt__alloc.c' || echo './'`lt__alloc.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c lt__alloc.c -fPIC -DPIC -o .libs/libltdlc_la-lt__alloc.o make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' /bin/sh ./libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c -o libltdlc_la-lt_error.lo `test -f 'lt_error.c' || echo './'`lt_error.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c lt_error.c -fPIC -DPIC -o .libs/libltdlc_la-lt_error.o make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' /bin/sh ./libtool --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -module -avoid-version -o dlopen.la dlopen.lo -ldl -ldl libtool: link: ar cru .libs/dlopen.a .libs/dlopen.o libtool: link: ranlib .libs/dlopen.a libtool: link: ( cd ".libs" && rm -f "dlopen.la" && ln -s "../dlopen.la" "dlopen.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' /bin/sh ./libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c -o libltdlc_la-lt_dlloader.lo `test -f 'lt_dlloader.c' || echo './'`lt_dlloader.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c lt_dlloader.c -fPIC -DPIC -o .libs/libltdlc_la-lt_dlloader.o make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' /bin/sh ./libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c -o libltdlc_la-ltdl.lo `test -f 'ltdl.c' || echo './'`ltdl.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=" -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c ltdl.c -fPIC -DPIC -o .libs/libltdlc_la-ltdl.o make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' /bin/sh ./libtool --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -no-undefined -dlpreopen dlopen.la -o libltdlc.la libltdlc_la-preopen.lo libltdlc_la-lt__alloc.lo libltdlc_la-lt_dlloader.lo libltdlc_la-lt_error.lo libltdlc_la-ltdl.lo libltdlc_la-slist.lo -ldl libtool: link: rm -f .libs/libltdlc.nm .libs/libltdlc.nmS .libs/libltdlc.nmT libtool: link: (cd .libs && x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -c -fno-builtin -fPIC -DPIC "libltdlcS.c") libtool: link: rm -f ".libs/libltdlcS.c" ".libs/libltdlc.nm" ".libs/libltdlc.nmS" ".libs/libltdlc.nmT" libtool: link: (cd .libs/libltdlc.lax/dlopen.a && ar x "/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl/./.libs/dlopen.a") libtool: link: ar cru .libs/libltdlc.a .libs/libltdlc_la-preopen.o .libs/libltdlc_la-lt__alloc.o .libs/libltdlc_la-lt_dlloader.o .libs/libltdlc_la-lt_error.o .libs/libltdlc_la-ltdl.o .libs/libltdlc_la-slist.o .libs/libltdlcS.o .libs/libltdlc.lax/dlopen.a/dlopen.o libtool: link: ranlib .libs/libltdlc.a libtool: link: rm -fr .libs/libltdlc.lax libtool: link: ( cd ".libs" && rm -f "libltdlc.la" && ln -s "../libltdlc.la" "libltdlc.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' Making all in lib Making all in cdt make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtclose.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtopen.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtflatten.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtextract.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtdisc.lo dtdisc.c: In function 'dtmemory': dtdisc.c:10:29: warning: unused parameter 'dt' [-Wunused-parameter] static void* dtmemory(Dt_t* dt,void* addr,size_t size,Dtdisc_t* disc) ^~ dtdisc.c:10:65: warning: unused parameter 'disc' [-Wunused-parameter] static void* dtmemory(Dt_t* dt,void* addr,size_t size,Dtdisc_t* disc) ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtmethod.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtstat.lo dtstat.c: In function 'dtstat': dtstat.c:59:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if(!(Count = (int*)malloc((ds->dt_max+1)*sizeof(int))) ) ^ dtstat.c:73:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if(!(Count = (int*)malloc((ds->dt_n+1)*sizeof(int))) ) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtrenew.lo In file included from dtrenew.c:1:0: dtrenew.c: In function 'dtrenew': dthdr.h:39:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define HINDEX(n,h) ((h)&((n)-1)) ^ dtrenew.c:37:25: note: in expansion of macro 'HINDEX' { s = dt->data->htab + HINDEX(dt->data->ntab,e->hash); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtsize.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtwalk.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dthash.lo dthash.c: In function 'dthtab': dthash.c:49:47: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if(!(s = (Dtlink_t**)(*dt->memoryf)(dt,olds,n*sizeof(Dtlink_t*),dt->disc)) ) ^ In file included from dthash.c:1:0: dthdr.h:39:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define HINDEX(n,h) ((h)&((n)-1)) ^ dthash.c:61:17: note: in expansion of macro 'HINDEX' if((is = s + HINDEX(n,t->hash)) == hs) ^~~~~~ dthash.c: In function 'dthash': dthdr.h:39:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define HINDEX(n,h) ((h)&((n)-1)) ^ dthash.c:137:24: note: in expansion of macro 'HINDEX' s = dt->data->htab + HINDEX(dt->data->ntab,dt->data->here->hash); ^~~~~~ dthdr.h:39:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define HINDEX(n,h) ((h)&((n)-1)) ^ dthash.c:166:25: note: in expansion of macro 'HINDEX' s = dt->data->htab + HINDEX(dt->data->ntab,hsh); ^~~~~~ dthdr.h:39:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define HINDEX(n,h) ((h)&((n)-1)) ^ dthash.c:174:29: note: in expansion of macro 'HINDEX' *(s = dt->data->htab + HINDEX(dt->data->ntab,hsh)); ^~~~~~ In file included from dthdr.h:13:0, from dthash.c:1: dthash.c:178:35: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if(_DTCMP(dt,key,k,disc,cmpf,sz) == 0) ^ ./cdt.h:229:45: note: in definition of macro '_DTCMP' (sz <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) ) ^~ In file included from dthash.c:1:0: dthdr.h:39:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define HINDEX(n,h) ((h)&((n)-1)) ^ dthash.c:236:24: note: in expansion of macro 'HINDEX' s = dt->data->htab + HINDEX(dt->data->ntab,hsh); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtview.lo In file included from dthdr.h:13:0, from dtview.c:1: dtview.c: In function 'dtvsearch': dtview.c:41:40: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] { cmp = _DTCMP(d,ok,nk,d->disc,cmpf,sz); ^ ./cdt.h:229:45: note: in definition of macro '_DTCMP' (sz <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) ) ^~ dtview.c:13:12: warning: variable 'lk' set but not used [-Wunused-but-set-variable] int cmp, lk, sz, ky; ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dttreeset.lo dttreeset.c: In function 'dttreeset': dttreeset.c:35:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] { for(minp = 0; minp < DT_MINP; ++minp) ^ dttreeset.c:38:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(minp <= DT_MINP-4) /* use log(size) + 4 */ ^~ dttreeset.c:42:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if((dt->data->minp = minp + (minp%2)) > DT_MINP) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtlist.lo In file included from dthdr.h:13:0, from dtlist.c:1: dtlist.c: In function 'dtlist': dtlist.c:127:33: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if(_DTCMP(dt,key,k,disc,cmpf,sz) == 0) ^ ./cdt.h:229:45: note: in definition of macro '_DTCMP' (sz <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) ) ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtstrhash.lo dtstrhash.c: In function 'dtstrhash': dtstrhash.c:22:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] h = (h + (s[0]<<8) + s[1])*DT_PRIME; ^ dtstrhash.c:23:7: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = s - (unsigned char*)args; ^ dtstrhash.c:28:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] h = (h + (s[0]<<8) + s[1])*DT_PRIME; ^ dtstrhash.c:30:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] h = (h + (s[0]<<8))*DT_PRIME; ^ dtstrhash.c:32:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] return (h+n)*DT_PRIME; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dtrestore.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CC dttree.lo In file included from dthdr.h:13:0, from dttree.c:1: dttree.c: In function 'dttree': dttree.c:70:33: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if(_DTCMP(dt,key,k,disc,cmpf,sz) != 0) ^ ./cdt.h:229:45: note: in definition of macro '_DTCMP' (sz <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) ) ^~ dttree.c:101:41: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if((cmp = _DTCMP(dt,key,k,disc,cmpf,sz)) == 0) ^ ./cdt.h:229:45: note: in definition of macro '_DTCMP' (sz <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) ) ^~ dttree.c:143:40: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if((cmp = _DTCMP(dt,key,k,disc,cmpf,sz)) == 0) ^ ./cdt.h:229:45: note: in definition of macro '_DTCMP' (sz <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) ) ^~ dttree.c:148:42: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if((cmp = _DTCMP(dt,key,k,disc,cmpf,sz)) < 0) ^ ./cdt.h:229:45: note: in definition of macro '_DTCMP' (sz <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) ) ^~ dttree.c:175:42: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if((cmp = _DTCMP(dt,key,k,disc,cmpf,sz)) > 0) ^ ./cdt.h:229:45: note: in definition of macro '_DTCMP' (sz <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) ) ^~ dttree.c:222:35: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if(_DTCMP(dt,key,k,disc,cmpf,sz) != 0) ^ ./cdt.h:229:45: note: in definition of macro '_DTCMP' (sz <= 0 ? strcmp(k1,k2) : memcmp(k1,k2,sz)) ) ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CCLD libcdt_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' CCLD libcdt.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' Making all in cgraph make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC agxbuf.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC apply.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC flatten.lo flatten.c:23:6: warning: no previous prototype for 'agflatten_edges' [-Wmissing-prototypes] void agflatten_edges(Agraph_t * g, Agnode_t * n, int flag) ^~~~~~~~~~~~~~~ flatten.c:56:6: warning: no previous prototype for 'agnotflat' [-Wmissing-prototypes] void agnotflat(Agraph_t * g) ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC graph.lo graph.c: In function 'agopen1': graph.c:81:13: warning: conversion to 'unsigned int:28' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] AGSEQ(g) = agnextseq(par, AGRAPH); ^~~~~~~~~ graph.c: At top level: graph.c:242:5: warning: no previous prototype for 'agraphidcmpf' [-Wmissing-prototypes] int agraphidcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) ^~~~~~~~~~~~ graph.c: In function 'agraphidcmpf': graph.c:248:9: warning: conversion to 'ptrdiff_t {aka long int}' from 'IDTYPE {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] v = (AGID(sg0) - AGID(sg1)); ^ graph.c:242:27: warning: unused parameter 'd' [-Wunused-parameter] int agraphidcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) ^ graph.c:242:65: warning: unused parameter 'disc' [-Wunused-parameter] int agraphidcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) ^~~~ graph.c: At top level: graph.c:252:5: warning: no previous prototype for 'agraphseqcmpf' [-Wmissing-prototypes] int agraphseqcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) ^~~~~~~~~~~~~ graph.c: In function 'agraphseqcmpf': graph.c:252:28: warning: unused parameter 'd' [-Wunused-parameter] int agraphseqcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) ^ graph.c:252:66: warning: unused parameter 'disc' [-Wunused-parameter] int agraphseqcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) ^~~~ graph.c: At top level: graph.c:276:1: warning: missing initializer for field 'flatlock' of 'Agdesc_t {aka struct Agdesc_s}' [-Wmissing-field-initializers] Agdesc_t Agdirected = { 1, 0, 0, 1 }; ^~~~~~~~ In file included from ./cghdr.h:24:0, from graph.c:15: ./cgraph.h:145:14: note: 'flatlock' declared here unsigned flatlock:1; /* if sets are flattened into lists in cdt */ ^~~~~~~~ graph.c:277:1: warning: missing initializer for field 'flatlock' of 'Agdesc_t {aka struct Agdesc_s}' [-Wmissing-field-initializers] Agdesc_t Agstrictdirected = { 1, 1, 0, 1 }; ^~~~~~~~ In file included from ./cghdr.h:24:0, from graph.c:15: ./cgraph.h:145:14: note: 'flatlock' declared here unsigned flatlock:1; /* if sets are flattened into lists in cdt */ ^~~~~~~~ graph.c:278:1: warning: missing initializer for field 'flatlock' of 'Agdesc_t {aka struct Agdesc_s}' [-Wmissing-field-initializers] Agdesc_t Agundirected = { 0, 0, 0, 1 }; ^~~~~~~~ In file included from ./cghdr.h:24:0, from graph.c:15: ./cgraph.h:145:14: note: 'flatlock' declared here unsigned flatlock:1; /* if sets are flattened into lists in cdt */ ^~~~~~~~ graph.c:279:1: warning: missing initializer for field 'flatlock' of 'Agdesc_t {aka struct Agdesc_s}' [-Wmissing-field-initializers] Agdesc_t Agstrictundirected = { 0, 1, 0, 1 }; ^~~~~~~~ In file included from ./cghdr.h:24:0, from graph.c:15: ./cgraph.h:145:14: note: 'flatlock' declared here unsigned flatlock:1; /* if sets are flattened into lists in cdt */ ^~~~~~~~ graph.c:285:6: warning: no previous prototype for 'scndump' [-Wmissing-prototypes] void scndump(Agraph_t *g, char *file) ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC id.lo id.c: In function 'idopen': id.c:19:45: warning: unused parameter 'disc' [-Wunused-parameter] static void *idopen(Agraph_t * g, Agdisc_t* disc) ^~~~ In file included from id.c:15:0: id.c: In function 'agmapnametoid': ./cghdr.h:56:23: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define AGDISC(g,d) ((g)->clos->disc.d) ^ id.c:102:7: note: in expansion of macro 'AGDISC' rv = AGDISC(g, id)->map(AGCLOS(g, id), objtype, str, result, ^~~~~~ ./cghdr.h:56:23: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define AGDISC(g,d) ((g)->clos->disc.d) ^ id.c:118:7: note: in expansion of macro 'AGDISC' rv = AGDISC(g, id)->map(AGCLOS(g, id), objtype, NILstr, result, ^~~~~~ id.c: In function 'agallocid': ./cghdr.h:56:39: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define AGDISC(g,d) ((g)->clos->disc.d) id.c:128:12: note: in expansion of macro 'AGDISC' return AGDISC(g, id)->alloc(AGCLOS(g, id), objtype, request); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC agerror.lo agerror.c: In function 'aglasterr': agerror.c:52:25: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] buf = (char*)malloc(len + 1); ^~~ agerror.c:54:30: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] fread(buf, sizeof(char), len, agerrout); ^~~ agerror.c: In function 'userout': agerror.c:73:22: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = (char*)malloc(bufsz); ^~~~~ agerror.c:86:21: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] n = vsnprintf(buf, bufsz, fmt, args); ^~~~~ agerror.c:92:32: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if ((np = (char*)realloc(buf, bufsz)) == NULL) { ^~~~~ agerror.c: In function 'agerr_va': agerror.c:17:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ agerror.c:112:16: note: in expansion of macro 'MAX' agmaxerr = MAX(agmaxerr, agerrno); ^~~ agerror.c:17:30: warning: signed and unsigned type in conditional expression [-Wsign-compare] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ agerror.c:112:16: note: in expansion of macro 'MAX' agmaxerr = MAX(agmaxerr, agerrno); ^~~ agerror.c:17:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ agerror.c:112:16: note: in expansion of macro 'MAX' agmaxerr = MAX(agmaxerr, agerrno); ^~~ agerror.c:17:18: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ agerror.c:112:16: note: in expansion of macro 'MAX' agmaxerr = MAX(agmaxerr, agerrno); ^~~ agerror.c: In function 'aglasterr': agerror.c:54:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buf, sizeof(char), len, agerrout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC mem.lo mem.c: In function 'memopen': mem.c:17:32: warning: unused parameter 'disc' [-Wunused-parameter] static void *memopen(Agdisc_t* disc) ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC io.lo io.c: In function 'iofread': io.c:72:9: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] return strlen(buf); ^~~~~~~~~~~ io.c: In function 'agmemread': io.c:140:15: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] rdr.len = strlen(cp); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC edge.lo edge.c: In function 'del': edge.c:178:11: warning: variable 'x' set but not used [-Wunused-but-set-variable] void *x; ^ edge.c: In function 'newedge': edge.c:225:11: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] seq = agnextseq(g, AGEDGE); ^~~~~~~~~ edge.c:229:30: warning: conversion to 'unsigned int:28' from 'int' may alter its value [-Wconversion] AGSEQ(in) = AGSEQ(out) = seq; ^~~ edge.c: At top level: edge.c:405:5: warning: no previous prototype for 'agedgeidcmpf' [-Wmissing-prototypes] int agedgeidcmpf(Dict_t * d, void *arg_e0, void *arg_e1, Dtdisc_t * disc) ^~~~~~~~~~~~ edge.c:425:5: warning: no previous prototype for 'agedgeseqcmpf' [-Wmissing-prototypes] int agedgeseqcmpf(Dict_t * d, void *arg_e0, void *arg_e1, Dtdisc_t * disc) ^~~~~~~~~~~~~ edge.c:500:11: warning: no previous prototype for 'agtail' [-Wmissing-prototypes] Agnode_t *agtail(Agedge_t * e) ^~~~~~ edge.c:508:11: warning: no previous prototype for 'aghead' [-Wmissing-prototypes] Agnode_t *aghead(Agedge_t * e) ^~~~~~ edge.c:516:11: warning: no previous prototype for 'agopp' [-Wmissing-prototypes] Agedge_t *agopp(Agedge_t * e) ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC imap.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC grammar.lo y.tab.c: In function 'aagparse': y.tab.c:1330:13: warning: conversion to 'aagtype_int16 {aka short int}' from 'int' may alter its value [-Wconversion] *yyssp = yystate; ^~~~~~~ y.tab.c:1335:26: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] YYSIZE_T yysize = yyssp - yyss + 1; ^~~~~~ ../../lib/cgraph/grammar.y: In function 'delete_items': ../../lib/cgraph/grammar.y:244:3: warning: switch missing default case [-Wswitch-default] switch(p->tag) { ^~~~~~ ../../lib/cgraph/grammar.y: In function 'attrstmt': ../../lib/cgraph/grammar.y:348:2: warning: switch missing default case [-Wswitch-default] switch(tkind) { ^~~~~~ ../../lib/cgraph/grammar.y: In function 'getedgeitems': ../../lib/cgraph/grammar.y:401:30: warning: unused parameter 'x' [-Wunused-parameter] static void getedgeitems(int x) ^ ../../lib/cgraph/grammar.y: In function 'startgraph': ../../lib/cgraph/grammar.y:545:18: warning: conversion to 'unsigned char:1' from 'int' may alter its value [-Wconversion] req.directed = directed; ^~~~~~~~ ../../lib/cgraph/grammar.y:546:16: warning: conversion to 'unsigned char:1' from 'int' may alter its value [-Wconversion] req.strict = strict; ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC rec.lo rec.c: In function 'set_data': rec.c:25:24: warning: conversion to 'unsigned char:1' from 'int' may alter its value [-Wconversion] obj->tag.mtflock = mtflock; ^~~~~~~ rec.c:29:24: warning: conversion to 'unsigned char:1' from 'int' may alter its value [-Wconversion] e->base.tag.mtflock = mtflock; ^~~~~~~ rec.c: In function 'objputrec': rec.c:63:34: warning: unused parameter 'g' [-Wunused-parameter] static void objputrec(Agraph_t * g, Agobj_t * obj, void *arg) ^ rec.c: In function 'agbindrec': rec.c:99:2: warning: switch missing default case [-Wswitch-default] switch (obj->tag.objtype) { ^~~~~~ rec.c: In function 'objdelrec': rec.c:119:34: warning: unused parameter 'g' [-Wunused-parameter] static void objdelrec(Agraph_t * g, Agobj_t * obj, void *arg_rec) ^ rec.c: In function 'agdelrec': rec.c:156:2: warning: switch missing default case [-Wswitch-default] switch (obj->tag.objtype) { /* refresh any stale pointers */ ^~~~~~ rec.c: In function 'simple_delrec': rec.c:173:38: warning: unused parameter 'g' [-Wunused-parameter] static void simple_delrec(Agraph_t * g, Agobj_t * obj, void *rec_name) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC utils.lo utils.c: In function 'agdtdelete': utils.c:70:12: warning: cast from function call of type 'void *' to non-matching type 'long int' [-Wbad-function-cast] return (long) dtdelete(dict, obj); ^ utils.c: At top level: utils.c:73:5: warning: no previous prototype for 'agobjfinalize' [-Wmissing-prototypes] int agobjfinalize(void * obj) ^~~~~~~~~~~~~ utils.c: In function 'agdtdisc': utils.c:95:26: warning: unused parameter 'g' [-Wunused-parameter] void agdtdisc(Agraph_t * g, Dict_t * dict, Dtdisc_t * disc) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC obj.lo obj.c: In function 'agrename': obj.c:42:5: warning: switch missing default case [-Wswitch-default] switch (AGTYPE(obj)) { ^~~~~~ obj.c: In function 'aginitcb': obj.c:92:5: warning: switch missing default case [-Wswitch-default] switch (AGTYPE(obj)) { ^~~~~~ obj.c: In function 'agupdcb': obj.c:123:5: warning: switch missing default case [-Wswitch-default] switch (AGTYPE(obj)) { ^~~~~~ obj.c: In function 'agdelcb': obj.c:154:5: warning: switch missing default case [-Wswitch-default] switch (AGTYPE(obj)) { ^~~~~~ obj.c: At top level: obj.c:235:7: warning: no previous prototype for 'aggetuserptr' [-Wmissing-prototypes] void *aggetuserptr(Agraph_t * g, Agcbdisc_t * cbd) ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC attr.lo attr.c:34:1: warning: missing initializer for field 'memoryf' of 'Dtdisc_t {aka struct _dtdisc_s}' [-Wmissing-field-initializers] }; ^ In file included from ./cgraph.h:18:0, from ./cghdr.h:24, from attr.c:14: ../../lib/cdt/cdt.h:85:13: note: 'memoryf' declared here Dtmemory_f memoryf;/* to allocate/free memory */ ^~~~~~~ attr.c:38:1: warning: missing initializer for field 'has_attrs' of 'Agdesc_t {aka struct Agdesc_s}' [-Wmissing-field-initializers] static Agdesc_t ProtoDesc = { 1, 0, 1, 0, 1, 1 }; ^~~~~~ In file included from ./cghdr.h:24:0, from attr.c:14: ./cgraph.h:147:14: note: 'has_attrs' declared here unsigned has_attrs:1; /* if string attr tables should be initialized */ ^~~~~~~~~ attr.c:52:9: warning: no previous prototype for 'agdictof' [-Wmissing-prototypes] Dict_t *agdictof(Agraph_t * g, int kind) ^~~~~~~~ attr.c:79:10: warning: no previous prototype for 'agnewsym' [-Wmissing-prototypes] Agsym_t *agnewsym(Agraph_t * g, char *name, char *value, int id, int kind) ^~~~~~~~ attr.c: In function 'agnewsym': attr.c:83:17: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] sym->kind = kind; ^~~~ attr.c: At top level: attr.c:134:10: warning: no previous prototype for 'agdictsym' [-Wmissing-prototypes] Agsym_t *agdictsym(Dict_t * dict, char *name) ^~~~~~~~~ attr.c:142:10: warning: no previous prototype for 'aglocaldictsym' [-Wmissing-prototypes] Agsym_t *aglocaldictsym(Dict_t * dict, char *name) ^~~~~~~~~~~~~~ attr.c: In function 'addattr': attr.c:246:20: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sym->id * ^ attr.c:249:16: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1) * sizeof(char *)); ^ attr.c: In function 'setattr': attr.c:283:6: warning: switch missing default case [-Wswitch-default] switch (kind) { ^~~~~~ attr.c:257:19: warning: variable 'dd' set but not used [-Wunused-but-set-variable] Agdatadict_t *dd; ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC subg.lo subg.c: In function 'agdelsubg': subg.c:95:12: warning: cast from function call of type 'void *' to non-matching type 'long int' [-Wbad-function-cast] return (long) dtdelete(g->g_dict, subg); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC pend.lo pend.c:68:1: warning: missing initializer for field 'memoryf' of 'Dtdisc_t {aka struct _dtdisc_s}' [-Wmissing-field-initializers] }; ^ In file included from ./cgraph.h:18:0, from ./cghdr.h:24, from pend.c:14: ../../lib/cdt/cdt.h:85:13: note: 'memoryf' declared here Dtmemory_f memoryf;/* to allocate/free memory */ ^~~~~~~ pend.c: In function 'cb': pend.c:247:6: warning: switch missing default case [-Wswitch-default] switch (callback_kind) { ^~~~~~ pend.c: In function 'agcallbacks': pend.c:291:31: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] g->clos->callbacks_enabled = flag; ^~~~ pend.c:294:34: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] g->clos->callbacks_enabled = flag; ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC node.lo node.c:28:11: warning: no previous prototype for 'agfindnode_by_name' [-Wmissing-prototypes] Agnode_t *agfindnode_by_name(Agraph_t * g, char *name) ^~~~~~~~~~~~~~~~~~ node.c: In function 'newnode': node.c:77:16: warning: conversion to 'unsigned int:28' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] AGSEQ(n) = seq; ^~~ node.c: In function 'installnode': node.c:90:9: warning: variable 'osize' set but not used [-Wunused-but-set-variable] int osize; ^~~~~ node.c: At top level: node.c:274:5: warning: no previous prototype for 'agsubnodeidcmpf' [-Wmissing-prototypes] int agsubnodeidcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) ^~~~~~~~~~~~~~~ node.c: In function 'agsubnodeidcmpf': node.c:274:30: warning: unused parameter 'd' [-Wunused-parameter] int agsubnodeidcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) ^ node.c:274:68: warning: unused parameter 'disc' [-Wunused-parameter] int agsubnodeidcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) ^~~~ node.c: At top level: node.c:286:5: warning: no previous prototype for 'agsubnodeseqcmpf' [-Wmissing-prototypes] int agsubnodeseqcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) ^~~~~~~~~~~~~~~~ node.c: In function 'agsubnodeseqcmpf': node.c:286:31: warning: unused parameter 'd' [-Wunused-parameter] int agsubnodeseqcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) ^ node.c:286:69: warning: unused parameter 'disc' [-Wunused-parameter] int agsubnodeseqcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) ^~~~ node.c: In function 'free_subnode': node.c:307:21: warning: unused parameter 'd' [-Wunused-parameter] free_subnode (Dt_t* d, Agsubnode_t* sn, Dtdisc_t * disc) ^ node.c:307:52: warning: unused parameter 'disc' [-Wunused-parameter] free_subnode (Dt_t* d, Agsubnode_t* sn, Dtdisc_t * disc) ^~~~ node.c: At top level: node.c:338:6: warning: no previous prototype for 'agnodesetfinger' [-Wmissing-prototypes] void agnodesetfinger(Agraph_t * g, Agnode_t * n, void *ignored) ^~~~~~~~~~~~~~~ node.c:346:6: warning: no previous prototype for 'agnoderenew' [-Wmissing-prototypes] void agnoderenew(Agraph_t * g, Agnode_t * n, void *ignored) ^~~~~~~~~~~ node.c: In function 'agnodebefore': node.c:365:15: warning: conversion to 'unsigned int:28' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] AGSEQ(snd) = (g->clos->seq[AGNODE] + 2); ^ In file included from ./cghdr.h:24:0, from node.c:14: ./cgraph.h:105:21: warning: conversion to 'unsigned int:28' from 'int' may alter its value [-Wconversion] #define AGSEQ(obj) (AGTAG(obj).seq) ^ node.c:371:14: note: in expansion of macro 'AGSEQ' AGSEQ(n) = AGSEQ(n) + 1; ^~~~~ ./cgraph.h:105:21: warning: conversion to 'unsigned int:28' from 'int' may alter its value [-Wconversion] #define AGSEQ(obj) (AGTAG(obj).seq) ^ node.c:377:15: note: in expansion of macro 'AGSEQ' AGSEQ(snd) = AGSEQ(fst) - 1; ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC refstr.lo refstr.c: In function 'aghtmlstr': refstr.c:185:25: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] return (key->refcnt & HTML_BIT); ~~~~~~~~~~~~~^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC write.lo write.c:380:5: warning: no previous prototype for 'node_in_subg' [-Wmissing-prototypes] int node_in_subg(Agraph_t * g, Agnode_t * n) ^~~~~~~~~~~~ write.c: In function 'set_attrwf': write.c:660:19: warning: conversion to 'unsigned char:1' from 'int' may alter its value [-Wconversion] AGATTRWF(g) = value; ^~~~~ write.c:666:20: warning: conversion to 'unsigned char:1' from 'int' may alter its value [-Wconversion] AGATTRWF(n) = value; ^~~~~ write.c:668:17: warning: conversion to 'unsigned char:1' from 'int' may alter its value [-Wconversion] AGATTRWF(e) = value; ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CC scan.lo ../../lib/cgraph/scan.l: In function 'addstr': ../../lib/cgraph/scan.l:71:31: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] Sbuf = (char*)realloc(Sbuf,sz); ^~ ../../lib/cgraph/scan.l: In function 'storeFileName': ../../lib/cgraph/scan.l:95:38: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (cnt) buf = (char*)realloc (buf, len+1); ^~~ ../../lib/cgraph/scan.l:96:28: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] else buf = (char*)malloc (len+1); ^~~ ../../lib/cgraph/scan.l: In function 'ppDirective': ../../lib/cgraph/scan.l:123:21: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] storeFileName (p, e-p); ^ ../../lib/cgraph/scan.l: In function 'twoDots': ../../lib/cgraph/scan.l:136:14: warning: conversion to 'int' from 'aag_size_t {aka long unsigned int}' may alter its value [-Wconversion] for (i = yyleng-2; i >= 0; i--) { ^~~~~~~ lex.aag.c: In function 'aaglex': lex.aag.c:959:29: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'flex_int32_t {aka const int}' may alter its value [-Wconversion] lex.aag.c:969:14: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'flex_int32_t {aka const int}' may alter its value [-Wconversion] lex.aag.c:971:60: warning: conversion to 'unsigned int' from 'flex_int16_t {aka const short int}' may change the sign of the result [-Wsign-conversion] lex.aag.c:176:33: warning: conversion to 'int' from 'aag_size_t {aka long unsigned int}' may alter its value [-Wconversion] ../../lib/cgraph/scan.l:215:17: note: in expansion of macro 'aagless' {NUMBER} { if (chkNum()) yyless(yyleng-1); yylval.str = (char*)agstrdup(Ag_G_global,yytext); return(T_atom); } ^~~~~~~ lex.aag.c:1247:8: warning: switch missing default case [-Wswitch-default] lex.aag.c: In function 'aag_get_next_buffer': lex.aag.c:1362:43: warning: conversion to 'aag_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.aag.c:1396:57: warning: conversion to 'aag_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.aag.c:1406:19: warning: conversion to 'int' from 'aag_size_t {aka long unsigned int}' may alter its value [-Wconversion] ../../lib/cgraph/scan.l:47:45: note: in definition of macro 'YY_INPUT' if ((result = Disc->io->afread(Ifile, buf, max_size)) < 0) \ ^~~~~~~~ ../../lib/cgraph/scan.l:47:16: warning: conversion to 'aag_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if ((result = Disc->io->afread(Ifile, buf, max_size)) < 0) \ ^ lex.aag.c:1405:3: note: in expansion of macro 'YY_INPUT' ../../lib/cgraph/scan.l:47:56: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if ((result = Disc->io->afread(Ifile, buf, max_size)) < 0) \ ^ lex.aag.c:1405:3: note: in expansion of macro 'YY_INPUT' lex.aag.c:1430:34: warning: conversion to 'aag_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.aag.c:1432:39: warning: conversion to 'aag_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.aag.c:1438:16: warning: conversion to 'aag_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.aag.c: In function 'aag_get_previous_state': lex.aag.c:1459:28: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'int' may alter its value [-Wconversion] lex.aag.c:1469:13: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'flex_int32_t {aka const int}' may alter its value [-Wconversion] lex.aag.c:1471:59: warning: conversion to 'unsigned int' from 'flex_int16_t {aka const short int}' may change the sign of the result [-Wsign-conversion] lex.aag.c: In function 'aag_try_NUL_trans': lex.aag.c:1497:12: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'flex_int32_t {aka const int}' may alter its value [-Wconversion] lex.aag.c:1499:58: warning: conversion to 'unsigned int' from 'flex_int16_t {aka const short int}' may change the sign of the result [-Wsign-conversion] lex.aag.c: In function 'input': lex.aag.c:1566:24: warning: conversion to 'aag_size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] lex.aag.c:1569:4: warning: switch missing default case [-Wswitch-default] lex.aag.c: In function 'aag_create_buffer': lex.aag.c:1693:20: warning: conversion to 'aag_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.aag.c: In function 'aagensure_buffer_stack': lex.aag.c:1867:41: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.aag.c:1876:68: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lex.aag.c: In function 'aag_scan_bytes': lex.aag.c:1950:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ../../lib/cgraph/scan.l: At top level: ../../lib/cgraph/scan.l:231:6: warning: no previous prototype for 'aagerror' [-Wmissing-prototypes] { ^ ../../lib/cgraph/scan.l: In function 'aagerror': ../../lib/cgraph/scan.l:255:14: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] agxbput (&xb, "\nString starting:\""); ^~~~~~ ../../lib/cgraph/scan.l:266:14: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] agxbput (&xb, "\nString starting:<"); ^~~~~~ ../../lib/cgraph/scan.l:250:7: warning: switch missing default case [-Wswitch-default] case qstring : ^~~~~~ At top level: lex.aag.c:1546:16: warning: 'input' defined but not used [-Wunused-function] make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CCLD libcgraph_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' CCLD libcgraph.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' Making all in pathplan make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' CC inpoly.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' CC shortestpth.lo shortestpth.c:35:6: warning: no previous prototype for 'shortestPath' [-Wmissing-prototypes] int *shortestPath(int root, int target, int V, array2 wadj) ^~~~~~~~~~~~ shortestpth.c: In function 'shortestPath': shortestpth.c:44:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dad = (int *) malloc(V * sizeof(int)); ^ shortestpth.c:45:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vl = (COORD *) malloc((V + 1) * sizeof(COORD)); /* One extra for sentinel */ ^ shortestpth.c:61:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (val[k] == unseen) ^~ shortestpth.c:76:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((wkt != 0) && (val[t] < newpri)) { ^~ shortestpth.c: In function 'makePath': shortestpth.c:106:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] int *dad = (int *) malloc(sizeof(int) * (V + 2)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' CC util.lo util.c: In function 'copypoly': util.c:31:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] rv.ps = malloc(sizeof(Ppoint_t) * argpoly.pn); ^ util.c: In function 'Ppolybarriers': util.c:59:20: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] bar = malloc(n * sizeof(Pedge_t)); ^ util.c: In function 'make_polyline': util.c:23:61: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)realloc(ptr,(size)*sizeof(type)):(type*)malloc((size)*sizeof(type))) ^ util.c:90:12: note: in expansion of macro 'ALLOC' ispline = ALLOC(npts, ispline, Ppoint_t); ^~~~~ util.c:23:96: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)realloc(ptr,(size)*sizeof(type)):(type*)malloc((size)*sizeof(type))) ^ util.c:90:12: note: in expansion of macro 'ALLOC' ispline = ALLOC(npts, ispline, Ppoint_t); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' CC triang.lo triang.c: In function 'Ptriangulate': triang.c:71:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pointp = (Ppoint_t **) malloc(pointn * sizeof(Ppoint_t *)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' CC cvt.lo cvt.c: In function 'Pobsopen': cvt.c:77:24: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] rv->P = mymalloc(n * sizeof(Ppoint_t)); ^ cvt.c:78:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] rv->start = mymalloc((n_obs + 1) * sizeof(int)); ^ cvt.c:79:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] rv->next = mymalloc(n * sizeof(int)); ^ cvt.c:80:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] rv->prev = mymalloc(n * sizeof(int)); ^ cvt.c: In function 'Pobspath': cvt.c:143:9: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] j = opn - 1; ^~~ cvt.c:162:24: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] output_route->pn = opn; ^~~ cvt.c: At top level: cvt.c:171:5: warning: no previous prototype for 'Pobsbarriers' [-Wmissing-prototypes] int Pobsbarriers(vconfig_t * config, Pedge_t ** barriers, int *n_barriers) ^~~~~~~~~~~~ cvt.c: In function 'Pobsbarriers': cvt.c:175:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *barriers = malloc(config->N * sizeof(Pedge_t)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' CC solvers.lo solvers.c: In function 'solve2': solvers.c:90:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (disc == 0) { ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' CC visibility.lo visibility.c: In function 'allocArray': visibility.c:41:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] arr = (COORD **) malloc((V + extra) * sizeof(COORD *)); ^ visibility.c:42:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] p = (COORD *) calloc(V * V, sizeof(COORD)); ^ visibility.c: At top level: visibility.c:92:5: warning: no previous prototype for 'inBetween' [-Wmissing-prototypes] int inBetween(Ppoint_t a, Ppoint_t b, Ppoint_t c) ^~~~~~~~~ visibility.c: In function 'inBetween': visibility.c:94:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (a.x != b.x) /* not vertical */ ^~ visibility.c: In function 'clear': visibility.c:240:45: warning: unused parameter 'prevPt' [-Wunused-parameter] int V, Ppoint_t pts[], int nextPt[], int prevPt[]) ^~~~~~ visibility.c: In function 'ptVis': visibility.c:351:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vadj = (COORD *) malloc((V + 2) * sizeof(COORD)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' CC route.lo route.c: In function 'reallyroutespline': route.c:212:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(tnas = malloc(sizeof(tna_t) * inpn))) ^ route.c:215:47: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(tnas = realloc(tnas, sizeof(tna_t) * inpn))) ^ route.c: In function 'splinefits': route.c:360:8: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (a == 0 && b == 0) { ^~ route.c:360:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (a == 0 && b == 0) { ^~ route.c: In function 'splineintersectsline': route.c:430:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (xcoeff[1] == 0) { ^~ route.c:431:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ycoeff[1] == 0) { ^~ route.c:450:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (xroots[i] == yroots[j]) ^~ route.c: In function 'growops': route.c:530:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(ops = (Ppoint_t *) malloc(POINTSIZE * newopn))) { ^ route.c:536:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] POINTSIZE * newopn))) { ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' CC shortest.lo shortest.c: In function 'Pshortestpath': shortest.c:141:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (((p1.x == p2.x && p2.x == p3.x) && (p3.y > p2.y)) || ^~ shortest.c:141:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (((p1.x == p2.x && p2.x == p3.x) && (p3.y > p2.y)) || ^~ shortest.c:145:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && polyp->ps[pi].x == polyp->ps[pi + 1].x ^~ shortest.c:146:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && polyp->ps[pi].y == polyp->ps[pi + 1].y) ^~ shortest.c:155:36: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (pi > 0 && polyp->ps[pi].x == polyp->ps[pi - 1].x && ^~ shortest.c:156:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] polyp->ps[pi].y == polyp->ps[pi - 1].y) ^~ shortest.c:281:10: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] trii = trip->e[ei].rtp - tris; ^~~~ shortest.c: In function 'triangulate': shortest.c:305:41: warning: declaration of 'pnlps' shadows a global declaration [-Wshadow] static void triangulate(pointnlink_t ** pnlps, int pnln) ^~~~~ shortest.c:74:30: note: shadowed declaration is here static pointnlink_t *pnls, **pnlps; ^~~~~ shortest.c:305:52: warning: declaration of 'pnln' shadows a global declaration [-Wshadow] static void triangulate(pointnlink_t ** pnlps, int pnln) ^~~~ shortest.c:75:12: note: shadowed declaration is here static int pnln, pnll; ^~~~ shortest.c: In function 'isdiagonal': shortest.c:331:61: warning: declaration of 'pnlps' shadows a global declaration [-Wshadow] static int isdiagonal(int pnli, int pnlip2, pointnlink_t ** pnlps, ^~~~~ shortest.c:74:30: note: shadowed declaration is here static pointnlink_t *pnls, **pnlps; ^~~~~ shortest.c:332:13: warning: declaration of 'pnln' shadows a global declaration [-Wshadow] int pnln) ^~~~ shortest.c:75:12: note: shadowed declaration is here static int pnln, pnll; ^~~~ shortest.c: In function 'marktripath': shortest.c:417:18: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] marktripath(tris[trii].e[ei].rtp - tris, trij)) ^~~~ shortest.c: In function 'growpnls': shortest.c:522:54: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(pnls = (pointnlink_t *) malloc(POINTNLINKSIZE * newpnln))) { ^ shortest.c:526:57: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(pnlps = (pointnlink_t **) malloc(POINTNLINKPSIZE * newpnln))) { ^ shortest.c:532:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] POINTNLINKSIZE * newpnln))) { ^ shortest.c:537:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] POINTNLINKPSIZE * ^ shortest.c: In function 'growtris': shortest.c:551:50: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(tris = (triangle_t *) malloc(TRIANGLESIZE * newtrin))) { ^ shortest.c:557:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] TRIANGLESIZE * newtrin))) { ^ shortest.c: In function 'growdq': shortest.c:572:48: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (pointnlink_t **) malloc(POINTNLINKPSIZE * newdqn))) { ^ shortest.c:578:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] POINTNLINKPSIZE * ^ shortest.c: In function 'growops': shortest.c:592:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(ops = (Ppoint_t *) malloc(POINTSIZE * newopn))) { ^ shortest.c:598:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] POINTSIZE * newopn))) { ^ shortest.c: In function 'loadtriangle': shortest.c:548:8: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] if (newtrin <= trin) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' CCLD libpathplan_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' CCLD libpathplan.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' Making all in sfio Making all in Sfio_f make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' mkdir -p ../../../FEATURE ../../../iffe - set cc x86_64-alt-linux-gcc : run ../../../lib/sfio/features/sfio > ../../../FEATURE/sfio make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfputc.lo In file included from _sfputc.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfclrerr.lo In file included from _sfclrerr.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from ../../../lib/sfio/sfio_t.h:46:0, from ../../../lib/sfio/sfhdr.h:31, from _sfclrerr.c:14: _sfclrerr.c: In function 'sfclrerr': ../../../lib/sfio/sfio.h:424:50: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] #define __sf_clrerr(f) ((f) ? (_SF_(f)->flags &= ~(SF_ERROR|SF_EOF)) : 0) ^ _sfclrerr.c:20:12: note: in expansion of macro '__sf_clrerr' return __sf_clrerr(f); ^~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfllen.lo In file included from _sfllen.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sffileno.lo In file included from _sffileno.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfeof.lo In file included from _sfeof.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sferror.lo In file included from _sferror.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfdlen.lo In file included from _sfdlen.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfgetc.lo In file included from _sfgetc.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfputd.lo In file included from _sfputd.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfputm.lo In file included from _sfputm.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfputl.lo In file included from _sfputl.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfslen.lo In file included from _sfslen.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfputu.lo In file included from _sfputu.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfulen.lo In file included from _sfulen.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfstacked.lo In file included from _sfstacked.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CC _sfvalue.lo In file included from _sfvalue.c:14:0: ../../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' CCLD libsfiof_C.la make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfclrlock.lo In file included from sfclrlock.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfclrlock.c: In function 'sfclrlock': sfclrlock.c:33:17: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags &= ~(SF_ERROR | SF_EOF); ^ In file included from sfclrlock.c:14:0: sfhdr.h:230:20: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] (((f)->bits &= ~SF_MVSIZE), ((f)->size /= SF_NMAP)) ) ^ sfhdr.h:231:23: note: in expansion of macro 'SFMVUNSET' #define SFCLRBITS(f) (SFMVUNSET(f), ((f)->bits &= ~(SF_DCDOWN|SF_MVSIZE)) ) ^~~~~~~~~ sfclrlock.c:41:5: note: in expansion of macro 'SFCLRBITS' SFCLRBITS(f); ^~~~~~~~~ sfhdr.h:231:51: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] #define SFCLRBITS(f) (SFMVUNSET(f), ((f)->bits &= ~(SF_DCDOWN|SF_MVSIZE)) ) ^ sfclrlock.c:41:5: note: in expansion of macro 'SFCLRBITS' SFCLRBITS(f); ^~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfexit.lo In file included from sfexit.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfdlen.lo In file included from sfdlen.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfdlen.c: In function '_sfdlen': sfdlen.c:32:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v != 0.) ^~ sfdlen.c:33:12: warning: conversion to 'double' from 'long double' may alter its value [-Wfloat-conversion] v = frexp(v, &exp); ^ sfdlen.c:37:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (w = 1; w <= N_ARRAY; ++w) { /* get 2^SF_PRECIS precision at a time */ ^~ sfdlen.c:38:23: warning: conversion to 'double' from 'long double' may alter its value [-Wfloat-conversion] n = (int) (x = ldexp(v, SF_PRECIS)); ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sffcvt.lo In file included from sffcvt.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sffcvt.c:22:7: warning: no previous prototype for 'sffcvt' [-Wmissing-prototypes] char *sffcvt(double dval, int n_digit, int *decpt, int *sign) ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfclose.lo In file included from sfclose.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfclose.c:14:0: sfclose.c: In function 'sfclose': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfclose.c:28:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfhdr.h:614:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfclose.c:31:2: note: in expansion of macro 'SFMODE' SFMODE(f, local) != (f->mode & SF_RDWR) && ^~~~~~ sfhdr.h:614:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfclose.c:32:2: note: in expansion of macro 'SFMODE' SFMODE(f, local) != (f->mode & (SF_READ | SF_SYNCED)) && ^~~~~~ sfclose.c:80:14: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_LOCK; ^~ In file included from sfclose.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfclose.c:83:3: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfexcept.lo In file included from sfexcept.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfexcept.c:14:0: sfexcept.c: In function '_sfexcept': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfexcept.c:34:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfexcept.c:38:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags |= io < 0 ? SF_ERROR : SF_EOF; ^~ In file included from sfexcept.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfexcept.c:42:6: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfexcept.c:75:46: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] data = (uchar *) realloc((char *) f->data, size); ^~~~ sfexcept.c:77:27: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] data = (uchar *) malloc(size); ^~~~ sfexcept.c:94:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags &= ~(SF_EOF | SF_ERROR); ^ In file included from sfexcept.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfexcept.c:103:6: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfgetm.lo In file included from sfgetm.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfgetm.c:14:0: sfgetm.c: In function 'sfgetm': sfhdr.h:655:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define _SFAVAIL(f,s,n) ((n) = (f)->endb - ((s) = (f)->next) ) ^ sfhdr.h:656:25: note: in expansion of macro '_SFAVAIL' #define SFRPEEK(f,s,n) (_SFAVAIL(f,s,n) > 0 ? (n) : \ ^~~~~~~~ sfgetm.c:35:6: note: in expansion of macro 'SFRPEEK' if (SFRPEEK(f, s, p) <= 0) { ^~~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfgetm.c:51:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sffilbuf.lo In file included from sffilbuf.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sffilbuf.c:14:0: sffilbuf.c: In function '_sffilbuf': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sffilbuf.c:37:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sffilbuf.c:44:16: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->bits &= ~SF_JUSTSEEK; ^ sffilbuf.c:46:42: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] for (first = 1;; first = 0, (f->mode &= ~SF_LOCK)) { /* check mode */ ^~ In file included from sffilbuf.c:14:0: sfhdr.h:614:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sffilbuf.c:47:6: note: in expansion of macro 'SFMODE' if (SFMODE(f, local) != SF_READ && _sfmode(f, SF_READ, local) < 0) ^~~~~~ sffilbuf.c:61:28: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] memcpy(f->data, f->next, r); ^ sffilbuf.c:75:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (justseek && n <= f->iosz && f->iosz <= f->size) ^~ sffilbuf.c:75:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (justseek && n <= f->iosz && f->iosz <= f->size) ^~ sffilbuf.c:76:11: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] r = f->iosz; /* limit buffer filling */ ^ sffilbuf.c:81:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f->mode |= rcrv; ^~ sffilbuf.c:82:12: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] f->getr = rc; ^~ In file included from sffilbuf.c:14:0: sffilbuf.c:83:28: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if ((r = SFRD(f, f->endb, r, f->disc)) >= 0) { ^ sfhdr.h:600:52: note: in definition of macro 'SFRD' #define SFRD(f,b,n,d) (SETLOCAL(f),sfrd(f,(void*)b,n,d)) ^ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sffilbuf.c:89:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfgetd.lo In file included from sfgetd.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfgetd.c:14:0: sfgetd.c: In function 'sfgetd': sfhdr.h:655:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define _SFAVAIL(f,s,n) ((n) = (f)->endb - ((s) = (f)->next) ) ^ sfhdr.h:656:25: note: in expansion of macro '_SFAVAIL' #define SFRPEEK(f,s,n) (_SFAVAIL(f,s,n) > 0 ? (n) : \ ^~~~~~~~ sfgetd.c:39:6: note: in expansion of macro 'SFRPEEK' if (SFRPEEK(f, s, p) <= 0) { ^~~~~~~ sfgetd.c:48:16: warning: conversion to 'double' from 'long double' may alter its value [-Wfloat-conversion] v = ldexp(v, -SF_PRECIS); ^ sfgetd.c:58:15: warning: conversion to 'double' from 'long double' may alter its value [-Wfloat-conversion] v = ldexp(v, (sign & 02) ? -exp : exp); ^ In file included from sfgetd.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfgetd.c:62:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfextern.lo In file included from sfextern.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfextern.c:35:5: warning: missing initializer for field 'array' of 'struct _sfpool_s' [-Wmissing-field-initializers] {NIL(Sfpool_t *), 0, 0, 0, NIL(Sfio_t **)}, /* _Sfpool */ ^ In file included from sfextern.c:14:0: sfhdr.h:397:10: note: 'array' declared here Sfio_t *array[3]; /* start with 3 */ ^~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfcvt.lo In file included from sfcvt.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfcvt.c: In function '_sfcvt': sfcvt.c:50:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dval == 0.) ^~ sfcvt.c:110:15: warning: conversion to 'char' from 'long int' may alter its value [-Wconversion] *sp++ = '0' + n; ^~~ sfcvt.c:124:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dval == 0.) ^~ In file included from sfcvt.c:14:0: sfhdr.h:725:18: warning: conversion to 'double' from 'long double' may alter its value [-Wfloat-conversion] #define _Sfneg10 (_Sftable.sf_neg10) ^ sfcvt.c:136:15: note: in expansion of macro '_Sfneg10' dval *= _Sfneg10[v]; ^~~~~~~~ sfcvt.c:185:12: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] dval -= n; ^~ sfcvt.c:198:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *--sp += 5; ^ sfcvt.c:202:12: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *--sp += 1; ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfgetl.lo In file included from sfgetl.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfgetl.c:14:0: sfgetl.c: In function 'sfgetl': sfhdr.h:655:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define _SFAVAIL(f,s,n) ((n) = (f)->endb - ((s) = (f)->next) ) ^ sfhdr.h:656:25: note: in expansion of macro '_SFAVAIL' #define SFRPEEK(f,s,n) (_SFAVAIL(f,s,n) > 0 ? (n) : \ ^~~~~~~~ sfgetl.c:34:6: note: in expansion of macro 'SFRPEEK' if (SFRPEEK(f, s, p) <= 0) { ^~~~~~~ sfgetl.c:42:7: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] v = ((Sfulong_t) v << SF_UBITS) | SFUVALUE(c); ^ sfgetl.c:44:7: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] v = ((Sfulong_t) v << SF_SBITS) | SFSVALUE(c); ^ In file included from sfgetl.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfgetl.c:53:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfllen.lo In file included from sfllen.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfllen.c: In function '_sfllen': sfllen.c:24:9: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] v = (Sfulong_t) v >> SF_SBITS; ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfgetu.lo In file included from sfgetu.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfgetu.c:14:0: sfgetu.c: In function 'sfgetu': sfhdr.h:655:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define _SFAVAIL(f,s,n) ((n) = (f)->endb - ((s) = (f)->next) ) ^ sfhdr.h:656:25: note: in expansion of macro '_SFAVAIL' #define SFRPEEK(f,s,n) (_SFAVAIL(f,s,n) > 0 ? (n) : \ ^~~~~~~~ sfgetu.c:35:6: note: in expansion of macro 'SFRPEEK' if (SFRPEEK(f, s, p) <= 0) { ^~~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfgetu.c:51:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfgetr.lo In file included from sfgetr.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfgetr.c: In function 'sfgetr': sfgetr.c:60:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] f->getr = rc; ^~ sfgetr.c:75:5: warning: "_lib_memchr" is not defined, evaluates to 0 [-Wundef] #if _lib_memchr ^~~~~~~~~~~ In file included from sfgetr.c:14:0: sfgetr.c:116:18: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] MEMCPY(s, ends, n); ^ sfhdr.h:817:41: note: in definition of macro 'MEMCPY' { default : memcpy((void*)to,(void*)fr,n); to += n; fr += n; break; \ ^ sfgetr.c:125:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] f->getr = rc; ^~ In file included from sfgetr.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfgetr.c:134:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfhdr.h:818:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfgetr.c:116:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:819:4: note: here case 6 : *to++ = *fr++; \ ^ sfgetr.c:116:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:819:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfgetr.c:116:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:820:4: note: here case 5 : *to++ = *fr++; \ ^ sfgetr.c:116:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:820:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfgetr.c:116:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:821:4: note: here case 4 : *to++ = *fr++; \ ^ sfgetr.c:116:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:821:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfgetr.c:116:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:822:4: note: here case 3 : *to++ = *fr++; \ ^ sfgetr.c:116:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:822:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfgetr.c:116:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:823:4: note: here case 2 : *to++ = *fr++; \ ^ sfgetr.c:116:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:823:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfgetr.c:116:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ sfhdr.h:824:4: note: here case 1 : *to++ = *fr++; \ ^ sfgetr.c:116:2: note: in expansion of macro 'MEMCPY' MEMCPY(s, ends, n); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfflsbuf.lo In file included from sfflsbuf.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfflsbuf.c:14:0: sfflsbuf.c: In function '_sfflsbuf': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfflsbuf.c:36:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfflsbuf.c:38:21: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] for (;; f->mode &= ~SF_LOCK) { /* check stream mode */ ^~ In file included from sfflsbuf.c:14:0: sfhdr.h:614:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfflsbuf.c:39:6: note: in expansion of macro 'SFMODE' if (SFMODE(f, local) != SF_WRITE ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfflsbuf.c:55:3: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ sfflsbuf.c:62:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *f->next++ = c; ^ In file included from sfflsbuf.c:14:0: sfhdr.h:596:61: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define SFISALL(f,v) ((((v) = (f)->mode&SF_RV) ? ((f)->mode &= ~SF_RV) : 0), \ ^ sfflsbuf.c:80:10: note: in expansion of macro 'SFISALL' isall = SFISALL(f, isall); ^~~~~~~ sfflsbuf.c:81:25: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if ((w = SFWR(f, data, n, f->disc)) > 0) { ^ sfhdr.h:601:52: note: in definition of macro 'SFWR' #define SFWR(f,b,n,d) (SETLOCAL(f),sfwr(f,(void*)b,n,d)) ^ sfflsbuf.c:83:47: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] memcpy((char *) f->data, (char *) data + w, n); ^ In file included from sfflsbuf.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfflsbuf.c:88:6: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfflsbuf.c:94:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ sfflsbuf.c:97:9: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] inpc = f->endb - f->next; ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfdisc.lo In file included from sfdisc.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfdisc.c:14:0: sfdisc.c: In function 'sfdisc': sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfdisc.c:57:3: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfdisc.c:82:6: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfdisc.c:93:3: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfdisc.c:127:17: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->bits &= ~SF_NULL; /* turn off /dev/null handling */ ^ sfdisc.c:134:33: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] sfsetbuf(f, (void *) f->data, f->size); ^ sfdisc.c:135:15: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags |= (flags & SF_MALLOC); ^ In file included from sfdisc.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfdisc.c:141:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfmutex.lo In file included from sfmutex.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfmutex.c: In function 'sfmutex': sfmutex.c:22:22: warning: unused parameter 'f' [-Wunused-parameter] int sfmutex(Sfio_t * f, int type) ^ sfmutex.c:22:29: warning: unused parameter 'type' [-Wunused-parameter] int sfmutex(Sfio_t * f, int type) ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfnew.lo In file included from sfnew.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfnew.c: In function 'sfnew': sfnew.c:98:16: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags = (flags & SF_FLAGS) | (sflags & (SF_MALLOC | SF_STATIC)); ^ sfnew.c:100:15: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] f->file = file; ^~~~ sfnew.c:106:12: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] f->size = size; ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfnotify.lo In file included from sfnotify.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfnputc.lo In file included from sfnputc.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfnputc.c:14:0: sfnputc.c: In function 'sfnputc': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfnputc.c:35:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfhdr.h:614:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfnputc.c:36:9: note: in expansion of macro 'SFMODE' if (SFMODE(f, local) != SF_WRITE && _sfmode(f, SF_WRITE, local) < 0) ^~~~~~ sfnputc.c:47:6: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] p = n; ^ In file included from sfnputc.c:14:0: sfnputc.c:48:19: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] MEMSET(ps, c, p); ^ sfhdr.h:828:37: note: in definition of macro 'MEMSET' { default : memset((void*)s,(int)c,n); s += n; break; \ ^ sfnputc.c:48:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:829:21: note: in definition of macro 'MEMSET' case 7 : *s++ = c; \ ^ sfnputc.c:48:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:830:21: note: in definition of macro 'MEMSET' case 6 : *s++ = c; \ ^ sfnputc.c:48:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:831:21: note: in definition of macro 'MEMSET' case 5 : *s++ = c; \ ^ sfnputc.c:48:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:832:21: note: in definition of macro 'MEMSET' case 4 : *s++ = c; \ ^ sfnputc.c:48:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:833:21: note: in definition of macro 'MEMSET' case 3 : *s++ = c; \ ^ sfnputc.c:48:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:834:21: note: in definition of macro 'MEMSET' case 2 : *s++ = c; \ ^ sfnputc.c:48:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] MEMSET(ps, c, p); ^ sfhdr.h:835:21: note: in definition of macro 'MEMSET' case 1 : *s++ = c; \ ^ sfnputc.c:51:9: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] w = n; ^ In file included from sfnputc.c:14:0: sfnputc.c:60:35: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if ((p = SFWRITE(f, (void *) ps, p)) <= 0 || (n -= p) <= 0) { ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfnputc.c:60:50: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if ((p = SFWRITE(f, (void *) ps, p)) <= 0 || (n -= p) <= 0) { ^~ sfnputc.c:61:8: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] w -= n; ^~ sfnputc.c:61:11: warning: conversion to 'ssize_t {aka long int}' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] w -= n; ^ sfnputc.c:65:10: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] p = n; ^ In file included from sfnputc.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfnputc.c:68:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ sfhdr.h:829:19: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : *s++ = c; \ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:830:4: note: here case 6 : *s++ = c; \ ^ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:830:19: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : *s++ = c; \ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:831:4: note: here case 5 : *s++ = c; \ ^ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:831:19: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : *s++ = c; \ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:832:4: note: here case 4 : *s++ = c; \ ^ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:832:19: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : *s++ = c; \ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:833:4: note: here case 3 : *s++ = c; \ ^ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:833:19: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : *s++ = c; \ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:834:4: note: here case 2 : *s++ = c; \ ^ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:834:19: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : *s++ = c; \ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ sfhdr.h:835:4: note: here case 1 : *s++ = c; \ ^ sfnputc.c:48:5: note: in expansion of macro 'MEMSET' MEMSET(ps, c, p); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfopen.lo In file included from sfopen.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfopen.c: In function 'sfopen': sfopen.c:52:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags |= (sflags & (SF_FLAGS & ~SF_RDWR)); ^ sfopen.c:56:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags = (f->flags & ~SF_RDWR) | sflags; ^ sfopen.c:61:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->bits &= ~SF_BOTH; ^ sfopen.c:64:26: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode = (f->mode & ~SF_WRITE) | SF_READ; ^ sfopen.c:66:26: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode = (f->mode & ~SF_READ) | SF_WRITE; ^ sfopen.c:76:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] f = sfnew(f, (char *) file, ^ sfopen.c:77:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] file ? (size_t) strlen((char *) file) : (size_t) ^ sfopen.c:84:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] while ((fd = open((char *) file, oflags, SF_CREATMODE)) < 0 ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfmode.lo In file included from sfmode.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfmode.c: In function '_sfcleanup': sfmode.c:72:14: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_POOL; ^~ sfmode.c:78:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f->mode |= pool; ^~ In file included from sfmode.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfmode.c:81:6: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfmode.c: In function '_sfsetpool': sfmode.c:111:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(array = (Sfio_t **) malloc(n * sizeof(Sfio_t *)))) ^ sfmode.c:116:14: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] p->n_sf * sizeof(Sfio_t *)); ^ sfmode.c: In function '_sfrsrv': sfmode.c:143:38: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if (!(rs = (Sfrsrv_t *) malloc(size + sizeof(Sfrsrv_t)))) ^ sfmode.c:148:41: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] memcpy(rs, rsrv, sizeof(Sfrsrv_t) + rsrv->slen); ^ sfmode.c: In function '_sfpmode': sfmode.c:262:13: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] p->ndata = f->endb - f->next; ^ sfmode.c:266:39: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if ((p->rdata = (uchar *) malloc(p->ndata))) ^ sfmode.c:274:50: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] memcpy((void *) p->rdata, (void *) f->next, p->ndata); ^ sfmode.c:278:17: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] p->ndata = f->size; ^ sfmode.c:280:50: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] memcpy((void *) f->data, (void *) p->rdata, p->ndata); ^ sfmode.c:289:12: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] f->file = p->file; ^ sfmode.c: In function '_sfmode': sfmode.c:332:10: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_GETR; ^~ sfmode.c:334:44: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] if ((f->bits & SF_MMAP) && (f->tiny[0] += 1) >= (4 * SF_NMAP)) { /* turn off mmap to avoid page faulting */ ^ sfmode.c:359:10: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_POOL; ^~ sfmode.c:379:14: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_INIT; ^~ In file included from sfmode.c:14:0: sfmode.c:391:34: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] (void) SFSETBUF(f, f->data, f->size); ^ sfhdr.h:606:51: note: in definition of macro 'SFSETBUF' #define SFSETBUF(f,s,n) (SETLOCAL(f),sfsetbuf(f,s,n)) ^ sfmode.c:392:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags |= (n & SF_MALLOC); ^ In file included from sfmode.c:14:0: sfhdr.h:614:32: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfmode.c:396:25: note: in expansion of macro 'SFMODE' if (wanted == (int) SFMODE(f, 1)) ^~~~~~ sfhdr.h:614:32: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfmode.c:399:13: note: in expansion of macro 'SFMODE' switch (SFMODE(f, 1)) { ^~~~~~ sfmode.c:473:10: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = f->endb - f->next; ^ sfmode.c:505:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (wanted != (f->mode & SF_RDWR) && f->file >= 0) ^~ In file included from sfmode.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfmode.c:516:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfpoll.lo In file included from sfpoll.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfpoll.c: In function 'sfpoll': sfpoll.c:38:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(status = (int *) malloc(2 * n * sizeof(int)))) ^ sfpoll.c:84:6: warning: switch missing default case [-Wswitch-default] switch (_sfexcept(f, f->mode & SF_RDWR, 0, f->disc)) { ^~~~~~ sfpoll.c:120:5: warning: "_lib_poll" is not defined, evaluates to 0 [-Wundef] #if _lib_poll ^~~~~~~~~ sfpoll.c:91:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (f->flags & SF_STRING) ^ sfpoll.c:93:6: note: here case SF_ESTACK: ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfmove.lo In file included from sfmove.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfmove.c: In function 'sfmove': sfmove.c:99:50: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if (rsize <= 0 && (rbuf = (uchar *) malloc(w))) ^ sfmove.c:118:12: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] fr->size, rc, -1, (int) (-n)); ^~ sfmove.c:125:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] one_r:fr->getr = rc; ^~ In file included from sfmove.c:14:0: sfmove.c:133:25: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] if ((r = SFFILBUF(fr, r)) <= 0) ^ sfhdr.h:605:48: note: in definition of macro 'SFFILBUF' #define SFFILBUF(f,n) (SETLOCAL(f),_sffilbuf(f,n)) ^ sfmove.c:141:27: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if ((r = SFRD(fr, next, w, fr->disc)) > 0) ^ sfhdr.h:600:52: note: in definition of macro 'SFRD' #define SFRD(f,b,n,d) (SETLOCAL(f),sfrd(f,(void*)b,n,d)) ^ sfmove.c:165:14: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] endb[-1] = rc; ^~ sfmove.c:180:14: warning: conversion to 'unsigned char' from 'ssize_t {aka long int}' may alter its value [-Wconversion] endb[-1] = w; ^ sfmove.c:183:12: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] fr->mode &= ~SF_PKRD; ^~ sfmove.c:184:40: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] (void) read(fr->file, (void *) next, r); ^ sfmove.c:198:45: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] memcpy((void *) fr->data, (void *) cp, w); ^ sfmove.c:208:44: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] memcpy((void *) fw->next, (void *) next, r); ^ In file included from sfmove.c:14:0: sfmove.c:210:49: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] } else if ((w = SFWRITE(fw, (void *) next, r)) != r) { /* a write error happened */ ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfmove.c:223:2: note: in expansion of macro 'SFOPEN' SFOPEN(fr, 0); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfmove.c:225:6: note: in expansion of macro 'SFOPEN' SFOPEN(fw, 0); ^~~~~~ In file included from sfmove.c:14:0: sfhdr.h:230:20: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] (((f)->bits &= ~SF_MVSIZE), ((f)->size /= SF_NMAP)) ) ^ sfmove.c:230:2: note: in expansion of macro 'SFMVUNSET' SFMVUNSET(fr); ^~~~~~~~~ sfmove.c:232:51: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] SFMMSEQOFF(fr, fr->data, fr->endb - fr->data); ^ sfmove.c:233:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] fr->bits &= ~SF_SEQUENTIAL; ^ In file included from sfmove.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfmove.c:239:5: note: in expansion of macro 'SFOPEN' SFOPEN(fr, 0); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfmove.c:241:2: note: in expansion of macro 'SFOPEN' SFOPEN(fw, 0); ^~~~~~ sfmove.c:184:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] (void) read(fr->file, (void *) next, r); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfpkrd.lo In file included from sfpkrd.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfpkrd.c: In function 'sfpkrd': sfpkrd.c:50:6: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if !_stream_peek ^~~~~~~~~~~~ sfpkrd.c:59:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfpkrd.c:99:5: warning: "_lib_poll" is not defined, evaluates to 0 [-Wundef] #if _lib_poll ^~~~~~~~~ sfpkrd.c:120:5: warning: "_hpux_threads" is not defined, evaluates to 0 [-Wundef] #if _hpux_threads && vt_threaded ^~~~~~~~~~~~~ sfpkrd.c:148:6: warning: "_lib_poll" is not defined, evaluates to 0 [-Wundef] #if !_lib_poll && !_lib_select /* both poll and select cann't be used */ ^~~~~~~~~ sfpkrd.c:217:12: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] action = n; ^ sfpkrd.c:219:32: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] while ((t = read(fd, buf, action)) > 0) { ^~~~~~ sfpkrd.c:219:18: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] while ((t = read(fd, buf, action)) > 0) { ^~~~ sfpkrd.c:224:31: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if (action == 0 || (int) (n - r) < action) ^ sfpkrd.c:245:20: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] r = read(fd, buf, r); ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfprintf.lo In file included from sfprintf.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfpopen.lo In file included from sfpopen.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfpopen.c: In function 'execute': sfpopen.c:48:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] for (s = (char *) argcmd; *s; ++s) ^ sfpopen.c:68:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (char **) realloc(argv, (n + 16) * sizeof(char *)))) ^ sfpopen.c: In function 'sfpopen': sfpopen.c:214:16: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] sf.file = parent[pkeep]; ^~~~~~ sfpopen.c:221:16: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] sf.file = child[ckeep]; ^~~~~ sfpopen.c:123:26: warning: argument 'f' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] Sfio_t *sfpopen(Sfio_t * f, const char *command, const char *mode) ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfpool.lo In file included from sfpool.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfpool.c:14:0: sfpool.c: In function '_sfphead': sfhdr.h:614:32: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfpool.c:107:6: note: in expansion of macro 'SFMODE' if (SFMODE(head, 1) != SF_WRITE && _sfmode(head, SF_WRITE, 1) < 0) ^~~~~~ sfpool.c:117:38: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if ((w = SFWR(head, head->data, k, head->disc)) == k) ^ sfhdr.h:601:52: note: in definition of macro 'SFWR' #define SFWR(f,b,n,d) (SETLOCAL(f),sfwr(f,(void*)b,n,d)) ^ sfpool.c:122:44: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] memcpy(head->data, (head->data + w), v); ^ sfpool.c:131:40: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] memcpy(f->data, (head->data + k), v); ^ sfpool.c:135:13: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_POOL; ^~ sfpool.c:144:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] head->mode &= ~SF_LOCK; /* partially unlock because it's no longer head */ ^~ sfpool.c: In function '_sfpdelete': sfpool.c:164:13: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_POOL; ^~ sfpool.c:184:13: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_POOL; ^~ In file included from sfpool.c:14:0: sfpool.c: In function 'sfpool': sfhdr.h:614:32: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfpool.c:290:6: note: in expansion of macro 'SFMODE' if (SFMODE(f, 1) != SF_WRITE && _sfmode(f, SF_WRITE, 1) < 0) ^~~~~~ sfhdr.h:614:32: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfpool.c:292:6: note: in expansion of macro 'SFMODE' if (SFMODE(pf, 1) != SF_WRITE && _sfmode(pf, SF_WRITE, 1) < 0) ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfpool.c:316:5: note: in expansion of macro 'SFOPEN' SFOPEN(pf, 0); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfpool.c:317:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfpool.c:324:2: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfpool.c:328:2: note: in expansion of macro 'SFOPEN' SFOPEN(pf, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfputm.lo In file included from sfputm.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfputm.c:14:0: sfputm.c: In function '_sfputm': sfputm.c:49:29: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n = SFWRITE(f, (void *) s, n); /* write the hard way */ ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfputm.c:51:2: warning: switch missing default case [-Wswitch-default] switch (n) { ^~~~~~ In file included from sfputm.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfputm.c:72:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfputm.c:53:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputm.c:54:2: note: here case 7: ^~~~ sfputm.c:55:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputm.c:56:2: note: here case 6: ^~~~ sfputm.c:57:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputm.c:58:2: note: here case 5: ^~~~ sfputm.c:59:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputm.c:60:2: note: here case 4: ^~~~ sfputm.c:61:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputm.c:62:2: note: here case 3: ^~~~ sfputm.c:63:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputm.c:64:2: note: here case 2: ^~~~ sfputm.c:65:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputm.c:66:2: note: here case 1: ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfputl.lo In file included from sfputl.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfputl.c: In function '_sfputl': sfputl.c:43:9: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] v = (Sfulong_t) v >> SF_SBITS; ^ sfputl.c:47:6: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] v = (Sfulong_t) v >> SF_UBITS; ^ In file included from sfputl.c:14:0: sfputl.c:52:29: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n = SFWRITE(f, (void *) s, n); /* write the hard way */ ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfputl.c:54:2: warning: switch missing default case [-Wswitch-default] switch (n) { ^~~~~~ In file included from sfputl.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfputl.c:75:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ In file included from sfputl.c:14:0: sfhdr.h:122:34: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFMTXRETURN(f,v) { return(v); } ^ sfputl.c:76:5: note: in expansion of macro 'SFMTXRETURN' SFMTXRETURN(f, n); ^~~~~~~~~~~ sfputl.c:56:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputl.c:57:2: note: here case 7: ^~~~ sfputl.c:58:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputl.c:59:2: note: here case 6: ^~~~ sfputl.c:60:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputl.c:61:2: note: here case 5: ^~~~ sfputl.c:62:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputl.c:63:2: note: here case 4: ^~~~ sfputl.c:64:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputl.c:65:2: note: here case 3: ^~~~ sfputl.c:66:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputl.c:67:2: note: here case 2: ^~~~ sfputl.c:68:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputl.c:69:2: note: here case 1: ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfputr.lo In file included from sfputr.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfputr.c: In function 'sfputr': sfputr.c:41:10: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] n = strlen(s); ^~~~~~ sfputr.c:44:21: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] memcpy(ps, s, n); ^ sfputr.c:49:15: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *ps++ = rc; ^~ sfputr.c:61:26: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] memcpy(rsrv->data, s, n); ^ sfputr.c:63:20: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] rsrv->data[n] = rc; ^~ In file included from sfputr.c:14:0: sfputr.c:64:39: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if ((n = SFWRITE(f, rsrv->data, p)) < 0) ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfputr.c:74:14: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *ps++ = rc; ^~ sfputr.c:80:43: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if ((ps = (uchar *) memccpy(ps, s, '\0', p)) != NIL(uchar *)) ^ In file included from sfputr.c:14:0: sfputr.c:104:38: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] (void) SFWRITE(f, (void *) f->next, n); ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfputr.c:107:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfprints.lo In file included from sfprints.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfpurge.lo In file included from sfpurge.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfpurge.c:14:0: sfpurge.c: In function 'sfpurge': sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfpurge.c:52:2: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfpurge.c:57:21: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] switch (f->mode & ~SF_LOCK) { ^ In file included from sfpurge.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfpurge.c:59:2: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfpurge.c:78:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfputu.lo In file included from sfputu.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfputu.c:14:0: sfputu.c: In function '_sfputu': sfputu.c:48:29: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n = SFWRITE(f, (void *) s, n); /* write the hard way */ ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfputu.c:50:2: warning: switch missing default case [-Wswitch-default] switch (n) { ^~~~~~ In file included from sfputu.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfputu.c:71:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfputu.c:52:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputu.c:53:2: note: here case 7: ^~~~ sfputu.c:54:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputu.c:55:2: note: here case 6: ^~~~ sfputu.c:56:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputu.c:57:2: note: here case 5: ^~~~ sfputu.c:58:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputu.c:59:2: note: here case 4: ^~~~ sfputu.c:60:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputu.c:61:2: note: here case 3: ^~~~ sfputu.c:62:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputu.c:63:2: note: here case 2: ^~~~ sfputu.c:64:12: warning: this statement may fall through [-Wimplicit-fallthrough=] *ps++ = *s++; ~~~~~~^~~~~~ sfputu.c:65:2: note: here case 1: ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfraise.lo In file included from sfraise.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfraise.c:14:0: sfraise.c: In function 'sfraise': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfraise.c:33:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfhdr.h:614:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfraise.c:38:2: note: in expansion of macro 'SFMODE' SFMODE(f, local) != (f->mode & SF_RDWR) ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfraise.c:47:6: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfraise.c:62:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfputd.lo In file included from sfputd.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfputd.c:14:0: sfputd.c: In function '_sfputd': sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfputd.c:47:2: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfputd.c:53:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v != 0.) ^~ sfputd.c:54:12: warning: conversion to 'double' from 'long double' may alter its value [-Wfloat-conversion] v = frexp(v, &exp); ^ In file included from sfputd.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfputd.c:65:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfputd.c:73:23: warning: conversion to 'double' from 'long double' may alter its value [-Wfloat-conversion] n = (int) (x = ldexp(v, SF_PRECIS)); ^ sfputd.c:74:9: warning: conversion to 'unsigned char' from 'ssize_t {aka long int}' may alter its value [-Wconversion] *--s = n | SF_MORE; ^ sfputd.c:75:8: warning: conversion to 'double' from 'ssize_t {aka long int}' may alter its value [-Wconversion] v = x - n; ^ sfputd.c:82:14: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *ends &= ~SF_MORE; ^ In file included from sfputd.c:14:0: sfputd.c:86:32: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] w = SFWRITE(f, (void *) s, n) == n ? w + n : -1; ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfputd.c:88:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ In file included from sfputd.c:14:0: sfhdr.h:122:34: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFMTXRETURN(f,v) { return(v); } ^ sfputd.c:89:5: note: in expansion of macro 'SFMTXRETURN' SFMTXRETURN(f, w); ^~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfread.lo In file included from sfread.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfread.c:14:0: sfread.c: In function 'sfread': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfread.c:35:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfread.c:37:16: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->bits &= ~SF_JUSTSEEK; ^ sfread.c:51:14: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_PEEK; ^~ sfread.c:56:14: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_PEEK; ^~ sfread.c:58:11: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_PKRD; ^~ sfread.c:60:11: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n = (r = read(f->file, f->data, n)) < 0 ? 0 : r; ^ sfread.c:62:11: warning: conversion to 'long long unsigned int' from 'long long int' may change the sign of the result [-Wsign-conversion] f->here += n; ^~ sfread.c:62:14: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] f->here += n; ^ In file included from sfread.c:14:0: sfhdr.h:122:34: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] #define SFMTXRETURN(f,v) { return(v); } ^ sfread.c:66:6: note: in expansion of macro 'SFMTXRETURN' SFMTXRETURN(f, n); ^~~~~~~~~~~ sfread.c:71:21: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] for (;; f->mode &= ~SF_LOCK) { /* check stream mode */ ^~ In file included from sfread.c:14:0: sfhdr.h:614:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfread.c:72:6: note: in expansion of macro 'SFMODE' if (SFMODE(f, local) != SF_READ && _sfmode(f, SF_READ, local) < 0) { ^~~~~~ sfread.c:73:30: warning: signed and unsigned type in conditional expression [-Wsign-compare] n = s > begs ? s - begs : (size_t) (-1); ^ sfread.c:73:30: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] sfread.c:83:22: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] memcpy(s, f->next, r); ^ sfread.c:86:8: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n -= r; ^~ sfread.c:98:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (justseek && n <= f->iosz && f->iosz <= f->size) ^~ sfread.c:99:7: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] r = f->iosz; /* limit buffering */ ^ In file included from sfread.c:14:0: sfread.c:108:46: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if (r == (ssize_t) n && (r = SFRD(f, s, r, f->disc)) >= 0) { ^ sfhdr.h:600:52: note: in definition of macro 'SFRD' #define SFRD(f,b,n,d) (SETLOCAL(f),sfrd(f,(void*)b,n,d)) ^ sfread.c:110:5: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n -= r; ^~ In file included from sfread.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfread.c:124:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfresize.lo In file included from sfresize.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfresize.c: In function 'sfresize': sfresize.c:37:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (s < f->size && (d = realloc(f->data, s))) { ^ sfresize.c:39:17: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] f->size = s; ^ sfresize.c:40:19: warning: conversion to 'long long int' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] f->extent = s; ^ In file included from sfresize.c:14:0: sfhdr.h:811:39: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define memclear(s,n) memset((s),'\0',(n)) ^ sfresize.c:43:6: note: in expansion of macro 'memclear' memclear((char *) (f->data + size), (int) (f->extent - size)); ^~~~~~~~ sfhdr.h:811:39: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define memclear(s,n) memset((s),'\0',(n)) ^ sfresize.c:47:6: note: in expansion of macro 'memclear' memclear((char *) (f->data + f->extent), ^~~~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfresize.c:63:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfreserve.lo In file included from sfreserve.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfreserve.c:14:0: sfreserve.c: In function 'sfreserve': sfreserve.c:91:22: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] (void) SFFILBUF(f, sz == 0 ? -1 : (sz - n)); ^ sfhdr.h:605:48: note: in definition of macro 'SFFILBUF' #define SFFILBUF(f,n) (SETLOCAL(f),_sffilbuf(f,n)) ^ sfreserve.c:96:15: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_PKRD; ^~ In file included from sfreserve.c:14:0: sfreserve.c:101:25: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] (void) SFFILBUF(f, sz == 0 ? -1 : (sz - n)); ^ sfhdr.h:605:48: note: in definition of macro 'SFFILBUF' #define SFFILBUF(f,n) (SETLOCAL(f),_sffilbuf(f,n)) ^ sfreserve.c:110:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if ((f->mode & mode) != 0) ^ sfreserve.c:114:37: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (n > 0 && n < sz && (f->mode & mode) != 0) { /* try to accomodate request size */ ^ In file included from sfreserve.c:14:0: sfreserve.c:117:27: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] (void) SFWR(f, f->next, sz, f->disc); ^ sfhdr.h:601:52: note: in definition of macro 'SFWR' #define SFWR(f,b,n,d) (SETLOCAL(f),sfwr(f,(void*)b,n,d)) ^ sfreserve.c:125:39: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] (n = SFREAD(f, (void *) rsrv->data, sz)) < sz) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfreserve.c:134:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfset.lo In file included from sfset.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfset.c: In function 'sfset': sfset.c:46:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags |= (flags & SF_SETS); ^ sfset.c:48:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags &= ~(flags & SF_SETS); ^ sfset.c:52:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags |= (oflags & SF_RDWR); ^ sfset.c:55:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags &= ~SF_APPENDWR; ^ sfset.c:72:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags &= ~SF_PUBLIC; ^ In file included from sfset.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfset.c:74:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfscanf.lo In file included from sfscanf.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfscanf.c: In function 'sfvsscanf': sfscanf.c:43:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] f.size = strlen((char *) s); ^ sfscanf.c:43:14: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] f.size = strlen((char *) s); ^~~~~~ sfscanf.c:44:32: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] f.data = f.next = f.endw = (uchar *) s; ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfseek.lo In file included from sfseek.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfseek.c:14:0: sfseek.c: In function 'sfseek': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfseek.c:50:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfhdr.h:614:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfseek.c:60:15: note: in expansion of macro 'SFMODE' if ((int) SFMODE(f, local) != (mode = f->mode & SF_RDWR)) { ^~~~~~ sfseek.c:67:17: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags = flags; ^~~~~ sfseek.c:96:17: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags &= ~(SF_EOF | SF_ERROR); ^ In file included from sfseek.c:14:0: sfhdr.h:668:32: warning: declaration of 's' shadows a previous local [-Wshadow] #define SFSTRSIZE(f) { Sfoff_t s = (f)->next - (f)->data; \ ^ sfseek.c:99:2: note: in expansion of macro 'SFSTRSIZE' SFSTRSIZE(f); ^~~~~~~~~ sfseek.c:44:16: note: shadowed declaration is here Sfoff_t r, s; ^ In file included from sfseek.c:14:0: sfhdr.h:811:39: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define memclear(s,n) memset((s),'\0',(n)) ^ sfseek.c:113:3: note: in expansion of macro 'memclear' memclear((char *) (f->data + f->extent), ^~~~~~~~ sfseek.c:201:9: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] b = f->endb - f->data; /* amount of buffered data */ ^ sfseek.c:202:9: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] c = f->next - f->data; /* amount of data consumed */ ^ sfseek.c:219:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (f->iosz >= f->size) ^~ In file included from sfseek.c:14:0: sfseek.c:247:26: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] (void) SFRD(f, f->data, f->size, f->disc); ^ sfhdr.h:600:52: note: in definition of macro 'SFRD' #define SFRD(f,b,n,d) (SETLOCAL(f),sfrd(f,(void*)b,n,d)) ^ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfseek.c:265:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfsetfd.lo In file included from sfsetfd.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfsetfd.c:14:0: sfsetfd.c: In function 'sfsetfd': sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfsetfd.c:65:7: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfsetfd.c:73:4: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfsetfd.c:81:7: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfsetfd.c:95:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->bits &= ~SF_NULL; /* off /dev/null handling */ ^ In file included from sfsetfd.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfsetfd.c:99:2: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfsetfd.c:106:15: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] f->file = newfd; ^~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfsk.lo In file included from sfsk.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfsk.c:14:0: sfsk.c: In function 'sfsk': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfsk.c:29:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfhdr.h:668:32: warning: declaration of 's' shadows a previous local [-Wshadow] #define SFSTRSIZE(f) { Sfoff_t s = (f)->next - (f)->data; \ ^ sfsk.c:51:6: note: in expansion of macro 'SFSTRSIZE' SFSTRSIZE(f); ^~~~~~~~~ sfsk.c:24:17: note: shadowed declaration is here reg ssize_t s; ^ In file included from sfsk.c:14:0: sfhdr.h:651:26: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] if(!dcdown) f->bits &= ~SF_DCDOWN; \ ^ sfsk.c:61:3: note: in expansion of macro 'SFDCSK' SFDCSK(f, addr, type, dc, p); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfsize.lo In file included from sfsize.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfsize.c:14:0: sfsize.c: In function 'sfsize': sfhdr.h:668:32: warning: declaration of 's' shadows a previous local [-Wshadow] #define SFSTRSIZE(f) { Sfoff_t s = (f)->next - (f)->data; \ ^ sfsize.c:33:2: note: in expansion of macro 'SFSTRSIZE' SFSTRSIZE(f); ^~~~~~~~~ sfsize.c:24:13: note: shadowed declaration is here Sfoff_t s; ^ In file included from sfsize.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfsize.c:93:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfsetbuf.lo In file included from sfsetbuf.c:20:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfsetbuf.c:20:0: sfsetbuf.c: In function 'sfsetbuf': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfsetbuf.c:73:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfhdr.h:614:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfsetbuf.c:90:39: note: in expansion of macro 'SFMODE' } else if ((f->mode & SF_RDWR) != SFMODE(f, local) ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfsetbuf.c:107:2: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ sfsetbuf.c:112:10: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_SYNCED; ^~ sfsetbuf.c:140:17: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags &= ~SF_MALLOC; ^ sfsetbuf.c:141:16: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->bits &= ~SF_MMAP; ^ sfsetbuf.c:254:14: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] size = blksize * SF_NMAP; ^~~~~~~ In file included from sfsetbuf.c:20:0: sfhdr.h:509:18: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] #define _Sfpage (_Sfextern.sf_page) ^ sfsetbuf.c:256:14: note: in expansion of macro '_Sfpage' size = _Sfpage * SF_NMAP; ^~~~~~~ sfsetbuf.c:268:13: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] size = osize; ^~~~~ In file included from sfsetbuf.c:20:0: sfhdr.h:509:18: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] #define _Sfpage (_Sfextern.sf_page) ^ sfsetbuf.c:278:29: note: in expansion of macro '_Sfpage' else if ((ssize_t) (size = _Sfpage) < blksize) ^~~~~~~ sfsetbuf.c:279:13: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] size = blksize; ^~~~~~~ sfsetbuf.c:309:15: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] f->size = size; ^~~~ sfsetbuf.c:313:14: warning: conversion to 'long long int' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] f->extent = (!sf_malloc && ^ sfsetbuf.c:323:16: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags = (f->flags & ~SF_MALLOC) | sf_malloc; ^ In file included from sfsetbuf.c:20:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfsetbuf.c:332:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfrd.lo In file included from sfrd.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfrd.c:14:0: sfrd.c: In function 'sfrd': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfrd.c:58:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfrd.c:60:10: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~(SF_RC | SF_RV); ^~ sfrd.c:61:16: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->bits &= ~SF_JUSTSEEK; ^ sfrd.c:86:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags &= ~(SF_EOF | SF_ERROR); ^ sfrd.c:103:38: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] if ((rv = _sfexcept(f, SF_READ, n, dc)) > 0) ^ sfrd.c:104:7: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] n = rv; ^~ sfrd.c:117:5: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] n += f->endb - f->next; ^~ sfrd.c:141:15: warning: conversion to 'ssize_t {aka long int}' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] if ((a = (size_t) (f->here % _Sfpage)) != 0) { ^ sfrd.c:147:31: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if (r > (round = (1 + (n + a) / f->size) * f->size)) ^ sfrd.c:147:36: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if (r > (round = (1 + (n + a) / f->size) * f->size)) ^ sfrd.c:147:47: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if (r > (round = (1 + (n + a) / f->size) * f->size)) ^ sfrd.c:147:23: warning: conversion to 'ssize_t {aka long int}' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] if (r > (round = (1 + (n + a) / f->size) * f->size)) ^ sfrd.c:170:31: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] SFMMSEQON(f, f->data, r); ^ sfrd.c:181:8: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] n = (ssize_t) (r - a); ^ sfrd.c:185:11: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] n = f->endb - f->next; ^ In file included from sfrd.c:14:0: sfhdr.h:122:34: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] #define SFMTXRETURN(f,v) { return(v); } ^ sfrd.c:187:3: note: in expansion of macro 'SFMTXRETURN' SFMTXRETURN(f, n); ^~~~~~~~~~~ sfrd.c:201:11: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n = f->size; ^ sfrd.c:228:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f->mode |= rcrv; ^~ sfrd.c:231:15: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags &= ~SF_SHARE; ^ In file included from sfrd.c:14:0: sfhdr.h:641:26: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] if(!dcdown) f->bits &= ~SF_DCDOWN; \ ^ sfrd.c:233:6: note: in expansion of macro 'SFDCRD' SFDCRD(f, buf, n, dc, r); ^~~~~~ sfrd.c:237:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f->mode &= ~rcrv; ^~ sfrd.c:239:15: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags |= share; ^~~~~ sfrd.c:280:10: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] n = local ? 0 : (ssize_t) r; ^~~~~ In file included from sfrd.c:14:0: sfhdr.h:122:34: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] #define SFMTXRETURN(f,v) { return(v); } ^ sfrd.c:281:6: note: in expansion of macro 'SFMTXRETURN' SFMTXRETURN(f, n); ^~~~~~~~~~~ sfrd.c:276:2: warning: switch missing default case [-Wswitch-default] switch (_sfexcept(f, SF_READ, (ssize_t) r, dc)) { ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfstack.lo In file included from sfstack.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfstack.c: In function 'sfstack': sfstack.c:58:11: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f2->mode &= ~SF_PUSH; ^~ sfstack.c:94:11: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f1->mode &= ~SF_PUSH; ^~ In file included from sfstack.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfstack.c:99:5: note: in expansion of macro 'SFOPEN' SFOPEN(f1, 0); ^~~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfstack.c:100:5: note: in expansion of macro 'SFOPEN' SFOPEN(f2, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sftell.lo In file included from sftell.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sftmp.lo In file included from sftmp.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sftmp.c:25:5: warning: "_tmp_rmfail" is not defined, evaluates to 0 [-Wundef] #if _tmp_rmfail ^~~~~~~~~~~ sftmp.c: In function '_rmtmp': sftmp.c:102:5: warning: "_tmp_rmfail" is not defined, evaluates to 0 [-Wundef] #if _tmp_rmfail /* remove only when stream is closed */ ^~~~~~~~~~~ sftmp.c:100:28: warning: unused parameter 'f' [-Wunused-parameter] static int _rmtmp(Sfio_t * f, char *file) ^ sftmp.c: In function '_sfgetpath': sftmp.c:146:53: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (n == 0 || !(dirs = (char **) malloc((n + 1) * sizeof(char *)))) ^ sftmp.c: In function '_tmpfd': sftmp.c:207:5: warning: conversion to 'uint64_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] A += 4 - r; ^~ sftmp.c: In function '_tmpexcept': sftmp.c:301:45: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] (void) sfsetbuf(f, (void *) savf.data, savf.size); ^~~~ sftmp.c: In function 'sftmp': sftmp.c:328:5: warning: "_tmp_rmfail" is not defined, evaluates to 0 [-Wundef] #if _tmp_rmfail ^~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfswap.lo In file included from sfswap.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfswap.c: In function 'sfswap': sfswap.c:37:14: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] f1mode = f1->mode; ^~ sfswap.c:42:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] f2mode = f2->mode; ^~ sfswap.c:51:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f1->mode = f1mode; ^~~~~~ In file included from sfswap.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfswap.c:52:3: note: in expansion of macro 'SFOPEN' SFOPEN(f1, 0); ^~~~~~ sfswap.c:90:15: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f2->flags &= ~SF_STATIC; ^ sfswap.c:95:15: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f1->flags &= ~SF_STATIC; ^ sfswap.c:101:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f1->mode = f2mode; ^~~~~~ In file included from sfswap.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfswap.c:102:2: note: in expansion of macro 'SFOPEN' SFOPEN(f1, 0); ^~~~~~ sfswap.c:105:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f2->mode = f1mode; ^~~~~~ In file included from sfswap.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfswap.c:106:5: note: in expansion of macro 'SFOPEN' SFOPEN(f2, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfungetc.lo In file included from sfungetc.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfungetc.c:14:0: sfungetc.c: In function 'sfungetc': sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfungetc.c:65:2: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfungetc.c:75:32: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if (!(data = (uchar *) malloc(f->size + 16))) { ^ sfungetc.c:81:53: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] memcpy((char *) (data + 16), (char *) f->data, f->size); ^ In file included from sfungetc.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfungetc.c:90:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfstrtod.lo In file included from sfstrtod.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfstrtod.c: In function 'sfpow10': sfstrtod.c:31:5: warning: switch missing default case [-Wswitch-default] switch (n) { ^~~~~~ sfstrtod.c: In function '_sfstrtod': sfstrtod.c:98:12: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] m = BATCH - m; ^ sfstrtod.c:22:15: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] #define BATCH (2*sizeof(int)) /* accumulate this many digits at a time */ ^ sfstrtod.c:98:6: note: in expansion of macro 'BATCH' m = BATCH - m; ^~~~~ sfstrtod.c:101:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dval == 0.) ^~ sfstrtod.c:118:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m < BATCH) { /* detected a non-digit */ ^ sfstrtod.c:137:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *retp = (char *) s; ^ sfstrtod.c:71:24: warning: variable 'thousand' set but not used [-Wunused-but-set-variable] char decpoint = 0, thousand; ^~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfsync.lo In file included from sfsync.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfsync.c:14:0: sfsync.c: In function 'sfsync': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfsync.c:82:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(origf, local); ^~~~~~~~ sfhdr.h:614:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfsync.c:89:36: note: in expansion of macro 'SFMODE' if ((origf->mode & SF_RDWR) != SFMODE(origf, local) ^~~~~~ sfsync.c:104:10: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_PUSH; ^~ sfsync.c:112:14: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_POOL; ^~ sfsync.c:118:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->bits &= ~SF_HOLE; ^ sfsync.c:120:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f->mode |= pool; ^~ sfsync.c:132:11: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_SYNCED; ^~ sfsync.c:137:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f->mode |= mode; ^~ In file included from sfsync.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfsync.c:138:2: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sftable.lo In file included from sftable.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sftable.c: In function 'sffmtint': sftable.c:26:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (char *) str; ^ sftable.c: In function 'sffmtpos': sftable.c:51:11: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] sp = (char *) form++; ^ sftable.c:88:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] t_str = (char *) form; ^ sftable.c:113:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fp[n].ft.form = (char *) form; ^ sftable.c:90:3: warning: switch missing default case [-Wswitch-default] switch (*form++) { ^~~~~~ sftable.c:169:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fp[n].ft.form = (char *) form; ^ sftable.c:213:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fp[n].ft.form = (char *) form; ^ sftable.c:86:2: warning: switch missing default case [-Wswitch-default] switch ((fmt = *form++)) { ^~~~~~ sftable.c:251:46: warning: signed and unsigned type in conditional expression [-Wsign-compare] (flags & SFFMT_ZFLAG) ? sizeof(size_t) : -1; ^ sftable.c:251:46: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] sftable.c:245:10: warning: conversion of unsigned constant value to negative integer [-Wsign-conversion] size = (flags & SFFMT_LLONG) ? sizeof(Sflong_t) : ^ sftable.c:255:22: warning: signed and unsigned type in conditional expression [-Wsign-compare] sizeof(double) : -1; ^ sftable.c:255:22: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] sftable.c:253:10: warning: conversion of unsigned constant value to negative integer [-Wsign-conversion] size = (flags & SFFMT_LDOUBLE) ? sizeof(Sfdouble_t) : ^ sftable.c:269:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fp[argp].ft.form = (char *) form; ^ sftable.c:285:47: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] || !(fp = (Fmtpos_t *) malloc((maxp + 1) * sizeof(Fmtpos_t)))) ^ sftable.c:339:19: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] fp[n].ft.size = strlen(fp[n].argv.s); ^~~~~~ sftable.c:356:6: warning: "_ast_intmax_long" is not defined, evaluates to 0 [-Wundef] #if !_ast_intmax_long ^~~~~~~~~~~~~~~~ sftable.c: In function 'sfcvinit': sftable.c:407:34: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] _Sfcv36[(uchar) _Sfdigits[d]] = d; ^ sftable.c:408:34: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] _Sfcv64[(uchar) _Sfdigits[d]] = d; ^ sftable.c:413:34: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] _Sfcv36[(uchar) _Sfdigits[d]] = d; ^ sftable.c:414:34: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] _Sfcv64[(uchar) _Sfdigits[d]] = d; ^ sftable.c:419:34: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] _Sfcv36[(uchar) _Sfdigits[d]] = l; ^ sftable.c:420:34: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] _Sfcv64[(uchar) _Sfdigits[d]] = d; ^ sftable.c:425:34: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] _Sfcv36[(uchar) _Sfdigits[d]] = d; ^ sftable.c:426:34: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] _Sfcv64[(uchar) _Sfdigits[d]] = d; ^ sftable.c: At top level: sftable.c:477:1: warning: missing initializer for field 'sf_cv36' of 'Sftab_t {aka struct _sftab_}' [-Wmissing-field-initializers] }; ^ In file included from sftable.c:14:0: sfhdr.h:744:8: note: 'sf_cv36' declared here uchar sf_cv36[SF_MAXCHAR + 1]; /* conversion for base [2-36] */ ^~~~~~~ sftable.c: In function 'sffmtpos': sftable.c:155:8: warning: this statement may fall through [-Wimplicit-fallthrough=] form += 1; /* drop thru below */ ~~~~~^~~~ sftable.c:157:2: note: here case '*': ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfwrite.lo In file included from sfwrite.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ In file included from sfwrite.c:14:0: sfwrite.c: In function 'sfwrite': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfwrite.c:34:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfwrite.c:44:6: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if ((uchar *) buf != f->next && ^ sfwrite.c:45:36: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (!f->rsrv || f->rsrv->data != (uchar *) buf)) ^ sfwrite.c:48:10: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_PEEK; ^~ sfwrite.c:51:11: warning: declaration of 'buf' shadows a parameter [-Wshadow] char buf[16]; ^~~ sfwrite.c:26:46: note: shadowed declaration is here ssize_t sfwrite(reg Sfio_t * f, const void * buf, reg size_t n) ^~~ sfwrite.c:54:15: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] for (w = n; w > 0;) { ^ sfwrite.c:55:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((r = w) > sizeof(buf)) ^ sfwrite.c:57:31: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if ((r = read(f->file, buf, r)) <= 0) { ^ sfwrite.c:58:9: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n -= w; ^~ sfwrite.c:64:14: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] f->mode &= ~SF_PKRD; ^~ sfwrite.c:66:14: warning: conversion to 'long long unsigned int' from 'long long int' may change the sign of the result [-Wsign-conversion] f->here += n; ^~ sfwrite.c:66:17: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] f->here += n; ^ sfwrite.c:73:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] s = begs = (uchar *) buf; ^ sfwrite.c:74:21: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] for (;; f->mode &= ~SF_LOCK) { /* check stream mode */ ^~ In file included from sfwrite.c:14:0: sfhdr.h:614:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define SFMODE(f,l) ((f)->mode & ~(SF_RV|SF_RC|((l) ? SF_LOCK : 0)) ) ^ sfwrite.c:75:6: note: in expansion of macro 'SFMODE' if (SFMODE(f, local) != SF_WRITE ^~~~~~ sfwrite.c:89:8: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n -= w; ^~ In file included from sfwrite.c:14:0: sfwrite.c:96:23: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] (void) SFWR(f, s, n - w, f->disc); ^ sfhdr.h:601:52: note: in definition of macro 'SFWR' #define SFWR(f,b,n,d) (SETLOCAL(f),sfwr(f,(void*)b,n,d)) ^ sfwrite.c:115:25: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] memcpy(f->next, s, w); ^ sfwrite.c:120:9: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] if ((n -= w) <= 0) ^~ sfwrite.c:130:21: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] if ((ssize_t) (n = f->next - f->data) > (w = s - begs)) ^ sfwrite.c:131:10: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n = w; ^ In file included from sfwrite.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfwrite.c:144:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, local); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfwr.lo In file included from sfwr.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfwr.c: In function 'sfoutput': sfwr.c:33:10: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] s = n = 0; ^ sfwr.c:67:5: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n -= _Sfpage; ^~ sfwr.c:75:7: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n = s = 0; ^ sfwr.c:77:37: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] if ((wr = write(f->file, wbuf, buf - wbuf)) > 0) { ^~~ sfwr.c:79:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->bits &= ~SF_HOLE; ^ sfwr.c:92:8: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n -= s; ^~ sfwr.c:99:5: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] n -= s; ^~ In file included from sfwr.c:14:0: sfwr.c: In function 'sfwr': sfhdr.h:594:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) ^ sfwr.c:116:5: note: in expansion of macro 'GETLOCAL' GETLOCAL(f, local); ^~~~~~~~ sfwr.c:129:14: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->flags &= ~(SF_EOF | SF_ERROR); ^ sfwr.c:133:12: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] w = n + (f->next - f->data); ^ sfwr.c:133:10: warning: conversion to 'ssize_t {aka long int}' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] w = n + (f->next - f->data); ^ sfwr.c:140:36: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] if ((rv = _sfexcept(f, SF_WRITE, n, dc)) > 0) ^ sfwr.c:141:11: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] n = rv; ^~ In file included from sfwr.c:14:0: sfhdr.h:646:26: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] if(!dcdown) f->bits &= ~SF_DCDOWN; \ ^ sfwr.c:163:3: note: in expansion of macro 'SFDCWR' SFDCWR(f, buf, n, dc, w); ^~~~~~ sfwr.c:165:7: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] w = n; ^ sfwr.c:171:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if ((w = sfoutput(f, (char *) buf, n)) <= 0) ^ sfwr.c:175:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if ((w = write(f->file, (char *) buf, n)) > 0) ^ sfwr.c:176:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] f->bits &= ~SF_HOLE; ^ sfwr.c:198:2: warning: switch missing default case [-Wswitch-default] switch (_sfexcept(f, SF_WRITE, w, dc)) { ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfvscanf.lo In file included from sfvscanf.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfvscanf.c: In function 'setclass': sfvscanf.c:41:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] accept[fmt] = yes; ^~~ sfvscanf.c:51:20: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] accept[fmt] = yes; ^~~ sfvscanf.c:54:15: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] accept[c] = yes; ^~~ sfvscanf.c: In function 'sfvscanf': sfvscanf.c:134:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] oform = (char *) form; ^ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:144:11: note: in expansion of macro 'SFGETC' if (SFGETC(f, inp) < 0 || inp == fmt) ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:144:11: note: in expansion of macro 'SFGETC' if (SFGETC(f, inp) < 0 || inp == fmt) ^~~~~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:153:7: note: in expansion of macro 'SFGETC' if (SFGETC(f, inp) != fmt) { ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:153:7: note: in expansion of macro 'SFGETC' if (SFGETC(f, inp) != fmt) { ^~~~~~ sfvscanf.c:188:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] t_str = (char *) form; ^ In file included from sfvscanf.c:14:0: sfhdr.h:478:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((ft->form = (char*)frm), va_copy(ft->args,ags), \ ^ sfvscanf.c:218:8: note: in expansion of macro 'FMTSET' FMTSET(ft, form, args, ^~~~~~ sfvscanf.c:228:13: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] n_str = strlen(t_str); ^~~~~~ sfvscanf.c:232:14: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] n_str = strlen(t_str); ^~~~~~ sfvscanf.c:190:3: warning: switch missing default case [-Wswitch-default] switch (*form++) { ^~~~~~ In file included from sfvscanf.c:14:0: sfhdr.h:478:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((ft->form = (char*)frm), va_copy(ft->args,ags), \ ^ sfvscanf.c:261:7: note: in expansion of macro 'FMTSET' FMTSET(ft, form, args, '.', dot, 0, 0, 0, 0, ^~~~~~ sfhdr.h:478:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((ft->form = (char*)frm), va_copy(ft->args,ags), \ ^ sfvscanf.c:325:7: note: in expansion of macro 'FMTSET' FMTSET(ft, form, args, 'I', sizeof(int), 0, 0, 0, 0, ^~~~~~ sfvscanf.c:186:2: warning: switch missing default case [-Wswitch-default] switch ((fmt = *form++)) { ^~~~~~ sfvscanf.c:383:46: warning: signed and unsigned type in conditional expression [-Wsign-compare] (flags & SFFMT_ZFLAG) ? sizeof(size_t) : -1; ^ sfvscanf.c:383:46: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] sfvscanf.c:377:10: warning: conversion of unsigned constant value to negative integer [-Wsign-conversion] size = (flags & SFFMT_LLONG) ? sizeof(Sflong_t) : ^ sfvscanf.c:387:22: warning: signed and unsigned type in conditional expression [-Wsign-compare] sizeof(double) : -1; ^ sfvscanf.c:387:22: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] sfvscanf.c:385:10: warning: conversion of unsigned constant value to negative integer [-Wsign-conversion] size = (flags & SFFMT_LDOUBLE) ? sizeof(Sfdouble_t) : ^ In file included from sfvscanf.c:14:0: sfhdr.h:478:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((ft->form = (char*)frm), va_copy(ft->args,ags), \ ^ sfvscanf.c:402:6: note: in expansion of macro 'FMTSET' FMTSET(ft, form, args, fmt, size, flags, width, 0, base, t_str, ^~~~~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:404:6: note: in expansion of macro 'SFEND' SFEND(f); ^~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:404:6: note: in expansion of macro 'SFEND' SFEND(f); ^~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfvscanf.c:405:6: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfvscanf.c:437:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (*ft->eventf) (f, SF_DPOP, (void *) form, ft) < 0) ^ sfvscanf.c:445:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fm->form = (char *) form; ^ sfvscanf.c:474:6: warning: "_ast_intmax_long" is not defined, evaluates to 0 [-Wundef] #if !_ast_intmax_long ^~~~~~~~~~~~~~~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:497:6: note: in expansion of macro 'SFGETC' SFGETC(f, inp); ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:497:6: note: in expansion of macro 'SFGETC' SFGETC(f, inp); ^~~~~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:500:3: note: in expansion of macro 'SFGETC' SFGETC(f, inp); ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:500:3: note: in expansion of macro 'SFGETC' SFGETC(f, inp); ^~~~~~ sfvscanf.c:510:14: warning: declaration of 'dot' shadows a previous local [-Wshadow] reg int dot, exponent; ^~~ sfvscanf.c:85:21: note: shadowed declaration is here int fmt, flags, dot, n_assign, v, n, n_input; ^~~ sfvscanf.c:513:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (width >= SF_MAXDIGITS) ^~ sfvscanf.c:518:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *val++ = inp; ^~~ sfvscanf.c:526:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *val++ = inp; ^~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:527:27: note: in expansion of macro 'SFGETC' if (--width <= 0 || SFGETC(f, inp) < 0 || ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:527:27: note: in expansion of macro 'SFGETC' if (--width <= 0 || SFGETC(f, inp) < 0 || ^~~~~~ sfvscanf.c:530:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *val++ = inp; ^~~ sfvscanf.c:534:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *val++ = inp; ^~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:538:30: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= 0); ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:538:30: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= 0); ^~~~~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:573:25: note: in expansion of macro 'SFGETC' while (--width > 0 && SFGETC(f, inp) >= 0) ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:573:25: note: in expansion of macro 'SFGETC' while (--width > 0 && SFGETC(f, inp) >= 0) ^~~~~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:587:11: note: in expansion of macro 'SFGETC' if (SFGETC(f, inp) >= 0) { ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:587:11: note: in expansion of macro 'SFGETC' if (SFGETC(f, inp) >= 0) { ^~~~~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:606:11: note: in expansion of macro 'SFGETC' if (SFGETC(f, inp) >= 0 && ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:606:11: note: in expansion of macro 'SFGETC' if (SFGETC(f, inp) >= 0 && ^~~~~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:608:4: note: in expansion of macro 'SFGETC' SFGETC(f, inp); ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:608:4: note: in expansion of macro 'SFGETC' SFGETC(f, inp); ^~~~~~ sfvscanf.c:620:36: warning: conversion to 'long long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (argv.lu << 3) + (argv.lu << 1) + (inp - '0'); ^ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:621:27: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= '0' ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:621:27: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= '0' ^~~~~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:631:4: note: in expansion of macro 'SFGETC' SFGETC(f, inp) >= 0 && sp[inp] < base) ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:631:4: note: in expansion of macro 'SFGETC' SFGETC(f, inp) >= 0 && sp[inp] < base) ^~~~~~ sfvscanf.c:651:33: warning: conversion to 'long long unsigned int' from 'char' may change the sign of the result [-Wsign-conversion] argv.lu = (argv.lu << shift) + sp[inp]; ^ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:653:9: note: in expansion of macro 'SFGETC' SFGETC(f, inp) >= 0 && sp[inp] < base); ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:653:9: note: in expansion of macro 'SFGETC' SFGETC(f, inp) >= 0 && sp[inp] < base); ^~~~~~ sfvscanf.c:656:23: warning: conversion to 'long long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] argv.lu = (argv.lu * base) + sp[inp]; ^ sfvscanf.c:656:31: warning: conversion to 'long long unsigned int' from 'char' may change the sign of the result [-Wsign-conversion] argv.lu = (argv.lu * base) + sp[inp]; ^ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:658:9: note: in expansion of macro 'SFGETC' SFGETC(f, inp) >= 0 && sp[inp] < base); ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:658:9: note: in expansion of macro 'SFGETC' SFGETC(f, inp) >= 0 && sp[inp] < base); ^~~~~~ sfvscanf.c:674:6: warning: "_ast_intmax_long" is not defined, evaluates to 0 [-Wundef] #if !_ast_intmax_long ^~~~~~~~~~~~~~~~ sfvscanf.c:718:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *argv.s++ = inp; ^~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:719:27: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= 0); ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:719:27: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= 0); ^~~~~~ sfvscanf.c:723:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *argv.s++ = inp; ^~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:724:27: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= 0); ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:724:27: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= 0); ^~~~~~ sfvscanf.c:726:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] form = setclass((char *) form, accept); ^ sfvscanf.c:737:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *argv.s++ = inp; ^~~ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:738:27: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= 0); ^~~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:107:42: note: in expansion of macro 'SFEND' #define SFGETC(f,c) ((c) = (d < endd || (SFEND(f), SFBUF(f), d < endd)) ? \ ^~~~~ sfvscanf.c:738:27: note: in expansion of macro 'SFGETC' } while (--width > 0 && SFGETC(f, inp) >= 0); ^~~~~~ sfvscanf.c:761:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] else if ((*fm->eventf) (f, SF_DPOP, (void *) form, ft) < 0) ^ sfvscanf.c:105:31: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_input += d-data), \ ^ sfvscanf.c:789:5: note: in expansion of macro 'SFEND' SFEND(f); ^~~~~ In file included from sfvscanf.c:14:0: sfvscanf.c:106:36: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] (rs > 0 ? SFREAD(f,(void*)data,d-data) : ((f->next = d), 0)) ) ^ sfhdr.h:608:47: note: in definition of macro 'SFREAD' #define SFREAD(f,s,n) (SETLOCAL(f),sfread(f,s,n)) ^ sfvscanf.c:789:5: note: in expansion of macro 'SFEND' SFEND(f); ^~~~~ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfvscanf.c:790:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CC sfvprintf.lo In file included from sfvprintf.c:14:0: sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ sfvprintf.c: In function 'sfvprintf': sfvprintf.c:115:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] oform = (char *) form; ^ sfvprintf.c:123:11: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] sp = (char *) form++; ^ sfvprintf.c:126:10: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = form - sp; ^~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:127:21: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, n); ^ sfhdr.h:817:41: note: in definition of macro 'MEMCPY' { default : memcpy((void*)to,(void*)fr,n); to += n; fr += n; break; \ ^ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:818:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 7 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:819:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 6 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:820:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 5 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:821:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 4 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:822:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 3 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:823:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 2 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:824:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 1 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:86:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFWRITE(f,(void*)s,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:127:21: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, n); ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:607:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfvprintf.c:86:33: note: in expansion of macro 'SFWRITE' { SFEND(f); n_output += (w = SFWRITE(f,(void*)s,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:72:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFFLSBUF(f,c)) >= 0 ? 1 : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:143:6: note: in expansion of macro 'SFputc' SFputc(f, '%'); ^~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:72:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFFLSBUF(f,c)) >= 0 ? 1 : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:146:6: note: in expansion of macro 'SFputc' SFputc(f, '%'); ^~~~~~ sfvprintf.c:150:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] t_str = (char *) form; ^ In file included from sfvprintf.c:14:0: sfhdr.h:478:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((ft->form = (char*)frm), va_copy(ft->args,ags), \ ^ sfvprintf.c:180:8: note: in expansion of macro 'FMTSET' FMTSET(ft, form, args, ^~~~~~ sfvprintf.c:190:13: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] n_str = strlen(t_str); ^~~~~~ sfvprintf.c:194:14: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] n_str = strlen(t_str); ^~~~~~ sfvprintf.c:152:3: warning: switch missing default case [-Wswitch-default] switch (*form++) { ^~~~~~ In file included from sfvprintf.c:14:0: sfhdr.h:375:18: warning: declaration of 'lv' shadows a previous local [-Wshadow] { struct lconv* lv; \ ^ sfvprintf.c:219:6: note: in expansion of macro 'SFSETLOCALE' SFSETLOCALE(decimal, thousand); ^~~~~~~~~~~ sfvprintf.c:37:14: note: shadowed declaration is here Sflong_t lv; ^~ In file included from sfvprintf.c:14:0: sfhdr.h:478:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((ft->form = (char*)frm), va_copy(ft->args,ags), \ ^ sfvprintf.c:264:3: note: in expansion of macro 'FMTSET' FMTSET(ft, form, args, '.', dot, 0, 0, 0, 0, NIL(char *), ^~~~~~ sfhdr.h:478:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((ft->form = (char*)frm), va_copy(ft->args,ags), \ ^ sfvprintf.c:326:7: note: in expansion of macro 'FMTSET' FMTSET(ft, form, args, 'I', sizeof(int), 0, 0, 0, 0, ^~~~~~ sfvprintf.c:141:2: warning: switch missing default case [-Wswitch-default] switch ((fmt = *form++)) { ^~~~~~ sfvprintf.c:385:46: warning: signed and unsigned type in conditional expression [-Wsign-compare] (flags & SFFMT_ZFLAG) ? sizeof(size_t) : -1; ^ sfvprintf.c:385:46: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] sfvprintf.c:379:10: warning: conversion of unsigned constant value to negative integer [-Wsign-conversion] size = (flags & SFFMT_LLONG) ? sizeof(Sflong_t) : ^ sfvprintf.c:389:22: warning: signed and unsigned type in conditional expression [-Wsign-compare] sizeof(double) : -1; ^ sfvprintf.c:389:22: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] sfvprintf.c:387:10: warning: conversion of unsigned constant value to negative integer [-Wsign-conversion] size = (flags & SFFMT_LDOUBLE) ? sizeof(Sfdouble_t) : ^ In file included from sfvprintf.c:14:0: sfhdr.h:478:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((ft->form = (char*)frm), va_copy(ft->args,ags), \ ^ sfvprintf.c:400:6: note: in expansion of macro 'FMTSET' FMTSET(ft, form, args, fmt, size, flags, width, precis, base, ^~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:402:6: note: in expansion of macro 'SFEND' SFEND(f); ^~~~~ In file included from sfvprintf.c:14:0: sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfvprintf.c:403:6: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfvprintf.c:424:6: warning: "_ast_intmax_long" is not defined, evaluates to 0 [-Wundef] #if !_ast_intmax_long ^~~~~~~~~~~~~~~~ sfvprintf.c:472:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (*ft->eventf) (f, SF_DPOP, (void *) form, ft) < 0) ^ sfvprintf.c:480:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] fm->form = (char *) form; ^ sfvprintf.c:514:12: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] if ((v = size) >= 0) { ^~~~ sfvprintf.c:518:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] v = strlen(sp); ^~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:79:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:526:4: note: in expansion of macro 'SFnputc' SFnputc(f, '0', n); ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:526:20: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, '0', n); ^ sfhdr.h:610:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:526:4: note: in expansion of macro 'SFnputc' SFnputc(f, '0', n); ^~~~~~~ sfhdr.h:610:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:79:33: note: in expansion of macro 'SFNPUTC' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:526:4: note: in expansion of macro 'SFnputc' SFnputc(f, '0', n); ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:79:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:528:4: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n); ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:528:20: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, ' ', n); ^ sfhdr.h:610:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:528:4: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n); ^~~~~~~ sfhdr.h:610:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:79:33: note: in expansion of macro 'SFNPUTC' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:528:4: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n); ^~~~~~~ sfvprintf.c:531:18: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, v); ^ sfhdr.h:817:41: note: in definition of macro 'MEMCPY' { default : memcpy((void*)to,(void*)fr,n); to += n; fr += n; break; \ ^ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:818:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 7 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:819:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 6 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:820:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 5 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:821:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 4 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:822:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 3 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:823:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 2 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:824:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 1 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:86:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFWRITE(f,(void*)s,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:531:18: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, v); ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:607:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfvprintf.c:86:33: note: in expansion of macro 'SFWRITE' { SFEND(f); n_output += (w = SFWRITE(f,(void*)s,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:79:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:533:7: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n); ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:533:23: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, ' ', n); ^ sfhdr.h:610:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:533:7: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n); ^~~~~~~ sfhdr.h:610:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:79:33: note: in expansion of macro 'SFNPUTC' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:533:7: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n); ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:72:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFFLSBUF(f,c)) >= 0 ? 1 : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:538:7: note: in expansion of macro 'SFputc' SFputc(f, base); ^~~~~~ sfvprintf.c:550:12: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] buf[0] = fmt; ^~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:79:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:557:3: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n)}; ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:557:19: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, ' ', n)}; ^ sfhdr.h:610:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:557:3: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n)}; ^~~~~~~ sfhdr.h:610:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:79:33: note: in expansion of macro 'SFNPUTC' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:557:3: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n)}; ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:79:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:559:3: note: in expansion of macro 'SFnputc' SFnputc(f, fmt, v); ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:559:19: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, fmt, v); ^ sfhdr.h:610:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:559:3: note: in expansion of macro 'SFnputc' SFnputc(f, fmt, v); ^~~~~~~ sfhdr.h:610:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:79:33: note: in expansion of macro 'SFNPUTC' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:559:3: note: in expansion of macro 'SFnputc' SFnputc(f, fmt, v); ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:79:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:561:3: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n)}; ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:561:19: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, ' ', n)}; ^ sfhdr.h:610:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:561:3: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n)}; ^~~~~~~ sfhdr.h:610:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:79:33: note: in expansion of macro 'SFNPUTC' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:561:3: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n)}; ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:72:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFFLSBUF(f,c)) >= 0 ? 1 : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:565:7: note: in expansion of macro 'SFputc' SFputc(f, base); ^~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:571:6: note: in expansion of macro 'SFEND' SFEND(f); ^~~~~ sfvprintf.c:572:6: warning: "_ast_intmax_long" is not defined, evaluates to 0 [-Wundef] #if !_ast_intmax_long ^~~~~~~~~~~~~~~~ sfvprintf.c:638:6: warning: "_ast_intmax_long" is not defined, evaluates to 0 [-Wundef] #if !_ast_intmax_long || _more_long_int || _more_void_int ^~~~~~~~~~~~~~~~ sfvprintf.c:652:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (lv == HIGHBITL) { /* avoid overflow */ ^~ sfvprintf.c:653:30: warning: conversion to 'long long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lv = (Sflong_t) (HIGHBITL / base); ^ sfvprintf.c:655:25: warning: conversion to 'long long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ((Sfulong_t) lv) * base]; ^ sfvprintf.c:665:22: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] } while ((lv = ((Sfulong_t) lv) >> n)); ^ sfvprintf.c:668:33: warning: conversion to 'long long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *--sp = ssp[((Sfulong_t) lv) % base]; ^ sfvprintf.c:669:39: warning: conversion to 'long long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] } while ((lv = ((Sfulong_t) lv) / base)); ^ sfvprintf.c:669:22: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] } while ((lv = ((Sfulong_t) lv) / base)); ^ sfvprintf.c:707:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (v == HIGHBITI) { /* avoid overflow */ ^~ sfvprintf.c:708:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] v = (int) (HIGHBITI / base); ^ sfvprintf.c:709:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *--sp = _Sfdigits[HIGHBITI - ((uint) v) * base]; ^ sfvprintf.c:718:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] } while ((v = ((uint) v) >> n)); ^ sfvprintf.c:721:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *--sp = ssp[((uint) v) % base]; ^ sfvprintf.c:722:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] } while ((v = ((uint) v) / base)); ^ sfvprintf.c:722:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] } while ((v = ((uint) v) / base)); ^ sfvprintf.c:727:11: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] && (n = endsp - sp) > 3) { ^~~~~ sfvprintf.c:744:35: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] if (precis > 0 && (precis -= (endsp - sp)) < (sp - buf) - 64) ^ sfvprintf.c:761:8: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = width - (n + (endsp - sp)); ^~~~~ In file included from sfvprintf.c:14:0: sfhdr.h:726:17: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] #define _Sfdec (_Sftable.sf_dec) ^ sfvprintf.c:773:16: note: in expansion of macro '_Sfdec' *--sp = _Sfdec[(base <<= 1) + 1]; ^~~~~~ sfhdr.h:726:17: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] #define _Sfdec (_Sftable.sf_dec) ^ sfvprintf.c:774:16: note: in expansion of macro '_Sfdec' *--sp = _Sfdec[base]; ^~~~~~ sfvprintf.c:833:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ldval == 0.) ^~ sfvprintf.c:842:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dval == 0.) ^~ In file included from sfio_t.h:46:0, from sfhdr.h:31, from sfvprintf.c:14: sfio.h:444:21: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define sfslen() ( __sf_slen() ) ^ sfvprintf.c:849:12: note: in expansion of macro 'sfslen' if ((n = sfslen()) > precis) ^~~~~~ In file included from sfvprintf.c:14:0: sfhdr.h:375:18: warning: declaration of 'lv' shadows a previous local [-Wshadow] { struct lconv* lv; \ ^ sfvprintf.c:870:6: note: in expansion of macro 'SFSETLOCALE' SFSETLOCALE(decimal, thousand); ^~~~~~~~~~~ sfvprintf.c:37:14: note: shadowed declaration is here Sflong_t lv; ^~ sfvprintf.c:876:16: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] precis -= (endsp -= 1) - ssp; ^ sfvprintf.c:882:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] dval = ldval ? 1. : 0.; /* so the below test works */ ^ sfvprintf.c:884:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dval != 0.) { ^~ sfvprintf.c:899:33: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] *--ep = (decpt > 0 || dval == 0.) ? '+' : '-'; ^~ In file included from sfvprintf.c:14:0: sfhdr.h:375:18: warning: declaration of 'lv' shadows a previous local [-Wshadow] { struct lconv* lv; \ ^ sfvprintf.c:913:6: note: in expansion of macro 'SFSETLOCALE' SFSETLOCALE(decimal, thousand); ^~~~~~~~~~~ sfvprintf.c:37:14: note: shadowed declaration is here Sflong_t lv; ^~ sfvprintf.c:944:16: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] precis -= (endsp -= 1) - ssp; ^ sfvprintf.c:961:6: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = (endsp - sp) + (endep - ep) + (precis <= 0 ? 0 : precis) + ^ sfvprintf.c:969:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *--sp = fmt; ^~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:72:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFFLSBUF(f,c)) >= 0 ? 1 : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:975:6: note: in expansion of macro 'SFputc' SFputc(f, fmt); ^~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:79:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:982:6: note: in expansion of macro 'SFnputc' SFnputc(f, v, n); ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:982:20: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, v, n); ^ sfhdr.h:610:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:982:6: note: in expansion of macro 'SFnputc' SFnputc(f, v, n); ^~~~~~~ sfhdr.h:610:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:79:33: note: in expansion of macro 'SFNPUTC' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:982:6: note: in expansion of macro 'SFnputc' SFnputc(f, v, n); ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:79:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:986:6: note: in expansion of macro 'SFnputc' SFnputc(f, '0', n); ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:986:22: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, '0', n); ^ sfhdr.h:610:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:986:6: note: in expansion of macro 'SFnputc' SFnputc(f, '0', n); ^~~~~~~ sfhdr.h:610:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:79:33: note: in expansion of macro 'SFNPUTC' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:986:6: note: in expansion of macro 'SFnputc' SFnputc(f, '0', n); ^~~~~~~ sfvprintf.c:991:11: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] if ((n = endsp - sp) > 0) ^~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:992:21: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, n); ^ sfhdr.h:817:41: note: in definition of macro 'MEMCPY' { default : memcpy((void*)to,(void*)fr,n); to += n; fr += n; break; \ ^ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:818:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 7 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:819:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 6 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:820:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 5 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:821:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 4 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:822:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 3 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:823:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 2 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:824:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 1 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:86:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFWRITE(f,(void*)s,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:992:21: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, n); ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:607:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfvprintf.c:86:33: note: in expansion of macro 'SFWRITE' { SFEND(f); n_output += (w = SFWRITE(f,(void*)s,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:79:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:996:3: note: in expansion of macro 'SFnputc' SFnputc(f, '0', n); ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:996:19: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, '0', n); ^ sfhdr.h:610:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:996:3: note: in expansion of macro 'SFnputc' SFnputc(f, '0', n); ^~~~~~~ sfhdr.h:610:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:79:33: note: in expansion of macro 'SFNPUTC' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:996:3: note: in expansion of macro 'SFnputc' SFnputc(f, '0', n); ^~~~~~~ sfvprintf.c:999:15: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] if ((n = endep - (sp = ep)) > 0) ^~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:1000:18: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, n); ^ sfhdr.h:817:41: note: in definition of macro 'MEMCPY' { default : memcpy((void*)to,(void*)fr,n); to += n; fr += n; break; \ ^ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:818:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 7 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:819:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 6 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:820:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 5 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:821:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 4 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:822:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 3 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:823:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 2 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:824:22: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] case 1 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:86:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFWRITE(f,(void*)s,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:1000:18: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFwrite(f, sp, n); ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:607:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfvprintf.c:86:33: note: in expansion of macro 'SFWRITE' { SFEND(f); n_output += (w = SFWRITE(f,(void*)s,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:79:6: note: in expansion of macro 'SFEND' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~ sfvprintf.c:1004:3: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n); ^~~~~~~ In file included from sfvprintf.c:14:0: sfvprintf.c:1004:19: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SFnputc(f, ' ', n); ^ sfhdr.h:610:49: note: in definition of macro 'SFNPUTC' #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:1004:3: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n); ^~~~~~~ sfhdr.h:610:24: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] #define SFNPUTC(f,c,n) (SETLOCAL(f),sfnputc(f,c,n)) ^ sfvprintf.c:79:33: note: in expansion of macro 'SFNPUTC' { SFEND(f); n_output += (w = SFNPUTC(f,c,n)) > 0 ? w : 0; SFBUF(f); \ ^~~~~~~ sfvprintf.c:1004:3: note: in expansion of macro 'SFnputc' SFnputc(f, ' ', n); ^~~~~~~ sfvprintf.c:1017:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] else if ((*fm->eventf) (f, SF_DPOP, (void *) form, ft) < 0) ^ sfvprintf.c:68:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define SFEND(f) ((n_output += d - f->next), (f->next = d)) ^ sfvprintf.c:1045:5: note: in expansion of macro 'SFEND' SFEND(f); ^~~~~ sfvprintf.c:1047:9: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = f->next - f->data; ^ In file included from sfvprintf.c:14:0: sfvprintf.c:1054:32: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] (void) SFWRITE(f, (void *) d, n); ^ sfhdr.h:607:49: note: in definition of macro 'SFWRITE' #define SFWRITE(f,s,n) (SETLOCAL(f),sfwrite(f,s,n)) ^ sfhdr.h:622:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((f)->mode &= ~(SF_LOCK|SF_RC|SF_RV), _SFOPEN(f), 0) ) ^ sfvprintf.c:1058:5: note: in expansion of macro 'SFOPEN' SFOPEN(f, 0); ^~~~~~ sfhdr.h:818:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:819:4: note: here case 6 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:819:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:820:4: note: here case 5 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:820:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:821:4: note: here case 4 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:821:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:822:4: note: here case 3 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:822:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:823:4: note: here case 2 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:823:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:824:4: note: here case 1 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:127:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfvprintf.c:250:11: warning: this statement may fall through [-Wimplicit-fallthrough=] form += 1; /* fall thru for '*' */ ~~~~~^~~~ sfvprintf.c:251:2: note: here case '*': ^~~~ In file included from sfvprintf.c:14:0: sfhdr.h:818:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:819:4: note: here case 6 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:819:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:820:4: note: here case 5 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:820:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:821:4: note: here case 4 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:821:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:822:4: note: here case 3 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:822:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:823:4: note: here case 2 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:823:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfhdr.h:824:4: note: here case 1 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:531:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, v); ^~~~~~~ sfvprintf.c:611:10: warning: this statement may fall through [-Wimplicit-fallthrough=] ssp = "0123456789ABCDEF"; ~~~~^~~~~~~~~~~~~~~~~~~~ sfvprintf.c:612:2: note: here case 'x': ^~~~ sfvprintf.c:622:12: warning: this statement may fall through [-Wimplicit-fallthrough=] flags &= ~(SFFMT_SIGN | SFFMT_BLANK); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfvprintf.c:623:2: note: here case 'd': ^~~~ In file included from sfvprintf.c:14:0: sfhdr.h:818:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:819:4: note: here case 6 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:819:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:820:4: note: here case 5 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:820:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:821:4: note: here case 4 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:821:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:822:4: note: here case 3 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:822:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:823:4: note: here case 2 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:823:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:824:4: note: here case 1 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:992:6: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:818:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:819:4: note: here case 6 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:819:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:820:4: note: here case 5 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:820:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:821:4: note: here case 4 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:821:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:822:4: note: here case 3 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:822:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:823:4: note: here case 2 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:823:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : *to++ = *fr++; \ ~~~~~~^~~~~~ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ sfhdr.h:824:4: note: here case 1 : *to++ = *fr++; \ ^ sfvprintf.c:84:24: note: in expansion of macro 'MEMCPY' { if((endd-d) >= n) { MEMCPY(d,s,n); } \ ^~~~~~ sfvprintf.c:1000:3: note: in expansion of macro 'SFwrite' SFwrite(f, sp, n); ^~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' CCLD libsfio_C.la make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' Making all in vmalloc make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' mkdir -p ../../FEATURE ../../iffe - set cc x86_64-alt-linux-gcc : run ../../lib/vmalloc/features/vmalloc > ../../FEATURE/vmalloc make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmdcheap.lo In file included from vmdcheap.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmopen.lo In file included from vmopen.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmopen.c: In function 'vmopen': vmopen.c:138:44: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] SIZE(b) = seg->baddr - (Vmuchar_t *) b - 2 * sizeof(Head_t); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmclear.lo In file included from vmclear.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmclear.c: In function 'vmclear': vmclear.c:49:41: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] size = seg->baddr - ((Vmuchar_t *) tp) - 2 * sizeof(Head_t); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmdisc.lo In file included from vmdisc.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmlast.lo In file included from vmlast.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmlast.c: In function 'lastfree': vmlast.c:106:10: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] s = (Vmuchar_t *) (seg->free) - (Vmuchar_t *) data; ^ vmlast.c:108:10: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] s = (Vmuchar_t *) BLOCK(seg->baddr) - (Vmuchar_t *) data; ^ vmlast.c:116:57: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] ((Vmuchar_t *) BLOCK(seg->baddr) - (Vmuchar_t *) data) - ^ vmlast.c: In function 'lastresize': vmlast.c:173:16: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] oldsize = (Vmuchar_t *) seg->last - (Vmuchar_t *) data; ^ vmlast.c:175:16: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] oldsize = (Vmuchar_t *) BLOCK(seg->baddr) - (Vmuchar_t *) data; ^ vmlast.c:180:16: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] oldsize = s; ^ vmlast.c:182:16: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] oldsize = (Vmuchar_t *) tp - (Vmuchar_t *) data; ^ vmlast.c:190:16: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] ds = size - s; ^ vmlast.c:190:11: warning: conversion to 'ssize_t {aka long int}' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] ds = size - s; ^~~~ In file included from vmlast.c:14:0: vmhdr.h:65:28: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] #define ROUNDX(x,y) ((((x) + ((y)-1)) / (y)) * (y)) ^ vmhdr.h:66:37: note: in expansion of macro 'ROUNDX' #define ROUND(x,y) (((y)&((y)-1)) ? ROUNDX((x),(y)) : ROUND2((x),(y)) ) ^~~~~~ vmlast.c:191:11: note: in expansion of macro 'ROUND' ds = ROUND(ds, vd->incr); ^~~~~ vmhdr.h:64:27: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] #define ROUND2(x,y) (((x) + ((y)-1)) & ~((y)-1)) ^ vmhdr.h:66:55: note: in expansion of macro 'ROUND2' #define ROUND(x,y) (((y)&((y)-1)) ? ROUNDX((x),(y)) : ROUND2((x),(y)) ) ^~~~~~ vmlast.c:191:11: note: in expansion of macro 'ROUND' ds = ROUND(ds, vd->incr); ^~~~~ vmhdr.h:66:20: warning: conversion to 'ssize_t {aka long int}' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define ROUND(x,y) (((y)&((y)-1)) ? ROUNDX((x),(y)) : ROUND2((x),(y)) ) ^ vmlast.c:191:11: note: in expansion of macro 'ROUND' ds = ROUND(ds, vd->incr); ^~~~~ vmhdr.h:66:20: warning: conversion to 'ssize_t {aka long int}' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define ROUND(x,y) (((y)&((y)-1)) ? ROUNDX((x),(y)) : ROUND2((x),(y)) ) ^ vmlast.c:191:11: note: in expansion of macro 'ROUND' ds = ROUND(ds, vd->incr); ^~~~~ vmlast.c:193:19: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] seg->extent + ds, vm->disc); ^ vmlast.c:196:13: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] seg->size += ds; ^~ vmlast.c:197:15: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] seg->extent += ds; ^~ vmlast.c:215:9: warning: conversion to 'ssize_t {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] ds = oldsize < size ? oldsize : size; ^~~~~~~ In file included from vmlast.c:14:0: vmhdr.h:374:10: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] switch(n/sizeof(int)) \ ^ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmlast.c:216:19: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] INTCOPY(d, ed, ds); ^ vmhdr.h:375:40: note: in definition of macro 'INTCOPY' { default: memcpy((void*)to,(void*)fr,n); break; \ ^ vmlast.c:222:17: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] SIZE(tp) = s - sizeof(Head_t); ^ vmlast.c:241:20: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] SIZE(tp) = (s - size) - sizeof(Head_t); ^ vmlast.c: In function 'lastsize': vmlast.c:288:59: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] return (Vmuchar_t *) vd->seg->baddr - (Vmuchar_t *) addr - ^ vmlast.c:288:59: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] return (Vmuchar_t *) vd->seg->baddr - (Vmuchar_t *) addr - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ sizeof(Head_t); ~~~~~~~~~~~~~~ vmlast.c: In function 'lastcompact': vmlast.c:312:33: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] if (seg->size == (s = SIZE(fp) & ~BITS)) ^ vmlast.c: In function 'lastalign': vmlast.c:369:14: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] if ((s = (seg->baddr - (Vmuchar_t *) next)) >= sizeof(Block_t)) { ^ In file included from vmlast.c:14:0: vmlast.c: In function 'lastresize': vmhdr.h:376:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: *to++ = *fr++; \ ~~~~~~^~~~~~ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:377:4: note: here case 6: *to++ = *fr++; \ ^ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:377:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: *to++ = *fr++; \ ~~~~~~^~~~~~ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:378:4: note: here case 5: *to++ = *fr++; \ ^ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:378:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: *to++ = *fr++; \ ~~~~~~^~~~~~ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:379:4: note: here case 4: *to++ = *fr++; \ ^ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:379:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: *to++ = *fr++; \ ~~~~~~^~~~~~ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:380:4: note: here case 3: *to++ = *fr++; \ ^ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:380:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: *to++ = *fr++; \ ~~~~~~^~~~~~ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:381:4: note: here case 2: *to++ = *fr++; \ ^ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:381:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: *to++ = *fr++; \ ~~~~~~^~~~~~ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:382:4: note: here case 1: *to++ = *fr++; \ ^ vmlast.c:216:4: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, ds); ^~~~~~~ vmhdr.h:387:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: *d++ = 0; \ ~~~~~^~~ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:388:4: note: here case 6: *d++ = 0; \ ^ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:388:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: *d++ = 0; \ ~~~~~^~~ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:389:4: note: here case 5: *d++ = 0; \ ^ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:389:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: *d++ = 0; \ ~~~~~^~~ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:390:4: note: here case 4: *d++ = 0; \ ^ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:390:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: *d++ = 0; \ ~~~~~^~~ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:391:4: note: here case 3: *d++ = 0; \ ^ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:391:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: *d++ = 0; \ ~~~~~^~~ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:392:4: note: here case 2: *d++ = 0; \ ^ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:392:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: *d++ = 0; \ ~~~~~^~~ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:393:4: note: here case 1: *d++ = 0; \ ^ vmlast.c:257:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmclose.lo In file included from vmclose.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC malloc.lo In file included from malloc.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ malloc.c:16:5: warning: "_std_malloc" is not defined, evaluates to 0 [-Wundef] #if _std_malloc || _BLD_INSTRUMENT_ || cray ^~~~~~~~~~~ malloc.c:16:20: warning: "_BLD_INSTRUMENT_" is not defined, evaluates to 0 [-Wundef] #if _std_malloc || _BLD_INSTRUMENT_ || cray ^~~~~~~~~~~~~~~~ malloc.c:16:40: warning: "cray" is not defined, evaluates to 0 [-Wundef] #if _std_malloc || _BLD_INSTRUMENT_ || cray ^~~~ malloc.c:36:5: warning: "_hdr_stat" is not defined, evaluates to 0 [-Wundef] #if _hdr_stat ^~~~~~~~~ malloc.c: In function 'atou': malloc.c:66:16: warning: conversion to 'Vmulong_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] v = (v << 4) + (*s - '0'); ^ malloc.c:68:16: warning: conversion to 'Vmulong_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] v = (v << 4) + (*s - 'a') + 10; ^ malloc.c:70:16: warning: conversion to 'Vmulong_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] v = (v << 4) + (*s - 'A') + 10; ^ malloc.c:77:14: warning: conversion to 'Vmulong_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] v = v * 10 + (*s - '0'); ^ malloc.c: In function 'insertpid': malloc.c:110:9: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *--s = '0' + pid % 10; ^~~ malloc.c: At top level: malloc.c:273:6: warning: no previous prototype for 'cfree' [-Wmissing-prototypes] void cfree(reg void * data) ^~~~~ malloc.c:279:7: warning: no previous prototype for 'memalign' [-Wmissing-prototypes] void *memalign(reg size_t align, reg size_t size) ^~~~~~~~ malloc.c: In function 'mallopt': malloc.c:305:17: warning: unused parameter 'cmd' [-Wunused-parameter] int mallopt(int cmd, int value) ^~~ malloc.c:305:26: warning: unused parameter 'value' [-Wunused-parameter] int mallopt(int cmd, int value) ^~~~~ malloc.c: In function 'mallinfo': malloc.c:321:13: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] mi.arena = sb.extent; ^~ malloc.c:323:16: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] mi.uordblks = sb.s_busy; ^~ malloc.c:324:16: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] mi.fordblks = sb.s_free; ^~ malloc.c: At top level: malloc.c:330:5: warning: "_lib_mstats" is not defined, evaluates to 0 [-Wundef] #if _lib_mstats ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmdebug.lo In file included from vmdebug.c:22:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmdebug.c: In function 'vmdbwarn': vmdebug.c:65:20: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] write(2, mesg, n); ^ In file included from vmdebug.c:22:0: vmdebug.c: In function 'dbwarn': vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:61:42: note: in definition of macro 'VLONG' #define VLONG(addr) ((Vmulong_t)((char*)(addr) - (char*)0) ) ^~~~ vmdebug.c:143:9: note: in expansion of macro 'INT2PTR' (INT2PTR(char *, DBLINE(data))), ^~~~~~~ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:351:20: note: in expansion of macro 'DBLN' #define DBLINE(d) (DBLN(d) < 0 ? -DBLN(d) : DBLN(d)) ^~~~ vmdebug.c:143:25: note: in expansion of macro 'DBLINE' (INT2PTR(char *, DBLINE(data))), ^~~~~~ vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:61:42: note: in definition of macro 'VLONG' #define VLONG(addr) ((Vmulong_t)((char*)(addr) - (char*)0) ) ^~~~ vmdebug.c:143:9: note: in expansion of macro 'INT2PTR' (INT2PTR(char *, DBLINE(data))), ^~~~~~~ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:351:35: note: in expansion of macro 'DBLN' #define DBLINE(d) (DBLN(d) < 0 ? -DBLN(d) : DBLN(d)) ^~~~ vmdebug.c:143:25: note: in expansion of macro 'DBLINE' (INT2PTR(char *, DBLINE(data))), ^~~~~~ vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:61:42: note: in definition of macro 'VLONG' #define VLONG(addr) ((Vmulong_t)((char*)(addr) - (char*)0) ) ^~~~ vmdebug.c:143:9: note: in expansion of macro 'INT2PTR' (INT2PTR(char *, DBLINE(data))), ^~~~~~~ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:351:45: note: in expansion of macro 'DBLN' #define DBLINE(d) (DBLN(d) < 0 ? -DBLN(d) : DBLN(d)) ^~~~ vmdebug.c:143:25: note: in expansion of macro 'DBLINE' (INT2PTR(char *, DBLINE(data))), ^~~~~~ vmdebug.c:162:23: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] vmdbwarn(vm, buf, (bufp - buf)); ^ In file included from vmdebug.c:22:0: vmdebug.c: In function 'dbsetinfo': vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:358:42: note: in expansion of macro 'DBLN' #define DBSETFL(d,f,l) (DBFILE(d) = (f), DBLN(d) = (f) ? (l) : 1) ^~~~ vmdebug.c:216:5: note: in expansion of macro 'DBSETFL' DBSETFL(data, (db ? db->file : NIL(char *)), line); ^~~~~~~ vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:370:66: note: in expansion of macro 'DBLN' (((begp) = (Vmuchar_t*)(d)+DBSIZE(d)), ((endp) = (Vmuchar_t*)(&DBLN(d))) ) ^~~~ vmdebug.c:223:5: note: in expansion of macro 'DBTAIL' DBTAIL(data, begp, endp); ^~~~~~ vmdebug.c: In function 'dbaddr': vmdebug.c:280:52: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] b = (Block_t *) ((Vmuchar_t *) DATA(b) + (SIZE(b) & ~BITS)); ^ vmdebug.c: In function 'dbsize': vmdebug.c:314:56: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] b = (Block_t *) ((Vmuchar_t *) DATA(b) + (SIZE(b) & ~BITS)); ^ In file included from vmdebug.c:22:0: vmdebug.c: In function 'dbresize': vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:351:20: note: in expansion of macro 'DBLN' #define DBLINE(d) (DBLN(d) < 0 ? -DBLN(d) : DBLN(d)) ^~~~ vmdebug.c:473:15: note: in expansion of macro 'DBLINE' oldline = DBLINE(addr); ^~~~~~ vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:351:35: note: in expansion of macro 'DBLN' #define DBLINE(d) (DBLN(d) < 0 ? -DBLN(d) : DBLN(d)) ^~~~ vmdebug.c:473:15: note: in expansion of macro 'DBLINE' oldline = DBLINE(addr); ^~~~~~ vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:351:45: note: in expansion of macro 'DBLN' #define DBLINE(d) (DBLN(d) < 0 ? -DBLN(d) : DBLN(d)) ^~~~ vmdebug.c:473:15: note: in expansion of macro 'DBLINE' oldline = DBLINE(addr); ^~~~~~ vmdebug.c: In function 'vmdbcheck': vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:362:21: note: in expansion of macro 'DBLN' #define DBISBAD(d) (DBLN(d) <= 0) ^~~~ vmdebug.c:537:10: note: in expansion of macro 'DBISBAD' if (DBISBAD(data)) { /* seen this before */ ^~~~~~~ vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:370:66: note: in expansion of macro 'DBLN' (((begp) = (Vmuchar_t*)(d)+DBSIZE(d)), ((endp) = (Vmuchar_t*)(&DBLN(d))) ) ^~~~ vmdebug.c:547:6: note: in expansion of macro 'DBTAIL' DBTAIL(data, begp, endp); ^~~~~~ vmdebug.c:552:20: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] dbwarn(vm, data, begp - data, NIL(char *), 0, DB_CHECK); ^~~~ In file included from vmdebug.c:22:0: vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:361:22: note: in expansion of macro 'DBLN' #define DBSETBAD(d) (DBLN(d) > 0 ? (DBLN(d) = -DBLN(d)) : -1) ^~~~ vmdebug.c:553:3: note: in expansion of macro 'DBSETBAD' DBSETBAD(data); ^~~~~~~~ vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:361:37: note: in expansion of macro 'DBLN' #define DBSETBAD(d) (DBLN(d) > 0 ? (DBLN(d) = -DBLN(d)) : -1) ^~~~ vmdebug.c:553:3: note: in expansion of macro 'DBSETBAD' DBSETBAD(data); ^~~~~~~~ vmhdr.h:346:38: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define DBBSIZE(d) (SIZE(DBBLOCK(d)) & ~BITS) ^ vmhdr.h:350:53: note: in expansion of macro 'DBBSIZE' #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line ) ^~~~~~~ vmhdr.h:361:48: note: in expansion of macro 'DBLN' #define DBSETBAD(d) (DBLN(d) > 0 ? (DBLN(d) = -DBLN(d)) : -1) ^~~~ vmdebug.c:553:3: note: in expansion of macro 'DBSETBAD' DBSETBAD(data); ^~~~~~~~ vmdebug.c:559:18: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] (SIZE(b) & ~BITS)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmset.lo In file included from vmset.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmprivate.lo In file included from vmprivate.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmprivate.c: In function 'vmextend': vmprivate.c:145:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] SIZE(bp) = seg->baddr - (Vmuchar_t *) bp - 2 * sizeof(Head_t); ^ In file included from vmprivate.c:14:0: vmhdr.h:107:26: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define CLRPFREE(w) ((w) &= ~PFREE) ^ vmprivate.c:173:2: note: in expansion of macro 'CLRPFREE' CLRPFREE(SIZE(NEXT(t))); ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmpool.lo In file included from vmpool.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmpool.c: In function 'poolalloc': vmpool.c:60:21: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] (s = (SIZE(tp) & ~BITS) + sizeof(Head_t)) >= size) ^ vmpool.c:67:20: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] s = (SIZE(tp) & ~BITS) + sizeof(Head_t); ^ vmpool.c: In function 'pooladdr': vmpool.c:127:36: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] (((Vmuchar_t *) addr - laddr) / size) * size); ^ vmpool.c: In function 'poolcompact': vmpool.c:246:33: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] if (seg->size == (s = SIZE(fp) & ~BITS)) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmsegment.lo In file included from vmsegment.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmregion.lo In file included from vmregion.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmstrdup.lo In file included from vmstrdup.c:15:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ In file included from vmhdr.h:247:0, from vmstrdup.c:15: vmstrdup.c: In function 'vmstrdup': vmstrdup.c:27:8: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] strlen(s) + 1)) ? (char *) memcpy(t, s, ^ vmalloc.h:199:58: note: in definition of macro 'vmalloc' #define vmalloc(vm,sz) (*(_VM_(vm)->meth.allocf))((vm),(sz)) ^~ vmalloc.h:199:57: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define vmalloc(vm,sz) (*(_VM_(vm)->meth.allocf))((vm),(sz)) ^ vmstrdup.c:26:7: note: in expansion of macro 'vmalloc' vmalloc(v, n = ^~~~~~~ vmstrdup.c:28:14: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] n) : (char *) 0); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmstat.lo In file included from vmstat.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmstat.c: In function 'vmstat': vmstat.c:58:15: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] s = SIZE(b) & ~BITS; ^ In file included from vmstat.c:14:0: vmhdr.h:322:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) ^ vmhdr.h:324:21: note: in expansion of macro 'PFDATA' #define PFSIZE(d) (PFDATA(d)->head.size.size) ^~~~~~ vmstat.c:68:8: note: in expansion of macro 'PFSIZE' s = PFSIZE(DATA(b)); ^~~~~~ vmstat.c:76:15: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] (SIZE(b) & ~BITS)); ^ vmstat.c:84:44: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] if ((s = ((char *) endb - (char *) b) - s) > 0) { ^ vmstat.c:90:14: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] st->n_free += (SIZE(seg->free) + sizeof(Head_t)) / s; ^~ vmstat.c:90:17: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] st->n_free += (SIZE(seg->free) + sizeof(Head_t)) / s; ^ vmstat.c:92:35: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] ((seg->baddr - (Vmuchar_t *) b) - sizeof(Head_t)) / s; ^ vmstat.c:91:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] st->n_busy += ^~ vmstat.c:92:3: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] ((seg->baddr - (Vmuchar_t *) b) - sizeof(Head_t)) / s; ^ vmstat.c:99:43: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] st->s_busy = (st->m_busy = vd->pool) * st->n_busy; ^ vmstat.c:101:43: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] st->s_free = (st->m_free = vd->pool) * st->n_free; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmwalk.lo In file included from vmwalk.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmprofile.lo In file included from vmprofile.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmprofile.c: In function 'pfsearch': vmprofile.c:87:14: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] h = line + (((Vmulong_t) vm) >> 4); ^ In file included from vmprofile.c:14:0: vmprofile.c: In function 'pfsetinfo': vmhdr.h:322:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) ^ vmhdr.h:323:21: note: in expansion of macro 'PFDATA' #define PFOBJ(d) (PFDATA(d)->head.seg.pf) ^~~~~~ vmprofile.c:209:5: note: in expansion of macro 'PFOBJ' PFOBJ(data) = pf; ^~~~~ vmhdr.h:322:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) ^ vmhdr.h:324:21: note: in expansion of macro 'PFDATA' #define PFSIZE(d) (PFDATA(d)->head.size.size) ^~~~~~ vmprofile.c:210:5: note: in expansion of macro 'PFSIZE' PFSIZE(data) = size; ^~~~~~ vmprofile.c: In function 'vmprofile': vmprofile.c:319:50: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] #define CHKBUF() (bufp >= endbuf ? (write(fd,buf,bufp-buf), bufp=buf) : bufp) ^ vmprofile.c:388:2: note: in expansion of macro 'CHKBUF' CHKBUF(); ^~~~~~ vmprofile.c:319:50: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] #define CHKBUF() (bufp >= endbuf ? (write(fd,buf,bufp-buf), bufp=buf) : bufp) ^ vmprofile.c:394:6: note: in expansion of macro 'CHKBUF' CHKBUF(); ^~~~~~ vmprofile.c:24:20: warning: conversion to 'Vmulong_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define PFLINE(pf) ((pf)->line) ^ vmprofile.c:396:45: note: in expansion of macro 'PFLINE' bufp = (*_Vmstrcpy) (bufp, (*_Vmitoa) (PFLINE(pf), -1), ':'); ^~~~~~ vmprofile.c:320:45: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] #define FLSBUF() (bufp > buf ? write(fd,buf,bufp-buf) : 0) ^ vmprofile.c:413:5: note: in expansion of macro 'FLSBUF' FLSBUF(); ^~~~~~ In file included from vmprofile.c:14:0: vmprofile.c: In function 'pffree': vmhdr.h:322:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) ^ vmhdr.h:323:21: note: in expansion of macro 'PFDATA' #define PFOBJ(d) (PFDATA(d)->head.seg.pf) ^~~~~~ vmprofile.c:472:10: note: in expansion of macro 'PFOBJ' pf = PFOBJ(data); ^~~~~ vmhdr.h:322:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) ^ vmhdr.h:324:21: note: in expansion of macro 'PFDATA' #define PFSIZE(d) (PFDATA(d)->head.size.size) ^~~~~~ vmprofile.c:473:9: note: in expansion of macro 'PFSIZE' s = PFSIZE(data); ^~~~~~ vmprofile.c: In function 'pfresize': vmhdr.h:322:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) ^ vmhdr.h:323:21: note: in expansion of macro 'PFDATA' #define PFOBJ(d) (PFDATA(d)->head.seg.pf) ^~~~~~ vmprofile.c:527:10: note: in expansion of macro 'PFOBJ' pf = PFOBJ(data); ^~~~~ vmhdr.h:322:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) ^ vmhdr.h:324:21: note: in expansion of macro 'PFDATA' #define PFSIZE(d) (PFDATA(d)->head.size.size) ^~~~~~ vmprofile.c:528:19: note: in expansion of macro 'PFSIZE' s = oldsize = PFSIZE(data); ^~~~~~ vmprofile.c: In function 'pfsize': vmhdr.h:322:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) ^ vmhdr.h:324:21: note: in expansion of macro 'PFDATA' #define PFSIZE(d) (PFDATA(d)->head.size.size) ^~~~~~ vmprofile.c:575:60: note: in expansion of macro 'PFSIZE' return (*Vmbest->addrf) (vm, addr) != 0 ? -1L : (long) PFSIZE(addr); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmtrace.lo In file included from vmtrace.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmtrace.c: In function 'trstrcpy': vmtrace.c:28:9: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] n = strlen(from); ^~~~~~ vmtrace.c:29:22: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] memcpy(to, from, n); ^ vmtrace.c:31:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] if ((*to = endc)) ^~~~ vmtrace.c: In function 'trtrace': vmtrace.c:134:24: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] write(Trfile, buf, (bufp - buf)); ^ In file included from vmtrace.c:14:0: vmtrace.c: In function 'vmtrbusy': vmhdr.h:322:62: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) ) ^ vmhdr.h:324:21: note: in expansion of macro 'PFDATA' #define PFSIZE(d) (PFDATA(d)->head.size.size) ^~~~~~ vmtrace.c:173:7: note: in expansion of macro 'PFSIZE' s = PFSIZE(data); ^~~~~~ vmtrace.c:175:15: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] s = SIZE(b) & ~BITS; ^ vmtrace.c:179:56: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] b = (Block_t *) ((Vmuchar_t *) DATA(b) + (SIZE(b) & ~BITS)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CC vmbest.lo In file included from vmbest.c:14:0: vmhdr.h:150:5: warning: "_long_double" is not defined, evaluates to 0 [-Wundef] #if _long_double ^~~~~~~~~~~~ vmbest.c: In function 'bestreclaim': vmbest.c:368:16: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] size = (size & ~BITS) + s + sizeof(Head_t); ^ vmbest.c:370:8: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] size &= ~BITS; ^~ In file included from vmbest.c:14:0: vmhdr.h:224:20: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] #define C_INDEX(s) (s < MAXCACHE ? INDEX(s) : S_CACHE) ^ vmbest.c:384:8: note: in expansion of macro 'C_INDEX' c = C_INDEX(s); ^~~~~~~ vmhdr.h:100:25: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define CLRBITS(w) ((w) &= ~BITS) ^ vmbest.c:386:7: note: in expansion of macro 'CLRBITS' CLRBITS(s); ^~~~~~~ vmbest.c: In function 'bestalloc': vmhdr.h:110:25: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define CLRJUNK(w) ((w) &= ~JUNK) ^ vmbest.c:519:2: note: in expansion of macro 'CLRJUNK' CLRJUNK(SIZE(tp)); ^~~~~~~ vmbest.c:539:11: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ((s & ~BITS) - (size + sizeof(Head_t))) | JUNK | BUSY; ^ In file included from vmbest.c:14:0: vmhdr.h:110:25: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define CLRJUNK(w) ((w) &= ~JUNK) ^ vmbest.c:543:6: note: in expansion of macro 'CLRJUNK' CLRJUNK(SIZE(tp)); ^~~~~~~ vmhdr.h:107:26: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define CLRPFREE(w) ((w) &= ~PFREE) ^ vmbest.c:553:7: note: in expansion of macro 'CLRPFREE' CLRPFREE(SIZE(NEXT(tp))); ^~~~~~~~ vmhdr.h:107:26: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define CLRPFREE(w) ((w) &= ~PFREE) ^ vmbest.c:592:5: note: in expansion of macro 'CLRPFREE' CLRPFREE(SIZE(NEXT(tp))); ^~~~~~~~ vmbest.c:605:15: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] SIZE(np) &= ~BITS; ^~ vmbest.c: In function 'bestaddr': vmbest.c:665:32: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] reg size_t size = SIZE(b) & ~BITS; ^ vmbest.c: In function 'bestfree': vmbest.c:726:60: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] (*_Vmtrace) (vm, (Vmuchar_t *) data, NIL(Vmuchar_t *), (s & ~BITS), ^ In file included from vmbest.c:14:0: vmbest.c: In function 'bestresize': vmhdr.h:100:25: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define CLRBITS(w) ((w) &= ~BITS) ^ vmbest.c:784:2: note: in expansion of macro 'CLRBITS' CLRBITS(SIZE(rp)); ^~~~~~~ vmhdr.h:100:25: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define CLRBITS(w) ((w) &= ~BITS) ^ vmbest.c:790:3: note: in expansion of macro 'CLRBITS' CLRBITS(s); ^~~~~~~ vmhdr.h:224:20: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] #define C_INDEX(s) (s < MAXCACHE ? INDEX(s) : S_CACHE) ^ vmbest.c:793:23: note: in expansion of macro 'C_INDEX' bestreclaim(vd, np, C_INDEX(s)); ^~~~~~~ vmhdr.h:100:25: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define CLRBITS(w) ((w) &= ~BITS) ^ vmbest.c:796:3: note: in expansion of macro 'CLRBITS' CLRBITS(SIZE(rp)); ^~~~~~~ vmhdr.h:107:26: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define CLRPFREE(w) ((w) &= ~PFREE) ^ vmbest.c:807:6: note: in expansion of macro 'CLRPFREE' CLRPFREE(SIZE(np)); ^~~~~~~~ vmbest.c:838:18: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] SIZE(np) = (((s & ~BITS) - size) - sizeof(Head_t)) | BUSY | JUNK; ^ vmbest.c:847:21: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] if (size < ((s & ~BITS) + bs)) ^ vmbest.c:848:13: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] size = (s & ~BITS) + bs; ^ In file included from vmbest.c:14:0: vmhdr.h:100:25: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define CLRBITS(w) ((w) &= ~BITS) ^ vmbest.c:873:49: note: in expansion of macro 'CLRBITS' done:if (data && (type & VM_RSZERO) && size > CLRBITS(oldsize)) { ^~~~~~~ vmbest.c: In function 'bestsize': vmbest.c:918:56: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] b = (Block_t *) ((Vmuchar_t *) DATA(b) + (SIZE(b) & ~BITS)); ^ In file included from vmbest.c:14:0: vmbest.c: In function 'bestcompact': vmhdr.h:107:26: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define CLRPFREE(w) ((w) &= ~PFREE) ^ vmbest.c:957:2: note: in expansion of macro 'CLRPFREE' CLRPFREE(SIZE(NEXT(bp))); ^~~~~~~~ vmbest.c:967:37: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] (seg->baddr - ((Vmuchar_t *) bp) - sizeof(Head_t))) > 0) ^ vmbest.c: In function 'bestalign': vmbest.c:1050:6: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] s = (Vmuchar_t *) np - (Vmuchar_t *) tp; ^ vmbest.c:1051:24: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] SIZE(np) = ((SIZE(tp) & ~BITS) - s) | BUSY; ^ vmbest.c:1065:17: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] SIZE(tp) = ((s & ~BITS) - sizeof(Head_t)) | BUSY | JUNK; ^ vmbest.c: In function 'sbrkmem': vmbest.c:1098:5: warning: "_std_malloc" is not defined, evaluates to 0 [-Wundef] #if _std_malloc || _BLD_INSTRUMENT || cray ^~~~~~~~~~~ vmbest.c:1098:20: warning: "_BLD_INSTRUMENT" is not defined, evaluates to 0 [-Wundef] #if _std_malloc || _BLD_INSTRUMENT || cray ^~~~~~~~~~~~~~~ vmbest.c:1098:39: warning: "cray" is not defined, evaluates to 0 [-Wundef] #if _std_malloc || _BLD_INSTRUMENT || cray ^~~~ vmbest.c: At top level: vmbest.c:1165:1: warning: missing initializer for field 'tiny' of 'Vmdata_t {aka struct _vmdata_s}' [-Wmissing-field-initializers] }; ^ In file included from vmbest.c:14:0: vmhdr.h:237:11: note: 'tiny' declared here Block_t *tiny[S_TINY]; /* small blocks */ ^~~~ In file included from vmbest.c:14:0: vmbest.c: In function 'bestresize': vmhdr.h:376:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: *to++ = *fr++; \ ~~~~~~^~~~~~ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:377:4: note: here case 6: *to++ = *fr++; \ ^ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:377:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: *to++ = *fr++; \ ~~~~~~^~~~~~ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:378:4: note: here case 5: *to++ = *fr++; \ ^ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:378:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: *to++ = *fr++; \ ~~~~~~^~~~~~ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:379:4: note: here case 4: *to++ = *fr++; \ ^ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:379:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: *to++ = *fr++; \ ~~~~~~^~~~~~ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:380:4: note: here case 3: *to++ = *fr++; \ ^ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:380:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: *to++ = *fr++; \ ~~~~~~^~~~~~ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:381:4: note: here case 2: *to++ = *fr++; \ ^ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:381:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: *to++ = *fr++; \ ~~~~~~^~~~~~ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:382:4: note: here case 1: *to++ = *fr++; \ ^ vmbest.c:852:7: note: in expansion of macro 'INTCOPY' INTCOPY(d, ed, s); ^~~~~~~ vmhdr.h:387:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: *d++ = 0; \ ~~~~~^~~ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:388:4: note: here case 6: *d++ = 0; \ ^ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:388:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: *d++ = 0; \ ~~~~~^~~ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:389:4: note: here case 5: *d++ = 0; \ ^ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:389:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: *d++ = 0; \ ~~~~~^~~ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:390:4: note: here case 4: *d++ = 0; \ ^ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:390:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: *d++ = 0; \ ~~~~~^~~ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:391:4: note: here case 3: *d++ = 0; \ ^ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:391:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: *d++ = 0; \ ~~~~~^~~ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:392:4: note: here case 2: *d++ = 0; \ ^ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:392:17: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: *d++ = 0; \ ~~~~~^~~ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ vmhdr.h:393:4: note: here case 1: *d++ = 0; \ ^ vmbest.c:876:2: note: in expansion of macro 'INTZERO' INTZERO(d, size); ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' CCLD libvmalloc_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' Making all in ast make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC chresc.lo chresc.c: In function 'chresc': chresc.c:36:2: warning: switch missing default case [-Wswitch-default] switch (c = *s++) { ^~~~~~ chresc.c:31:5: warning: switch missing default case [-Wswitch-default] switch (c = *s++) { ^~~~~~ chresc.c:136:7: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] *p = (char *) s; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC pathaccess.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC error.lo error.c: In function '_err_msgv': error.c:55:47: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (level && ((s = error_info.id) || (s = (char *) id))) { ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC fmtbuf.lo fmtbuf.c: In function 'fmtbuf': fmtbuf.c:33:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (n > (&buf[elementsof(buf)] - nxt)) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC pathbin.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC pathcat.lo pathcat.c: In function 'pathcat': pathcat.c:42:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (*dirs ? (char *) ++dirs : 0); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC chrtoi.lo chrtoi.c: In function 'chrtoi': chrtoi.c:31:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (n = 0; n < sizeof(int) * CHAR_BIT; n += CHAR_BIT) { ^ chrtoi.c:32:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] switch (x = *((unsigned char *) s++)) { ^ chrtoi.c:32:2: warning: switch missing default case [-Wswitch-default] switch (x = *((unsigned char *) s++)) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC pathgetlink.lo pathgetlink.c:39:5: warning: no previous prototype for 'pathgetlink' [-Wmissing-prototypes] int pathgetlink(const char *name, char *buf, int siz) ^~~~~~~~~~~ pathgetlink.c: In function 'pathgetlink': pathgetlink.c:46:34: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if ((n = readlink(name, buf, siz)) < 0) ^~~ pathgetlink.c:46:14: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] if ((n = readlink(name, buf, siz)) < 0) ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC stresc.lo stresc.c: In function 'stresc': stresc.c:40:16: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] return (t - b); ~~~^~~~ stresc.c:33:2: warning: switch missing default case [-Wswitch-default] switch (c = *s++) { ^~~~~~ stresc.c:42:9: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *t++ = c; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC strcopy.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC pathpath.lo pathpath.c: In function 'pathpath': pathpath.c:75:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] else if ((s = (char *) a)) { ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC pathfind.lo pathfind.c:47:5: warning: no previous prototype for 'pathinclude' [-Wmissing-prototypes] int pathinclude(const char *dir) ^~~~~~~~~~~ pathfind.c: In function 'pathfind': pathfind.c:81:17: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] sfsprintf(buf, size, "%s.%s", name, type); ^~~~ pathfind.c:100:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if ((s = strrchr((char *) lib, ':'))) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC pathexists.lo pathexists.c: In function 'pathexists': pathexists.c:68:8: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *e = c; ^ pathexists.c:75:8: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *e = c; ^ pathexists.c:88:12: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *e = c; ^ pathexists.c:97:8: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *e = c; ^ pathexists.c:109:9: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *e++ = c; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC strerror.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC pathcanon.lo pathcanon.c:44:7: warning: no previous prototype for 'pathcanon' [-Wmissing-prototypes] char *pathcanon(char *path, int flags) ^~~~~~~~~ pathcanon.c: In function 'pathcanon': pathcanon.c:95:5: warning: "PRESERVE_TRAILING_SLASH" is not defined, evaluates to 0 [-Wundef] #if PRESERVE_TRAILING_SLASH ^~~~~~~~~~~~~~~~~~~~~~~ pathcanon.c:143:18: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *(t - 1) = c; ^ pathcanon.c:185:5: warning: "DONT_PRESERVE_TRAILING_SLASH" is not defined, evaluates to 0 [-Wundef] #if DONT_PRESERVE_TRAILING_SLASH ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC fmtesc.lo fmtesc.c: In function 'fmtquote': fmtesc.c:38:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] register unsigned char *s = (unsigned char *) as; ^ fmtesc.c:48:9: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] c = 4 * (n + 1); ^ fmtesc.c:50:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] c += strlen((char *) qb); ^ fmtesc.c:50:4: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] c += strlen((char *) qb); ^~ fmtesc.c:50:7: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] c += strlen((char *) qb); ^~~~~~ fmtesc.c:52:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] c += strlen((char *) qe); ^ fmtesc.c:52:4: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] c += strlen((char *) qe); ^~ fmtesc.c:52:7: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] c += strlen((char *) qe); ^~~~~~ fmtesc.c:53:22: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] b = buf = fmtbuf(c); ^ fmtesc.c:104:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *b++ = '0' + ((c >> 6) & 07); ^~~ fmtesc.c:105:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *b++ = '0' + ((c >> 3) & 07); ^~~ fmtesc.c:113:10: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *b++ = c; ^ fmtesc.c:133:13: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *b++ = c; ^ fmtesc.c: At top level: fmtesc.c:154:7: warning: no previous prototype for 'fmtnesq' [-Wmissing-prototypes] char *fmtnesq(const char *as, const char *qs, size_t n) ^~~~~~~ fmtesc.c: In function 'fmtesq': fmtesc.c:165:41: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return fmtquote(as, NiL, qs, strlen((char *) as), 0); ^ fmtesc.c: In function 'fmtesc': fmtesc.c:174:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return fmtquote(as, NiL, NiL, strlen((char *) as), 0); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC strton.lo In file included from strton.c:63:0: ../../lib/sfio/sfhdr.h:151:5: warning: "_stream_peek" is not defined, evaluates to 0 [-Wundef] #if _stream_peek ^~~~~~~~~~~~ strton.c:68:6: warning: no previous prototype for 'strton' [-Wmissing-prototypes] long strton(const char *a, char **e, char *basep, int m) ^~~~~~ strton.c: In function 'strton': strton.c:70:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] register unsigned char *s = (unsigned char *) a; ^ strton.c:96:14: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] base = n; ^ strton.c:111:15: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *basep = base; ^~~~ strton.c:143:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (s > (unsigned char *) (a + 1)) { ^ strton.c:170:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (m < 0 || s == (unsigned char *) (a + 1)) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CC strmatch.lo In file included from strmatch.c:56:0: ./hashkey.h:49:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ strmatch.c:59:5: warning: "_hdr_wchar" is not defined, evaluates to 0 [-Wundef] #if _hdr_wchar && _lib_wctype && _lib_iswctype ^~~~~~~~~~ strmatch.c:122:5: warning: "_DEBUG_MATCH" is not defined, evaluates to 0 [-Wundef] #if _DEBUG_MATCH ^~~~~~~~~~~~ strmatch.c:142:5: warning: "_lib_mbtowc" is not defined, evaluates to 0 [-Wundef] #if _lib_mbtowc && MB_LEN_MAX > 1 ^~~~~~~~~~~ strmatch.c:156:6: warning: "_lib_strcoll" is not defined, evaluates to 0 [-Wundef] #if !_lib_strcoll ^~~~~~~~~~~~ strmatch.c:160:5: warning: "_lib_fnmatch" is not defined, evaluates to 0 [-Wundef] #if _lib_fnmatch ^~~~~~~~~~~~ strmatch.c: In function 'gobble': strmatch.c:179:2: warning: switch missing default case [-Wswitch-default] switch (mbgetchar(s)) { ^~~~~~ strmatch.c: At top level: strmatch.c:226:5: warning: "_DEBUG_MATCH" is not defined, evaluates to 0 [-Wundef] #if _DEBUG_MATCH ^~~~~~~~~~~~ strmatch.c: In function 'onematch': strmatch.c:249:5: warning: "_DEBUG_MATCH" is not defined, evaluates to 0 [-Wundef] #if _DEBUG_MATCH ^~~~~~~~~~~~ strmatch.c:284:25: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] mp->current.groups = oldg; ^~~~ strmatch.c:302:5: warning: "_DEBUG_MATCH" is not defined, evaluates to 0 [-Wundef] #if _DEBUG_MATCH ^~~~~~~~~~~~ strmatch.c:317:5: warning: "_DEBUG_MATCH" is not defined, evaluates to 0 [-Wundef] #if _DEBUG_MATCH ^~~~~~~~~~~~ strmatch.c:330:24: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] mp->current.groups = oldg; ^~~~ strmatch.c:358:28: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] mp->current.groups = g; ^ strmatch.c:367:5: warning: "_DEBUG_MATCH" is not defined, evaluates to 0 [-Wundef] #if _DEBUG_MATCH ^~~~~~~~~~~~ strmatch.c:378:5: warning: "_DEBUG_MATCH" is not defined, evaluates to 0 [-Wundef] #if _DEBUG_MATCH ^~~~~~~~~~~~ strmatch.c:418:24: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] mp->current.groups = g; ^ strmatch.c:427:21: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] mp->best.groups = g; ^ strmatch.c:428:5: warning: "_DEBUG_MATCH" is not defined, evaluates to 0 [-Wundef] #if _DEBUG_MATCH ^~~~~~~~~~~~ strmatch.c:445:5: warning: "_lib_fnmatch" is not defined, evaluates to 0 [-Wundef] #if _lib_fnmatch ^~~~~~~~~~~~ strmatch.c:525:5: warning: "_lib_wctype" is not defined, evaluates to 0 [-Wundef] #if _lib_wctype ^~~~~~~~~~~ strmatch.c:474:8: warning: switch missing default case [-Wswitch-default] switch (HASHNKEY5 ^~~~~~ strmatch.c:541:5: warning: "_lib_fnmatch" is not defined, evaluates to 0 [-Wundef] #if _lib_fnmatch ^~~~~~~~~~~~ strmatch.c:557:5: warning: "_lib_fnmatch" is not defined, evaluates to 0 [-Wundef] #if _lib_fnmatch ^~~~~~~~~~~~ strmatch.c:592:5: warning: "_lib_fnmatch" is not defined, evaluates to 0 [-Wundef] #if _lib_fnmatch ^~~~~~~~~~~~ strmatch.c:600:5: warning: "_lib_mbtowc" is not defined, evaluates to 0 [-Wundef] #if _lib_mbtowc ^~~~~~~~~~~ strmatch.c:639:5: warning: "_lib_fnmatch" is not defined, evaluates to 0 [-Wundef] #if _lib_fnmatch ^~~~~~~~~~~~ strmatch.c:663:5: warning: "_DEBUG_MATCH" is not defined, evaluates to 0 [-Wundef] #if _DEBUG_MATCH ^~~~~~~~~~~~ strmatch.c: In function 'grpmatch': strmatch.c:699:5: warning: "_DEBUG_MATCH" is not defined, evaluates to 0 [-Wundef] #if _DEBUG_MATCH ^~~~~~~~~~~~ strmatch.c: In function 'strgrpmatch': strmatch.c:729:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] s = (char *) b; ^ strmatch.c:735:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if ((i = grpmatch(&match, 0, s, (char *) p, e, flags)) ^ strmatch.c:742:5: warning: "_DEBUG_MATCH" is not defined, evaluates to 0 [-Wundef] #if _DEBUG_MATCH ^~~~~~~~~~~~ strmatch.c:760:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] s = (char *) b; ^ strmatch.c:764:15: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] sub[i * 2] = match.current.end[i] ? match.current.beg[i] - s : 0; ^~~~~ strmatch.c:766:6: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] match.current.end[i] ? match.current.end[i] - s : 0; ^~~~~ strmatch.c: At top level: strmatch.c:789:7: warning: no previous prototype for 'strsubmatch' [-Wmissing-prototypes] char *strsubmatch(const char *s, const char *p, int flags) ^~~~~~~~~~~ strmatch.c: In function 'strsubmatch': strmatch.c:794:50: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (flags ? STR_MAXIMAL : 0) | STR_LEFT) ? (char *) s + ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' CCLD libast_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' Making all in vpsc make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' CXX csolve_VPSC.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' CXX generate-constraints.lo generate-constraints.cpp: In function 'int generateXConstraints(int, Rectangle**, Variable**, Constraint**&, bool)': generate-constraints.cpp:186:8: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' CXX PairingHeap.lo In file included from pairingheap/PairingHeap.h:127:0, from pairingheap/PairingHeap.cpp:28: pairingheap/PairingHeap.cpp: In member function 'void PairingHeap::deleteMin()': pairingheap/PairingHeap.cpp:111:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ pairingheap/PairingHeap.cpp:113:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' counter--; ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' CXX block.lo In file included from pairingheap/PairingHeap.h:127:0, from block.cpp:20: pairingheap/PairingHeap.cpp: In member function 'void PairingHeap::deleteMin()': pairingheap/PairingHeap.cpp:111:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ pairingheap/PairingHeap.cpp:113:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' counter--; ^~~~~~~ block.cpp: In member function 'void Block::setUpConstraintHeap(PairingHeap*&, bool)': block.cpp:82:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (c->left->block != this && in || c->right->block != this && !in) { ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' CXX constraint.lo constraint.cpp: In function 'std::ostream& operator<<(std::ostream&, const Constraint&)': constraint.cpp:46:7: warning: the compiler can assume that the address of 'c' will never be NULL [-Waddress] if(&c==NULL) { ^ constraint.cpp:46:2: warning: nonnull argument 'c' compared to NULL [-Wnonnull-compare] if(&c==NULL) { ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' CXX remove_rectangle_overlap.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' CXX blocks.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' CXX variable.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' CXX solve_VPSC.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' CXXLD libvpsc_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' Making all in rbtree make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/rbtree' CC misc.lo misc.c:72:6: warning: no previous prototype for 'NullFunction' [-Wmissing-prototypes] void NullFunction(void * junk) { ; } ^~~~~~~~~~~~ misc.c: In function 'NullFunction': misc.c:72:26: warning: unused parameter 'junk' [-Wunused-parameter] void NullFunction(void * junk) { ; } ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/rbtree' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/rbtree' CC stack.lo stack.c:71:6: warning: no previous prototype for 'StackDestroy' [-Wmissing-prototypes] void StackDestroy(stk_stack * theStack,void DestFunc(void * a)) { ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/rbtree' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/rbtree' CC red_black_tree.lo red_black_tree.c:86:6: warning: no previous prototype for 'LeftRotate' [-Wmissing-prototypes] void LeftRotate(rb_red_blk_tree* tree, rb_red_blk_node* x) { ^~~~~~~~~~ red_black_tree.c:141:6: warning: no previous prototype for 'RightRotate' [-Wmissing-prototypes] void RightRotate(rb_red_blk_tree* tree, rb_red_blk_node* y) { ^~~~~~~~~~~ red_black_tree.c:192:6: warning: no previous prototype for 'TreeInsertHelp' [-Wmissing-prototypes] void TreeInsertHelp(rb_red_blk_tree* tree, rb_red_blk_node* z) { ^~~~~~~~~~~~~~ red_black_tree.c:385:6: warning: no previous prototype for 'InorderTreePrint' [-Wmissing-prototypes] void InorderTreePrint(rb_red_blk_tree* tree, rb_red_blk_node* x) { ^~~~~~~~~~~~~~~~ red_black_tree.c:421:6: warning: no previous prototype for 'TreeDestHelper' [-Wmissing-prototypes] void TreeDestHelper(rb_red_blk_tree* tree, rb_red_blk_node* x) { ^~~~~~~~~~~~~~ red_black_tree.c:522:6: warning: no previous prototype for 'RBDeleteFixUp' [-Wmissing-prototypes] void RBDeleteFixUp(rb_red_blk_tree* tree, rb_red_blk_node* x) { ^~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/rbtree' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/rbtree' CCLD librbtree_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/rbtree' Making all in ortho make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' CC rawgraph.lo In file included from rawgraph.c:19:0: rawgraph.c: In function 'make_graph': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rawgraph.c:32:19: note: in expansion of macro 'N_NEW' g->vertices = N_NEW(n, vertex); ^~~~~ rawgraph.c: In function 'mkStack': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rawgraph.c:84:16: note: in expansion of macro 'N_NEW' sp->vals = N_NEW(i,int); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' CC fPQ.lo In file included from fPQ.c:17:0: fPQ.c: In function 'PQgen': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ fPQ.c:31:10: note: in expansion of macro 'N_NEW' pq = N_NEW(sz+1,snode*); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' CC sgraph.lo In file included from sgraph.c:18:0: sgraph.c: In function 'initSEdges': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sgraph.c:116:16: note: in expansion of macro 'N_NEW' int* adj = N_NEW (6*g->nnodes + 2*maxdeg, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sgraph.c:117:16: note: in expansion of macro 'N_NEW' g->edges = N_NEW (3*g->nnodes + maxdeg, sedge); ^~~~~ sgraph.c: In function 'createSGraph': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sgraph.c:135:16: note: in expansion of macro 'N_NEW' g->nodes = N_NEW(nnodes, snode); ^~~~~ sgraph.c: In function 'addEdgeToNode': sgraph.c:149:34: warning: unused parameter 'e' [-Wunused-parameter] addEdgeToNode (snode* np, sedge* e, int idx) ^ sgraph.c: In function 'shortPath': sgraph.c:244:7: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] d = -(N_VAL(n) + E_WT(e)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' CC maze.lo maze.c: In function 'psdump': maze.c:65:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] absbb.UR.x = absbb.LL.x + BB.UR.x - BB.LL.x; ^~~~~ maze.c:66:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] absbb.UR.y = absbb.LL.y + BB.UR.y - BB.LL.y; ^~~~~ maze.c: In function 'vcmpid': maze.c:90:14: warning: unused parameter 'd' [-Wunused-parameter] vcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc) ^ maze.c:90:55: warning: unused parameter 'disc' [-Wunused-parameter] vcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc) ^~~~ maze.c: In function 'hcmpid': maze.c:100:14: warning: unused parameter 'd' [-Wunused-parameter] hcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc) ^ maze.c:100:55: warning: unused parameter 'disc' [-Wunused-parameter] hcmpid(Dt_t* d, pointf* key1, pointf* key2, Dtdisc_t* disc) ^~~~ maze.c: In function 'updateWt': maze.c:154:17: warning: unused parameter 'cp' [-Wunused-parameter] updateWt (cell* cp, sedge* ep, int sz) ^~ maze.c: In function 'updateWts': maze.c:144:19: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define CHANSZ(w) (((w)-3)/2) ^ maze.c:175:15: note: in expansion of macro 'CHANSZ' int hsz = CHANSZ (cp->bb.UR.y - cp->bb.LL.y); ^~~~~~ maze.c:144:19: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define CHANSZ(w) (((w)-3)/2) ^ maze.c:176:15: note: in expansion of macro 'CHANSZ' int vsz = CHANSZ (cp->bb.UR.x - cp->bb.LL.x); ^~~~~~ maze.c: In function 'markSmall': maze.c:197:30: warning: unused parameter 'g' [-Wunused-parameter] markSmall (cell* cp, sgraph* g) ^ In file included from maze.c:22:0: maze.c: In function 'mkMazeGraph': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ maze.c:328:25: note: in expansion of macro 'N_NEW' snodeitem* ditems = N_NEW(bound, snodeitem); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ maze.c:335:13: note: in expansion of macro 'N_NEW' sides = N_NEW(4*mp->ncells, snode*); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ maze.c:374:13: note: in expansion of macro 'N_NEW' sides = N_NEW(g->nnodes, snode*); ^~~~~ maze.c:323:20: warning: variable 'ncnt' set but not used [-Wunused-but-set-variable] int nsides, i, ncnt, maxdeg; ^~~~ In file included from maze.c:22:0: maze.c: In function 'mkMaze': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ maze.c:461:23: note: in expansion of macro 'N_NEW' cp = mp->gcells = N_NEW(mp->ngcells, cell); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ maze.c:496:17: note: in expansion of macro 'N_NEW' mp->cells = N_NEW(nrect, cell); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' CC partition.lo partition.c: In function 'generateRandomOrdering': partition.c:157:6: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] j = i + drand48() * (n + 1 - i); ^ partition.c: In function 'traverse_polygon': partition.c:334:26: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (seg[t->lseg].v0.x == seg[t->lseg].v1.x) && ^~ partition.c:335:26: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (seg[t->rseg].v0.x == seg[t->rseg].v1.x)) { ^~ partition.c:326:7: warning: variable 'do_switch' set but not used [-Wunused-but-set-variable] int do_switch = FALSE; ^~~~~~~~~ partition.c:325:7: warning: variable 'retval' set but not used [-Wunused-but-set-variable] int retval; ^~~~~~ In file included from partition.c:18:0: partition.c: In function 'monotonate_trapezoids': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ partition.c:621:20: note: in expansion of macro 'N_NEW' int* visited = N_NEW(tr_size,int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ partition.c:623:14: note: in expansion of macro 'N_NEW' mchain = N_NEW(tr_size, monchain_t); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ partition.c:624:12: note: in expansion of macro 'N_NEW' vert = N_NEW(nsegs+1,vertexchain_t); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ partition.c:625:11: note: in expansion of macro 'N_NEW' mon = N_NEW(nsegs, int); ^~~~~ partition.c: At top level: partition.c:688:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG > 1 ^~~~~ In file included from partition.c:18:0: partition.c: In function 'partition': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ partition.c:722:23: note: in expansion of macro 'N_GNEW' segment_t* segs = N_GNEW(nsegs+1, segment_t); ^~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ partition.c:723:20: note: in expansion of macro 'N_NEW' int* permute = N_NEW(nsegs+1, int); ^~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ partition.c:728:19: note: in expansion of macro 'N_GNEW' trap_t* trs = N_GNEW(ntraps, trap_t); ^~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ partition.c:729:24: note: in expansion of macro 'N_NEW' boxf* hor_decomp = N_NEW(ntraps, boxf); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ partition.c:730:25: note: in expansion of macro 'N_NEW' boxf* vert_decomp = N_NEW(ntraps, boxf); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ partition.c:755:10: note: in expansion of macro 'N_NEW' rs = N_NEW (hd_size*vd_size, boxf); ^~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ partition.c:761:10: note: in expansion of macro 'RALLOC' rs = RALLOC (cnt, rs, boxf); ^~~~~~ partition.c:731:9: warning: variable 'nt' set but not used [-Wunused-but-set-variable] int nt; ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' CC trapezoid.lo trapezoid.c: In function 'add_segment': trapezoid.c:437:7: warning: variable 'tritop' set but not used [-Wunused-but-set-variable] int tritop = 0, tribot = 0, is_swapped; ^~~~~~ trapezoid.c: In function 'math_N': trapezoid.c:1040:10: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] return (int) ceil((double) 1.0*n/v); ^ In file included from trapezoid.c:26:0: trapezoid.c: In function 'construct_trapezoids': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ trapezoid.c:1055:10: note: in expansion of macro 'N_NEW' qs = N_NEW (2*ntraps, qnode_t); ^~~~~ trapezoid.c:1057:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memset((void *)tr, 0, ntraps*sizeof(trap_t)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' CC ortho.lo ortho.c: In function 'setSeg': ortho.c:113:18: warning: conversion to 'boolean {aka unsigned char}' from 'int' may alter its value [-Wconversion] sp->isVert = dir; ^~~ In file included from ortho.c:32:0: ortho.c: In function 'convertSPtoRoute': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ortho.c:158:16: note: in expansion of macro 'N_NEW' rte.segs = N_NEW(sz-2, segment); /* at most sz-2 segments */ ^~~~~ ortho.c:235:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] rte.segs = realloc (rte.segs, rte.n*sizeof(segment)); ^ ortho.c: In function 'freeChannel': ortho.c:253:20: warning: unused parameter 'd' [-Wunused-parameter] freeChannel (Dt_t* d, channel* cp, Dtdisc_t* disc) ^ ortho.c:253:46: warning: unused parameter 'disc' [-Wunused-parameter] freeChannel (Dt_t* d, channel* cp, Dtdisc_t* disc) ^~~~ ortho.c: In function 'freeChanItem': ortho.c:261:21: warning: unused parameter 'd' [-Wunused-parameter] freeChanItem (Dt_t* d, chanItem* cp, Dtdisc_t* disc) ^ ortho.c:261:48: warning: unused parameter 'disc' [-Wunused-parameter] freeChanItem (Dt_t* d, chanItem* cp, Dtdisc_t* disc) ^~~~ ortho.c: In function 'chancmpid': ortho.c:277:17: warning: unused parameter 'd' [-Wunused-parameter] chancmpid(Dt_t* d, paird* key1, paird* key2, Dtdisc_t* disc) ^ ortho.c:277:56: warning: unused parameter 'disc' [-Wunused-parameter] chancmpid(Dt_t* d, paird* key1, paird* key2, Dtdisc_t* disc) ^~~~ ortho.c: In function 'dcmpid': ortho.c:291:14: warning: unused parameter 'd' [-Wunused-parameter] dcmpid(Dt_t* d, double* key1, double* key2, Dtdisc_t* disc) ^ ortho.c:291:55: warning: unused parameter 'disc' [-Wunused-parameter] dcmpid(Dt_t* d, double* key1, double* key2, Dtdisc_t* disc) ^~~~ In file included from ortho.c:32:0: ortho.c: In function 'insertChan': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ortho.c:414:22: note: in expansion of macro 'ALLOC' chan->seg_list = ALLOC(chan->cnt, chan->seg_list, segment*); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ortho.c:414:22: note: in expansion of macro 'ALLOC' chan->seg_list = ALLOC(chan->cnt, chan->seg_list, segment*); ^~~~~ ortho.c: In function 'addLoop': ortho.c:462:9: warning: variable 'wt' set but not used [-Wunused-but-set-variable] double wt; ^~ ortho.c: In function 'addNodeEdges': ortho.c:498:9: warning: variable 'wt' set but not used [-Wunused-but-set-variable] double wt; ^~ ortho.c: In function 'bendToStr': ortho.c:520:3: warning: switch missing default case [-Wswitch-default] switch (b) { ^~~~~~ ortho.c: In function 'assignTrackNo': ortho.c:588:47: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] if (odb_flags & ODB_CHANG) dumpChanG (cp, ((chanItem*)l1)->v); ^ ortho.c: In function 'overlapSeg': ortho.c:633:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if(S1->p.p2==S2->p.p2) { ^~ ortho.c: In function 'segCmp': ortho.c:665:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if(S1->p.p1==S2->p.p1) { ^~ ortho.c:666:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if(S1->p.p2==S2->p.p2) { ^~ ortho.c:712:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if(S1->p.p2==S2->p.p1) { ^~ ortho.c: In function 'seg_cmp': ortho.c:743:46: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if(S1->isVert!=S2->isVert||S1->comm_coord!=S2->comm_coord) { ^~ ortho.c: In function 'add_edges_in_G': ortho.c:763:6: warning: switch missing default case [-Wswitch-default] switch (seg_cmp(seg_list[x],seg_list[y])) { ^~~~~~ ortho.c: In function 'propagate_prec': ortho.c:820:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if(next->comm_coord==current->p.p1) { ^~ ortho.c:828:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if(next->comm_coord==current->p.p1) { ^~ ortho.c: In function 'is_parallel': ortho.c:844:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return ((s1->p.p1==s2->p.p1)&& ^~ ortho.c:845:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (s1->p.p2==s2->p.p2)&& ^~ ortho.c: In function 'set_parallel_edges': ortho.c:907:26: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if(prev1->comm_coord==seg1->p.p1) { ^~ ortho.c:938:26: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if(prev1->comm_coord==seg1->p.p1) { ^~ ortho.c: In function 'addPEdges': ortho.c:1028:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if(segs[i]->prev->comm_coord==segs[j]->prev->comm_coord) ^~ ortho.c:1049:4: warning: switch missing default case [-Wswitch-default] switch(prec2) { ^~~~~~ ortho.c:1041:7: warning: switch missing default case [-Wswitch-default] switch(prec1) { ^~~~~~ ortho.c: In function 'assignTracks': ortho.c:1093:19: warning: unused parameter 'nrtes' [-Wunused-parameter] assignTracks (int nrtes, route* route_list, maze* mp) ^~~~~ ortho.c:1093:33: warning: unused parameter 'route_list' [-Wunused-parameter] assignTracks (int nrtes, route* route_list, maze* mp) ^~~~~~~~~~ ortho.c: In function 'htrack': ortho.c:1129:13: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] return lo + f*(hi-lo); ~~~^~~~~~~~~~~ In file included from ortho.c:32:0: ortho.c: In function 'attachOrthoEdges': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ ortho.c:1162:13: note: in expansion of macro 'N_GNEW' ispline = N_GNEW(npts, pointf); ^~~~~~ ortho.c: In function 'spline_merge': ortho.c:1219:38: warning: unused parameter 'n' [-Wunused-parameter] static boolean spline_merge(node_t * n) ^ ortho.c: In function 'swap_ends_p': ortho.c:1224:37: warning: unused parameter 'e' [-Wunused-parameter] static boolean swap_ends_p(edge_t * e) ^ ortho.c: At top level: ortho.c:1237:1: warning: no previous prototype for 'orthoEdges' [-Wmissing-prototypes] orthoEdges (Agraph_t* g, int doLbls) ^~~~~~~~~~ In file included from ortho.c:32:0: ortho.c: In function 'orthoEdges': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ ortho.c:1248:19: note: in expansion of macro 'N_GNEW' epair_t* es = N_GNEW(agnedges(g), epair_t); ^~~~~~ ortho.c:1264:3: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ In file included from ortho.c:32:0: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ortho.c:1318:18: note: in expansion of macro 'N_NEW' route_list = N_NEW (n_edges, route); ^~~~~ ortho.c:1320:23: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort((char *)es, n_edges, sizeof(epair_t), (qsort_cmpf) edgecmp); ^~~~~~~ ortho.c: In function 'coordOf': ortho.c:1420:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.x = (cp->bb.LL.x + cp->bb.UR.x)/2; ^ ortho.c:1421:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.y = cp->bb.UR.y; ^~ ortho.c:1424:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.x = (cp->bb.LL.x + cp->bb.UR.x)/2; ^ ortho.c:1425:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.y = cp->bb.LL.y; ^~ ortho.c:1428:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.y = (cp->bb.LL.y + cp->bb.UR.y)/2; ^ ortho.c:1429:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.x = cp->bb.LL.x; ^~ ortho.c:1432:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.y = (cp->bb.LL.y + cp->bb.UR.y)/2; ^ ortho.c:1433:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.x = cp->bb.UR.x; ^~ ortho.c: In function 'emitEdge': ortho.c:1445:6: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] x = vtrack(seg, m); ^~~~~~ ortho.c:1446:6: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] y = (n.UR.y + n.LL.y)/2; ^ ortho.c:1450:6: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] x = (n.UR.x + n.LL.x)/2; ^ ortho.c:1461:10: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] x = vtrack(seg, m); ^~~~~~ ortho.c:1475:6: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] x = vtrack(seg, m); ^~~~~~ ortho.c:1476:6: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] y = (n.UR.y + n.LL.y)/2; ^ ortho.c:1480:6: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] x = (n.LL.x + n.UR.x)/2; ^ ortho.c:1439:58: warning: unused parameter 'ix' [-Wunused-parameter] emitEdge (FILE* fp, Agedge_t* e, route rte, maze* m, int ix, boxf bb) ^~ ortho.c: In function 'emitSearchGraph': ortho.c:1506:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.x = pf.x; ^~ ortho.c:1507:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.y = pf.y; ^~ ortho.c: In function 'emitGraph': ortho.c:1555:17: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] bbox.LL.x = absbb.LL.x + TRANS; ^~~~~ ortho.c:1556:17: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] bbox.LL.y = absbb.LL.y + TRANS; ^~~~~ ortho.c:1557:17: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] bbox.UR.x = absbb.UR.x + TRANS; ^~~~~ ortho.c:1558:17: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] bbox.UR.y = absbb.UR.y + TRANS; ^~~~~ ortho.c: In function 'decide_point': ortho.c:879:11: warning: 'prec' may be used uninitialized in this function [-Wmaybe-uninitialized] return(ret); ^ ortho.c: In function 'orthoEdges': ortho.c:1251:15: warning: variable 'ps' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] PointSet* ps; ^~ ortho.c:1237:30: warning: argument 'doLbls' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] orthoEdges (Agraph_t* g, int doLbls) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' CCLD libortho_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' Making all in sparse make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' CC LinkedList.lo LinkedList.c:124:6: warning: no previous prototype for 'DoubleLinkedList_print' [-Wmissing-prototypes] void DoubleLinkedList_print(DoubleLinkedList head, void (*linkedlist_print)(void*)){ ^~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' CC vector.lo vector.c: In function 'Vector_new': vector.c:26:29: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] v->v = malloc(size_of_elem*maxlen); ^ vector.c: At top level: vector.c:31:8: warning: no previous prototype for 'Vector_assign' [-Wmissing-prototypes] Vector Vector_assign(Vector v, void *stuff, int i){ ^~~~~~~~~~~~~ vector.c: In function 'Vector_assign': vector.c:32:42: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] memcpy(((char*) v->v)+(v->size_of_elem)*i/sizeof(char), stuff, v->size_of_elem); ^ vector.c: In function 'Vector_reset': vector.c:38:70: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (v->deallocator)(v->deallocator)((char*)v->v + (v->size_of_elem)*i/sizeof(char)); ^ vector.c: In function 'Vector_add': vector.c:46:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] v->v = realloc(v->v, (v->maxlen)*(v->size_of_elem)); ^ vector.c: In function 'Vector_delete': vector.c:57:72: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (v->deallocator)(v->deallocator)((char*)v->v + (v->size_of_elem)*i/sizeof(char)); ^ vector.c: In function 'Vector_get': vector.c:66:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] return ((char*)v->v + i*(v->size_of_elem)/sizeof(char)); ^ vector.c: At top level: vector.c:77:6: warning: no previous prototype for 'intdealloactor' [-Wmissing-prototypes] void intdealloactor(void *v){ ^~~~~~~~~~~~~~ vector.c: In function 'intdealloactor': vector.c:77:27: warning: unused parameter 'v' [-Wunused-parameter] void intdealloactor(void *v){ ^ vector.c: At top level: vector.c:112:6: warning: no previous prototype for 'nulldealloactor' [-Wmissing-prototypes] void nulldealloactor(void *v){ ^~~~~~~~~~~~~~~ vector.c: In function 'nulldealloactor': vector.c:112:28: warning: unused parameter 'v' [-Wunused-parameter] void nulldealloactor(void *v){ ^ vector.c: At top level: vector.c:115:6: warning: no previous prototype for 'strdealloactor' [-Wmissing-prototypes] void strdealloactor(void *v){ ^~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' CC IntStack.lo IntStack.c: In function 'IntStack_new': IntStack.c:24:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] s->stack = MALLOC(sizeof(int)*max_len); ^ IntStack.c: In function 'IntStack_realloc': IntStack.c:38:13: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] max_len = max_len + MAX(10,0.2*max_len); ^~~~~~~ IntStack.c:40:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] s->stack = REALLOC(s->stack, sizeof(int)*max_len); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' CC colorutil.lo colorutil.c:42:6: warning: no previous prototype for 'Hue2RGB' [-Wmissing-prototypes] real Hue2RGB(real v1, real v2, real H) { ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' CC BinaryHeap.lo BinaryHeap.c: In function 'BinaryHeap_new': BinaryHeap.c:23:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] h->heap = MALLOC(sizeof(void*)*max_len); ^ BinaryHeap.c:24:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] h->id_to_pos = MALLOC(sizeof(int)*max_len); ^ BinaryHeap.c:27:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] h->pos_to_id = MALLOC(sizeof(int)*max_len); ^ BinaryHeap.c: In function 'BinaryHeap_realloc': BinaryHeap.c:47:13: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] max_len = max_len + MAX(0.2*max_len, 10); ^~~~~~~ BinaryHeap.c:50:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] h->heap = REALLOC(h->heap, sizeof(void*)*max_len); ^ BinaryHeap.c:53:51: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] h->id_to_pos = REALLOC(h->id_to_pos, sizeof(int)*max_len); ^ BinaryHeap.c:56:51: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] h->pos_to_id = REALLOC(h->pos_to_id, sizeof(int)*max_len); ^ BinaryHeap.c: In function 'BinaryHeap_insert': BinaryHeap.c:138:37: warning: variable 'pos' set but not used [-Wunused-but-set-variable] int len = h->len, id = len, flag, pos; ^~~ BinaryHeap.c: In function 'BinaryHeap_sanity_check': BinaryHeap.c:248:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = MALLOC(sizeof(int)*(h->len + IntStack_get_length(h->id_stack))); ^ BinaryHeap.c:239:10: warning: unused variable 'heap' [-Wunused-variable] void **heap = h->heap; ^~~~ BinaryHeap.c:238:33: warning: unused variable 'id_to_pos' [-Wunused-variable] int i, key_spare, parentPos, *id_to_pos = h->id_to_pos, *pos_to_id = h->pos_to_id; ^~~~~~~~~ BinaryHeap.c:238:21: warning: variable 'parentPos' set but not used [-Wunused-but-set-variable] int i, key_spare, parentPos, *id_to_pos = h->id_to_pos, *pos_to_id = h->pos_to_id; ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' CC general.lo general.c: In function 'vector_percentile': general.c:47:7: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] i = n*y; ^ general.c: In function 'random_permutation': general.c:67:25: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] p = MALLOC(sizeof(int)*n); ^ general.c: In function 'vector_take': general.c:136:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!*u) *u = MALLOC(sizeof(real)*m); ^ general.c:132:22: warning: unused parameter 'n' [-Wunused-parameter] void vector_take(int n, real *v, int m, int *p, real **u){ ^ general.c: In function 'vector_float_take': general.c:149:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!*u) *u = MALLOC(sizeof(float)*m); ^ general.c:145:28: warning: unused parameter 'n' [-Wunused-parameter] void vector_float_take(int n, float *v, int m, int *p, float **u){ ^ general.c: At top level: general.c:158:5: warning: no previous prototype for 'comp_ascend' [-Wmissing-prototypes] int comp_ascend(const void *s1, const void *s2){ ^~~~~~~~~~~ general.c: In function 'comp_ascend': general.c:160:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ss1 = (real*) s1; ^ general.c:161:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ss2 = (real*) s2; ^ general.c: At top level: general.c:171:5: warning: no previous prototype for 'comp_descend' [-Wmissing-prototypes] int comp_descend(const void *s1, const void *s2){ ^~~~~~~~~~~~ general.c: In function 'comp_descend': general.c:173:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ss1 = (real*) s1; ^ general.c:174:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ss2 = (real*) s2; ^ general.c: At top level: general.c:183:5: warning: no previous prototype for 'comp_descend_int' [-Wmissing-prototypes] int comp_descend_int(const void *s1, const void *s2){ ^~~~~~~~~~~~~~~~ general.c: In function 'comp_descend_int': general.c:185:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ss1 = (int*) s1; ^ general.c:186:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ss2 = (int*) s2; ^ general.c: At top level: general.c:196:5: warning: no previous prototype for 'comp_ascend_int' [-Wmissing-prototypes] int comp_ascend_int(const void *s1, const void *s2){ ^~~~~~~~~~~~~~~ general.c: In function 'comp_ascend_int': general.c:198:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ss1 = (int*) s1; ^ general.c:199:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ss2 = (int*) s2; ^ general.c: In function 'vector_ordering': general.c:224:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!*p) *p = MALLOC(sizeof(int)*n); ^ general.c:225:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] u = MALLOC(sizeof(real)*2*n); ^ general.c:233:14: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(u, n, sizeof(real)*2, comp_ascend); ^ general.c:235:14: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(u, n, sizeof(real)*2, comp_descend); ^ general.c: In function 'vector_sort_real': general.c:245:14: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(v, n, sizeof(real), comp_ascend); ^ general.c:247:14: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(v, n, sizeof(real), comp_descend); ^ general.c: In function 'vector_sort_int': general.c:252:14: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(v, n, sizeof(int), comp_ascend_int); ^ general.c:254:14: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(v, n, sizeof(int), comp_descend_int); ^ general.c: In function 'strip_dir': general.c:302:12: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] for (i = strlen(s); i >= 0; i--) { ^~~~~~ general.c: In function 'scale_to_box': general.c:328:23: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (max[0] - min[0] != 0) { ^~ general.c:331:23: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (max[1] - min[1] != 0) { ^~ general.c: In function 'validQ_int_string': general.c:364:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (val > INT_MAX || val < INT_MIN) return 0; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' CC color_palette.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' CC mq.lo mq.c: In function 'get_mq': mq.c:88:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] counts = MALLOC(sizeof(int)*n); ^ mq.c:128:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dout = MALLOC(sizeof(real)*n); ^ mq.c:77:7: warning: unused variable 'test_pattern_symmetry_only' [-Wunused-variable] int test_pattern_symmetry_only = FALSE; ^~~~~~~~~~~~~~~~~~~~~~~~~~ mq.c: At top level: mq.c:155:26: warning: no previous prototype for 'Multilevel_MQ_Clustering_init' [-Wmissing-prototypes] Multilevel_MQ_Clustering Multilevel_MQ_Clustering_init(SparseMatrix A, int level){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mq.c: In function 'Multilevel_MQ_Clustering_init': mq.c:174:50: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] matching = grid->matching = MALLOC(sizeof(real)*(n)); ^ mq.c:181:9: warning: declaration of 'n' shadows a previous local [-Wshadow] int n = A->n, ncluster; ^ mq.c:157:7: note: shadowed declaration is here int n = A->n, i; ^ mq.c:184:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grid->deg_intra = MALLOC(sizeof(real)*(n)); ^ mq.c:187:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grid->wgt = MALLOC(sizeof(real)*n); ^ mq.c: At top level: mq.c:209:6: warning: no previous prototype for 'Multilevel_MQ_Clustering_delete' [-Wmissing-prototypes] void Multilevel_MQ_Clustering_delete(Multilevel_MQ_Clustering grid){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mq.c:228:26: warning: no previous prototype for 'Multilevel_MQ_Clustering_establish' [-Wmissing-prototypes] Multilevel_MQ_Clustering Multilevel_MQ_Clustering_establish(Multilevel_MQ_Clustering grid, int maxcluster){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mq.c: In function 'Multilevel_MQ_Clustering_establish': mq.c:245:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] neighbors = MALLOC(sizeof(SingleLinkedList)*n); ^ mq.c:252:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] deg_intra_new = MALLOC(sizeof(real)*n); ^ mq.c:253:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] wgt_new = MALLOC(sizeof(real)*n); ^ mq.c:254:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] deg_inter = MALLOC(sizeof(real)*n); ^ mq.c:255:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = MALLOC(sizeof(int)*n); ^ mq.c:256:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dout_new = MALLOC(sizeof(real)*n); ^ mq.c:481:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] deg_intra_new = REALLOC(deg_intra_new, nc*sizeof(real)); ^ mq.c:482:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] wgt_new = REALLOC(wgt_new, nc*sizeof(real)); ^ mq.c:486:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dout_new = REALLOC(dout_new, nc*sizeof(real)); ^ mq.c: At top level: mq.c:511:26: warning: no previous prototype for 'Multilevel_MQ_Clustering_new' [-Wmissing-prototypes] Multilevel_MQ_Clustering Multilevel_MQ_Clustering_new(SparseMatrix A0, int maxcluster){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mq.c: In function 'hierachical_mq_clustering': mq.c:559:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] u = MALLOC(sizeof(real)*cgrid->n); ^ mq.c:576:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] matching = MALLOC(sizeof(int)*(grid->n)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' CC clustering.lo clustering.c: In function 'Multilevel_Modularity_Clustering_init': clustering.c:39:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grid->matching = MALLOC(sizeof(real)*(n)); ^ clustering.c:45:35: warning: declaration of 'n' shadows a previous local [-Wshadow] int *ia = A->ia, *ja = A->ja, n = A->n; ^ clustering.c:23:7: note: shadowed declaration is here int n = A->n, i, j; ^ clustering.c:51:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grid->deg = MALLOC(sizeof(real)*(n)); ^ clustering.c:54:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] indeg = MALLOC(sizeof(real)*n); ^ clustering.c:64:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (deg_total == 0) deg_total = 1; ^~ clustering.c: In function 'Multilevel_Modularity_Clustering_establish': clustering.c:113:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] deg_new = MALLOC(sizeof(real)*n); ^ clustering.c:114:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] deg_inter = MALLOC(sizeof(real)*n); ^ clustering.c:115:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = MALLOC(sizeof(int)*n); ^ clustering.c:234:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] deg_new = REALLOC(deg_new, nc*sizeof(real)); ^ clustering.c: In function 'hierachical_modularity_clustering': clustering.c:321:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] u = MALLOC(sizeof(real)*cgrid->n); ^ clustering.c:338:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] matching = MALLOC(sizeof(int)*(grid->n)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' CC DotIO.lo DotIO.c: In function 'color_string': DotIO.c:73:30: warning: unused parameter 'slen' [-Wunused-parameter] static void color_string(int slen, char *buf, int dim, real *color){ ^~~~ DotIO.c: In function 'attach_edge_colors': DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:106:11: note: in expansion of macro 'ND_id' row = ND_id(n); ^~~~~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:108:13: note: in expansion of macro 'ND_id' col = ND_id(aghead(e)); ^~~~~ DotIO.c: In function 'SparseMatrix_import_dot': DotIO.c:167:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ND_id(n) = i++; ^ In file included from DotIO.c:15:0: general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:176:9: note: in expansion of macro 'N_NEW' I = N_NEW(nedges, int); ^~~~~ general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:177:9: note: in expansion of macro 'N_NEW' J = N_NEW(nedges, int); ^~~~~ general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:178:11: note: in expansion of macro 'N_NEW' val = N_NEW(nedges, real); ^~~~~ general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:189:9: note: in expansion of macro 'N_NEW' I = N_NEW(nedges, int); ^~~~~ general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:190:9: note: in expansion of macro 'N_NEW' J = N_NEW(nedges, int); ^~~~~ general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:191:11: note: in expansion of macro 'N_NEW' val = N_NEW(nedges, real); ^~~~~ general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:197:12: note: in expansion of macro 'N_NEW' valD = N_NEW(nedges, real); ^~~~~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:202:11: note: in expansion of macro 'ND_id' row = ND_id(n); ^~~~~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:205:14: note: in expansion of macro 'ND_id' J[i] = ND_id(aghead(e)); ^~~~~ DotIO.c:232:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *edge_label_nodes = MALLOC(sizeof(int)*nedge_nodes); ^ DotIO.c:237:56: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (label_sizes) *label_sizes = MALLOC(sizeof(real)*2*nnodes); ^ DotIO.c:239:10: warning: declaration of 'sz' shadows a previous local [-Wshadow] real sz; ^~ DotIO.c:150:10: note: shadowed declaration is here size_t sz = sizeof(real); ^~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:240:9: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:263:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = MALLOC(sizeof(real)*dim*nnodes); ^ DotIO.c:263:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = MALLOC(sizeof(real)*dim*nnodes); ^ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:269:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c: In function 'Import_dot_splines': DotIO.c:363:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ND_id(n) = i++; ^ DotIO.c:368:53: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*xsplines)) *xsplines = malloc(sizeof(char*)*nedges); ^ DotIO.c: In function 'edgelist_export': DotIO.c:419:27: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] fwrite(x, sizeof(real), dim*n, f); ^~~ DotIO.c:427:39: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] fwrite(&(ja[ia[i]]), sizeof(int), len, f); ^~~ In file included from DotIO.c:15:0: DotIO.c: In function 'makeDotGraph': general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:478:20: note: in expansion of macro 'N_NEW' Agnode_t** arr = N_NEW (A->m, Agnode_t*); ^~~~~ DotIO.c:552:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ND_id(n) = i; ^ DotIO.c:560:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] color = malloc(sizeof(real)*A->nz); ^ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:562:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:592:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:605:9: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:609:2: warning: switch missing default case [-Wswitch-default] switch (A->type){ ^~~~~~ DotIO.c:474:12: warning: variable 'sym' set but not used [-Wunused-but-set-variable] Agsym_t *sym, *sym2 = NULL, *sym3 = NULL; ^~~ DotIO.c: At top level: DotIO.c:653:7: warning: no previous prototype for 'cat_string' [-Wmissing-prototypes] char *cat_string(char *s1, char *s2){ ^~~~~~~~~~ DotIO.c:662:7: warning: no previous prototype for 'cat_string3' [-Wmissing-prototypes] char *cat_string3(char *s1, char *s2, char *s3, int id){ ^~~~~~~~~~~ DotIO.c: In function 'convert_edge_labels_to_nodes': DotIO.c:702:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ndmap = malloc(sizeof(Agnode_t *)*nnodes); ^ DotIO.c:715:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ND_id(n) = i++; ^ DotIO.c:685:7: warning: variable 'nedges' set but not used [-Wunused-but-set-variable] int nedges; ^~~~~~ DotIO.c: In function 'hexcol2rgb': DotIO.c:778:44: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] return (hex2int(h[0])*16 + hex2int(h[1]))/255.; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ DotIO.c: In function 'Dot_SetClusterColor': DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:790:9: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c: In function 'Import_coord_clusters_from_dot': DotIO.c:872:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ND_id(n) = i++; ^ In file included from DotIO.c:15:0: general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:875:7: note: in expansion of macro 'N_NEW' I = N_NEW(nedges, int); ^~~~~ general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:876:7: note: in expansion of macro 'N_NEW' J = N_NEW(nedges, int); ^~~~~ general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:877:9: note: in expansion of macro 'N_NEW' val = N_NEW(nedges, real); ^~~~~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:885:11: note: in expansion of macro 'ND_id' row = ND_id(n); ^~~~~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:888:14: note: in expansion of macro 'ND_id' J[i] = ND_id(aghead(e)); ^~~~~ DotIO.c:902:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *clusters = MALLOC(sizeof(int)*nnodes); ^ DotIO.c:911:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memset (*clusters, 0, sizeof(int)*nnodes); ^ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:916:13: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:924:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:933:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:969:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:980:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *label_sizes = MALLOC(sizeof(real)*dim*nnodes); ^ DotIO.c:980:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *label_sizes = MALLOC(sizeof(real)*dim*nnodes); ^ DotIO.c:982:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_r = MALLOC(sizeof(float)*(1+MAX_GRPS)); ^ DotIO.c:983:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_g = MALLOC(sizeof(float)*(1+MAX_GRPS)); ^ DotIO.c:984:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_b = MALLOC(sizeof(float)*(1+MAX_GRPS)); ^ DotIO.c:990:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *fsz = MALLOC(sizeof(float)*nnodes); ^ DotIO.c:991:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *labels = MALLOC(sizeof(char*)*nnodes); ^ DotIO.c:995:10: warning: declaration of 'sz' shadows a previous local [-Wshadow] real sz; ^~ DotIO.c:814:10: note: shadowed declaration is here size_t sz = sizeof(real); ^~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:996:9: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c:1041:33: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] (*rgb_r)[(*clusters)[i]] = color.u.RGBA[0]; ^~~~~ DotIO.c:1042:33: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] (*rgb_g)[(*clusters)[i]] = color.u.RGBA[1]; ^~~~~ DotIO.c:1043:33: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] (*rgb_b)[(*clusters)[i]] = color.u.RGBA[2]; ^~~~~ DotIO.c:1059:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = MALLOC(sizeof(real)*dim*nnodes); ^ DotIO.c:1059:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = MALLOC(sizeof(real)*dim*nnodes); ^ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:1062:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c: In function 'attached_clustering': DotIO.c:1116:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ND_id(n) = i++; ^ In file included from DotIO.c:15:0: general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:1119:7: note: in expansion of macro 'N_NEW' I = N_NEW(nedges, int); ^~~~~ general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:1120:7: note: in expansion of macro 'N_NEW' J = N_NEW(nedges, int); ^~~~~ general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ DotIO.c:1121:9: note: in expansion of macro 'N_NEW' val = N_NEW(nedges, real); ^~~~~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:1128:11: note: in expansion of macro 'ND_id' row = ND_id(n); ^~~~~ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:1131:14: note: in expansion of macro 'ND_id' J[i] = ND_id(aghead(e)); ^~~~~ DotIO.c:1144:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] clusters = MALLOC(sizeof(int)*nnodes); ^ DotIO.c:28:19: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ^ DotIO.c:1162:11: note: in expansion of macro 'ND_id' i = ND_id(n); ^~~~~ DotIO.c: In function 'setDotNodeID': DotIO.c:1189:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ND_id(n) = v; ^ DotIO.c: In function 'getDotNodeID': DotIO.c:28:53: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] #define ND_id(n) (((Agnodeinfo_t*)((n)->base.data))->id) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ DotIO.c:1194:12: note: in expansion of macro 'ND_id' return ND_id(n); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' CC QuadTree.lo QuadTree.c: In function 'node_data_new': QuadTree.c:38:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] nd->coord = MALLOC(sizeof(real)*dim); ^ QuadTree.c: At top level: QuadTree.c:45:6: warning: no previous prototype for 'node_data_delete' [-Wmissing-prototypes] void node_data_delete(void *d){ ^~~~~~~~~~~~~~~~ QuadTree.c:52:6: warning: no previous prototype for 'node_data_get_weight' [-Wmissing-prototypes] real node_data_get_weight(void *d){ ^~~~~~~~~~~~~~~~~~~~ QuadTree.c:57:7: warning: no previous prototype for 'node_data_get_coord' [-Wmissing-prototypes] real* node_data_get_coord(void *d){ ^~~~~~~~~~~~~~~~~~~ QuadTree.c:62:5: warning: no previous prototype for 'node_data_get_id' [-Wmissing-prototypes] int node_data_get_id(void *d){ ^~~~~~~~~~~~~~~~ QuadTree.c: In function 'node_data_get_id': QuadTree.c:64:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] return nd->id; ~~^~~~ QuadTree.c: At top level: QuadTree.c:70:6: warning: no previous prototype for 'check_or_realloc_arrays' [-Wmissing-prototypes] void check_or_realloc_arrays(int dim, int *nsuper, int *nsupermax, real **center, real **supernode_wgts, real **distances){ ^~~~~~~~~~~~~~~~~~~~~~~ QuadTree.c: In function 'check_or_realloc_arrays': QuadTree.c:74:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *center = REALLOC(*center, sizeof(real)*(*nsupermax)*dim); ^ QuadTree.c:74:57: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *center = REALLOC(*center, sizeof(real)*(*nsupermax)*dim); ^ QuadTree.c:75:60: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *supernode_wgts = REALLOC(*supernode_wgts, sizeof(real)*(*nsupermax)); ^ QuadTree.c:76:50: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *distances = REALLOC(*distances, sizeof(real)*(*nsupermax)); ^ QuadTree.c: At top level: QuadTree.c:80:6: warning: no previous prototype for 'QuadTree_get_supernodes_internal' [-Wmissing-prototypes] void QuadTree_get_supernodes_internal(QuadTree qt, real bh, real *point, int nodeid, int *nsuper, int *nsupermax, real **center, real **supernode_wgts, real **distances, real *counts, int *flag){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QuadTree.c: In function 'QuadTree_get_supernodes_internal': QuadTree.c:80:67: warning: declaration of 'point' shadows a global declaration [-Wshadow] void QuadTree_get_supernodes_internal(QuadTree qt, real bh, real *point, int nodeid, int *nsuper, int *nsupermax, real **center, real **supernode_wgts, real **distances, real *counts, int *flag){ ^~~~~ In file included from QuadTree.c:15:0: ../../lib/common/geom.h:26:30: note: shadowed declaration is here typedef struct { int x, y; } point; ^~~~~ QuadTree.c: In function 'QuadTree_get_supernodes': QuadTree.c:126:58: warning: declaration of 'point' shadows a global declaration [-Wshadow] void QuadTree_get_supernodes(QuadTree qt, real bh, real *point, int nodeid, int *nsuper, ^~~~~ In file included from QuadTree.c:15:0: ../../lib/common/geom.h:26:30: note: shadowed declaration is here typedef struct { int x, y; } point; ^~~~~ QuadTree.c:136:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!*center) *center = MALLOC(sizeof(real)*(*nsupermax)*dim); ^ QuadTree.c:136:59: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!*center) *center = MALLOC(sizeof(real)*(*nsupermax)*dim); ^ QuadTree.c:137:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!*supernode_wgts) *supernode_wgts = MALLOC(sizeof(real)*(*nsupermax)); ^ QuadTree.c:138:52: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!*distances) *distances = MALLOC(sizeof(real)*(*nsupermax)); ^ QuadTree.c: In function 'get_or_alloc_force_qt': QuadTree.c:158:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] qt->data = MALLOC(sizeof(real)*dim); ^ QuadTree.c: In function 'QuadTree_repulsive_force_interact': QuadTree.c:193:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ QuadTree.c:225:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ QuadTree.c: In function 'QuadTree_new_from_point_list': QuadTree.c:356:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xmin = MALLOC(sizeof(real)*dim); ^ QuadTree.c:357:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xmax = MALLOC(sizeof(real)*dim); ^ QuadTree.c:358:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] center = MALLOC(sizeof(real)*dim); ^ QuadTree.c:381:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (width == 0) width = 0.00001;/* if we only have one point, width = 0! */ ^~ QuadTree.c: In function 'QuadTree_new': QuadTree.c:408:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] q->center = MALLOC(sizeof(real)*dim); ^ QuadTree.c: In function 'QuadTree_add_internal': QuadTree.c:499:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] q->average = MALLOC(sizeof(real)*dim); ^ QuadTree.c:509:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] q->qts = MALLOC(sizeof(QuadTree)*(1<size = sz; ^~ SparseMatrix.c: In function 'SparseMatrix_alloc': SparseMatrix.c:336:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] A->a = MALLOC(A->size*nz_t); ^ SparseMatrix.c:343:28: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] A->a = MALLOC(A->size*nz_t); ^ SparseMatrix.c: In function 'SparseMatrix_realloc': SparseMatrix.c:361:30: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] A->a = REALLOC(A->a, A->size*nz_t); ^ SparseMatrix.c:363:23: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] A->a = MALLOC(A->size*nz_t); ^ SparseMatrix.c:373:30: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] A->a = REALLOC(A->a, A->size*nz_t); ^ SparseMatrix.c:375:23: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] A->a = MALLOC(A->size*nz_t); ^ SparseMatrix.c: At top level: SparseMatrix.c:420:6: warning: no previous prototype for 'SparseMatrix_print_csr' [-Wmissing-prototypes] void SparseMatrix_print_csr(char *c, SparseMatrix A){ ^~~~~~~~~~~~~~~~~~~~~~ SparseMatrix.c:481:6: warning: no previous prototype for 'SparseMatrix_print_coord' [-Wmissing-prototypes] void SparseMatrix_print_coord(char *c, SparseMatrix A){ ^~~~~~~~~~~~~~~~~~~~~~~~ SparseMatrix.c: In function 'SparseMatrix_export_binary_fp': SparseMatrix.c:637:32: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] fwrite(A->ia, sizeof(int), A->nz, f); ^ SparseMatrix.c:639:32: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] fwrite(A->ia, sizeof(int), A->m + 1, f); ^ SparseMatrix.c:641:30: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] fwrite(A->ja, sizeof(int), A->nz, f); ^ SparseMatrix.c:642:33: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (A->size > 0) fwrite(A->a, A->size, A->nz, f); ^ SparseMatrix.c:642:42: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (A->size > 0) fwrite(A->a, A->size, A->nz, f); ^ SparseMatrix.c: In function 'SparseMatrix_import_binary_fp': SparseMatrix.c:667:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] iread = fread(&m, sizeof(int), 1, f); ^~~~~ SparseMatrix.c:669:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] iread = fread(&n, sizeof(int), 1, f); ^~~~~ SparseMatrix.c:671:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] iread = fread(&nz, sizeof(int), 1, f); ^~~~~ SparseMatrix.c:673:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] iread = fread(&nzmax, sizeof(int), 1, f); ^~~~~ SparseMatrix.c:675:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] iread = fread(&type, sizeof(int), 1, f); ^~~~~ SparseMatrix.c:677:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] iread = fread(&format, sizeof(int), 1, f); ^~~~~ SparseMatrix.c:679:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] iread = fread(&property, sizeof(int), 1, f); ^~~~~ SparseMatrix.c:681:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] iread = fread(&sz, sizeof(size_t), 1, f); ^~~~~ SparseMatrix.c:689:39: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] iread = fread(A->ia, sizeof(int), A->nz, f); ^ SparseMatrix.c:689:13: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] iread = fread(A->ia, sizeof(int), A->nz, f); ^~~~~ SparseMatrix.c:692:39: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] iread = fread(A->ia, sizeof(int), A->m + 1, f); ^ SparseMatrix.c:692:13: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] iread = fread(A->ia, sizeof(int), A->m + 1, f); ^~~~~ SparseMatrix.c:695:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] iread = fread(A->ja, sizeof(int), A->nz, f); ^ SparseMatrix.c:695:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] iread = fread(A->ja, sizeof(int), A->nz, f); ^~~~~ SparseMatrix.c:699:25: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] iread = fread(A->a, A->size, A->nz, f); ^ SparseMatrix.c:699:34: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] iread = fread(A->a, A->size, A->nz, f); ^ SparseMatrix.c:699:13: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] iread = fread(A->a, A->size, A->nz, f); ^~~~~ SparseMatrix.c: In function 'SparseMatrix_from_coordinate_format': SparseMatrix.c:809:87: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] return SparseMatrix_from_coordinate_arrays(A->nz, A->m, A->n, irn, jcn, a, A->type, A->size); ^ SparseMatrix.c: In function 'SparseMatrix_from_coordinate_format_not_compacted': SparseMatrix.c:824:101: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] return SparseMatrix_from_coordinate_arrays_not_compacted(A->nz, A->m, A->n, irn, jcn, a, A->type, A->size, what_to_sum); ^ SparseMatrix.c: In function 'SparseMatrix_from_coordinate_arrays_internal': SparseMatrix.c:936:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(A->a, val0, A->size*((size_t)nz)); ^ SparseMatrix.c: In function 'SparseMatrix_scaled_by_vector': SparseMatrix.c:1345:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v[i] != 0){ ^~ SparseMatrix.c: In function 'SparseMatrix_multiply_by_scaler': SparseMatrix.c:1364:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] b = MALLOC(sizeof(real)*A->nz); ^ SparseMatrix.c: In function 'SparseMatrix_sum_repeat_entries': SparseMatrix.c:1845:16: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] ymax = ymin = a[1]; ^ SparseMatrix.c:1881:16: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xmax = xmin = a[1]; ^ SparseMatrix.c: In function 'SparseMatrix_coordinate_form_add_entries': SparseMatrix.c:1983:50: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (A->size) MEMCPY((char*) A->a + ((size_t)nz)*A->size/sizeof(char), val, A->size*((size_t)nentries)); ^ SparseMatrix.c:1983:85: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (A->size) MEMCPY((char*) A->a + ((size_t)nz)*A->size/sizeof(char), val, A->size*((size_t)nentries)); ^ SparseMatrix.c: In function 'SparseMatrix_normalize_to_rowsum1': SparseMatrix.c:2261:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (sum != 0){ ^~ SparseMatrix.c: In function 'SparseMatrix_normalize_by_row': SparseMatrix.c:2290:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (max != 0){ ^~ SparseMatrix.c: At top level: SparseMatrix.c:2300:14: warning: no previous prototype for 'SparseMatrix_to_complex' [-Wmissing-prototypes] SparseMatrix SparseMatrix_to_complex(SparseMatrix A){ ^~~~~~~~~~~~~~~~~~~~~~~ SparseMatrix.c: In function 'SparseMatrix_to_complex': SparseMatrix.c:2317:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] A->a = a = REALLOC(a, 2*sizeof(real)*nz); ^ SparseMatrix.c:2332:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] real *aa = A->a = MALLOC(2*sizeof(real)*nz); ^ SparseMatrix.c:2301:16: warning: variable 'ja' set but not used [-Wunused-but-set-variable] int i, *ia, *ja; ^~ SparseMatrix.c:2301:11: warning: variable 'ia' set but not used [-Wunused-but-set-variable] int i, *ia, *ja; ^~ SparseMatrix.c: In function 'SparseMatrix_copy': SparseMatrix.c:2474:60: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] B = SparseMatrix_general_new(A->m, A->n, A->nz, A->type, A->size, A->format); ^ SparseMatrix.c:2477:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (A->a) MEMCPY(B->a, A->a, A->size*((size_t)A->nz)); ^ SparseMatrix.c: At top level: SparseMatrix.c:2495:6: warning: no previous prototype for 'SparseMatrix_level_sets_internal' [-Wmissing-prototypes] void SparseMatrix_level_sets_internal(int khops, SparseMatrix A, int root, int *nlevel, int **levelset_ptr, int **levelset, int **mask, int reinitialize_mask){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SparseMatrix.c: In function 'cmp': SparseMatrix.c:2602:23: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (d1->dist == d2->dist){ ^~ SparseMatrix.c: In function 'SparseMatrix_pseudo_diameter_unweighted': SparseMatrix.c:2833:16: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] nlevel = (int) SparseMatrix_pseudo_diameter_unweighted(A, root, FALSE, &enda, &endb, connectedQ); ^ SparseMatrix.c: In function 'SparseMatrix_get_augmented': SparseMatrix.c:2989:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = MALLOC(A->size*2*((size_t)nz)); ^ SparseMatrix.c:2990:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(val, A->a, A->size*((size_t)nz)); ^ SparseMatrix.c:2991:48: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY((void*)(((char*) val) + ((size_t)nz)*A->size), A->a, A->size*((size_t)nz)); ^ SparseMatrix.c:2991:72: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY((void*)(((char*) val) + ((size_t)nz)*A->size), A->a, A->size*((size_t)nz)); ^ SparseMatrix.c:3008:82: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] B = SparseMatrix_from_coordinate_arrays(nz, m + n, m + n, irn, jcn, val, type, A->size); ^ SparseMatrix.c: In function 'SparseMatrix_get_submatrix': SparseMatrix.c:3183:81: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] B = SparseMatrix_from_coordinate_arrays(nz, nrow, ncol, irn, jcn, v, A->type, A->size); ^ SparseMatrix.c: In function 'SparseMatrix_k_centers': SparseMatrix.c:3403:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dist_min = MALLOC(sizeof(real)*n); ^ SparseMatrix.c:3404:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dist_sum = MALLOC(sizeof(real)*n); ^ SparseMatrix.c:3407:49: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*centers)) *centers = MALLOC(sizeof(int)*K); ^ SparseMatrix.c:3408:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*dist0)) *dist0 = MALLOC(sizeof(real)*K*n); ^ SparseMatrix.c:3408:48: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*dist0)) *dist0 = MALLOC(sizeof(real)*K*n); ^ SparseMatrix.c:3410:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dist = MALLOC(sizeof(real)*n); ^ SparseMatrix.c:3441:34: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dmax < dist_min[i] || (dmax == dist_min[i] && dsum < dist_sum[i])){/* tie break with avg dist */ ^~ SparseMatrix.c:3452:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] list = MALLOC(sizeof(int)*n); ^ SparseMatrix.c:3480:34: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dmax < dist_min[i] || (dmax == dist_min[i] && dsum < dist_sum[i])){/* tie break with avg dist */ ^~ SparseMatrix.c:3386:7: warning: unused variable 'm' [-Wunused-variable] int m = D->m, n = D->n; ^ SparseMatrix.c: In function 'SparseMatrix_k_centers_user': SparseMatrix.c:3546:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dist_min = MALLOC(sizeof(real)*n); ^ SparseMatrix.c:3547:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dist_sum = MALLOC(sizeof(real)*n); ^ SparseMatrix.c:3549:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*dist0)) *dist0 = MALLOC(sizeof(real)*K*n); ^ SparseMatrix.c:3549:48: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*dist0)) *dist0 = MALLOC(sizeof(real)*K*n); ^ SparseMatrix.c:3551:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dist = MALLOC(sizeof(real)*n); ^ SparseMatrix.c:3579:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] list = MALLOC(sizeof(int)*n); ^ SparseMatrix.c:3529:7: warning: unused variable 'm' [-Wunused-variable] int m = D->m, n = D->n; ^ SparseMatrix.c: In function 'SparseMatrix_distance_matrix': SparseMatrix.c:3678:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*dist0)) *dist0 = MALLOC(sizeof(real)*n*n); ^ SparseMatrix.c:3678:48: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*dist0)) *dist0 = MALLOC(sizeof(real)*n*n); ^ SparseMatrix.c:3692:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] list = MALLOC(sizeof(int)*n); ^ SparseMatrix.c:3665:7: warning: unused variable 'm' [-Wunused-variable] int m = D->m, n = D->n; ^ SparseMatrix.c: In function 'SparseMatrix_distance_matrix_k_centers': SparseMatrix.c:3715:7: warning: unused variable 'm' [-Wunused-variable] int m = D->m, n = D->n; ^ SparseMatrix.c:3713:7: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int flag; ^~~~ SparseMatrix.c: In function 'SparseMatrix_distance_matrix_khops': SparseMatrix.c:3784:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] list = MALLOC(sizeof(int)*n); ^ SparseMatrix.c:3785:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dist = MALLOC(sizeof(real)*n); ^ SparseMatrix.c:3762:7: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int flag = 0, i, j, k, itmp, nlevel; ^~~~ SparseMatrix.c:3758:7: warning: unused variable 'm' [-Wunused-variable] int m = D->m, n = D->n; ^ SparseMatrix.c: At top level: SparseMatrix.c:3847:5: warning: "PQ" is not defined, evaluates to 0 [-Wundef] #if PQ ^~ SparseMatrix.c: In function 'SparseMatrix_page_rank': SparseMatrix.c:4104:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] a = MALLOC(sizeof(real)*n); ^ SparseMatrix.c:4108:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] a = MALLOC(sizeof(real)*n); ^ SparseMatrix.c:4120:54: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*page_rank)) *page_rank = MALLOC(sizeof(real)*n); ^ SparseMatrix.c:4123:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] diag = MALLOC(sizeof(real)*n); ^ SparseMatrix.c:4125:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] y = MALLOC(sizeof(real)*n); ^ SparseMatrix.c:4181:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(x, y, sizeof(real)*n); ^ SparseMatrix.c: In function 'SparseMatrix_multiply_by_scaler': SparseMatrix.c:1369:13: warning: this statement may fall through [-Wimplicit-fallthrough=] A->type = MATRIX_TYPE_REAL; ~~~~~~~~^~~~~~~~~~~~~~~~~~ SparseMatrix.c:1370:3: note: here case MATRIX_TYPE_REAL: ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' CCLD libsparse_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' Making all in patchwork make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/patchwork' CC patchworkinit.lo In file included from ../../lib/common/render.h:44:0, from patchwork.h:17, from patchworkinit.c:14: patchworkinit.c: In function 'addCluster': ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ patchworkinit.c:48:14: note: in expansion of macro 'RALLOC' clist->cl = RALLOC(clist->sz, clist->cl, graph_t *); ^~~~~~ patchworkinit.c: In function 'mkClusters': ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ patchworkinit.c:93:27: note: in expansion of macro 'RALLOC' GD_clust(g) = RALLOC(list.cnt + 1, list.cl, graph_t*); ^~~~~~ patchworkinit.c: In function 'patchwork_init_node_edge': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ patchworkinit.c:114:18: note: in expansion of macro 'N_NEW' rdata* alg = N_NEW(agnnodes(g), rdata); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ patchworkinit.c:116:25: note: in expansion of macro 'N_NEW' GD_neato_nlist(g) = N_NEW(agnnodes(g) + 1, node_t *); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/patchwork' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/patchwork' CC tree_map.lo tree_map.c: In function 'squarify': tree_map.c:60:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (w == fillrec.size[0]){/* tall rec. fix the items along x direction, left to right, at top*/ ^~ In file included from ../../lib/common/render.h:44:0, from tree_map.c:14: tree_map.c: In function 'tree_map': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ tree_map.c:112:10: note: in expansion of macro 'N_NEW' recs = N_NEW(n,rectangle); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/patchwork' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/patchwork' CC patchwork.lo patchwork.c: In function 'fullArea': patchwork.c:58:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (m == 0) return p->child_area; ^~ patchwork.c: In function 'getArea': patchwork.c:68:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (area == 0) area = DFLT_SZ; ^~ In file included from ../../lib/common/render.h:44:0, from ./patchwork.h:17, from patchwork.c:16: patchwork.c: In function 'layoutTree': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ patchwork.c:158:13: note: in expansion of macro 'N_NEW' nodes = N_NEW(nc, treenode_t*); ^~~~~ patchwork.c:165:19: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort (nodes, nc, sizeof(treenode_t*), (qsort_cmpf)nodecmp); ^~ In file included from ../../lib/common/render.h:44:0, from ./patchwork.h:17, from patchwork.c:16: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ patchwork.c:166:20: note: in expansion of macro 'N_NEW' areas_sorted = N_NEW(nc,double); ^~~~~ patchwork.c:170:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (tree->area == tree->child_area) ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/patchwork' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/patchwork' CCLD libpatchwork_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/patchwork' Making all in expr make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC exdata.lo In file included from ./exlib.h:131:0, from exdata.c:22: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from ./exlib.h:131, from exdata.c:22: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from ./exlib.h:131:0, from exdata.c:22: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from ./exlib.h:134:0, from exdata.c:22: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC exlexname.lo In file included from exlib.h:131:0, from exlexname.c:20: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from exlib.h:131, from exlexname.c:20: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from exlib.h:131:0, from exlexname.c:20: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from exlib.h:134:0, from exlexname.c:20: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ exlexname.c:27:1: warning: no previous prototype for 'exlexname' [-Wmissing-prototypes] exlexname(int op, int subop) ^~~~~~~~~ exlexname.c: In function 'exlexname': exlexname.c:35:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (char*)exop[op - MINTOKEN]; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC exexpr.lo In file included from exlib.h:131:0, from exexpr.c:20: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from exlib.h:131, from exexpr.c:20: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from exlib.h:131:0, from exexpr.c:20: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from exlib.h:134:0, from exexpr.c:20: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ In file included from ./expr.h:57:0, from exlib.h:131, from exexpr.c:20: exexpr.c: In function 'exexpr': ../../lib/cdt/cdt.h:277:47: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(void*)(o),DT_MATCH) ^ exexpr.c:32:26: note: in expansion of macro 'dtmatch' sym = name ? (Exid_t*)dtmatch(ex->symbols, name) : &ex->main; ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC excontext.lo In file included from exlib.h:131:0, from excontext.c:20: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from exlib.h:131, from excontext.c:20: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from exlib.h:131:0, from excontext.c:20: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from exlib.h:134:0, from excontext.c:20: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ excontext.c: In function 'excontext': excontext.c:43:30: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] if ((n = (sizeof(p->line) - (t - (p->linep + 1))) - (e - s)) > 0) ^ excontext.c:43:54: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] if ((n = (sizeof(p->line) - (t - (p->linep + 1))) - (e - s)) > 0) ^ excontext.c:43:13: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] if ((n = (sizeof(p->line) - (t - (p->linep + 1))) - (e - s)) > 0) ^ excontext.c:57:12: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] if ((n = (p->linep - t) - (e - s)) > 0) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC exopen.lo In file included from ./exlib.h:131:0, from exopen.c:27: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from ./exlib.h:131, from exopen.c:27: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from ./exlib.h:131:0, from exopen.c:27: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from ./exlib.h:134:0, from exopen.c:27: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ exopen.c: In function 'exopen': ../../lib/ast/sfstr.h:30:47: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define sfstropen() sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING) ^ exopen.c:46:23: note: in expansion of macro 'sfstropen' !(program->tmp = sfstropen()) || ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC exerror.lo In file included from ./exlib.h:131:0, from exerror.c:20: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from ./exlib.h:131, from exerror.c:20: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from ./exlib.h:131:0, from exerror.c:20: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from ./exlib.h:134:0, from exerror.c:20: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ exerror.c: In function 'exerror': ../../lib/ast/sfstr.h:30:47: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define sfstropen() sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING) ^ exerror.c:31:67: note: in expansion of macro 'sfstropen' if (expr.program->disc->errorf && !expr.program->errors && (sp = sfstropen())) ^~~~~~~~~ exerror.c: In function 'exwarn': ../../lib/ast/sfstr.h:30:47: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define sfstropen() sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING) ^ exerror.c:58:42: note: in expansion of macro 'sfstropen' if (expr.program->disc->errorf && (sp = sfstropen())) { ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC exrewind.lo In file included from exlib.h:131:0, from exrewind.c:21: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from exlib.h:131, from exrewind.c:21: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from exlib.h:131:0, from exrewind.c:21: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from exlib.h:134:0, from exrewind.c:21: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ exrewind.c: In function 'exrewind': exrewind.c:39:11: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] if ((n = ex->linep - ex->line)) ^~ exrewind.c:40:41: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] memcpy(ex->input->pushback, ex->line, n); ^ exrewind.c:43:30: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ex->input->pushback[n++] = ex->input->peek; ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC extype.lo In file included from exlib.h:131:0, from extype.c:21: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from exlib.h:131, from extype.c:21: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from exlib.h:131:0, from extype.c:21: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from exlib.h:134:0, from extype.c:21: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ extype.c: In function 'extype': extype.c:33:2: warning: switch missing default case [-Wswitch-default] switch (type) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC exzero.lo In file included from exlib.h:131:0, from exzero.c:21: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from exlib.h:131, from exzero.c:21: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from exlib.h:131:0, from exzero.c:21: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from exlib.h:134:0, from exzero.c:21: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ exzero.c: In function 'exzero': exzero.c:32:2: warning: switch missing default case [-Wswitch-default] switch (type) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC exstash.lo In file included from ./exlib.h:131:0, from exstash.c:21: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from ./exlib.h:131, from exstash.c:21: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from ./exlib.h:131:0, from exstash.c:21: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from ./exlib.h:134:0, from exstash.c:21: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC exnospace.lo In file included from ./exlib.h:131:0, from exnospace.c:20: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from ./exlib.h:131, from exnospace.c:20: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from ./exlib.h:131:0, from exnospace.c:20: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from ./exlib.h:134:0, from exnospace.c:20: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ exnospace.c: In function 'exnospace': exnospace.c:32:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (char*)null; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC excc.lo In file included from exlib.h:131:0, from excc.c:26: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from exlib.h:131, from excc.c:26: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from exlib.h:131:0, from excc.c:26: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from exlib.h:134:0, from excc.c:26: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ excc.c: In function 'exopname': excc.c:44:2: warning: switch missing default case [-Wswitch-default] switch (op) ^~~~~~ excc.c: In function 'print': excc.c:106:29: warning: declaration of 'expr' shadows a global declaration [-Wshadow] print(Excc_t* cc, Exnode_t* expr) ^~~~ In file included from excc.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ excc.c:121:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < elementsof(x->param) && x->param[i]; i++) ^ excc.c: In function 'scan': excc.c:141:28: warning: declaration of 'expr' shadows a global declaration [-Wshadow] scan(Excc_t* cc, Exnode_t* expr) ^~~~ In file included from excc.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ excc.c:156:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < elementsof(x->param) && x->param[i]; i++) ^ excc.c: In function 'gen': excc.c:176:36: warning: declaration of 'expr' shadows a global declaration [-Wshadow] gen(Excc_t* cc, register Exnode_t* expr) ^~~~ In file included from excc.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ excc.c:197:2: warning: switch missing default case [-Wswitch-default] switch (expr->op) ^~~~~~ excc.c:539:3: warning: switch missing default case [-Wswitch-default] switch (expr->op) ^~~~~~ excc.c: In function 'global': excc.c:630:56: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] sfprintf(cc->ccdisc->text, "static %s %s;\n", extype(sym->type), sym->name); ^~~ excc.c:624:14: warning: unused parameter 'table' [-Wunused-parameter] global(Dt_t* table, void* object, void* handle) ^~~~~ excc.c: In function 'exccopen': excc.c:639:18: warning: declaration of 'expr' shadows a global declaration [-Wshadow] exccopen(Expr_t* expr, Exccdisc_t* disc) ^~~~ In file included from excc.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ excc.c:657:22: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] sfsprintf(cc->id, strlen(id) + 2, "%s_", id); ^~~~~~ In file included from ./expr.h:57:0, from exlib.h:131, from excc.c:26: excc.c: In function 'excc': ../../lib/cdt/cdt.h:277:47: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(void*)(o),DT_MATCH) ^ excc.c:701:25: note: in expansion of macro 'dtmatch' sym = name ? (Exid_t*)dtmatch(cc->expr->symbols, name) : &cc->expr->main; ^~~~~~~ excc.c: In function 'exdump': excc.c:721:16: warning: declaration of 'expr' shadows a global declaration [-Wshadow] exdump(Expr_t* expr, Exnode_t* node, Sfio_t* sp) ^~~~ In file included from excc.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC extoken.lo In file included from exlib.h:131:0, from extoken.c:23: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from exlib.h:131, from extoken.c:23: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from exlib.h:131:0, from extoken.c:23: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from exlib.h:134:0, from extoken.c:23: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ extoken.c:26:28: warning: "_BLD_DEBUG" is not defined, evaluates to 0 [-Wundef] #if !defined(TRACE_lex) && _BLD_DEBUG ^~~~~~~~~~ extoken.c:30:5: warning: "TRACE_lex" is not defined, evaluates to 0 [-Wundef] #if TRACE_lex ^~~~~~~~~ extoken.c: In function 'lex': extoken.c:287:43: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] else trace(ex, -1, "expop sp FAIL", 0); ^ extoken.c:297:43: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] else trace(ex, -1, "expop fp FAIL", 0); ^ In file included from extoken.c:23:0: exlib.h:140:123: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] #define putcontext(p,c) (((p)->linep>=&(p)->line[sizeof((p)->line)]?(p)->linep=(p)->line,(p)->linewrap=1:0),*(p)->linep++=(c)) ^ extoken.c:312:4: note: in expansion of macro 'putcontext' putcontext(ex, c); ^~~~~~~~~~ extoken.c: In function 'extoken_fn': extoken.c:352:6: warning: switch missing default case [-Wswitch-default] switch (lex(ex)) ^~~~~~ extoken.c:344:14: warning: switch missing default case [-Wswitch-default] for (;;) switch (lex(ex)) ^~~~~~ extoken.c:446:18: warning: switch missing default case [-Wswitch-default] if (q == '=') switch (c) ^~~~~~ extoken.c:554:6: warning: switch missing default case [-Wswitch-default] switch (c = lex(ex)) ^~~~~~ extoken.c:619:23: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] exlval.integer = strtoull(s, &e, b); ^~~~~~~~ extoken.c:659:22: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] expr.statics += exlval.id->isstatic = expr.instatic; ^~~~~~ extoken.c:709:11: warning: declaration of 'b' shadows a previous local [-Wshadow] int b; ^ extoken.c:328:7: note: shadowed declaration is here int b; ^ extoken.c:733:7: warning: switch missing default case [-Wswitch-default] switch (lex(ex)) ^~~~~~ extoken.c:802:6: warning: switch missing default case [-Wswitch-default] switch (po = c) ^~~~~~ extoken.c:675:5: warning: switch missing default case [-Wswitch-default] switch (exlval.id->lex) ^~~~~~ extoken.c:884:21: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] return exlval.id->lex; ~~~~~~~~~^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC exeval.lo In file included from exlib.h:131:0, from exeval.c:26: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from exlib.h:131, from exeval.c:26: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from exlib.h:131:0, from exeval.c:26: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from exlib.h:134:0, from exeval.c:26: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ exeval.c: In function 'lexname': exeval.c:58:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (char*)exop[op - MINTOKEN]; ^ exeval.c: In function 'evaldyn': exeval.c:86:43: warning: declaration of 'expr' shadows a global declaration [-Wshadow] evaldyn (Expr_t * ex, register Exnode_t * expr, void *env, int delete) ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c: In function 'getdyn': exeval.c:129:39: warning: declaration of 'expr' shadows a global declaration [-Wshadow] getdyn(Expr_t* ex, register Exnode_t* expr, void* env, Exassoc_t** assoc) ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c:173:23: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] b->value = exzero(expr->data.variable.symbol->type); ^~~~ exeval.c:176:14: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] v = exzero(expr->data.variable.symbol->type); ^~~~ exeval.c: In function 'prformat': exeval.c:263:10: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] n = strlen(fmt->value.string); ^~~~~~ exeval.c:264:22: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if ((s = fmtbuf(n + 1))) ^ exeval.c:265:36: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] memcpy(s, fmt->value.string, n + 1); ^ In file included from exlib.h:134:0, from exeval.c:26: ../../lib/ast/sfstr.h:30:47: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define sfstropen() sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING) ^ exeval.c:291:33: note: in expansion of macro 'sfstropen' if (!fmt->tmp && !(fmt->tmp = sfstropen())) ^~~~~~~~~ exeval.c:327:12: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *s = tolower(*s); ^~~~~~~ exeval.c:329:12: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *s = toupper(*s); ^~~~~~~ exeval.c:335:12: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *s = tolower(*s); ^~~~~~~ exeval.c:341:12: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *s = toupper(*s); ^~~~~~~ exeval.c:301:2: warning: switch missing default case [-Wswitch-default] switch (dp->fmt) ^~~~~~ exeval.c:199:18: warning: unused parameter 'sp' [-Wunused-parameter] prformat(Sfio_t* sp, void* vp, Sffmt_t* dp) ^~ exeval.c: In function 'prints': exeval.c:379:41: warning: declaration of 'expr' shadows a global declaration [-Wshadow] prints(Expr_t * ex, register Exnode_t * expr, void *env, Sfio_t * sp) ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c: In function 'print': exeval.c:399:29: warning: declaration of 'expr' shadows a global declaration [-Wshadow] print(Expr_t* ex, Exnode_t* expr, void* env, Sfio_t* sp) ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c:408:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (v.integer < 0 || v.integer >= elementsof(ex->file) || (!(sp = ex->file[v.integer]) && !(sp = ex->file[v.integer] = sfnew(NiL, NiL, SF_UNBOUND, v.integer, SF_READ|SF_WRITE)))) ^~ In file included from ../../lib/ast/ast.h:21:0, from exlib.h:29, from exeval.c:26: ../../lib/sfio/sfio.h:274:20: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define SF_UNBOUND (-1) /* unbounded buffer size */ ^ exeval.c:408:138: note: in expansion of macro 'SF_UNBOUND' if (v.integer < 0 || v.integer >= elementsof(ex->file) || (!(sp = ex->file[v.integer]) && !(sp = ex->file[v.integer] = sfnew(NiL, NiL, SF_UNBOUND, v.integer, SF_READ|SF_WRITE)))) ^~~~~~~~~~ exeval.c:408:150: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] if (v.integer < 0 || v.integer >= elementsof(ex->file) || (!(sp = ex->file[v.integer]) && !(sp = ex->file[v.integer] = sfnew(NiL, NiL, SF_UNBOUND, v.integer, SF_READ|SF_WRITE)))) ^ In file included from ./expr.h:58:0, from exlib.h:131, from exeval.c:26: exeval.c: In function 'scformat': ../../lib/vmalloc/vmalloc.h:216:60: warning: conversion to 'long unsigned int' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion] #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \ ^ ../../lib/vmalloc/vmalloc.h:203:24: note: in definition of macro 'vmresize' ((vm),(void*)(d),(sz),(type)) ^~ exeval.c:484:83: note: in expansion of macro 'vmnewof' *((void**)vp) = node->data.variable.symbol->value->data.constant.value.string = vmnewof(fmt->expr->vm, node->data.variable.symbol->value->data.constant.value.string, char, fmt->fmt.size, 0); ^~~~~~~ exeval.c:451:18: warning: unused parameter 'sp' [-Wunused-parameter] scformat(Sfio_t* sp, void* vp, Sffmt_t* dp) ^~ exeval.c: In function 'scan': exeval.c:514:28: warning: declaration of 'expr' shadows a global declaration [-Wshadow] scan(Expr_t* ex, Exnode_t* expr, void* env, Sfio_t* sp) ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c:531:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((v.integer < 0) || (v.integer >= elementsof(ex->file)) || (!(sp = ex->file[v.integer]) && !(sp = ex->file[v.integer] = sfnew(NiL, NiL, SF_UNBOUND, v.integer, SF_READ|SF_WRITE)))) ^~ In file included from ../../lib/ast/ast.h:21:0, from exlib.h:29, from exeval.c:26: ../../lib/sfio/sfio.h:274:20: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define SF_UNBOUND (-1) /* unbounded buffer size */ ^ exeval.c:531:142: note: in expansion of macro 'SF_UNBOUND' if ((v.integer < 0) || (v.integer >= elementsof(ex->file)) || (!(sp = ex->file[v.integer]) && !(sp = ex->file[v.integer] = sfnew(NiL, NiL, SF_UNBOUND, v.integer, SF_READ|SF_WRITE)))) ^~~~~~~~~~ exeval.c:531:154: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] if ((v.integer < 0) || (v.integer >= elementsof(ex->file)) || (!(sp = ex->file[v.integer]) && !(sp = ex->file[v.integer] = sfnew(NiL, NiL, SF_UNBOUND, v.integer, SF_READ|SF_WRITE)))) ^ exeval.c: In function 'replace': exeval.c:663:34: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] sfwrite(s, base + offset, sub[2 * idx + 1] - offset); ^~~ exeval.c: At top level: exeval.c:694:1: warning: no previous prototype for 'exsplit' [-Wmissing-prototypes] exsplit(Expr_t * ex, register Exnode_t * expr, void *env) ^~~~~~~ exeval.c: In function 'exsplit': exeval.c:694:42: warning: declaration of 'expr' shadows a global declaration [-Wshadow] exsplit(Expr_t * ex, register Exnode_t * expr, void *env) ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c:719:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 1; i < sz; i++) { ^ exeval.c: At top level: exeval.c:746:1: warning: no previous prototype for 'extokens' [-Wmissing-prototypes] extokens(Expr_t * ex, register Exnode_t * expr, void *env) ^~~~~~~~ exeval.c: In function 'extokens': exeval.c:746:43: warning: declaration of 'expr' shadows a global declaration [-Wshadow] extokens(Expr_t * ex, register Exnode_t * expr, void *env) ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c: At top level: exeval.c:785:1: warning: no previous prototype for 'exsub' [-Wmissing-prototypes] exsub(Expr_t * ex, register Exnode_t * expr, void *env, int global) ^~~~~ exeval.c: In function 'exsub': exeval.c:785:40: warning: declaration of 'expr' shadows a global declaration [-Wshadow] exsub(Expr_t * ex, register Exnode_t * expr, void *env, int global) ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c:839:24: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] sfwrite(ex->tmp, str, sub[0]); ^~~ exeval.c:846:27: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] sfwrite(ex->tmp, s, sub[0]); ^~~ exeval.c: In function 'exsubstr': exeval.c:861:59: warning: declaration of 'expr' shadows a global declaration [-Wshadow] static Extype_t exsubstr(Expr_t * ex, register Exnode_t * expr, void *env) ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c:870:8: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen(s.string); ^~~~~~ In file included from ./expr.h:58:0, from exlib.h:131, from exeval.c:26: ../../lib/vmalloc/vmalloc.h:199:57: warning: conversion to 'size_t {aka long unsigned int}' from 'long long int' may change the sign of the result [-Wsign-conversion] #define vmalloc(vm,sz) (*(_VM_(vm)->meth.allocf))((vm),(sz)) ^ exeval.c:881:13: note: in expansion of macro 'vmalloc' v.string = vmalloc(ex->ve, l.integer + 1); ^~~~~~~ exeval.c:883:43: warning: conversion to 'size_t {aka long unsigned int}' from 'long long int' may change the sign of the result [-Wsign-conversion] strncpy(v.string, s.string + i.integer, l.integer); ^ exeval.c: In function 'xConvert': exeval.c:894:34: warning: declaration of 'expr' shadows a global declaration [-Wshadow] xConvert(Expr_t * ex, Exnode_t * expr, int type, Extype_t v, ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c:905:14: warning: conversion to 'Exshort_t {aka short int}' from 'int' may alter its value [-Wconversion] tmp->type = type; ^~~~ exeval.c: In function 'xPrint': exeval.c:912:32: warning: declaration of 'expr' shadows a global declaration [-Wshadow] xPrint(Expr_t * ex, Exnode_t * expr, Extype_t v, Exnode_t * tmp) ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c: In function 'eval': exeval.c:929:37: warning: declaration of 'expr' shadows a global declaration [-Wshadow] eval(Expr_t* ex, register Exnode_t* expr, void* env) ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ exeval.c:957:19: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] ex->loopcount = v.integer; ^ exeval.c:1118:26: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((*t)->floating == v.floating) ^~ exeval.c:1106:6: warning: switch missing default case [-Wswitch-default] switch ((int)i.integer) ^~~~~~ exeval.c:1235:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (n < elementsof(args)) ^ exeval.c:1244:81: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (n = 0, a = expr->data.call.procedure->value->data.procedure.args; a && n < elementsof(save); a = a->data.operand.right) ^ exeval.c:1251:81: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (n = 0, a = expr->data.call.procedure->value->data.procedure.args; a && n < elementsof(save); a = a->data.operand.right) ^ exeval.c:1256:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (x = expr->data.operand.right; x && n < elementsof(args); x = x->data.operand.right) ^ exeval.c:1263:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (x = expr->data.operand.right; x && n < elementsof(args); x = x->data.operand.right) ^ exeval.c:1344:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (r.floating == 0.0) ^~ exeval.c:1350:23: warning: conversion to 'long long int' from 'double' may alter its value [-Wfloat-conversion] if ((r.integer = r.floating) == 0) ^ exeval.c:1353:20: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] v.floating = ((Sflong_t)v.floating) % r.integer; ^ exeval.c:1356:19: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] v.floating = ((Sflong_t)v.floating) & ((Sflong_t)r.floating); ^ exeval.c:1359:19: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] v.floating = ((Sflong_t)v.floating) | ((Sflong_t)r.floating); ^ exeval.c:1362:19: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] v.floating = ((Sflong_t)v.floating) ^ ((Sflong_t)r.floating); ^ exeval.c:1365:19: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] v.floating = ((Sflong_t)v.floating) << ((Sflong_t)r.floating); ^ exeval.c:1368:5: warning: "_WIN32" is not defined, evaluates to 0 [-Wundef] #if _WIN32 ^~~~~~ exeval.c:1371:19: warning: conversion to 'double' from 'long long unsigned int' may alter its value [-Wconversion] v.floating = ((Sfulong_t)v.floating) >> ((Sflong_t)r.floating); ^ exeval.c:1416:18: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] v.integer = (Sfulong_t)v.integer >> r.integer; ^ exeval.c:952:2: warning: switch missing default case [-Wswitch-default] switch (expr->op) ^~~~~~ exeval.c:1494:16: warning: conversion to 'long long int' from 'double' may alter its value [-Wfloat-conversion] v.integer = v.floating; ^ exeval.c:1521:17: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] v.floating = ~((Sflong_t)v.floating); ^ exeval.c:1533:17: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] v.floating = (Sflong_t)v.floating & (Sflong_t)r.floating; ^ exeval.c:1536:17: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] v.floating = (Sflong_t)v.floating | (Sflong_t)r.floating; ^ exeval.c:1539:17: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] v.floating = (Sflong_t)v.floating ^ (Sflong_t)r.floating; ^ exeval.c:1545:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (r.floating == 0.0) ^~ exeval.c:1551:21: warning: conversion to 'long long int' from 'double' may alter its value [-Wfloat-conversion] if ((r.integer = r.floating) == 0) ^ exeval.c:1554:18: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] v.floating = (Sflong_t)v.floating % r.integer; ^ exeval.c:1563:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] v.integer = v.floating == r.floating; ^~ exeval.c:1566:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] v.integer = v.floating != r.floating; ^~ exeval.c:1586:5: warning: "_WIN32" is not defined, evaluates to 0 [-Wundef] #if _WIN32 ^~~~~~ exeval.c:1594:11: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] op1 = ((Sfulong_t) v.floating); ^ exeval.c:1491:3: warning: switch missing default case [-Wswitch-default] switch (expr->op) ^~~~~~ exeval.c:1635:3: warning: switch missing default case [-Wswitch-default] switch (expr->op) ^~~~~~ exeval.c:1656:5: warning: "_WIN32" is not defined, evaluates to 0 [-Wundef] #if _WIN32 ^~~~~~ exeval.c:1660:18: warning: conversion to 'double' from 'long long unsigned int' may alter its value [-Wconversion] v.floating = (Sfulong_t)v.integer; ^ exeval.c:1662:18: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] v.floating = v.integer; ^ exeval.c:1757:17: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] v.integer = (op1 >> op2); ^ exeval.c:1653:3: warning: switch missing default case [-Wswitch-default] switch (expr->op) ^~~~~~ exeval.c:1775:3: warning: switch missing default case [-Wswitch-default] switch (expr->op) ^~~~~~ exeval.c:1837:3: warning: switch missing default case [-Wswitch-default] switch (expr->op) ^~~~~~ exeval.c: In function 'exeval': exeval.c:1867:30: warning: declaration of 'expr' shadows a global declaration [-Wshadow] exeval(Expr_t* ex, Exnode_t* expr, void* env) ^~~~ In file included from exeval.c:26:0: exlib.h:183:18: note: shadowed declaration is here extern Exstate_t expr; ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CC exparse.lo In file included from exlib.h:131:0, from exgram.h:33, from ../../lib/expr/exparse.y:168: ./expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ./expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./expr.h:58:0, from exlib.h:131, from exgram.h:33, from ../../lib/expr/exparse.y:168: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from exlib.h:131:0, from exgram.h:33, from ../../lib/expr/exparse.y:168: ./expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ./expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ./expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from exlib.h:134:0, from exgram.h:33, from ../../lib/expr/exparse.y:168: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ In file included from ../../lib/expr/exparse.y:168:0: exgram.h: In function 'exnewnode': exgram.h:64:10: warning: conversion to 'Exshort_t {aka short int}' from 'int' may alter its value [-Wconversion] x->op = op; ^~ exgram.h:65:12: warning: conversion to 'Exshort_t {aka short int}' from 'int' may alter its value [-Wconversion] x->type = type; ^~~~ exgram.h:66:14: warning: conversion to 'Exshort_t {aka short int}' from 'int' may alter its value [-Wconversion] x->binary = binary; ^~~~~~ exgram.h: In function 'exfreenode': exgram.h:166:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < elementsof(pr->param) && pr->param[i]; i++) ^ exgram.h: In function 'exstringOf': exgram.h:314:3: warning: switch missing default case [-Wswitch-default] switch (type) { ^~~~~~ exgram.h: In function 'exprint': exgram.h:362:20: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] pr = exnewnode(p, ex->index, 1, ex->type, args, NiL); ^~ exgram.h:362:34: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] pr = exnewnode(p, ex->index, 1, ex->type, args, NiL); ^~ exgram.h: In function 'makeVar': exgram.h:393:13: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] kind = sym->type; ^~~ exgram.h: In function 'excast': exgram.h:463:14: warning: conversion to 'Exshort_t {aka short int}' from 'int' may alter its value [-Wconversion] x->type = type; ^~~~ In file included from ../../lib/expr/exparse.y:168:0: exgram.h:511:37: warning: conversion to 'long long int' from 'double' may alter its value [-Wfloat-conversion] x->data.constant.value.integer = x->data.constant.value.floating; ^ exgram.h:518:38: warning: conversion to 'double' from 'long long int' may alter its value [-Wconversion] x->data.constant.value.floating = x->data.constant.value.integer; ^ exgram.h:526:37: warning: conversion to 'long long int' from 'double' may alter its value [-Wfloat-conversion] x->data.constant.value.integer = strtod(s, &e); ^~~~~~ exgram.h:540:13: warning: conversion to 'Exshort_t {aka short int}' from 'int' may alter its value [-Wconversion] x->type = type; ^~~~ exgram.h: In function 'call': exgram.h:662:6: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] t = fun->type; ^~~ exgram.h: In function 'preprint': exgram.h:749:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i >= elementsof(x->param)) ^~ exgram.h:855:20: warning: conversion to 'Exshort_t {aka short int}' from 'int' may alter its value [-Wconversion] x->arg->type = t; ^ exgram.h:845:4: warning: switch missing default case [-Wswitch-default] switch (t) ^~~~~~ exgram.h: In function 'expush': exgram.h:905:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (!(in->bp = in->sp = (char*)sp)) ^ exgram.h:942:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] error_info.file = (char*)name; ^ exgram.h: In function 'exclose': exgram.h:1053:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 3; i < elementsof(p->file); i++) ^ exgram.h: In function 'cmpKey': exgram.h:1131:15: warning: unused parameter 'd' [-Wunused-parameter] cmpKey(Dt_t * d, Extype_t * key1, Extype_t * key2, Dtdisc_t * disc) ^ exgram.h:1131:63: warning: unused parameter 'disc' [-Wunused-parameter] cmpKey(Dt_t * d, Extype_t * key1, Extype_t * key2, Dtdisc_t * disc) ^~~~ y.tab.c: In function 'exparse': y.tab.c:1803:12: warning: conversion to 'extype_int16 {aka short int}' from 'int' may alter its value [-Wconversion] *yyssp = yystate; ^~~~~~~ y.tab.c:1808:25: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] YYSIZE_T yysize = yyssp - yyss + 1; ^~~~~ ../../lib/expr/exparse.y:205:91: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] expr.procedure = $1->value = exnewnode(expr.program, PROCEDURE, 1, $1->type, NiL, NiL); ^ ../../lib/expr/exparse.y:234:101: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $1->value->data.operand.right = excast(expr.program, $4, $1->type, NiL, 0); ^ ../../lib/expr/exparse.y:277:20: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] | static {expr.instatic=$1;} DECLARE {expr.declare=$3->type;} dcl_list ';' ^ ../../lib/expr/exparse.y:277:19: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] | static {expr.instatic=$1;} DECLARE {expr.declare=$3->type;} dcl_list ';' ^ ../../lib/expr/exparse.y:290:43: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, $1->index, 1, INTEGER, $3, exnewnode(expr.program, ':', 1, $5 ? $5->type : 0, $5, $6)); ^ ../../lib/expr/exparse.y:316:43: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, $1->index, 1, INTEGER, $5, exnewnode(expr.program, ';', 1, 0, $7, $9)); ^ ../../lib/expr/exparse.y:347:59: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $3->name, extypename(expr.program, $3->index_type),extypename(expr.program, $5->type)); ^ ../../lib/expr/exparse.y:360:43: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, $1->index, 1, INTEGER, $3, exnewnode(expr.program, ';', 1, 0, NiL, $5)); ^ ../../lib/expr/exparse.y:366:43: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, $1->index, 1, INTEGER, $3, exnewnode(expr.program, DEFAULT, 1, 0, sw->defcase, sw->firstcase)); ^ ../../lib/expr/exparse.y:384:43: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, $1->index, 1, INTEGER, $2, NiL); ^ In file included from ../../lib/expr/exparse.y:32:0: ../../lib/ast/ast.h:71:94: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ ../../lib/expr/exparse.y:425:21: note: in expansion of macro 'newof' if (!(sw->base = newof(0, Extype_t*, n, 0))) ^~~~~ ../../lib/expr/exparse.y:449:9: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = sw->cur - sw->base; ^~ In file included from ./expr.h:58:0, from exlib.h:131, from exgram.h:33, from ../../lib/expr/exparse.y:168: ../../lib/expr/exparse.y:451:84: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] $$->data.select.constant = (Extype_t**)exalloc(expr.program, (n + 1) * sizeof(Extype_t*)); ^ ../../lib/vmalloc/vmalloc.h:203:24: note: in definition of macro 'vmresize' ((vm),(void*)(d),(sz),(type)) ^~ ./expr.h:113:28: note: in expansion of macro 'vmnewof' #define exnewof(p,o,t,n,x) vmnewof((p)->vm,o,t,n,x) ^~~~~~~ ./expr.h:112:23: note: in expansion of macro 'exnewof' #define exalloc(p,n) exnewof(p,0,char,n,0) ^~~~~~~ ../../lib/expr/exparse.y:451:54: note: in expansion of macro 'exalloc' $$->data.select.constant = (Extype_t**)exalloc(expr.program, (n + 1) * sizeof(Extype_t*)); ^~~~~~~ ../../lib/expr/exparse.y:452:60: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memcpy($$->data.select.constant, sw->base, n * sizeof(Extype_t*)); ^ ../../lib/expr/exparse.y:478:9: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = expr.swstate->cur - expr.swstate->base; ^~~~ In file included from ../../lib/expr/exparse.y:32:0: ../../lib/ast/ast.h:71:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ ../../lib/expr/exparse.y:479:32: note: in expansion of macro 'newof' if (!(expr.swstate->base = newof(expr.swstate->base, Extype_t*, 2 * n, 0))) ^~~~~ ../../lib/ast/ast.h:71:94: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ ../../lib/expr/exparse.y:479:32: note: in expansion of macro 'newof' if (!(expr.swstate->base = newof(expr.swstate->base, Extype_t*, 2 * n, 0))) ^~~~~ ../../lib/expr/exparse.y:553:39: warning: conversion to 'Exshort_t {aka short int}' from 'long int' may alter its value [-Wconversion] $4->type = $1->type; ^ ../../lib/expr/exparse.y:554:119: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $4->data.operand.right = excast(expr.program, $4->data.operand.right, $1->type, NiL, 0); ^ ../../lib/expr/exparse.y:556:87: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $4->data.operand.left = exnewnode(expr.program, DYNAMIC, 0, $1->type, NiL, NiL); ^ ../../lib/expr/exparse.y:559:5: warning: "UNUSED" is not defined, evaluates to 0 [-Wundef] #if UNUSED ^~~~~~ ../../lib/expr/exparse.y:568:56: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $1->value->data.value = exzero($1->type); ^ ../../lib/expr/exparse.y:606:156: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = ($4->type == $2->type) ? $4 : excast(expr.program, $4, $2->type, NiL, 0); ^ ../../lib/expr/exparse.y:834:55: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, ARRAY, 1, T($1->type), call(0, $1, $3), $3); ^ ../../lib/expr/exparse.y:838:58: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, FUNCTION, 1, T($1->type), call(0, $1, $3), $3); ^ ../../lib/expr/exparse.y:860:45: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewsplit (expr.program, $1->index, $5, $3, NiL); ^ ../../lib/expr/exparse.y:864:45: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewsplit (expr.program, $1->index, $5, $3, $7); ^ ../../lib/expr/exparse.y:888:52: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, CALL, 1, $1->type, NiL, $3); ^ ../../lib/expr/exparse.y:897:43: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, $1->index, 0, $1->type, NiL, NiL); ^ ../../lib/expr/exparse.y:897:76: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, $1->index, 0, $1->type, NiL, NiL); ^ ../../lib/expr/exparse.y:904:5: warning: switch missing default case [-Wswitch-default] switch ($1->index) ^~~~~~ ../../lib/expr/exparse.y:924:43: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, $1->index, 0, $1->type, NiL, NiL); ^ ../../lib/expr/exparse.y:924:76: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, $1->index, 0, $1->type, NiL, NiL); ^ ../../lib/expr/exparse.y:931:5: warning: switch missing default case [-Wswitch-default] switch ($1->index) ^~~~~~ ../../lib/expr/exparse.y:1002:59: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $3->name, extypename(expr.program, $3->index_type),extypename(expr.program, $1->type)); ^ ../../lib/expr/exparse.y:1023:56: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, CONSTANT, 0, $1->type, NiL, NiL); ^ ../../lib/expr/exparse.y:1068:44: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = exnewnode(expr.program, DYNAMIC, 0, $1->type, NiL, NiL); ^ ../../lib/expr/exparse.y:1076:61: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $1->name, extypename(expr.program, $1->index_type),extypename(expr.program, $2->type)); ^ ../../lib/expr/exparse.y:1178:19: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] formal_item : DECLARE {expr.declare=$1->type;} name ^ ../../lib/expr/exparse.y:1180:50: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] $$ = exnewnode(expr.program, ID, 0, $1->type, NiL, NiL); ^ ../../lib/expr/exparse.y:1241:26: warning: conversion to 'Exshort_t {aka short int}' from 'int' may alter its value [-Wconversion] $$->subop = $1; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' CCLD libexpr_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' Making all in common make all-am make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC globals.lo make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC memory.lo make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC textspan.lo textspan.c: In function 'fontcmpf': textspan.c:178:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (strcasecmp(((PostscriptAlias*)a)->name, ((PostscriptAlias*)b)->name)); ^ textspan.c:178:54: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (strcasecmp(((PostscriptAlias*)a)->name, ((PostscriptAlias*)b)->name)); ^ textspan.c: In function 'textfont_makef': textspan.c:229:35: warning: unused parameter 'dt' [-Wunused-parameter] static void* textfont_makef(Dt_t* dt, void* obj, Dtdisc_t* disc) ^~ textspan.c:229:60: warning: unused parameter 'disc' [-Wunused-parameter] static void* textfont_makef(Dt_t* dt, void* obj, Dtdisc_t* disc) ^~~~ textspan.c: In function 'textfont_freef': textspan.c:246:34: warning: unused parameter 'dt' [-Wunused-parameter] static void textfont_freef(Dt_t* dt, void* obj, Dtdisc_t* disc) ^~ textspan.c:246:59: warning: unused parameter 'disc' [-Wunused-parameter] static void textfont_freef(Dt_t* dt, void* obj, Dtdisc_t* disc) ^~~~ textspan.c: In function 'textfont_comparf': textspan.c:255:36: warning: unused parameter 'dt' [-Wunused-parameter] static int textfont_comparf (Dt_t* dt, void* key1, void* key2, Dtdisc_t* disc) ^~ textspan.c:255:74: warning: unused parameter 'disc' [-Wunused-parameter] static int textfont_comparf (Dt_t* dt, void* key1, void* key2, Dtdisc_t* disc) ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC ellipse.lo ellipse.c:52:5: warning: "STANDALONE" is not defined, evaluates to 0 [-Wundef] #if STANDALONE ^~~~~~~~~~ ellipse.c: In function 'moveTo': ellipse.c:410:34: warning: declaration of 'path' shadows a global declaration [-Wshadow] static void moveTo(Ppolyline_t * path, double x, double y) ^~~~ In file included from render.h:40:0, from ellipse.c:80: types.h:105:7: note: shadowed declaration is here } path; ^~~~ In file included from render.h:44:0, from ellipse.c:80: memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ellipse.c:413:16: note: in expansion of macro 'N_NEW' path->ps = N_NEW(bufsize, pointf); ^~~~~ ellipse.c: In function 'curveTo': ellipse.c:420:23: warning: declaration of 'path' shadows a global declaration [-Wshadow] curveTo(Ppolyline_t * path, double x1, double y1, ^~~~ In file included from render.h:40:0, from ellipse.c:80: types.h:105:7: note: shadowed declaration is here } path; ^~~~ ellipse.c:425:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] path->ps = realloc(path->ps, bufsize * sizeof(pointf)); ^ ellipse.c: In function 'lineTo': ellipse.c:435:34: warning: declaration of 'path' shadows a global declaration [-Wshadow] static void lineTo(Ppolyline_t * path, double x, double y) ^~~~ In file included from render.h:40:0, from ellipse.c:80: types.h:105:7: note: shadowed declaration is here } path; ^~~~ ellipse.c: In function 'endPath': ellipse.c:441:35: warning: declaration of 'path' shadows a global declaration [-Wshadow] static void endPath(Ppolyline_t * path, boolean close) ^~~~ In file included from render.h:40:0, from ellipse.c:80: types.h:105:7: note: shadowed declaration is here } path; ^~~~ ellipse.c:448:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] path->ps = realloc(path->ps, path->pn * sizeof(pointf)); ^ ellipse.c: In function 'genEllipticPath': ellipse.c:476:18: warning: declaration of 'path' shadows a global declaration [-Wshadow] Ppolyline_t *path = NEW(Ppolyline_t); ^~~~ In file included from render.h:40:0, from ellipse.c:80: types.h:105:7: note: shadowed declaration is here } path; ^~~~ ellipse.c:482:9: warning: declaration of 'dEta' shadows a previous local [-Wshadow] double dEta = (ep->eta2 - ep->eta1) / n; ^~~~ ellipse.c:462:12: note: shadowed declaration is here double dEta; ^~~~ ellipse.c:484:13: warning: declaration of 'etaB' shadows a previous local [-Wshadow] double etaB = ep->eta1; ^~~~ ellipse.c:463:12: note: shadowed declaration is here double etaB; ^~~~ ellipse.c:541:5: warning: "DO_QUAD" is not defined, evaluates to 0 [-Wundef] #if DO_QUAD ^~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC args.lo args.c: In function 'neato_extra_args': args.c:34:25: warning: unused parameter 'gvc' [-Wunused-parameter] neato_extra_args(GVC_t *gvc, int argc, char** argv) ^~~ args.c: In function 'memtest_extra_args': args.c:79:27: warning: unused parameter 'gvc' [-Wunused-parameter] memtest_extra_args(GVC_t *gvc, int argc, char** argv) ^~~ args.c: In function 'fdp_extra_args': args.c:243:24: warning: unused parameter 'gvc' [-Wunused-parameter] fdp_extra_args (GVC_t *gvc, int argc, char** argv) ^~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC arrows.lo arrows.c: In function 'arrowOrthoClip': arrows.c:337:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p.y == q.y) { /* horz segment */ ^~ arrows.c:374:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p.y == q.y) { /* horz segment */ ^~ arrows.c:398:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p.y == q.y) { /* horz segment */ ^~ arrows.c: In function 'arrow_type_normal': arrows.c:415:71: warning: unused parameter 'arrowsize' [-Wunused-parameter] static void arrow_type_normal(GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~~~~~~ arrows.c: In function 'arrow_type_gap': arrows.c:511:68: warning: unused parameter 'arrowsize' [-Wunused-parameter] static void arrow_type_gap(GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~~~~~~ arrows.c:511:86: warning: unused parameter 'penwidth' [-Wunused-parameter] static void arrow_type_gap(GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~~~~~ arrows.c:511:100: warning: unused parameter 'flag' [-Wunused-parameter] static void arrow_type_gap(GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~ arrows.c: In function 'arrow_type_tee': arrows.c:522:68: warning: unused parameter 'arrowsize' [-Wunused-parameter] static void arrow_type_tee(GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~~~~~~ arrows.c:522:86: warning: unused parameter 'penwidth' [-Wunused-parameter] static void arrow_type_tee(GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~~~~~ arrows.c: In function 'arrow_type_box': arrows.c:555:68: warning: unused parameter 'arrowsize' [-Wunused-parameter] static void arrow_type_box(GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~~~~~~ arrows.c:555:86: warning: unused parameter 'penwidth' [-Wunused-parameter] static void arrow_type_box(GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~~~~~ arrows.c: In function 'arrow_type_diamond': arrows.c:586:72: warning: unused parameter 'arrowsize' [-Wunused-parameter] static void arrow_type_diamond(GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~~~~~~ arrows.c:586:90: warning: unused parameter 'penwidth' [-Wunused-parameter] static void arrow_type_diamond(GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~~~~~ arrows.c: In function 'arrow_type_dot': arrows.c:610:68: warning: unused parameter 'arrowsize' [-Wunused-parameter] static void arrow_type_dot(GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~~~~~~ arrows.c:610:86: warning: unused parameter 'penwidth' [-Wunused-parameter] static void arrow_type_dot(GVJ_t * job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~~~~~ arrows.c: In function 'arrow_type_curve': arrows.c:627:69: warning: unused parameter 'arrowsize' [-Wunused-parameter] static void arrow_type_curve(GVJ_t* job, pointf p, pointf u, double arrowsize, double penwidth, int flag) ^~~~~~~~~ arrows.c: In function 'arrow_bb': arrows.c:691:57: warning: unused parameter 'flag' [-Wunused-parameter] boxf arrow_bb(pointf p, pointf u, double arrowsize, int flag) ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC colxlate.lo colxlate.c: In function 'hsv2rgb': colxlate.c:59:2: warning: switch missing default case [-Wswitch-default] switch (i) { ^~~~~~ colxlate.c: In function 'rgb2hsv': colxlate.c:112:8: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (r == rgbmax) ^~ colxlate.c:114:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (g == rgbmax) ^~ colxlate.c:116:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (b == rgbmax) ^~ colxlate.c: In function 'colorcmpf': colxlate.c:142:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return strcasecmp(((hsvrgbacolor_t *) p0)->name, ((hsvrgbacolor_t *) p1)->name); ^ colxlate.c:142:55: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return strcasecmp(((hsvrgbacolor_t *) p0)->name, ((hsvrgbacolor_t *) p1)->name); ^ colxlate.c: In function 'colorxlate': colxlate.c:292:25: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] color->u.rgba[0] = r; ^ colxlate.c:293:25: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] color->u.rgba[1] = g; ^ colxlate.c:294:25: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] color->u.rgba[2] = b; ^ colxlate.c:295:25: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] color->u.rgba[3] = a; ^ colxlate.c:302:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[0] = (int) C *255; ^ colxlate.c:303:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[1] = (int) M *255; ^ colxlate.c:304:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[2] = (int) Y *255; ^ colxlate.c:305:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[3] = (int) K *255; ^ colxlate.c:308:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] color->u.rrggbbaa[0] = r * 65535 / 255; ^ colxlate.c:309:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] color->u.rrggbbaa[1] = g * 65535 / 255; ^ colxlate.c:310:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] color->u.rrggbbaa[2] = b * 65535 / 255; ^ colxlate.c:311:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] color->u.rrggbbaa[3] = a * 65535 / 255; ^ colxlate.c:279:2: warning: switch missing default case [-Wswitch-default] switch (target_type) { ^~~~~~ colxlate.c:360:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.rgba[0] = (int) (R * 255); ^ colxlate.c:361:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.rgba[1] = (int) (G * 255); ^ colxlate.c:362:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.rgba[2] = (int) (B * 255); ^ colxlate.c:368:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[0] = (int) C *255; ^ colxlate.c:369:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[1] = (int) M *255; ^ colxlate.c:370:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[2] = (int) Y *255; ^ colxlate.c:371:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[3] = (int) K *255; ^ colxlate.c:351:6: warning: switch missing default case [-Wswitch-default] switch (target_type) { ^~~~~~ colxlate.c:428:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[0] = (int) C * 255; ^ colxlate.c:429:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[1] = (int) M * 255; ^ colxlate.c:430:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[2] = (int) Y * 255; ^ colxlate.c:431:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[3] = (int) K * 255; ^ colxlate.c:410:2: warning: switch missing default case [-Wswitch-default] switch (target_type) { ^~~~~~ colxlate.c:455:5: warning: switch missing default case [-Wswitch-default] switch (target_type) { ^~~~~~ colxlate.c: In function 'rgba_wordToByte': colxlate.c:489:12: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] rgba[i] = rrggbbaa[i] * 255 / 65535; ^~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC htmllex.lo htmllex.c: In function 'error_context': htmllex.c:56:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] agxbput_n(state.xb, state.prevtok, state.prevtoklen); ^~~~~ htmllex.c:57:40: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] agxbput_n(state.xb, state.currtok, state.currtoklen); ^~~~~ htmllex.c: In function 'stylefn': htmllex.c:186:47: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] else if(!strcasecmp(tk,"SOLID")) p->style &= ~(DOTTED|DASHED); ^ htmllex.c: In function 'cellborderfn': htmllex.c:289:13: warning: conversion to 'signed char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] p->cb = (unsigned char) u; ^ htmllex.c: In function 'doAttrs': htmllex.c:572:42: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] ip = (attr_item *) bsearch(&key, items, nel, ISIZE, (bcmpfn) icmp); ^~~ htmllex.c:574:20: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] state.warn |= ip->action(tp, val); ^~ htmllex.c: In function 'mkFont': htmllex.c:603:16: warning: conversion to 'unsigned char:7' from 'int' may alter its value [-Wconversion] tf.flags = flags; ^~~~~ htmllex.c:598:67: warning: unused parameter 'ul' [-Wunused-parameter] static textfont_t *mkFont(GVC_t *gvc, char **atts, int flags, int ul) ^~ htmllex.c: In function 'endElement': htmllex.c:689:30: warning: unused parameter 'user' [-Wunused-parameter] static void endElement(void *user, const char *name) ^~~~ htmllex.c: In function 'characterData': htmllex.c:757:10: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] c = *s++; ^ htmllex.c:750:33: warning: unused parameter 'user' [-Wunused-parameter] static void characterData(void *user, const char *s, int length) ^~~~ htmllex.c: In function 'htmllineno': htmllex.c:879:12: warning: conversion to 'int' from 'XML_Size {aka long unsigned int}' may alter its value [-Wconversion] return XML_GetCurrentLineNumber(state.parser); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmllex.c: In function 'htmllex': htmllex.c:1018:12: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen(s); ^~~~~~ htmllex.c:1025:9: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen(s); ^~~~~~ htmllex.c:1028:9: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] len = endp - s; ^~~~ In file included from render.h:47:0, from htmllex.c:15: ../../lib/cgraph/agxbuf.h:85:20: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define agxblen(X) (((X)->ptr)-((X)->buf)) ^ htmllex.c:1035:14: note: in expansion of macro 'agxblen' if ((llen = agxblen(&state.lb))) ^~~~~~~ htmllex.c:1052:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG ^~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC intset.lo intset.c: In function 'mkIntItem': intset.c:21:17: warning: unused parameter 'd' [-Wunused-parameter] mkIntItem(Dt_t* d,intitem* obj,Dtdisc_t* disc) ^ intset.c:21:42: warning: unused parameter 'disc' [-Wunused-parameter] mkIntItem(Dt_t* d,intitem* obj,Dtdisc_t* disc) ^~~~ intset.c: In function 'freeIntItem': intset.c:29:19: warning: unused parameter 'd' [-Wunused-parameter] freeIntItem(Dt_t* d,intitem* obj,Dtdisc_t* disc) ^ intset.c:29:44: warning: unused parameter 'disc' [-Wunused-parameter] freeIntItem(Dt_t* d,intitem* obj,Dtdisc_t* disc) ^~~~ intset.c: In function 'cmpid': intset.c:35:13: warning: unused parameter 'd' [-Wunused-parameter] cmpid(Dt_t* d, int* key1, int* key2, Dtdisc_t* disc) ^ intset.c:35:48: warning: unused parameter 'disc' [-Wunused-parameter] cmpid(Dt_t* d, int* key1, int* key2, Dtdisc_t* disc) ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC pointset.lo pointset.c: In function 'freePair': pointset.c:32:29: warning: unused parameter 'd' [-Wunused-parameter] static void freePair(Dt_t * d, pair* pp, Dtdisc_t * disc) ^ pointset.c:32:53: warning: unused parameter 'disc' [-Wunused-parameter] static void freePair(Dt_t * d, pair* pp, Dtdisc_t * disc) ^~~~ pointset.c: In function 'cmppair': pointset.c:37:27: warning: unused parameter 'd' [-Wunused-parameter] static int cmppair(Dt_t * d, point * key1, point * key2, Dtdisc_t * disc) ^ pointset.c:37:69: warning: unused parameter 'disc' [-Wunused-parameter] static int cmppair(Dt_t * d, point * key1, point * key2, Dtdisc_t * disc) ^~~~ In file included from render.h:44:0, from pointset.c:15: pointset.c: In function 'pointsOf': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pointset.c:117:18: note: in expansion of macro 'N_NEW' point *pts = N_NEW(n, point); ^~~~~ pointset.c: In function 'mkMPair': pointset.c:140:30: warning: unused parameter 'd' [-Wunused-parameter] static mpair *mkMPair(Dt_t * d, mpair * obj, MPairDisc * disc) ^ pointset.c: In function 'freeMPair': pointset.c:154:30: warning: unused parameter 'd' [-Wunused-parameter] static void freeMPair(Dt_t * d, mpair * ap, MPairDisc * disc) ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC timing.lo timing.c:45:6: warning: no previous prototype for 'start_timer' [-Wmissing-prototypes] void start_timer(void) ^~~~~~~~~~~ timing.c:50:8: warning: no previous prototype for 'elapsed_sec' [-Wmissing-prototypes] double elapsed_sec(void) ^~~~~~~~~~~ timing.c: In function 'elapsed_sec': timing.c:28:83: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] #define DIFF_IN_SECS(S,T) ((S.tms_utime + S.tms_stime - T.tms_utime - T.tms_stime)/(double)HZ) ^ timing.c:56:10: note: in expansion of macro 'DIFF_IN_SECS' rv = DIFF_IN_SECS(S, T); ^~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC psusershape.lo psusershape.c: In function 'ps_image_free': psusershape.c:26:36: warning: unused parameter 'dict' [-Wunused-parameter] static void ps_image_free(Dict_t * dict, usershape_t * p, Dtdisc_t * disc) ^~~~ psusershape.c:26:70: warning: unused parameter 'disc' [-Wunused-parameter] static void ps_image_free(Dict_t * dict, usershape_t * p, Dtdisc_t * disc) ^~~~ In file included from ../../lib/cgraph/cgraph.h:18:0, from types.h:39, from render.h:40, from psusershape.c:20: psusershape.c: In function 'user_init': ../../lib/cdt/cdt.h:277:47: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(void*)(o),DT_MATCH) ^ psusershape.c:56:10: note: in expansion of macro 'dtmatch' us = dtmatch(EPSF_contents, str); ^~~~~~~ In file included from render.h:44:0, from psusershape.c:20: memory.h:39:41: warning: conversion to 'long unsigned int' from '__off_t {aka long int}' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ psusershape.c:84:24: note: in expansion of macro 'N_GNEW' contents = us->data = N_GNEW(statbuf.st_size + 1, char); ^~~~~~ psusershape.c:86:23: warning: conversion to 'size_t {aka long unsigned int}' from '__off_t {aka long int}' may change the sign of the result [-Wsign-conversion] rc = fread(contents, statbuf.st_size, 1, fp); ^~~~~~~ psusershape.c:86:7: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] rc = fread(contents, statbuf.st_size, 1, fp); ^~~~~ psusershape.c:89:20: warning: conversion to 'boolean {aka unsigned char}' from 'int' may alter its value [-Wconversion] us->must_inline = must_inline; ^~~~~~~~~~~ psusershape.c:49:30: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int saw_bb, must_inline, rc; ^~ psusershape.c: In function 'cat_libfile': psusershape.c:142:31: warning: declaration of 'path' shadows a global declaration [-Wshadow] const char **s, *bp, *p, *path; ^~~~ In file included from render.h:40:0, from psusershape.c:20: types.h:105:7: note: shadowed declaration is here } path; ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC input.lo input.c: In function 'dotneato_basename': input.c:128:39: warning: declaration of 'path' shadows a global declaration [-Wshadow] static char* dotneato_basename (char* path) ^~~~ In file included from render.h:40:0, from input.c:15: types.h:105:7: note: shadowed declaration is here } path; ^~~~ In file included from render.h:44:0, from input.c:15: input.c: In function 'use_library': memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ input.c:170:8: note: in expansion of macro 'ALLOC' Lib = ALLOC(cnt + 2, Lib, const char *); ^~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ input.c:170:8: note: in expansion of macro 'ALLOC' Lib = ALLOC(cnt + 2, Lib, const char *); ^~~~~ input.c: In function 'global_def': input.c:185:22: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] agxbput_n (xb, dcl, p-dcl); ^ input.c: In function 'dotneato_args_initialize': input.c:255:15: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] Verbose = gvc->common.verbose; ^~~ In file included from render.h:44:0, from input.c:15: memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ input.c:262:28: note: in expansion of macro 'N_NEW' gvc->input_filenames = N_NEW(nfiles + 1, char *); ^~~~~ input.c:378:29: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (PSinputscale == 0) ^~ input.c: In function 'graph_init': input.c:681:21: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] GD_charset(g) = findCharset (g); ^~~~~~~~~~~ input.c:731:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] GD_showboxes(g) = late_int(g, agfindgraphattr(g, "showboxes"), 0, 0); ^~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC htmlparse.lo ../../lib/common/htmlparse.y: In function 'free_ritem': ../../lib/common/htmlparse.y:42:18: warning: unused parameter 'd' [-Wunused-parameter] free_ritem(Dt_t* d, pitem* p,Dtdisc_t* ds) ^ ../../lib/common/htmlparse.y:42:40: warning: unused parameter 'ds' [-Wunused-parameter] free_ritem(Dt_t* d, pitem* p,Dtdisc_t* ds) ^~ ../../lib/common/htmlparse.y: In function 'free_item': ../../lib/common/htmlparse.y:53:17: warning: unused parameter 'd' [-Wunused-parameter] free_item(Dt_t* d, void* p,Dtdisc_t* ds) ^ ../../lib/common/htmlparse.y:53:38: warning: unused parameter 'ds' [-Wunused-parameter] free_item(Dt_t* d, void* p,Dtdisc_t* ds) ^~ ../../lib/common/htmlparse.y: In function 'free_citem': ../../lib/common/htmlparse.y:85:18: warning: unused parameter 'd' [-Wunused-parameter] free_citem(Dt_t* d, pitem* p,Dtdisc_t* ds) ^ ../../lib/common/htmlparse.y:85:40: warning: unused parameter 'ds' [-Wunused-parameter] free_citem(Dt_t* d, pitem* p,Dtdisc_t* ds) ^~ ../../lib/common/htmlparse.y: In function 'free_fitem': ../../lib/common/htmlparse.y:125:18: warning: unused parameter 'd' [-Wunused-parameter] free_fitem(Dt_t* d, fitem* p, Dtdisc_t* ds) ^ ../../lib/common/htmlparse.y:125:41: warning: unused parameter 'ds' [-Wunused-parameter] free_fitem(Dt_t* d, fitem* p, Dtdisc_t* ds) ^~ ../../lib/common/htmlparse.y: In function 'free_fspan': ../../lib/common/htmlparse.y:133:18: warning: unused parameter 'd' [-Wunused-parameter] free_fspan(Dt_t* d, fspan* p, Dtdisc_t* ds) ^ ../../lib/common/htmlparse.y:133:41: warning: unused parameter 'ds' [-Wunused-parameter] free_fspan(Dt_t* d, fspan* p, Dtdisc_t* ds) ^~ ../../lib/common/htmlparse.y: In function 'appendFLineList': ../../lib/common/htmlparse.y:198:19: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ln->lp.just = v; ^ ../../lib/common/htmlparse.y:201:18: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] ln->lp.nitems = cnt; ^~~ In file included from render.h:44:0, from ../../lib/common/htmlparse.y:16: memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ../../lib/common/htmlparse.y:202:17: note: in expansion of macro 'N_NEW' ln->lp.items = N_NEW(cnt, textspan_t); ^~~~~ ../../lib/common/htmlparse.y: In function 'mkText': ../../lib/common/htmlparse.y:237:19: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] hft->nspans = cnt; ^~~ In file included from render.h:44:0, from ../../lib/common/htmlparse.y:16: memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ../../lib/common/htmlparse.y:241:15: note: in expansion of macro 'N_NEW' hft->spans = N_NEW(cnt,htextspan_t); ^~~~~ ../../lib/common/htmlparse.y: In function 'setCell': ../../lib/common/htmlparse.y:286:20: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] cp->child.kind = kind; ^~~~ ../../lib/common/htmlparse.y: In function 'mkLabel': ../../lib/common/htmlparse.y:305:14: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] lp->kind = kind; ^~~~ y.tab.c: In function 'htmlparse': y.tab.c:1790:14: warning: conversion to 'htmltype_int16 {aka short int}' from 'int' may alter its value [-Wconversion] *yyssp = yystate; ^~~~~~ y.tab.c:1795:27: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] YYSIZE_T yysize = yyssp - yyss + 1; ^~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC labels.lo In file included from render.h:44:0, from labels.c:15: labels.c: In function 'storeline': labels.c:28:29: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lp->u.txt.span = ZALLOC(oldsz + 1, lp->u.txt.span, textspan_t, oldsz); ^ memory.h:43:63: note: in definition of macro 'ZALLOC' #define ZALLOC(size,ptr,type,osize) (ptr? (type*)zrealloc(ptr,size,sizeof(type),osize):(type*)zmalloc((size)*sizeof(type))) ^~~~ labels.c:28:68: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lp->u.txt.span = ZALLOC(oldsz + 1, lp->u.txt.span, textspan_t, oldsz); ^ memory.h:43:81: note: in definition of macro 'ZALLOC' #define ZALLOC(size,ptr,type,osize) (ptr? (type*)zrealloc(ptr,size,sizeof(type),osize):(type*)zmalloc((size)*sizeof(type))) ^~~~~ memory.h:43:109: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ZALLOC(size,ptr,type,osize) (ptr? (type*)zrealloc(ptr,size,sizeof(type),osize):(type*)zmalloc((size)*sizeof(type))) ^ labels.c:28:22: note: in expansion of macro 'ZALLOC' lp->u.txt.span = ZALLOC(oldsz + 1, lp->u.txt.span, textspan_t, oldsz); ^~~~~~ labels.c: In function 'make_label': labels.c:123:5: warning: switch missing default case [-Wswitch-default] switch (agobjkind(obj)) { ^~~~~~ labels.c:151:6: warning: switch missing default case [-Wswitch-default] switch (agobjkind(obj)) { ^~~~~~ labels.c: In function 'strdup_and_subst_obj0': labels.c:304:5: warning: switch missing default case [-Wswitch-default] switch (agobjkind(obj)) { ^~~~~~ labels.c: In function 'xml_string0': labels.c:506:16: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = gmalloc(bufsize); ^~~~~~~ labels.c:513:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = grealloc(buf, bufsize); ^~~~~~~ labels.c: In function 'xml_url_string': labels.c:584:16: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = gmalloc(bufsize); ^~~~~~~ labels.c:591:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = grealloc(buf, bufsize); ^~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC routespl.lo In file included from render.h:44:0, from routespl.c:16: routespl.c: In function 'simpleSplineRoute': memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ routespl.c:249:14: note: in expansion of macro 'ALLOC' edges = ALLOC(poly.pn, edges, Pedge_t); ^~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ routespl.c:249:14: note: in expansion of macro 'ALLOC' edges = ALLOC(poly.pn, edges, Pedge_t); ^~~~~ routespl.c: In function '_routesplines': memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ routespl.c:436:15: note: in expansion of macro 'ALLOC' polypoints = ALLOC(boxn * 8, polypoints, Ppoint_t); ^~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ routespl.c:436:15: note: in expansion of macro 'ALLOC' polypoints = ALLOC(boxn * 8, polypoints, Ppoint_t); ^~~~~ memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ routespl.c:564:14: note: in expansion of macro 'ALLOC' edges = ALLOC(poly.pn, edges, Pedge_t); ^~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ routespl.c:564:14: note: in expansion of macro 'ALLOC' edges = ALLOC(poly.pn, edges, Pedge_t); ^~~~~ routespl.c:616:26: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((boxes[bi].LL.x == INT_MAX) || (boxes[bi].UR.x == INT_MIN)) { ^~ routespl.c:616:57: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((boxes[bi].LL.x == INT_MAX) || (boxes[bi].UR.x == INT_MIN)) { ^~ routespl.c: In function 'checkpath': routespl.c:737:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xy = ba->UR.x, ba->UR.x = bb->LL.x, bb->LL.x = xy, l = 0; ^~ routespl.c:739:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xy = ba->LL.x, ba->LL.x = bb->UR.x, bb->UR.x = xy, r = 0; ^~ routespl.c:741:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xy = ba->UR.y, ba->UR.y = bb->LL.y, bb->LL.y = xy, d = 0; ^~ routespl.c:743:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xy = ba->LL.y, ba->LL.y = bb->UR.y, bb->UR.y = xy, u = 0; ^~ routespl.c:746:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xy = (ba->UR.x + bb->LL.x) / 2.0 + 0.5, ba->UR.x = ^ routespl.c:749:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xy = (ba->LL.x + bb->UR.x) / 2.0 + 0.5, ba->LL.x = ^ routespl.c:752:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xy = (ba->UR.y + bb->LL.y) / 2.0 + 0.5, ba->UR.y = ^ routespl.c:755:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xy = (ba->LL.y + bb->UR.y) / 2.0 + 0.5, ba->LL.y = ^ routespl.c:764:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xoverlap = overlap(ba->LL.x, ba->UR.x, bb->LL.x, bb->UR.x); ^~ routespl.c:764:31: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xoverlap = overlap(ba->LL.x, ba->UR.x, bb->LL.x, bb->UR.x); ^~ routespl.c:764:41: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xoverlap = overlap(ba->LL.x, ba->UR.x, bb->LL.x, bb->UR.x); ^~ routespl.c:764:51: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] xoverlap = overlap(ba->LL.x, ba->UR.x, bb->LL.x, bb->UR.x); ^~ routespl.c:765:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] yoverlap = overlap(ba->LL.y, ba->UR.y, bb->LL.y, bb->UR.y); ^~ routespl.c:765:31: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] yoverlap = overlap(ba->LL.y, ba->UR.y, bb->LL.y, bb->UR.y); ^~ routespl.c:765:41: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] yoverlap = overlap(ba->LL.y, ba->UR.y, bb->LL.y, bb->UR.y); ^~ routespl.c:765:51: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] yoverlap = overlap(ba->LL.y, ba->UR.y, bb->LL.y, bb->UR.y); ^~ In file included from render.h:44:0, from routespl.c:16: routespl.c: In function 'mkspacep': memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ routespl.c:849:7: note: in expansion of macro 'RALLOC' ps = RALLOC(newmax, ps, pointf); ^~~~~~ routespl.c: In function 'bend': routespl.c:921:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (magV == 0) return; /* if midpoint == centroid, don't divide by zero */ ^~ routespl.c: In function 'makeStraightEdge': routespl.c:939:14: warning: declaration of 'edges' shadows a global declaration [-Wshadow] edge_t** edges; ^~~~~ routespl.c:41:17: note: shadowed declaration is here static Pedge_t *edges; /* polygon edges passed to Proutespline */ ^~~~~ routespl.c:940:13: warning: declaration of 'elist' shadows a global declaration [-Wshadow] edge_t* elist[MAX_EDGE]; ^~~~~ In file included from render.h:40:0, from routespl.c:16: types.h:253:7: note: shadowed declaration is here } elist; ^~~~~ In file included from render.h:44:0, from routespl.c:16: memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ routespl.c:950:10: note: in expansion of macro 'N_NEW' edges = N_NEW(e_cnt,edge_t*); ^~~~~ routespl.c: In function 'makeStraightEdges': routespl.c:962:41: warning: declaration of 'edges' shadows a global declaration [-Wshadow] makeStraightEdges(graph_t * g, edge_t** edges, int e_cnt, int et, splineInfo* sinfo) ^~~~~ routespl.c:41:17: note: shadowed declaration is here static Pedge_t *edges; /* polygon edges passed to Proutespline */ ^~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC postproc.lo postproc.c: In function 'translate_drawing': postproc.c:151:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] int shift = (Offset.x || Offset.y); ^~~~~~ postproc.c:151:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] int shift = (Offset.x || Offset.y); ^~ In file included from render.h:44:0, from postproc.c:15: postproc.c: In function 'addXLabels': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ postproc.c:478:19: note: in expansion of macro 'N_NEW' objp = objs = N_NEW(n_objs, object_t); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ postproc.c:479:18: note: in expansion of macro 'N_NEW' xlp = lbls = N_NEW(n_lbls, xlabel_t); ^~~~~ postproc.c: In function 'gv_postprocess': postproc.c:661:2: warning: switch missing default case [-Wswitch-default] switch (Rankdir) { ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC geom.lo geom.c: In function 'lineToBox': geom.c:116:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p.x == q.x) { ^~ geom.c:126:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (p.y == q.y) { ^~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC output.lo output.c: In function 'agputc': output.c:39:14: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] buf[0] = c; ^ output.c: In function 'writenodeandport': output.c:99:61: warning: declaration of 'port' shadows a global declaration [-Wshadow] static void writenodeandport(FILE * f, node_t * node, char *port) ^~~~ In file included from render.h:40:0, from output.c:14: types.h:83:7: note: shadowed declaration is here } port; ^~~~ output.c: In function 'attach_attrs_and_arrows': output.c:304:10: warning: declaration of 'i' shadows a previous local [-Wshadow] int i; ^ output.c:236:9: note: shadowed declaration is here int i, j, sides; ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC ns.lo In file included from render.h:44:0, from ns.c:19: ns.c: In function 'feasible_tree': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ns.c:502:10: note: in expansion of macro 'N_NEW' tree = N_NEW(N_nodes,subtree_t*); ^~~~~ ns.c: In function 'freeTreeList': ns.c:634:24: warning: unused parameter 'g' [-Wunused-parameter] freeTreeList (graph_t* g) ^ In file included from render.h:44:0, from ns.c:19: ns.c: In function 'TB_balance': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ns.c:677:13: note: in expansion of macro 'N_NEW' nrank = N_NEW(Maxrank + 1, int); ^~~~~ ns.c: In function 'init_graph': memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ns.c:730:22: note: in expansion of macro 'ALLOC' Tree_node.list = ALLOC(N_nodes, Tree_node.list, node_t *); ^~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ns.c:730:22: note: in expansion of macro 'ALLOC' Tree_node.list = ALLOC(N_nodes, Tree_node.list, node_t *); ^~~~~ memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ns.c:732:22: note: in expansion of macro 'ALLOC' Tree_edge.list = ALLOC(N_nodes, Tree_edge.list, edge_t *); ^~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ns.c:732:22: note: in expansion of macro 'ALLOC' Tree_edge.list = ALLOC(N_nodes, Tree_edge.list, edge_t *); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ns.c:746:23: note: in expansion of macro 'N_NEW' ND_tree_in(n).list = N_NEW(i + 1, edge_t *); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ns.c:749:24: note: in expansion of macro 'N_NEW' ND_tree_out(n).list = N_NEW(i + 1, edge_t *); ^~~~~ ns.c: At top level: ns.c:788:5: warning: no previous prototype for 'rank2' [-Wmissing-prototypes] int rank2(graph_t * g, int balance, int maxiter, int search_size) ^~~~~ ns.c:532:12: warning: 'ed_minlen' defined but not used [-Wunused-function] static int ed_minlen(Agedge_t *e) {return ED_minlen(e);} ^~~~~~~~~ ns.c:531:12: warning: 'nd_rank' defined but not used [-Wunused-function] static int nd_rank(Agnode_t *n) {return ND_rank(n);} ^~~~~~~ ns.c:530:12: warning: 'nd_priority' defined but not used [-Wunused-function] static int nd_priority(Agnode_t *n) {return ND_priority(n);} ^~~~~~~~~~~ ns.c:529:19: warning: 'nd_subtree' defined but not used [-Wunused-function] static subtree_t *nd_subtree(Agnode_t *n) {return ND_subtree(n);} ^~~~~~~~~~ ns.c: In function 'rank2': ns.c:790:9: warning: variable 'iter' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] int iter = 0, feasible; ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC taper.lo In file included from taper.c:24:0: taper.c: In function 'addto': ./memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ taper.c:53:16: note: in expansion of macro 'RALLOC' p->vertices = RALLOC(p->flags,p->vertices,pointf); ^~~~~~ taper.c: In function 'arcn': taper.c:66:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (r == 0) return; ^~ taper.c: In function 'myatan': taper.c:92:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((x == 0) && (y == 0)) ^~ taper.c:92:24: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((x == 0) && (y == 0)) ^~ In file included from taper.c:24:0: taper.c: In function 'insertArr': ./memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ taper.c:149:13: note: in expansion of macro 'RALLOC' arr->pts = RALLOC(arr->sz,arr->pts,pathpoint); ^~~~~~ taper.c: In function 'fixArr': ./memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ taper.c:176:13: note: in expansion of macro 'RALLOC' arr->pts = RALLOC(arr->cnt,arr->pts,pathpoint); ^~~~~~ taper.c: In function 'pathtolines': taper.c:196:51: warning: unused parameter 'initwid' [-Wunused-parameter] static vararr_t* pathtolines (bezier* bez, double initwid) ^~~~~~~ taper.c: At top level: taper.c:271:11: warning: no previous prototype for 'taper' [-Wmissing-prototypes] stroke_t* taper (bezier* bez, radfunc_t radfunc, double initwid, int linejoin, int linecap) ^~~~~ taper.c: In function 'taper': taper.c:292:6: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] l = mymod(i-1,pathcount); ^~~~~ taper.c:293:6: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] n = mymod(i+1,pathcount); ^~~~~ taper.c:339:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (cos(phi) == 0) { ^~ taper.c: At top level: taper.c:423:11: warning: no previous prototype for 'taper0' [-Wmissing-prototypes] stroke_t* taper0 (bezier* bez, double initwid) ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC splines.lo In file included from render.h:44:0, from splines.c:19: splines.c: In function 'new_spline': memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ splines.c:225:23: note: in expansion of macro 'ALLOC' ED_spl(e)->list = ALLOC(ED_spl(e)->size + 1, ED_spl(e)->list, bezier); ^~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ splines.c:225:23: note: in expansion of macro 'ALLOC' ED_spl(e)->list = ALLOC(ED_spl(e)->size + 1, ED_spl(e)->list, bezier); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ splines.c:227:16: note: in expansion of macro 'N_NEW' rv->list = N_NEW(sz, pointf); ^~~~~ splines.c: In function 'beginpath': splines.c:564:2: warning: switch missing default case [-Wswitch-default] switch (et) { ^~~~~~ splines.c: In function 'endpath': splines.c:760:2: warning: switch missing default case [-Wswitch-default] switch (et) { ^~~~~~ splines.c: In function 'selfBottom': splines.c:828:35: warning: variable 'width' set but not used [-Wunused-but-set-variable] double hy, ty, stepx, dx, dy, width, height; ^~~~~ splines.c: In function 'selfTop': splines.c:898:36: warning: variable 'width' set but not used [-Wunused-but-set-variable] double hy, ty, stepx, dx, dy, width, height; ^~~~~ splines.c: In function 'selfRight': splines.c:1033:24: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] case 65: if(tp.y == hp.y) ^~ splines.c:1005:42: warning: variable 'height' set but not used [-Wunused-but-set-variable] double hx, tx, stepy, dx, dy, width, height; ^~~~~~ splines.c: In function 'selfLeft': splines.c:1111:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if(tp.y == hp.y) ^~ splines.c:1080:42: warning: variable 'height' set but not used [-Wunused-but-set-variable] double hx, tx, stepy, dx, dy, width, height; ^~~~~~ splines.c: In function 'selfRightSpace': splines.c:1177:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] sw += label_width; ^~~~~~~~~~~ splines.c: In function 'makeSelfEdge': splines.c:1191:21: warning: unused parameter 'P' [-Wunused-parameter] makeSelfEdge(path * P, edge_t * edges[], int ind, int cnt, double sizex, ^ splines.c: In function 'addEdgeLabels': splines.c:1355:29: warning: unused parameter 'g' [-Wunused-parameter] void addEdgeLabels(graph_t* g, edge_t * e, pointf rp, pointf rq) ^ splines.c:1355:51: warning: unused parameter 'rp' [-Wunused-parameter] void addEdgeLabels(graph_t* g, edge_t * e, pointf rp, pointf rq) ^~ splines.c:1355:62: warning: unused parameter 'rq' [-Wunused-parameter] void addEdgeLabels(graph_t* g, edge_t * e, pointf rp, pointf rq) ^~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC htmltable.lo htmltable.c: In function 'doBorder': htmltable.c:267:2: warning: switch missing default case [-Wswitch-default] switch (sides) { ^~~~~~ htmltable.c: In function 'initAnchor': htmltable.c:388:30: warning: conversion to 'boolean {aka unsigned char}' from 'signed char:1' may change the sign of the result [-Wsign-conversion] save->explicit_tooltip = obj->explicit_tooltip; ^~~ htmltable.c: In function 'endAnchor': htmltable.c:443:29: warning: conversion to 'signed char:1' from 'boolean {aka unsigned char}' may alter its value [-Wconversion] obj->explicit_tooltip = save->explicit_tooltip; ^~~~ htmltable.c: In function 'emit_html_rules': htmltable.c:477:13: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] base = cp->parent->data.border + cp->parent->data.space / 2; ^~ htmltable.c:481:13: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] base = cp->parent->data.border + cp->parent->data.space / 2; ^~ htmltable.c:495:13: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] base = cp->parent->data.border + cp->parent->data.space / 2; ^~ htmltable.c:498:11: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] base *= 2; ^ htmltable.c:501:11: warning: conversion to 'unsigned char' from 'double' may alter its value [-Wfloat-conversion] base += (cp->parent->data.box.UR.x + pos.x) - (pts.UR.x + cp->parent->data.space / 2); ^ htmltable.c:505:13: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] base = cp->parent->data.border + cp->parent->data.space / 2; ^~ htmltable.c:512:11: warning: conversion to 'unsigned char' from 'double' may alter its value [-Wfloat-conversion] base += (cp->parent->data.box.UR.x + pos.x) - (pts.UR.x + cp->parent->data.space / 2); ^ htmltable.c: In function 'allocObj': htmltable.c:695:5: warning: switch missing default case [-Wswitch-default] switch (obj->type) { ^~~~~~ htmltable.c: In function 'heightOfLbl': htmltable.c:731:5: warning: switch missing default case [-Wswitch-default] switch (lp->kind) { ^~~~~~ htmltable.c: At top level: htmltable.c:831:6: warning: no previous prototype for 'free_html_img' [-Wmissing-prototypes] void free_html_img(htmlimg_t * ip) ^~~~~~~~~~~~~ htmltable.c: In function 'html_path': htmltable.c:959:24: warning: unused parameter 'n' [-Wunused-parameter] int html_path(node_t * n, port * p, int side, boxf * rv, int *k) ^ htmltable.c:959:34: warning: unused parameter 'p' [-Wunused-parameter] int html_path(node_t * n, port * p, int side, boxf * rv, int *k) ^ htmltable.c:959:41: warning: unused parameter 'side' [-Wunused-parameter] int html_path(node_t * n, port * p, int side, boxf * rv, int *k) ^~~~ htmltable.c:959:54: warning: unused parameter 'rv' [-Wunused-parameter] int html_path(node_t * n, port * p, int side, boxf * rv, int *k) ^~ htmltable.c:959:63: warning: unused parameter 'k' [-Wunused-parameter] int html_path(node_t * n, port * p, int side, boxf * rv, int *k) ^ htmltable.c: In function 'size_html_txt': htmltable.c:1044:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (prev_fsize == -1) ^~ htmltable.c:1046:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (tf.size != prev_fsize) { ^~ htmltable.c:1057:20: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ftxt->simple = simple; ^~~~~~ htmltable.c: In function 'size_html_cell': htmltable.c:1186:24: warning: conversion to 'unsigned char' from 'signed char' may change the sign of the result [-Wsign-conversion] cp->data.border = parent->cb; ^~~~~~ htmltable.c: In function 'processTbl': htmltable.c:1304:19: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cellp->row = r; ^ htmltable.c:1305:19: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cellp->col = c; ^ htmltable.c: At top level: htmltable.c:1336:6: warning: no previous prototype for 'sizeLinearArray' [-Wmissing-prototypes] void sizeLinearArray(htmltbl_t * tbl) ^~~~~~~~~~~~~~~ In file included from render.h:44:0, from htmltable.c:35: htmltable.c: In function 'sizeLinearArray': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ htmltable.c:1342:20: note: in expansion of macro 'N_NEW' tbl->heights = N_NEW(tbl->rc + 1, int); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ htmltable.c:1343:19: note: in expansion of macro 'N_NEW' tbl->widths = N_NEW(tbl->cc + 1, int); ^~~~~ htmltable.c:1348:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] ht = cp->data.box.UR.y; ^~ htmltable.c:1328:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define SPLIT(x,n,s) (((x) - ((s)-1)*((n)-1)) / (n)) ^ htmltable.c:1350:11: note: in expansion of macro 'SPLIT' ht = SPLIT(cp->data.box.UR.y, cp->rspan, tbl->data.space); ^~~~~ htmltable.c:1354:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] wd = cp->data.box.UR.x; ^~ htmltable.c:1328:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define SPLIT(x,n,s) (((x) - ((s)-1)*((n)-1)) / (n)) ^ htmltable.c:1356:11: note: in expansion of macro 'SPLIT' wd = SPLIT(cp->data.box.UR.x, cp->cspan, tbl->data.space); ^~~~~ htmltable.c: At top level: htmltable.c:1378:7: warning: no previous prototype for 'nToName' [-Wmissing-prototypes] char *nToName(int c) ^~~~~~~ htmltable.c: In function 'nToName': htmltable.c:1382:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (c < sizeof(nnames) / sizeof(char *)) ^ In file included from render.h:44:0, from htmltable.c:35: htmltable.c: In function 'checkChain': memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ htmltable.c:1419:6: note: in expansion of macro 'elist_append' elist_append(e, ND_out(t)); ^~~~~~~~~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ htmltable.c:1419:6: note: in expansion of macro 'elist_append' elist_append(e, ND_out(t)); ^~~~~~~~~~~~ memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ htmltable.c:1420:6: note: in expansion of macro 'elist_append' elist_append(e, ND_in(h)); ^~~~~~~~~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ htmltable.c:1420:6: note: in expansion of macro 'elist_append' elist_append(e, ND_in(h)); ^~~~~~~~~~~~ In file included from geom.h:20:0, from types.h:35, from render.h:40, from htmltable.c:35: htmltable.c: In function 'checkEdge': arith.h:43:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ htmltable.c:1437:17: note: in expansion of macro 'MAX' ED_minlen(e) = MAX(ED_minlen(e), sz); ^~~ htmltable.c:1441:17: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] ED_minlen(e) = sz; ^~ In file included from render.h:44:0, from htmltable.c:35: memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ htmltable.c:1442:2: note: in expansion of macro 'elist_append' elist_append(e, ND_out(t)); ^~~~~~~~~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ htmltable.c:1442:2: note: in expansion of macro 'elist_append' elist_append(e, ND_out(t)); ^~~~~~~~~~~~ memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ htmltable.c:1443:2: note: in expansion of macro 'elist_append' elist_append(e, ND_in(h)); ^~~~~~~~~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ htmltable.c:1443:2: note: in expansion of macro 'elist_append' elist_append(e, ND_in(h)); ^~~~~~~~~~~~ htmltable.c: At top level: htmltable.c:1456:6: warning: no previous prototype for 'makeGraphs' [-Wmissing-prototypes] void makeGraphs(htmltbl_t * tbl, graph_t * rowg, graph_t * colg) ^~~~~~~~~~ In file included from render.h:44:0, from htmltable.c:35: htmltable.c: In function 'makeGraphs': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ types.h:262:56: note: in expansion of macro 'N_NEW' #define alloc_elist(n,L) do {L.size = 0; L.list = N_NEW(n + 1,edge_t*); } while (0) ^~~~~ htmltable.c:1469:2: note: in expansion of macro 'alloc_elist' alloc_elist(tbl->rc, ND_in(t)); ^~~~~~~~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ types.h:262:56: note: in expansion of macro 'N_NEW' #define alloc_elist(n,L) do {L.size = 0; L.list = N_NEW(n + 1,edge_t*); } while (0) ^~~~~ htmltable.c:1470:2: note: in expansion of macro 'alloc_elist' alloc_elist(tbl->rc, ND_out(t)); ^~~~~~~~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ types.h:262:56: note: in expansion of macro 'N_NEW' #define alloc_elist(n,L) do {L.size = 0; L.list = N_NEW(n + 1,edge_t*); } while (0) ^~~~~ htmltable.c:1482:2: note: in expansion of macro 'alloc_elist' alloc_elist(tbl->cc, ND_in(t)); ^~~~~~~~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ types.h:262:56: note: in expansion of macro 'N_NEW' #define alloc_elist(n,L) do {L.size = 0; L.list = N_NEW(n + 1,edge_t*); } while (0) ^~~~~ htmltable.c:1483:2: note: in expansion of macro 'alloc_elist' alloc_elist(tbl->cc, ND_out(t)); ^~~~~~~~~~~ htmltable.c:1496:25: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] checkEdge (colg, t, h, cp->data.box.UR.x); ^~ htmltable.c:1500:25: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] checkEdge (rowg, t, h, cp->data.box.UR.y); ^~ htmltable.c: At top level: htmltable.c:1513:6: warning: no previous prototype for 'setSizes' [-Wmissing-prototypes] void setSizes(htmltbl_t * tbl, graph_t * rowg, graph_t * colg) ^~~~~~~~ htmltable.c:1541:6: warning: no previous prototype for 'sizeArray' [-Wmissing-prototypes] void sizeArray(htmltbl_t * tbl) ^~~~~~~~~ In file included from render.h:44:0, from htmltable.c:35: htmltable.c: In function 'sizeArray': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ htmltable.c:1557:20: note: in expansion of macro 'N_NEW' tbl->heights = N_NEW(tbl->rc + 1, int); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ htmltable.c:1558:19: note: in expansion of macro 'N_NEW' tbl->widths = N_NEW(tbl->cc + 1, int); ^~~~~ htmltable.c: In function 'pos_html_cell': htmltable.c:1645:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] cp->data.sides = sides; ^~~~~ htmltable.c:1660:6: warning: switch missing default case [-Wswitch-default] switch (cp->data.flags & HALIGN_MASK) { ^~~~~~ htmltable.c:1672:6: warning: switch missing default case [-Wswitch-default] switch (cp->data.flags & VALIGN_MASK) { ^~~~~~ htmltable.c: In function 'pos_html_tbl': htmltable.c:1759:13: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] oldsz = tbl->data.box.UR.x; ^~~ htmltable.c:1760:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] delx = (pos.UR.x - pos.LL.x) - oldsz; ^ htmltable.c:1762:13: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] oldsz = tbl->data.box.UR.y; ^~~ htmltable.c:1763:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] dely = (pos.UR.y - pos.LL.y) - oldsz; ^ htmltable.c:1803:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] x = pos.LL.x + tbl->data.border + tbl->data.space; ^~~ htmltable.c:1811:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] y = pos.UR.y - tbl->data.border - tbl->data.space; ^~~ htmltable.c:1839:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] tbl->data.sides = sides; ^~~~~ htmltable.c: In function 'nameOf': htmltable.c:1901:5: warning: switch missing default case [-Wswitch-default] switch (agobjkind(obj)) { ^~~~~~ htmltable.c: In function 'make_html_label': htmltable.c:2061:10: warning: declaration of 'box' shadows a global declaration [-Wshadow] boxf box; ^~~ In file included from types.h:35:0, from render.h:40, from htmltable.c:35: geom.h:33:34: note: shadowed declaration is here typedef struct { point LL, UR; } box; ^~~ htmltable.c:2068:5: warning: switch missing default case [-Wswitch-default] switch (agobjkind(obj)) { ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC utils.lo In file included from render.h:44:0, from utils.c:14: utils.c: In function 'new_queue': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ utils.c:37:36: note: in expansion of macro 'N_NEW' q->head = q->tail = q->store = N_NEW(sz, node_t *); ^~~~~ utils.c: In function 'late_int': utils.c:78:10: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] rv = strtol (p, &endp, 10); ^~~~~~ utils.c: In function 'get_inputscale': utils.c:115:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (d == 0) return POINTS_PER_INCH; ^~ utils.c: In function 'late_bool': utils.c:137:9: warning: conversion to 'boolean {aka unsigned char}' from 'int' may alter its value [-Wconversion] return def; ^~~ utils.c: In function 'Fgets': utils.c:290:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = grealloc(buf, bsize); ^~~~~ utils.c:295:6: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] len += strlen(lp); /* since lp != NULL, len > 0 */ ^~ utils.c:295:9: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len += strlen(lp); /* since lp != NULL, len > 0 */ ^~~~~~ In file included from render.h:44:0, from utils.c:14: utils.c: In function 'mkDirlist': memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ utils.c:345:9: note: in expansion of macro 'ALLOC' dirs = ALLOC (cnt+2,dirs,char*); ^~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ utils.c:345:9: note: in expansion of macro 'ALLOC' dirs = ALLOC (cnt+2,dirs,char*); ^~~~~ In file included from geom.h:20:0, from types.h:35, from render.h:40, from utils.c:14: arith.h:43:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ utils.c:347:11: note: in expansion of macro 'MAX' maxlen = MAX(maxlen, strlen (dir)); ^~~ arith.h:43:30: warning: signed and unsigned type in conditional expression [-Wsign-compare] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ utils.c:347:11: note: in expansion of macro 'MAX' maxlen = MAX(maxlen, strlen (dir)); ^~~ arith.h:43:30: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ utils.c:347:11: note: in expansion of macro 'MAX' maxlen = MAX(maxlen, strlen (dir)); ^~~ arith.h:43:18: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ utils.c:347:11: note: in expansion of macro 'MAX' maxlen = MAX(maxlen, strlen (dir)); ^~~ utils.c: In function 'findPath': utils.c:363:53: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] safefilename = realloc(safefilename, (maxdirlen + strlen(str) + 2)); ^ utils.c: In function 'mapBool': utils.c:464:9: warning: conversion to 'boolean {aka unsigned char}' from 'int' may alter its value [-Wconversion] return atoi(p); ^~~~~~~ utils.c: In function 'gvToggle': utils.c:607:19: warning: unused parameter 's' [-Wunused-parameter] void gvToggle(int s) ^ utils.c: In function 'common_init_node': utils.c:649:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] ND_showboxes(n) = late_int(n, N_showboxes, 0, 0); ^~~~~~~~ utils.c: In function 'common_init_edge': utils.c:728:6: warning: conversion to 'char' from 'boolean {aka unsigned char}' may change the sign of the result [-Wsign-conversion] mapbool(late_string(e, E_label_float, "false")); ^~~~~~~ utils.c: In function 'setAttr': utils.c:925:2: warning: switch missing default case [-Wswitch-default] switch (agobjkind(obj)) { ^~~~~~ utils.c: In function 'newItem': utils.c:1004:29: warning: unused parameter 'd' [-Wunused-parameter] static void *newItem(Dt_t * d, item * objp, Dtdisc_t * disc) ^ utils.c: In function 'freeItem': utils.c:1019:29: warning: unused parameter 'd' [-Wunused-parameter] static void freeItem(Dt_t * d, item * obj, Dtdisc_t * disc) ^ utils.c:1019:55: warning: unused parameter 'disc' [-Wunused-parameter] static void freeItem(Dt_t * d, item * obj, Dtdisc_t * disc) ^~~~ utils.c: In function 'comp_entities': utils.c:1310:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return strcmp(((struct entities_s *)e1)->name, ((struct entities_s *)e2)->name); ^ utils.c:1310:51: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return strcmp(((struct entities_s *)e1)->name, ((struct entities_s *)e2)->name); ^ utils.c: In function 'scanEntity': utils.c:1329:17: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] if (((len = endp-t) > MAXENTLEN) || (len < 2)) return t; ^~~~ utils.c:1330:22: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] strncpy (buf, t, len); ^~~ utils.c: In function 'htmlEntity': utils.c:1375:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] n = (n * 16) + byte; ^ utils.c:1375:7: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] n = (n * 16) + byte; ^ utils.c:1382:20: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] n = (n * 10) + (byte - '0'); ^ utils.c:1382:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] n = (n * 10) + (byte - '0'); ^ utils.c:1409:13: warning: conversion to 'char' from 'unsigned int' may alter its value [-Wconversion] *p++ = byte; ^~~~ utils.c: In function 'cvtAndAppend': utils.c:1424:14: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] buf[0] = c; ^ utils.c:1428:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen(s); ^~~~~~ utils.c:1431:9: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] c = *p; ^ utils.c: In function 'htmlEntityUTF8': utils.c:1488:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] v = htmlEntity (&s); ^~~~~~~~~~ utils.c:1491:8: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] c = v; ^ utils.c:1494:8: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] c = (v & 0x3F) | 0x80; ^ In file included from render.h:47:0, from utils.c:14: ../../lib/cgraph/agxbuf.h:67:92: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] #define agxbputc(X,C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), (void)(*(X)->ptr++ = ((unsigned char)C))) ^ utils.c:1498:4: note: in expansion of macro 'agxbputc' agxbputc(&xb, ((v >> 6) & 0x3F) | 0x80); ^~~~~~~~ utils.c:1499:8: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] c = (v & 0x3F) | 0x80; ^ utils.c: In function 'latin1ToUTF8': utils.c:1543:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] v = htmlEntity (&s); ^~~~~~~~~~ In file included from render.h:47:0, from utils.c:14: ../../lib/cgraph/agxbuf.h:67:92: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] #define agxbputc(X,C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), (void)(*(X)->ptr++ = ((unsigned char)C))) ^ utils.c:1550:6: note: in expansion of macro 'agxbputc' agxbputc(&xb, (v & 0x3F) | 0x80); ^~~~~~~~ ../../lib/cgraph/agxbuf.h:67:92: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] #define agxbputc(X,C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), (void)(*(X)->ptr++ = ((unsigned char)C))) ^ utils.c:1554:6: note: in expansion of macro 'agxbputc' agxbputc(&xb, ((v >> 6) & 0x3F) | 0x80); ^~~~~~~~ ../../lib/cgraph/agxbuf.h:67:92: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] #define agxbputc(X,C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), (void)(*(X)->ptr++ = ((unsigned char)C))) ^ utils.c:1555:6: note: in expansion of macro 'agxbputc' agxbputc(&xb, (v & 0x3F) | 0x80); ^~~~~~~~ utils.c: In function 'utf8ToLatin1': utils.c:1583:13: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] outc = (c & 0x03) << 6; ^ utils.c:1585:13: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] outc = outc | (c & 0x3F); ^~~~ utils.c: In function 'edgeType': utils.c:1687:5: warning: switch missing default case [-Wswitch-default] switch (*s) { ^~~~~~ utils.c: In function 'setEdgeType': utils.c:1782:20: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] GD_flags(g) |= et; ^~ utils.c: In function 'free_clust': utils.c:1987:31: warning: unused parameter 'dt' [-Wunused-parameter] static void free_clust (Dt_t* dt, clust_t* clp, Dtdisc_t* disc) ^~ utils.c:1987:59: warning: unused parameter 'disc' [-Wunused-parameter] static void free_clust (Dt_t* dt, clust_t* clp, Dtdisc_t* disc) ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC shapes.lo shapes.c:26:1: warning: missing initializer for field 'name' of 'port {aka struct port}' [-Wmissing-field-initializers] static port Center = { {0, 0}, -1, 0, 0, 0, 1, 0, 0, 0 }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:82:8: note: 'name' declared here char *name; /* port name, if it was explicitly given, otherwise NULL */ ^~~~ shapes.c:85:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_polygon = { FALSE, 1, 0, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:88:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_ellipse = { FALSE, 1, 1, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:89:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_circle = { TRUE, 1, 1, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:90:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_egg = { FALSE, 1, 1, 0., -.3, 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:91:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_triangle = { FALSE, 1, 3, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:92:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_box = { FALSE, 1, 4, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:93:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_square = { TRUE, 1, 4, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:94:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_plaintext = { FALSE, 0, 4, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:95:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_plain = { FALSE, 0, 4, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:96:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_diamond = { FALSE, 1, 4, 45., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:97:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_trapezium = { FALSE, 1, 4, 0., -.4, 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:98:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_parallelogram = { FALSE, 1, 4, 0., 0., .6 }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:99:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_house = { FALSE, 1, 5, 0., -.64, 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:100:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_pentagon = { FALSE, 1, 5, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:101:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_hexagon = { FALSE, 1, 6, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:102:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_septagon = { FALSE, 1, 7, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:103:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_octagon = { FALSE, 1, 8, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:104:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_note = { FALSE, 1, 4, 0., 0., 0., DOGEAR }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:105:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_tab = { FALSE, 1, 4, 0., 0., 0., TAB }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:106:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_folder = { FALSE, 1, 4, 0., 0., 0., FOLDER }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:107:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_box3d = { FALSE, 1, 4, 0., 0., 0., BOX3D }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:108:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_component = { FALSE, 1, 4, 0., 0., 0., COMPONENT }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:109:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_underline = { FALSE, 1, 4, 0., 0., 0., UNDERLINE }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:113:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_doublecircle = { TRUE, 2, 1, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:114:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_invtriangle = { FALSE, 1, 3, 180., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:115:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_invtrapezium = { FALSE, 1, 4, 180., -.4, 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:116:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_invhouse = { FALSE, 1, 5, 180., -.64, 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:117:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_doubleoctagon = { FALSE, 2, 8, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:118:1: warning: missing initializer for field 'option' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_tripleoctagon = { FALSE, 3, 8, 0., 0., 0. }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:148:6: note: 'option' declared here int option; /* ROUNDED, DIAGONAL corners, etc. */ ^~~~~~ shapes.c:120:5: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] { FALSE, 1, 4, 45., 0., 0., DIAGONALS | AUXLABELS }; ^ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:121:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_Msquare = { TRUE, 1, 4, 0., 0., 0., DIAGONALS }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:123:5: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] { TRUE, 1, 1, 0., 0., 0., DIAGONALS | AUXLABELS }; ^ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:130:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_promoter = { FALSE, 1, 4, 0., 0., 0., PROMOTER }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:131:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_cds = { FALSE, 1, 4, 0., 0., 0., CDS }; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:132:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_terminator = { FALSE, 1, 4, 0., 0., 0., TERMINATOR}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:133:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_utr = { FALSE, 1, 4, 0., 0., 0., UTR}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:134:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_insulator = { FALSE, 1, 4, 0., 0., 0., INSULATOR}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:135:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_ribosite = { FALSE, 1, 4, 0., 0., 0., RIBOSITE}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:136:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_rnastab = { FALSE, 1, 4, 0., 0., 0., RNASTAB}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:137:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_proteasesite = { FALSE, 1, 4, 0., 0., 0., PROTEASESITE}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:138:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_proteinstab = { FALSE, 1, 4, 0., 0., 0., PROTEINSTAB}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:140:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_primersite = { FALSE, 1, 4, 0., 0., 0., PRIMERSITE}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:141:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_restrictionsite = { FALSE, 1, 4, 0., 0., 0., RESTRICTIONSITE}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:142:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_fivepoverhang = { FALSE, 1, 4, 0., 0., 0., FIVEPOVERHANG}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:143:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_threepoverhang = { FALSE, 1, 4, 0., 0., 0., THREEPOVERHANG}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:144:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_noverhang = { FALSE, 1, 4, 0., 0., 0., NOVERHANG}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:145:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_assembly = { FALSE, 1, 4, 0., 0., 0., ASSEMBLY}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:146:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_signature = { FALSE, 1, 4, 0., 0., 0., SIGNATURE}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:147:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_rpromoter = { FALSE, 1, 4, 0., 0., 0., RPROMOTER}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:148:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_rarrow = { FALSE, 1, 4, 0., 0., 0., RARROW}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:149:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_larrow = { FALSE, 1, 4, 0., 0., 0., LARROW}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:150:1: warning: missing initializer for field 'vertices' of 'polygon_t {aka struct polygon_t}' [-Wmissing-field-initializers] static polygon_t p_lpromoter = { FALSE, 1, 4, 0., 0., 0., LPROMOTER}; ^~~~~~ In file included from render.h:40:0, from shapes.c:14: types.h:149:10: note: 'vertices' declared here pointf *vertices; /* array of vertex points */ ^~~~~~~~ shapes.c:234:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"box", &poly_fns, &p_box}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:235:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"polygon", &poly_fns, &p_polygon}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:236:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"ellipse", &poly_fns, &p_ellipse}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:237:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"oval", &poly_fns, &p_ellipse}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:238:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"circle", &poly_fns, &p_circle}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:239:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"point", &point_fns, &p_circle}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:240:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"egg", &poly_fns, &p_egg}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:241:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"triangle", &poly_fns, &p_triangle}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:242:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"none", &poly_fns, &p_plaintext}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:243:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"plaintext", &poly_fns, &p_plaintext}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:244:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"plain", &poly_fns, &p_plain}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:245:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"diamond", &poly_fns, &p_diamond}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:246:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"trapezium", &poly_fns, &p_trapezium}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:247:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"parallelogram", &poly_fns, &p_parallelogram}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:248:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"house", &poly_fns, &p_house}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:249:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"pentagon", &poly_fns, &p_pentagon}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:250:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"hexagon", &poly_fns, &p_hexagon}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:251:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"septagon", &poly_fns, &p_septagon}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:252:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"octagon", &poly_fns, &p_octagon}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:253:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"note", &poly_fns, &p_note}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:254:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"tab", &poly_fns, &p_tab}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:255:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"folder", &poly_fns, &p_folder}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:256:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"box3d", &poly_fns, &p_box3d}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:257:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"component", &poly_fns, &p_component}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:258:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"cylinder", &cylinder_fns, &p_cylinder}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:259:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"rect", &poly_fns, &p_box}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:260:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"rectangle", &poly_fns, &p_box}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:261:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"square", &poly_fns, &p_square}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:262:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"doublecircle", &poly_fns, &p_doublecircle}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:263:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"doubleoctagon", &poly_fns, &p_doubleoctagon}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:264:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"tripleoctagon", &poly_fns, &p_tripleoctagon}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:265:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"invtriangle", &poly_fns, &p_invtriangle}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:266:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"invtrapezium", &poly_fns, &p_invtrapezium}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:267:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"invhouse", &poly_fns, &p_invhouse}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:268:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"underline", &poly_fns, &p_underline}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:269:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"Mdiamond", &poly_fns, &p_Mdiamond}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:270:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"Msquare", &poly_fns, &p_Msquare}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:271:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"Mcircle", &poly_fns, &p_Mcircle}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:274:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"promoter", &poly_fns, &p_promoter}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:275:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"cds", &poly_fns, &p_cds}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:276:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"terminator", &poly_fns, &p_terminator}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:277:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"utr", &poly_fns, &p_utr}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:278:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"insulator", &poly_fns, &p_insulator}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:279:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"ribosite", &poly_fns, &p_ribosite}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:280:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"rnastab", &poly_fns, &p_rnastab}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:281:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"proteasesite", &poly_fns, &p_proteasesite}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:282:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"proteinstab", &poly_fns, &p_proteinstab}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:284:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"primersite", &poly_fns, &p_primersite}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:285:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"restrictionsite", &poly_fns, &p_restrictionsite}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:286:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"fivepoverhang", &poly_fns, &p_fivepoverhang}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:287:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"threepoverhang", &poly_fns, &p_threepoverhang}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:288:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"noverhang", &poly_fns, &p_noverhang}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:289:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"assembly", &poly_fns, &p_assembly}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:290:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"signature", &poly_fns, &p_signature}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:291:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"rpromoter", &poly_fns, &p_rpromoter}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:292:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"larrow", &poly_fns, &p_larrow}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:293:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"rarrow", &poly_fns, &p_rarrow}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:294:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"lpromoter", &poly_fns, &p_lpromoter}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:296:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"record", &record_fns, NULL}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:297:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"Mrecord", &record_fns, NULL}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:298:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"epsf", &epsf_fns, NULL}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:299:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {"star", &star_fns, &p_star}, ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c:300:5: warning: missing initializer for field 'usershape' of 'shape_desc {aka struct shape_desc}' [-Wmissing-field-initializers] {NULL, NULL, NULL} ^ In file included from render.h:40:0, from shapes.c:14: types.h:187:10: note: 'usershape' declared here boolean usershape; ^~~~~~~~~ shapes.c: In function 'quant': shapes.c:311:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] i = val / q; ^~~ shapes.c: In function 'isBox': shapes.c:386:78: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return (p->sides == 4 && (ROUND(p->orientation) % 90) == 0 && p->distortion == 0. && p->skew == 0.); ^~ shapes.c:386:95: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return (p->sides == 4 && (ROUND(p->orientation) % 90) == 0 && p->distortion == 0. && p->skew == 0.); ^~ In file included from render.h:44:0, from shapes.c:14: shapes.c: In function 'round_corners': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:534:9: note: in expansion of macro 'N_NEW' B = N_NEW(4 * sides + 4, pointf); ^~~~~ memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ shapes.c:581:8: note: in expansion of macro 'N_GNEW' pts = N_GNEW(6 * sides + 2, pointf); ^~~~~~ shapes.c:593:54: warning: conversion to 'boolean {aka unsigned char}' from 'int' may alter its value [-Wconversion] gvrender_beziercurve(job, pts+1, i-1, FALSE, FALSE, filled); ^~~~~~ In file included from render.h:44:0, from shapes.c:14: memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:632:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 1, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:665:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 2, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:698:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 3, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:716:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 2, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:754:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 8, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:819:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 5, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:865:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 1, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:900:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 4, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:947:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 2, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:989:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 1, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1029:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 4, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1082:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1095:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1133:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1146:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1186:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1199:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1212:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1225:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1269:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1282:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1323:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1370:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1422:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 12, pointf); //12-sided x ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1495:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 4, pointf); //12-sided x ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1553:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 12, pointf); //12-sided x ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1617:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 4, pointf); //12-sided x ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1669:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 5, pointf); /*5 new points*/ ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1709:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 3, pointf); /*3 new points*/ ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1743:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 3, pointf); /*3 new points*/ ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:1779:6: note: in expansion of macro 'N_NEW' D = N_NEW(sides + 5, pointf); /*3 new points*/ ^~~~~ shapes.c:579:5: warning: switch missing default case [-Wswitch-default] switch (mode) { ^~~~~~ shapes.c: In function 'poly_init': shapes.c:1977:38: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((sides <= 2) && ((distortion != 0.) || (skew != 0.))) { ^~ shapes.c:1977:54: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((sides <= 2) && ((distortion != 0.) || (skew != 0.))) { ^~ shapes.c:1989:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && distortion == 0. && skew == 0.); ^~ shapes.c:1989:35: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && distortion == 0. && skew == 0.); ^~ In file included from render.h:44:0, from shapes.c:14: memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:2077:13: note: in expansion of macro 'N_NEW' vertices = N_NEW(outp * sides, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:2112:13: note: in expansion of macro 'N_NEW' vertices = N_NEW(outp * sides, pointf); ^~~~~ shapes.c: In function 'poly_inside': shapes.c:2322:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (xsize == 0.0) ^~ shapes.c:2324:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ysize == 0.0) ^~ shapes.c: In function 'invflip_side': shapes.c:2415:2: warning: switch missing default case [-Wswitch-default] switch (side) { ^~~~~~ shapes.c:2431:2: warning: switch missing default case [-Wswitch-default] switch (side) { ^~~~~~ shapes.c:2399:5: warning: switch missing default case [-Wswitch-default] switch (rankdir) { ^~~~~~ shapes.c: In function 'invflip_angle': shapes.c:2464:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (angle == M_PI) ^~ shapes.c:2466:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (angle == M_PI * 0.75) ^~ shapes.c:2468:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (angle == M_PI * 0.5) ^~ shapes.c:2474:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (angle == 0) ^~ shapes.c:2476:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (angle == M_PI * -0.25) ^~ shapes.c:2478:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (angle == M_PI * -0.5) ^~ shapes.c:2454:5: warning: switch missing default case [-Wswitch-default] switch (rankdir) { ^~~~~~ shapes.c: In function 'compassPort': shapes.c:2712:13: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] pp->side = side; ^~~~ shapes.c:2714:13: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] pp->side = invflip_side(side, GD_rankdir(agraphof(n))); ^~~~~~~~~~~~ shapes.c:2718:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((p.x == 0) && (p.y == 0)) ^~ shapes.c:2718:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((p.x == 0) && (p.y == 0)) ^~ shapes.c:2725:14: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] pp->order = (int) ((MC_SCALE * angle) / (2 * M_PI)); ^ In file included from render.h:44:0, from shapes.c:14: shapes.c: In function 'poly_gencode': memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ shapes.c:2803:7: note: in expansion of macro 'ALLOC' AF = ALLOC(A_size, AF, pointf); ^~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ shapes.c:2803:7: note: in expansion of macro 'ALLOC' AF = ALLOC(A_size, AF, pointf); ^~~~~ shapes.c: In function 'point_init': shapes.c:3008:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((w == MAXDOUBLE) && (h == MAXDOUBLE)) /* neither defined */ ^~ shapes.c:3008:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((w == MAXDOUBLE) && (h == MAXDOUBLE)) /* neither defined */ ^~ In file included from render.h:44:0, from shapes.c:14: memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:3027:16: note: in expansion of macro 'N_NEW' vertices = N_NEW(outp * sides, pointf); ^~~~~ shapes.c: In function 'point_gencode': memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ shapes.c:3115:7: note: in expansion of macro 'ALLOC' AF = ALLOC(A_size, AF, pointf); ^~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ shapes.c:3115:7: note: in expansion of macro 'ALLOC' AF = ALLOC(A_size, AF, pointf); ^~~~~ shapes.c: In function 'parse_error': shapes.c:3217:49: warning: declaration of 'port' shadows a global declaration [-Wshadow] static field_t *parse_error(field_t * rv, char *port) ^~~~ In file included from render.h:40:0, from shapes.c:14: types.h:83:7: note: shadowed declaration is here } port; ^~~~ In file included from render.h:44:0, from shapes.c:14: shapes.c: In function 'parse_reclbl': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:3251:15: note: in expansion of macro 'N_NEW' rv->fld = N_NEW(maxf, field_t *); ^~~~~ shapes.c:3252:14: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] rv->LR = LR; ^~ shapes.c: In function 'pos_reclbl': shapes.c:3465:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] f->sides = sides; ^~~~~ shapes.c: At top level: shapes.c:3502:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG > 1 ^~~~~ shapes.c: In function 'record_init': shapes.c:3546:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen(reclblp); ^~~~~~ In file included from render.h:44:0, from shapes.c:14: memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ shapes.c:3551:15: note: in expansion of macro 'N_NEW' textbuf = N_NEW(len + 1, char); ^~~~~ shapes.c: In function 'record_path': shapes.c:3671:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] ls = info->fld[i]->b.LL.x; ^~~~ shapes.c:3672:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] rs = info->fld[i]->b.UR.x; ^~~~ shapes.c:3674:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] ls = info->fld[i]->b.LL.y; ^~~~ shapes.c:3675:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] rs = info->fld[i]->b.UR.y; ^~~~ In file included from render.h:44:0, from shapes.c:14: shapes.c: In function 'user_shape': memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ shapes.c:3822:17: note: in expansion of macro 'ALLOC' UserShape = ALLOC(N_UserShape, UserShape, shape_desc *); ^~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ shapes.c:3822:17: note: in expansion of macro 'ALLOC' UserShape = ALLOC(N_UserShape, UserShape, shape_desc *); ^~~~~ shapes.c: In function 'cylinder_draw': shapes.c:4076:56: warning: conversion to 'boolean {aka unsigned char}' from 'int' may alter its value [-Wconversion] gvrender_beziercurve(job, AF, sides, FALSE, FALSE, filled); ^~~~~~ shapes.c:4057:68: warning: unused parameter 'style' [-Wunused-parameter] static void cylinder_draw(GVJ_t * job, pointf * AF, int sides, int style, int filled) ^~~~~ shapes.c: In function 'cvtPt': shapes.c:4101:5: warning: switch missing default case [-Wswitch-default] switch (rankdir) { ^~~~~~ shapes.c: In function 'closestSide': shapes.c:4168:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.y = b.LL.y; ^ shapes.c:4169:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.x = (b.LL.x + b.UR.x) / 2; ^ shapes.c:4172:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.x = b.UR.x; ^ shapes.c:4173:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.y = (b.LL.y + b.UR.y) / 2; ^ shapes.c:4176:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.y = b.UR.y; ^ shapes.c:4177:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.x = (b.LL.x + b.UR.x) / 2; ^ shapes.c:4180:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.x = b.LL.x; ^ shapes.c:4181:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p.y = (b.LL.y + b.UR.y) / 2; ^ shapes.c:4166:2: warning: switch missing default case [-Wswitch-default] switch (i) { ^~~~~~ shapes.c: At top level: shapes.c:4217:6: warning: no previous prototype for 'gv_initShapes' [-Wmissing-prototypes] void gv_initShapes(void) ^~~~~~~~~~~~~ shapes.c: In function 'parse_reclbl': shapes.c:3331:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (*(reclblp + 1)) { ^ shapes.c:3343:2: note: here default: ^~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CC emit.lo In file included from render.h:40:0, from emit.c:23: emit.c: In function 'initMapData': types.h:26:16: warning: conversion to 'signed char:1' alters 'int' constant value [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:165:37: note: in expansion of macro 'TRUE' obj->explicit_tooltip = TRUE; ^~~~ emit.c: In function 'getObjId': emit.c:220:5: warning: switch missing default case [-Wswitch-default] switch (agobjkind(obj)) { ^~~~~~ In file included from render.h:44:0, from emit.c:23: emit.c: In function 'map_point': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:357:23: note: in expansion of macro 'N_NEW' obj->url_map_p = p = N_NEW(obj->url_map_n, pointf); ^~~~~ emit.c: In function 'parseSegs': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:498:22: note: in expansion of macro 'N_NEW' segs->segs = s = N_NEW(nseg+1,colorseg_t); ^~~~~ emit.c:513:20: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] s[cnum++].t = v; ^ emit.c:536:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (s[i].t == 0) nseg++; ^~ emit.c:541:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (s[i].t == 0) s[i].t = delta; ^~ emit.c:541:29: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] if (s[i].t == 0) s[i].t = delta; ^~~~~ emit.c:545:21: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] s[cnum-1].t += left; ^~~~ emit.c: In function 'wedgedEllipse': emit.c:595:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (s->t == 0) continue; ^~ emit.c: In function 'stripedBox': emit.c:655:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (s->t == 0) continue; ^~ In file included from render.h:44:0, from emit.c:23: emit.c: In function 'emit_map_rect': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:687:23: note: in expansion of macro 'N_NEW' obj->url_map_p = p = N_NEW(obj->url_map_n, pointf); ^~~~~ emit.c: In function 'map_label': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:713:23: note: in expansion of macro 'N_NEW' obj->url_map_p = p = N_NEW(obj->url_map_n, pointf); ^~~~~ emit.c: In function 'isRect': emit.c:730:30: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && p->distortion == 0.0 && p->skew == 0.0); ^~ emit.c:730:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && p->distortion == 0.0 && p->skew == 0.0); ^~ In file included from render.h:44:0, from emit.c:23: emit.c: In function 'pEllipse': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:766:10: note: in expansion of macro 'N_NEW' ps = N_NEW(np, pointf); ^~~~~ emit.c: At top level: emit.c:831:6: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if (DEBUG==2) ^~~~~ emit.c: In function 'map_bspline_poly': emit.c:871:45: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *pbs_n = grealloc(*pbs_n, (*pbs_poly_n) * sizeof(int)); ^ emit.c:873:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *pbs_p = grealloc(*pbs_p, (nump + 2*n) * sizeof(pointf)); ^ emit.c:879:6: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if (DEBUG==2) ^~~~~ emit.c: In function 'selectedLayer': emit.c:1065:2: warning: switch missing default case [-Wswitch-default] switch ((w0 != NULL) + (w1 != NULL)) { ^~~~~~ In file included from render.h:44:0, from emit.c:23: emit.c: In function 'parse_layerselect': memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ emit.c:1115:20: note: in expansion of macro 'N_GNEW' int* laylist = N_GNEW(gvc->numLayers+2,int); ^~~~~~ emit.c:1113:53: warning: unused parameter 'g' [-Wunused-parameter] static int* parse_layerselect(GVC_t *gvc, graph_t * g, char *p) ^ In file included from render.h:44:0, from emit.c:23: emit.c: In function 'parse_layers': memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ emit.c:1168:29: note: in expansion of macro 'ALLOC' gvc->layerIDs = ALLOC(sz, gvc->layerIDs, char *); ^~~~~ memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ emit.c:1168:29: note: in expansion of macro 'ALLOC' gvc->layerIDs = ALLOC(sz, gvc->layerIDs, char *); ^~~~~ memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ emit.c:1173:25: note: in expansion of macro 'RALLOC' gvc->layerIDs = RALLOC(ntok + 2, gvc->layerIDs, char *); /* shrink to minimum size */ ^~~~~~ emit.c: In function 'pagecode': emit.c:1285:5: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ In file included from geom.h:20:0, from types.h:35, from render.h:40, from emit.c:23: emit.c: In function 'init_job_pagination': arith.h:87:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ^ emit.c:1371:18: note: in expansion of macro 'ROUND' job->width = ROUND((pageSize.x + 2*margin.x) * job->dpi.x / POINTS_PER_INCH); ^~~~~ arith.h:87:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ^ emit.c:1371:18: note: in expansion of macro 'ROUND' job->width = ROUND((pageSize.x + 2*margin.x) * job->dpi.x / POINTS_PER_INCH); ^~~~~ arith.h:87:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ^ emit.c:1372:19: note: in expansion of macro 'ROUND' job->height = ROUND((pageSize.y + 2*margin.y) * job->dpi.y / POINTS_PER_INCH); ^~~~~ arith.h:87:25: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ^ emit.c:1372:19: note: in expansion of macro 'ROUND' job->height = ROUND((pageSize.y + 2*margin.y) * job->dpi.y / POINTS_PER_INCH); ^~~~~ In file included from render.h:44:0, from emit.c:23: emit.c: In function 'copyPts': memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ emit.c:1484:8: note: in expansion of macro 'RALLOC' pts = RALLOC(sz, pts, pointf); ^~~~~~ emit.c: In function 'emit_xdot': emit.c:1530:61: warning: conversion to 'boolean {aka unsigned char}' from 'int' may alter its value [-Wconversion] gvrender_beziercurve(job, pts, op->op.u.bezier.cnt, 0, 0, (op->op.kind == xd_filled_bezier?filled:0)); ^ emit.c:1564:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((p->x1 == p->x0) && (p->y1 == p->y0)) ^~ emit.c:1564:38: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((p->x1 == p->x0) && (p->y1 == p->y0)) ^~ emit.c:1508:2: warning: switch missing default case [-Wswitch-default] switch (op->op.kind) { ^~~~~~ emit.c: In function 'setup_page': emit.c:1665:47: warning: unused parameter 'g' [-Wunused-parameter] static void setup_page(GVJ_t * job, graph_t * g) ^ emit.c: In function 'edge_in_layer': emit.c:1758:52: warning: unused parameter 'g' [-Wunused-parameter] static boolean edge_in_layer(GVJ_t *job, graph_t * g, edge_t * e) ^ emit.c: In function 'node_in_box': emit.c:1798:12: warning: conversion to 'boolean {aka unsigned char}' from 'int' may alter its value [-Wconversion] return boxf_overlap(ND_bb(n), b); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from render.h:44:0, from emit.c:23: emit.c: In function 'emit_begin_node': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:1875:21: note: in expansion of macro 'N_NEW' p = N_NEW(nump, pointf); ^~~~~ emit.c:1879:52: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (poly->sides < 3 && poly->skew == 0.0 && poly->distortion == 0.0) { ^~ emit.c:1879:79: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (poly->sides < 3 && poly->skew == 0.0 && poly->distortion == 0.0) { ^~ In file included from render.h:44:0, from emit.c:23: memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:1883:25: note: in expansion of macro 'N_NEW' p = N_NEW(nump, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:1910:25: note: in expansion of macro 'N_NEW' p = N_NEW(nump, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:1917:25: note: in expansion of macro 'N_NEW' p = N_NEW(nump, pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:1931:17: note: in expansion of macro 'N_NEW' p = N_NEW(nump, pointf); ^~~~~ emit.c: In function 'emit_node': emit.c:1969:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ND_state(n) = gvc->common.viewNum; /* mark node as drawn */ ^~~ emit.c: In function 'default_pencolor': emit.c:2068:16: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] len = ncol * (strlen(deflt) + 1); ^ emit.c:2068:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = ncol * (strlen(deflt) + 1); ^~~~ emit.c:2071:21: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = realloc(buf, bufsz); ^~~~~ In file included from render.h:44:0, from emit.c:23: emit.c: In function 'splitBSpline': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:2117:12: note: in expansion of macro 'N_NEW' lens = N_NEW(cnt, double); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:2134:18: note: in expansion of macro 'N_NEW' left->list = N_NEW(left->size,pointf); ^~~~~ memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:2136:19: note: in expansion of macro 'N_NEW' right->list = N_NEW(right->size,pointf); ^~~~~ emit.c:2144:9: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] r = (len - (sum - last))/last; ^ emit.c: In function 'multicolor': emit.c:2205:23: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] splitBSpline (&bz0, (s->t)/(left+s->t), &bz_l, &bz_r); ^ emit.c: In function 'nonefunc': emit.c:2253:32: warning: unused parameter 'curlen' [-Wunused-parameter] static double nonefunc (double curlen, double totallen, double initwid) ^~~~~~ emit.c:2253:47: warning: unused parameter 'totallen' [-Wunused-parameter] static double nonefunc (double curlen, double totallen, double initwid) ^~~~~~~~ emit.c: In function 'emit_edge_graphics': emit.c:2377:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] offspl.list = malloc(sizeof(bezier) * offspl.size); ^ emit.c:2378:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tmpspl.list = malloc(sizeof(bezier) * tmpspl.size); ^ emit.c:2383:57: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] offlist = offspl.list[i].list = malloc(sizeof(pointf) * bz.size); ^ emit.c:2384:57: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tmplist = tmpspl.list[i].list = malloc(sizeof(pointf) * bz.size); ^ In file included from render.h:40:0, from emit.c:23: emit.c: In function 'emit_begin_edge': types.h:26:16: warning: conversion to 'signed char:1' alters 'int' constant value [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2540:26: note: in expansion of macro 'TRUE' obj->labeledgealigned = TRUE; ^~~~ types.h:26:16: warning: conversion to 'signed char:1' alters 'int' constant value [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2596:37: note: in expansion of macro 'TRUE' obj->explicit_tailurl = TRUE; ^~~~ types.h:26:16: warning: conversion to 'signed char:1' alters 'int' constant value [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2602:37: note: in expansion of macro 'TRUE' obj->explicit_headurl = TRUE; ^~~~ types.h:26:16: warning: conversion to 'signed char:1' alters 'int' constant value [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2612:33: note: in expansion of macro 'TRUE' obj->explicit_edgetarget = TRUE; ^~~~ types.h:26:16: warning: conversion to 'signed char:1' alters 'int' constant value [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2623:33: note: in expansion of macro 'TRUE' obj->explicit_tailtarget = TRUE; ^~~~ types.h:26:16: warning: conversion to 'signed char:1' alters 'int' constant value [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2628:33: note: in expansion of macro 'TRUE' obj->explicit_headtarget = TRUE; ^~~~ types.h:26:16: warning: conversion to 'signed char:1' alters 'int' constant value [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2641:30: note: in expansion of macro 'TRUE' obj->explicit_tooltip = TRUE; ^~~~ types.h:26:16: warning: conversion to 'signed char:1' alters 'int' constant value [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2650:35: note: in expansion of macro 'TRUE' obj->explicit_labeltooltip = TRUE; ^~~~ types.h:26:16: warning: conversion to 'signed char:1' alters 'int' constant value [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2659:34: note: in expansion of macro 'TRUE' obj->explicit_tailtooltip = TRUE; ^~~~ types.h:26:16: warning: conversion to 'signed char:1' alters 'int' constant value [-Wconversion] #define NOT(v) (!(v)) ^ types.h:32:14: note: in expansion of macro 'NOT' #define TRUE NOT(FALSE) ^~~ emit.c:2668:34: note: in expansion of macro 'TRUE' obj->explicit_headtooltip = TRUE; ^~~~ emit.c: In function 'nodeIntersect': emit.c:2770:38: warning: unused parameter 'itooltip' [-Wunused-parameter] boolean explicit_itooltip, char* itooltip, ^~~~~~~~ emit.c:2771:13: warning: unused parameter 'explicit_itarget' [-Wunused-parameter] boolean explicit_itarget, char* itarget) ^~~~~~~~~~~~~~~~ emit.c:2771:37: warning: unused parameter 'itarget' [-Wunused-parameter] boolean explicit_itarget, char* itarget) ^~~~~~~ emit.c: In function 'emit_end_edge': emit.c:2853:25: warning: conversion to 'boolean {aka unsigned char}' from 'signed char:1' may change the sign of the result [-Wsign-conversion] nodeIntersect (job, p, obj->explicit_tailurl, obj->tailurl, ^~~ emit.c:2854:6: warning: conversion to 'boolean {aka unsigned char}' from 'signed char:1' may change the sign of the result [-Wsign-conversion] obj->explicit_tailtooltip, obj->tailtooltip, ^~~ emit.c:2855:6: warning: conversion to 'boolean {aka unsigned char}' from 'signed char:1' may change the sign of the result [-Wsign-conversion] obj->explicit_tailtarget, obj->tailtarget); ^~~ emit.c:2863:25: warning: conversion to 'boolean {aka unsigned char}' from 'signed char:1' may change the sign of the result [-Wsign-conversion] nodeIntersect (job, p, obj->explicit_headurl, obj->headurl, ^~~ emit.c:2864:6: warning: conversion to 'boolean {aka unsigned char}' from 'signed char:1' may change the sign of the result [-Wsign-conversion] obj->explicit_headtooltip, obj->headtooltip, ^~~ emit.c:2865:6: warning: conversion to 'boolean {aka unsigned char}' from 'signed char:1' may change the sign of the result [-Wsign-conversion] obj->explicit_headtarget, obj->headtarget); ^~~ emit.c: In function 'textBB': emit.c:2979:5: warning: switch missing default case [-Wswitch-default] switch (span->just) { ^~~~~~ emit.c: In function 'xdotBB': emit.c:3022:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((bb.LL.x == bb.UR.x) && (bb.LL.y == bb.UR.y)) { ^~ emit.c:3022:42: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((bb.LL.x == bb.UR.x) && (bb.LL.y == bb.UR.y)) { ^~ emit.c:3059:17: warning: conversion to 'unsigned char:7' from 'int' may alter its value [-Wconversion] tf.flags = fontflags; ^~~~~~~~~ emit.c:3074:18: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] fontflags = op->op.u.fontchar; ^~ emit.c: In function 'init_job_dpi': emit.c:3200:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (GD_drawing(g)->dpi != 0) { ^~ emit.c: In function 'init_job_viewport': emit.c:3244:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (sz.x == 0) sz.x = size.x; ^~ emit.c:3245:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (sz.y == 0) sz.y = size.y; ^~ emit.c: In function 'emit_end_graph': emit.c:3462:51: warning: unused parameter 'g' [-Wunused-parameter] static void emit_end_graph(GVJ_t * job, graph_t * g) ^ In file included from render.h:44:0, from emit.c:23: emit.c: In function 'emit_page': memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ emit.c:3509:10: note: in expansion of macro 'N_NEW' p = N_NEW(nump, pointf); ^~~~~ emit.c: In function 'free_string_entry': emit.c:3603:40: warning: unused parameter 'dict' [-Wunused-parameter] static void free_string_entry(Dict_t * dict, char *key, Dtdisc_t * disc) ^~~~ emit.c:3603:68: warning: unused parameter 'disc' [-Wunused-parameter] static void free_string_entry(Dict_t * dict, char *key, Dtdisc_t * disc) ^~~~ emit.c: At top level: emit.c:3632:6: warning: no previous prototype for 'emit_once_reset' [-Wmissing-prototypes] void emit_once_reset(void) ^~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' CCLD libcommon_C.la make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' Making all in pack make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pack' CC ccomps.lo ccomps.c: In function 'markFn': ccomps.c:158:18: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ND_mark(n) = v; ^ ccomps.c: In function 'setPrefix': ccomps.c:173:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen(pfx); ^~~~~~ ccomps.c:177:39: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (!(name = (char *) gmalloc(len + 25))) return NULL; ^~~ In file included from ../../lib/common/render.h:44:0, from ccomps.c:17: ccomps.c: In function 'pccomps': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ ccomps.c:218:11: note: in expansion of macro 'N_GNEW' ccs = N_GNEW(bnd, Agraph_t *); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ ccomps.c:253:12: note: in expansion of macro 'RALLOC' ccs = RALLOC(bnd, ccs, Agraph_t *); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ ccomps.c:272:8: note: in expansion of macro 'RALLOC' ccs = RALLOC(c_cnt, ccs, Agraph_t *); ^~~~~~ ccomps.c: In function 'ccomps': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ ccomps.c:308:11: note: in expansion of macro 'N_GNEW' ccs = N_GNEW(bnd, Agraph_t *); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ ccomps.c:330:12: note: in expansion of macro 'RALLOC' ccs = RALLOC(bnd, ccs, Agraph_t *); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ ccomps.c:336:11: note: in expansion of macro 'RALLOC' ccs = RALLOC(c_cnt, ccs, Agraph_t *); ^~~~~~ ccomps.c: In function 'clMarkFn': ccomps.c:491:17: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] clMark(n) = v; ^ ccomps.c: At top level: ccomps.c:500:5: warning: no previous prototype for 'node_induce' [-Wmissing-prototypes] int node_induce(Agraph_t * g, Agraph_t* eg) ^~~~~~~~~~~ In file included from ../../lib/common/render.h:44:0, from ccomps.c:17: ccomps.c: In function 'cccomps': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ ccomps.c:638:11: note: in expansion of macro 'N_GNEW' ccs = N_GNEW(agnnodes(dg), Agraph_t *); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ ccomps.c:670:11: note: in expansion of macro 'RALLOC' ccs = RALLOC(c_cnt, ccs, Agraph_t *); ^~~~~~ ccomps.c:673:12: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] *ncc = c_cnt; ^~~~~ ccomps.c: In function 'pccomps': ccomps.c:198:9: warning: variable 'c_cnt' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] int c_cnt = 0; ^~~~~ ccomps.c:201:15: warning: variable 'out' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] Agraph_t *out = 0; ^~~ ccomps.c:205:9: warning: variable 'bnd' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] int bnd = 10; ^~~ ccomps.c:206:13: warning: variable 'pin' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] boolean pin = FALSE; ^~~ ccomps.c:210:9: warning: variable 'error' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] int error = 0; ^~~~~ ccomps.c: In function 'ccomps': ccomps.c:290:9: warning: variable 'c_cnt' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] int c_cnt = 0; ^~~~~ ccomps.c:297:9: warning: variable 'bnd' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] int bnd = 10; ^~~ ccomps.c: In function 'isConnected': ccomps.c:685:9: warning: variable 'ret' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] int ret = 1; ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pack' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pack' CC pack.lo pack.c: In function 'cmpf': pack.c:101:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ginfo *x = *(ginfo **) X; ^ pack.c:102:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ginfo *y = *(ginfo **) Y; ^ pack.c: At top level: pack.c:112:6: warning: no previous prototype for 'fillLine' [-Wmissing-prototypes] void fillLine(pointf p, pointf q, PointSet * ps) ^~~~~~~~ pack.c: In function 'genBox': pack.c:33:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] #define GRID(x,s) ((int)ceil((x)/(s))) ^ pack.c:251:9: note: in expansion of macro 'GRID' W = GRID(bb0.UR.x - bb0.LL.x + 2 * margin, ssize); ^~~~ pack.c:33:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] #define GRID(x,s) ((int)ceil((x)/(s))) ^ pack.c:252:9: note: in expansion of macro 'GRID' H = GRID(bb0.UR.y - bb0.LL.y + 2 * margin, ssize); ^~~~ pack.c: In function 'genPoly': pack.c:292:18: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] int margin = pinfo->margin; ^~~~~ In file included from ../../lib/common/render.h:44:0, from pack.c:22: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ pack.c:310:8: note: in expansion of macro 'N_GNEW' alg = N_GNEW(agnnodes(g), void *); ^~~~~~ pack.c:346:10: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] s2.x = margin + ND_xsize(n) / 2; ^~~~~~ pack.c:347:10: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] s2.y = margin + ND_ysize(n) / 2; ^~~~~~ pack.c:382:13: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] s2.x = margin + ND_xsize(n) / 2; ^~~~~~ pack.c:383:13: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] s2.y = margin + ND_ysize(n) / 2; ^~~~~~ pack.c:33:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] #define GRID(x,s) ((int)ceil((x)/(s))) ^ pack.c:401:9: note: in expansion of macro 'GRID' W = GRID(GD_bb(g).UR.x - GD_bb(g).LL.x + 2 * margin, ssize); ^~~~ pack.c:33:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] #define GRID(x,s) ((int)ceil((x)/(s))) ^ pack.c:402:9: note: in expansion of macro 'GRID' H = GRID(GD_bb(g).UR.y - GD_bb(g).LL.y + 2 * margin, ssize); ^~~~ pack.c: In function 'placeGraph': pack.c:33:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] #define GRID(x,s) ((int)ceil((x)/(s))) ^ pack.c:499:6: note: in expansion of macro 'GRID' W = GRID(bb.UR.x - bb.LL.x + 2 * margin, step); ^~~~ pack.c:33:20: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] #define GRID(x,s) ((int)ceil((x)/(s))) ^ pack.c:500:6: note: in expansion of macro 'GRID' H = GRID(bb.UR.y - bb.LL.y + 2 * margin, step); ^~~~ pack.c:507:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] W = ceil(bb.UR.x - bb.LL.x); ^~~~ pack.c:508:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] H = ceil(bb.UR.y - bb.LL.y); ^~~~ pack.c: In function 'ucmpf': pack.c:572:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ainfo* x = *(ainfo **) X; ^ pack.c:573:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ainfo* y = *(ainfo **) Y; ^ pack.c:575:14: warning: conversion to 'int' from 'packval_t {aka unsigned int}' may change the sign of the result [-Wsign-conversion] int dX = userVals[x->index]; ^~~~~~~~ pack.c:576:14: warning: conversion to 'int' from 'packval_t {aka unsigned int}' may change the sign of the result [-Wsign-conversion] int dY = userVals[y->index]; ^~~~~~~~ pack.c: In function 'acmpf': pack.c:587:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ainfo* x = *(ainfo **) X; ^ pack.c:588:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ainfo* y = *(ainfo **) Y; ^ In file included from ../../lib/common/render.h:44:0, from pack.c:22: pack.c: In function 'arrayRects': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pack.c:621:21: note: in expansion of macro 'N_NEW' point* places = N_NEW(ng, point); ^~~~~ pack.c:634:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] nr = ceil(sqrt(ng)); ^~~~ pack.c:645:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] nc = ceil(sqrt(ng)); ^~~~ In file included from ../../lib/common/render.h:44:0, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pack.c:651:14: note: in expansion of macro 'N_NEW' widths = N_NEW(nc+1, double); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pack.c:652:15: note: in expansion of macro 'N_NEW' heights = N_NEW(nr+1, double); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pack.c:654:17: note: in expansion of macro 'N_NEW' ip = info = N_NEW(ng, ainfo); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pack.c:662:13: note: in expansion of macro 'N_NEW' sinfo = N_NEW(ng, ainfo*); ^~~~~ pack.c:669:15: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(sinfo, ng, sizeof(ainfo *), ucmpf); ^~ pack.c:672:15: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(sinfo, ng, sizeof(ainfo *), acmpf); ^~ pack.c:708:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] places[idx].x = widths[c]; ^~~~~~ pack.c:710:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] places[idx].x = widths[c+1] - (bb.UR.x - bb.LL.x); ^~~~~~ pack.c:712:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] places[idx].x = (widths[c] + widths[c+1] - bb.UR.x - bb.LL.x)/2.0; ^ pack.c:714:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] places[idx].y = heights[r] - (bb.UR.y - bb.LL.y); ^~~~~~~ pack.c:716:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] places[idx].y = heights[r+1]; ^~~~~~~ pack.c:718:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] places[idx].y = (heights[r] + heights[r+1] - bb.UR.y - bb.LL.y)/2.0; ^ pack.c: In function 'polyRects': pack.c:741:36: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] stepSize = computeStep(ng, gs, pinfo->margin); ^~~~~ In file included from ../../lib/common/render.h:44:0, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pack.c:749:12: note: in expansion of macro 'N_NEW' info = N_NEW(ng, ginfo); ^~~~~ pack.c:752:36: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] genBox(gs[i], info + i, stepSize, pinfo->margin, center, ""); ^~~~~ In file included from ../../lib/common/render.h:44:0, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pack.c:756:13: note: in expansion of macro 'N_NEW' sinfo = N_NEW(ng, ginfo *); ^~~~~ pack.c:760:18: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(sinfo, ng, sizeof(ginfo *), cmpf); ^~ In file included from ../../lib/common/render.h:44:0, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pack.c:763:14: note: in expansion of macro 'N_NEW' places = N_NEW(ng, point); ^~~~~ pack.c:766:20: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] stepSize, pinfo->margin, gs); ^~~~~ In file included from ../../lib/common/render.h:44:0, from pack.c:22: pack.c: In function 'polyGraphs': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ pack.c:849:11: note: in expansion of macro 'N_GNEW' bbs = N_GNEW(ng, boxf); ^~~~~~ pack.c:852:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] stepSize = computeStep(ng, bbs, pinfo->margin); ^~~~~ In file included from ../../lib/common/render.h:44:0, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pack.c:864:12: note: in expansion of macro 'N_NEW' info = N_NEW(ng, ginfo); ^~~~~ pack.c:869:43: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] genBox(GD_bb(g), info + i, stepSize, pinfo->margin, center, agnameof(g)); ^~~~~ In file included from ../../lib/common/render.h:44:0, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pack.c:876:13: note: in expansion of macro 'N_NEW' sinfo = N_NEW(ng, ginfo *); ^~~~~ pack.c:880:18: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(sinfo, ng, sizeof(ginfo *), cmpf); ^~ In file included from ../../lib/common/render.h:44:0, from pack.c:22: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pack.c:883:14: note: in expansion of macro 'N_NEW' places = N_NEW(ng, point); ^~~~~ pack.c:893:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] stepSize, pinfo->margin, bbs); ^~~~~ pack.c:898:20: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] stepSize, pinfo->margin, bbs); ^~~~~ In file included from ../../lib/common/render.h:44:0, from pack.c:22: pack.c: In function 'putGraphs': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ pack.c:930:11: note: in expansion of macro 'N_GNEW' bbs = N_GNEW(ng, boxf); ^~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ pack.c:940:20: note: in expansion of macro 'N_NEW' pinfo->vals = N_NEW(ng, packval_t); ^~~~~ pack.c:944:24: warning: conversion to 'packval_t {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] pinfo->vals[i] = v; ^ pack.c: In function 'parsePackModeInfo': pack.c:1298:2: warning: switch missing default case [-Wswitch-default] switch (*p) { ^~~~~~ pack.c: In function 'getPackInfo': pack.c:1402:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pinfo->margin = getPack(g, dfltMargin, dfltMargin); ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pack' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pack' CCLD libpack_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pack' Making all in xdot make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/xdot' CC xdot.lo xdot.c: In function 'agxbmore': xdot.c:54:12: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] size = xb->eptr - xb->buf; ^~ xdot.c:56:14: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (size + ssz > nsize) ^ xdot.c:56:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (size + ssz > nsize) ^ xdot.c:57:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] nsize = size + ssz; ^ xdot.c:57:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] nsize = size + ssz; ^~~~ xdot.c:58:11: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] cnt = xb->ptr - xb->buf; ^~ xdot.c:60:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] nbuf = realloc(xb->buf, nsize); ^~~~~ xdot.c:19:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n), sizeof(t)) ^ xdot.c:62:9: note: in expansion of macro 'N_NEW' nbuf = N_NEW(nsize, unsigned char); ^~~~~ xdot.c:63:24: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] memcpy(nbuf, xb->buf, cnt); ^~~ xdot.c: In function 'agxbput': xdot.c:74:24: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] unsigned int ssz = strlen(s); ^~~~~~ xdot.c:79:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] return ssz; ^~~ xdot.c: In function 'parsePolyline': xdot.c:19:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n), sizeof(t)) ^ xdot.c:191:16: note: in expansion of macro 'N_NEW' pts = ps = N_NEW(i, xdot_point); ^~~~~ xdot.c: In function 'parseString': xdot.c:19:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n), sizeof(t)) ^ xdot.c:227:9: note: in expansion of macro 'N_NEW' c = N_NEW(i + 1, char); ^~~~~ xdot.c: In function 'parseXDotFOn': xdot.c:446:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (sz <= sizeof(xdot_op)) ^~ xdot.c:457:33: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] ops = (char *) calloc(XDBSIZE, sz); ^~ xdot.c:462:30: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] ops = (char *) realloc(ops, bufsz * sz); ^~~~~ xdot.c:463:35: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] memset(ops + (initcnt*sz), '\0', (bufsz - initcnt)*sz); ^ xdot.c:470:34: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] ops = (char *) realloc(ops, bufsz * sz); ^~~~~ xdot.c:471:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] memset(ops + (oldsz*sz), '\0', (bufsz - oldsz)*sz); ^ xdot.c:479:36: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] x->ops = (xdot_op *) realloc(ops, x->cnt * sz); ^ xdot.c: In function 'printAlign': xdot.c:589:5: warning: switch missing default case [-Wswitch-default] switch (a) { ^~~~~~ xdot.c: In function 'toGradString': xdot.c:616:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] printFloat (cp->u.ling.x0, gradprint, xb, 0); ^~ xdot.c:617:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] printFloat (cp->u.ling.y0, gradprint, xb, 1); ^~ xdot.c:618:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] printFloat (cp->u.ling.x1, gradprint, xb, 1); ^~ xdot.c:619:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] printFloat (cp->u.ling.y1, gradprint, xb, 1); ^~ xdot.c:625:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] printFloat (cp->u.ring.x0, gradprint, xb, 0); ^~ xdot.c:626:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] printFloat (cp->u.ring.y0, gradprint, xb, 1); ^~ xdot.c:627:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] printFloat (cp->u.ring.r0, gradprint, xb, 1); ^~ xdot.c:628:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] printFloat (cp->u.ring.x1, gradprint, xb, 1); ^~ xdot.c:629:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] printFloat (cp->u.ring.y1, gradprint, xb, 1); ^~ xdot.c:630:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] printFloat (cp->u.ring.r1, gradprint, xb, 1); ^~ xdot.c: In function 'printXDot_Op': xdot.c:703:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] printInt(op->u.text.x, print, info); ^~ xdot.c:704:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] printInt(op->u.text.y, print, info); ^~ xdot.c:706:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] printInt(op->u.text.width, print, info); ^~ xdot.c:711:13: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] printFloat(op->u.font.size, print, info, 1); ^~ xdot.c:716:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] printInt(op->u.fontchar, print, info); ^~ xdot.c:654:5: warning: switch missing default case [-Wswitch-default] switch (op->kind) { ^~~~~~ xdot.c: In function 'jsonString': xdot.c:762:17: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] while ((c = *p++)) { ^ xdot.c: In function 'jsonXDot_Op': xdot.c:828:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] printInt(op->u.text.x, print, info); ^~ xdot.c:830:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] printInt(op->u.text.y, print, info); ^~ xdot.c:834:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] printInt(op->u.text.width, print, info); ^~ xdot.c:842:13: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] printFloat(op->u.font.size, print, info, 1); ^~ xdot.c:849:11: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] printInt(op->u.fontchar, print, info); ^~ xdot.c:779:5: warning: switch missing default case [-Wswitch-default] switch (op->kind) { ^~~~~~ xdot.c: At top level: xdot.c:1026:1: warning: no previous prototype for 'colorType' [-Wmissing-prototypes] colorType (char* cp) ^~~~~~~~~ xdot.c: In function 'radGradient': xdot.c:19:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n), sizeof(t)) ^ xdot.c:1074:13: note: in expansion of macro 'N_NEW' stops = N_NEW(clr->u.ring.n_stops,xdot_color_stop); ^~~~~ xdot.c:1078:18: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] stops[i].frac = d; ^ xdot.c: In function 'linGradient': xdot.c:19:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n), sizeof(t)) ^ xdot.c:1111:13: note: in expansion of macro 'N_NEW' stops = N_NEW(clr->u.ling.n_stops,xdot_color_stop); ^~~~~ xdot.c:1115:18: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] stops[i].frac = d; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/xdot' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/xdot' CCLD libxdot_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/xdot' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/xdot' CCLD libxdot.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/xdot' Making all in label make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' CC rectangle.lo rectangle.c: In function 'RectArea': rectangle.c:138:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] long long a_test = area * r->boundary[i + NUMDIMS] - r->boundary[i]; ^ rectangle.c:138:58: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] long long a_test = area * r->boundary[i + NUMDIMS] - r->boundary[i]; ^ rectangle.c:143:14: warning: conversion to 'unsigned int' from 'long long int' may alter its value [-Wconversion] area = a_test; ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' CC split.q.lo split.q.c: In function 'SplitNode': split.q.c:76:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] area = RectArea(&p->cover[0]) + RectArea(&p->cover[1]); ^~~~~~~~ split.q.c:80:58: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] rtp->SplitMeritSum += (float) rtp->split.CoverSplitArea / area; ^ split.q.c: In function 'MethodZero': split.q.c:169:23: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] RectArea(&rect) - rtp->split.Partitions[0].area[0]; ^ split.q.c:169:7: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] RectArea(&rect) - rtp->split.Partitions[0].area[0]; ^~~~~~~~ split.q.c:172:23: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] RectArea(&rect) - rtp->split.Partitions[0].area[1]; ^ split.q.c:172:7: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] RectArea(&rect) - rtp->split.Partitions[0].area[1]; ^~~~~~~~ split.q.c: In function 'Classify': split.q.c:270:2: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] RectArea(&rtp->split.Partitions[0].cover[group]); ^~~~~~~~ split.q.c: In function 'LoadNodes': split.q.c:294:31: warning: unused parameter 'p' [-Wunused-parameter] struct PartitionVars *p) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' CC node.lo node.c: In function 'PickBranch': node.c:131:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] area = RectArea(rr); ^~~~~~~~ node.c:134:33: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] increase = RectArea(&rect) - area; ^ node.c:134:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] increase = RectArea(&rect) - area; ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' CC index.lo index.c:63:5: warning: "UNUSED" is not defined, evaluates to 0 [-Wundef] #if UNUSED ^~~~~~ index.c: In function 'RTreeReInsert': index.c:73:36: warning: unused parameter 'rtp' [-Wunused-parameter] static int RTreeReInsert(RTree_t * rtp, Node_t * n, struct ListNode **ee) ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' CC xlabels.lo xlabels.c: In function 'icompare': xlabels.c:32:28: warning: unused parameter 'dt' [-Wunused-parameter] static int icompare(Dt_t * dt, void * v1, void * v2, Dtdisc_t * disc) ^~ xlabels.c:32:65: warning: unused parameter 'disc' [-Wunused-parameter] static int icompare(Dt_t * dt, void * v1, void * v2, Dtdisc_t * disc) ^~~~ xlabels.c: At top level: xlabels.c:122:14: warning: no previous prototype for 'xlhorder' [-Wmissing-prototypes] unsigned int xlhorder(XLabels_t * xlp) ^~~~~~~~ xlabels.c: In function 'xlhorder': xlabels.c:125:22: warning: conversion to 'unsigned int' from 'double' may alter its value [-Wfloat-conversion] return floorLog2(maxx > maxy ? maxx : maxy) + 1; ^~~~ xlabels.c:125:22: warning: conversion to 'unsigned int' from 'double' may alter its value [-Wfloat-conversion] xlabels.c:125:49: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] return floorLog2(maxx > maxy ? maxx : maxy) + 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ xlabels.c: In function 'hd_hil_s_from_xy': xlabels.c:169:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] s = 4 * s + 2 * xi + (xi ^ yi); /* Append two bits to s. */ ^ xlabels.c:169:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] s = 4 * s + 2 * xi + (xi ^ yi); /* Append two bits to s. */ ^ xlabels.c: In function 'objp2rect': xlabels.c:232:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r->boundary[0] = op->pos.x; ^~ xlabels.c:233:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r->boundary[1] = op->pos.y; ^~ xlabels.c:234:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r->boundary[2] = op->pos.x + op->sz.x; ^~ xlabels.c:235:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r->boundary[3] = op->pos.y + op->sz.y; ^~ xlabels.c: In function 'objplp2rect': xlabels.c:243:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r->boundary[0] = lp->pos.x; ^~ xlabels.c:244:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r->boundary[1] = lp->pos.y; ^~ xlabels.c:245:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r->boundary[2] = lp->pos.x + lp->sz.x; ^~ xlabels.c:246:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r->boundary[3] = lp->pos.y + lp->sz.y; ^~ xlabels.c: In function 'objplpmks': xlabels.c:260:24: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] rect.boundary[0] = (int) floor(objp->pos.x - p.x); ^ xlabels.c:261:24: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] rect.boundary[1] = (int) floor(objp->pos.y - p.y); ^ xlabels.c:263:24: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] rect.boundary[2] = (int) ceil(objp->pos.x + objp->sz.x + p.x); ^ xlabels.c:265:24: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] rect.boundary[3] = (int) ceil(objp->pos.y + objp->sz.y + p.y); ^ xlabels.c:251:37: warning: unused parameter 'xlp' [-Wunused-parameter] static Rect_t objplpmks(XLabels_t * xlp, object_t * objp) ^~~ xlabels.c: In function 'getintrsxi': xlabels.c:280:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((op->pos.x == 0.0 && op->pos.y == 0.0) || ^~ xlabels.c:280:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((op->pos.x == 0.0 && op->pos.y == 0.0) || ^~ xlabels.c:281:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (cp->pos.x == 0.0 && cp->pos.y == 0.0)) ^~ xlabels.c:281:33: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (cp->pos.x == 0.0 && cp->pos.y == 0.0)) ^~ xlabels.c:272:35: warning: unused parameter 'xlp' [-Wunused-parameter] static int getintrsxi(XLabels_t * xlp, object_t * op, object_t * cp) ^~~ xlabels.c: In function 'xlhdxload': xlabels.c:581:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] int order = xlhorder(xlp); ^~~~~~~~ xlabels.c:597:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] hp->key = hd_hil_s_from_xy(pi, order); ^~~~~~~~~~~~~~~~ xlabels.c: In function 'xlhdxunload': xlabels.c:613:7: warning: unused variable 'size' [-Wunused-variable] int size=dtsize(xlp->hdx), freed=0; ^~~~ xlabels.c: In function 'placeLabels': xlabels.c:680:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if(bp.area == 0) { ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' CCLD liblabel_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' Making all in gvc make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvlayout.lo gvlayout.c: In function 'gvFreeLayout': gvlayout.c:102:26: warning: unused parameter 'gvc' [-Wunused-parameter] int gvFreeLayout(GVC_t * gvc, Agraph_t * g) ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvloadimage.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvcontext.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvjobs.lo gvjobs.c: In function 'gv_argvlist_set_item': gvjobs.c:114:49: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] list->argv = grealloc(list->argv, (list->alloc)*(sizeof(char*))); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvtextlayout.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvevent.lo gvevent.c: In function 'gvevent_leave_obj': gvevent.c:230:37: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] GD_gui_state((graph_t*)obj) &= ~GUI_STATE_ACTIVE; ^ gvevent.c:233:36: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] ND_gui_state((node_t*)obj) &= ~GUI_STATE_ACTIVE; ^ gvevent.c:236:36: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] ED_gui_state((edge_t*)obj) &= ~GUI_STATE_ACTIVE; ^ gvevent.c:228:9: warning: switch missing default case [-Wswitch-default] switch (agobjkind(obj)) { ^~~~~~ gvevent.c: In function 'gvevent_enter_obj': gvevent.c:257:9: warning: switch missing default case [-Wswitch-default] switch (agobjkind(obj)) { ^~~~~~ gvevent.c: In function 'gvevent_select_current_obj': gvevent.c:337:37: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] GD_gui_state((graph_t*)obj) &= ~GUI_STATE_SELECTED; ^ gvevent.c:341:36: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] ND_gui_state((node_t*)obj) &= ~GUI_STATE_SELECTED; ^ gvevent.c:345:36: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] ED_gui_state((edge_t*)obj) &= ~GUI_STATE_SELECTED; ^ gvevent.c:334:9: warning: switch missing default case [-Wswitch-default] switch (agobjkind(obj)) { ^~~~~~ gvevent.c:357:9: warning: switch missing default case [-Wswitch-default] switch (agobjkind(obj)) { ^~~~~~ gvevent.c: In function 'gvevent_button_press': gvevent.c:390:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] job->button = button; ^~~~~~ gvevent.c:395:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] job->button = button; ^~~~~~ gvevent.c:401:16: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] job->button = button; ^~~~~~ gvevent.c:385:5: warning: switch missing default case [-Wswitch-default] switch (button) { ^~~~~~ gvevent.c: In function 'gvevent_button_release': gvevent.c:444:52: warning: unused parameter 'button' [-Wunused-parameter] static void gvevent_button_release(GVJ_t *job, int button, pointf pointer) ^~~~~~ gvevent.c:444:67: warning: unused parameter 'pointer' [-Wunused-parameter] static void gvevent_button_release(GVJ_t *job, int button, pointf pointer) ^~~~~~~ gvevent.c: In function 'gvevent_motion': gvevent.c:459:5: warning: switch missing default case [-Wswitch-default] switch (job->button) { ^~~~~~ gvevent.c: In function 'quit_cb': gvevent.c:483:28: warning: unused parameter 'job' [-Wunused-parameter] static int quit_cb(GVJ_t * job) ^~~ gvevent.c: In function 'toggle_fit_cb': gvevent.c:548:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] dflt_width = job->width; ^~~ gvevent.c:549:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] dflt_height = job->height; ^~~ gvevent.c: In function 'gvevent_modify': gvevent.c:560:37: warning: unused parameter 'job' [-Wunused-parameter] static void gvevent_modify (GVJ_t * job, const char *name, const char *value) ^~~ gvevent.c:560:54: warning: unused parameter 'name' [-Wunused-parameter] static void gvevent_modify (GVJ_t * job, const char *name, const char *value) ^~~~ gvevent.c:560:72: warning: unused parameter 'value' [-Wunused-parameter] static void gvevent_modify (GVJ_t * job, const char *name, const char *value) ^~~~~ gvevent.c: In function 'gvevent_delete': gvevent.c:565:37: warning: unused parameter 'job' [-Wunused-parameter] static void gvevent_delete (GVJ_t * job) ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvtool_tred.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvrender.lo gvrender.c: In function 'gvrender_ptf_A': gvrender.c:161:59: warning: declaration of 'AF' shadows a global declaration [-Wshadow] pointf *gvrender_ptf_A(GVJ_t * job, pointf * af, pointf * AF, int n) ^~ gvrender.c:43:16: note: shadowed declaration is here static pointf *AF; ^~ gvrender.c: In function 'gvrender_resolve_color': gvrender.c:198:32: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] (tok, features->knowncolors, features->sz_knowncolors, ^~~~~~~~ gvrender.c: In function 'gvrender_begin_graph': gvrender.c:216:50: warning: unused parameter 'g' [-Wunused-parameter] void gvrender_begin_graph(GVJ_t * job, graph_t * g) ^ gvrender.c: In function 'gvrender_begin_cluster': gvrender.c:292:52: warning: unused parameter 'sg' [-Wunused-parameter] void gvrender_begin_cluster(GVJ_t * job, graph_t * sg) ^~ gvrender.c: In function 'gvrender_end_cluster': gvrender.c:302:50: warning: unused parameter 'g' [-Wunused-parameter] void gvrender_end_cluster(GVJ_t * job, graph_t * g) ^ gvrender.c: In function 'gvrender_begin_node': gvrender.c:352:48: warning: unused parameter 'n' [-Wunused-parameter] void gvrender_begin_node(GVJ_t * job, node_t * n) ^ gvrender.c: In function 'gvrender_begin_edge': gvrender.c:372:48: warning: unused parameter 'e' [-Wunused-parameter] void gvrender_begin_edge(GVJ_t * job, edge_t * e) ^ gvrender.c: In function 'gvrender_ellipse': gvrender.c:539:53: warning: unused parameter 'n' [-Wunused-parameter] void gvrender_ellipse(GVJ_t * job, pointf * pf, int n, int filled) ^ gvrender.c: In function 'gvrender_polygon': gvrender.c:579:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] AF = grealloc(AF, sizeAF * sizeof(pointf)); ^ gvrender.c: In function 'gvrender_beziercurve': gvrender.c:619:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] AF = grealloc(AF, sizeAF * sizeof(pointf)); ^ gvrender.c: In function 'gvrender_polyline': gvrender.c:640:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] AF = grealloc(AF, sizeAF * sizeof(pointf)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvdevice.lo gvdevice.c:45:11: warning: conversion to 'char' alters 'int' constant value [-Wconversion] {0x1f, 0x8b, /*magic*/ Z_DEFLATED, 0 /*flags*/, 0,0,0,0 /*time*/, 0 /*xflags*/, OS_CODE}; ^~~~ gvdevice.c: In function 'gvwrite_no_z': gvdevice.c:67:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (job->gvc->write_fn)(job, (char*)s, len); ^ gvdevice.c:71:72: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] job->output_data_allocated = (job->output_data_position + len + 1 + PAGE_ALIGN) & ~PAGE_ALIGN; ^ gvdevice.c:71:86: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] job->output_data_allocated = (job->output_data_position + len + 1 + PAGE_ALIGN) & ~PAGE_ALIGN; ^ gvdevice.c:71:35: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] job->output_data_allocated = (job->output_data_position + len + 1 + PAGE_ALIGN) & ~PAGE_ALIGN; ^ gvdevice.c:79:38: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] job->output_data_position += len; ^~~ gvdevice.c: In function 'gvwrite': gvdevice.c:212:31: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] dfallocated = (dflen + 1 + PAGE_ALIGN) & ~PAGE_ALIGN; ^ gvdevice.c:212:45: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] dfallocated = (dflen + 1 + PAGE_ALIGN) & ~PAGE_ALIGN; ^ gvdevice.c:212:20: warning: conversion to 'unsigned int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] dfallocated = (dflen + 1 + PAGE_ALIGN) & ~PAGE_ALIGN; ^ gvdevice.c:220:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] crc = crc32(crc, (unsigned char*)s, len); ^ gvdevice.c:220:38: warning: conversion to 'uInt {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] crc = crc32(crc, (unsigned char*)s, len); ^~~ gvdevice.c:222:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] z->next_in = (unsigned char*)s; ^ gvdevice.c:223:16: warning: conversion to 'uInt {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] z->avail_in = len; ^~~ gvdevice.c:227:10: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] ret=deflate (z, Z_NO_FLUSH); ^~~~~~~ gvdevice.c:233:18: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] if ((olen = z->next_out - df)) { ^ gvdevice.c: In function 'gvfwrite': gvdevice.c:267:42: warning: unused parameter 'size' [-Wunused-parameter] size_t gvfwrite (const void *ptr, size_t size, size_t nmemb, FILE *stream) ^~~~ gvdevice.c: In function 'gvputc': gvdevice.c:285:21: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] const char cc = c; ^ gvdevice.c: In function 'gvdevice_finalize': gvdevice.c:343:35: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] gvwrite_no_z(job, (char*)df, z->next_out - df); ^ gvdevice.c:351:31: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] gvwrite_no_z(job, (char*)df, z->next_out - df); ^ gvdevice.c:358:11: warning: conversion to 'unsigned char' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] out[0] = crc; ^~~ gvdevice.c:359:11: warning: conversion to 'unsigned char' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] out[1] = crc >> 8; ^~~ gvdevice.c:360:11: warning: conversion to 'unsigned char' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] out[2] = crc >> 16; ^~~ gvdevice.c:361:11: warning: conversion to 'unsigned char' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] out[3] = crc >> 24; ^~~ gvdevice.c:362:11: warning: conversion to 'unsigned char' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] out[4] = z->total_in; ^ gvdevice.c:363:11: warning: conversion to 'unsigned char' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] out[5] = z->total_in >> 8; ^ gvdevice.c:364:11: warning: conversion to 'unsigned char' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] out[6] = z->total_in >> 16; ^ gvdevice.c:365:11: warning: conversion to 'unsigned char' from 'uLong {aka long unsigned int}' may alter its value [-Wconversion] out[7] = z->total_in >> 24; ^ gvdevice.c: In function 'gvprintf': gvdevice.c:410:15: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] bp = gmalloc(len + 1); ^~~ gvdevice.c:420:22: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] gvwrite(job, bp, len); ^~~ gvdevice.c: In function 'gvprintnum': gvdevice.c:467:13: warning: conversion to 'long int' from 'double' may alter its value [-Wfloat-conversion] N = number - 0.5; ^~~~~~ gvdevice.c:469:13: warning: conversion to 'long int' from 'double' may alter its value [-Wfloat-conversion] N = number + 0.5; ^~~~~~ gvdevice.c:482:17: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] digit = N % 10; /* next least-significant digit */ ^ gvdevice.c:486:25: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *--result = digit | '0'; /* convert digit to ascii */ ^~~~~ gvdevice.c:500:12: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] *len = tmpbuf+sizeof(maxnegnumstr) - result; ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvc.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvconfig.lo gvconfig.c: In function 'gvplugin_package_record': gvconfig.c:93:72: warning: declaration of 'path' shadows a global declaration [-Wshadow] static gvplugin_package_t * gvplugin_package_record(GVC_t * gvc, char *path, char *name) ^~~~ In file included from gvconfig.c:54:0: ../../lib/common/types.h:105:7: note: shadowed declaration is here } path; ^~~~ gvconfig.c: In function 'gvconfig_plugin_install_from_config': gvconfig.c:171:11: warning: declaration of 'path' shadows a global declaration [-Wshadow] char *path, *name, *api; ^~~~ In file included from gvconfig.c:54:0: ../../lib/common/types.h:105:7: note: shadowed declaration is here } path; ^~~~ gvconfig.c: In function 'gvconfig_plugin_install_from_library': gvconfig.c:210:62: warning: declaration of 'path' shadows a global declaration [-Wshadow] void gvconfig_plugin_install_from_library(GVC_t * gvc, char *path, gvplugin_library_t *library) ^~~~ In file included from gvconfig.c:54:0: ../../lib/common/types.h:105:7: note: shadowed declaration is here } path; ^~~~ gvconfig.c: In function 'gvconfig_write_library_config': gvconfig.c:240:61: warning: declaration of 'path' shadows a global declaration [-Wshadow] static void gvconfig_write_library_config(GVC_t *gvc, char *path, gvplugin_library_t *library, FILE *f) ^~~~ In file included from gvconfig.c:54:0: ../../lib/common/types.h:105:7: note: shadowed declaration is here } path; ^~~~ gvconfig.c: In function 'gvconfig_libdir': gvconfig.c:328:12: warning: declaration of 'path' shadows a global declaration [-Wshadow] char* path; ^~~~ In file included from gvconfig.c:54:0: ../../lib/common/types.h:105:7: note: shadowed declaration is here } path; ^~~~ gvconfig.c: In function 'config_rescan': gvconfig.c:369:37: warning: declaration of 'path' shadows a global declaration [-Wshadow] char *config_glob, *config_re, *path, *libdir; ^~~~ In file included from gvconfig.c:54:0: ../../lib/common/types.h:105:7: note: shadowed declaration is here } path; ^~~~ gvconfig.c:443:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < globbuf.gl_pathc; i++) { ^ gvconfig.c:453:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < globbuf.gl_pathc; i++) { ^ gvconfig.c: In function 'gvconfig': gvconfig.c:542:36: warning: conversion to 'size_t {aka long unsigned int}' from '__off_t {aka long int}' may change the sign of the result [-Wsign-conversion] config_text = gmalloc(config_st.st_size + 1); ^~~~~~~~~ gvconfig.c:543:41: warning: conversion to 'size_t {aka long unsigned int}' from '__off_t {aka long int}' may change the sign of the result [-Wsign-conversion] sz = fread(config_text, 1, config_st.st_size, f); ^~~~~~~~~ gvconfig.c:543:19: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] sz = fread(config_text, 1, config_st.st_size, f); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvusershape.lo gvusershape.c: In function 'imagetype': gvusershape.c:92:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(knowntypes) / sizeof(knowntype_t); i++) { ^ gvusershape.c:93:51: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (!memcmp (header, knowntypes[i].template, knowntypes[i].size)) { ^~~~~~~~~~ gvusershape.c: In function 'get_int_lsb_first': gvusershape.c:128:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sz; i++) { ^ gvusershape.c:132:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *val |= (ch << 8*i); ^~ gvusershape.c: In function 'get_int_msb_first': gvusershape.c:142:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sz; i++) { ^ gvusershape.c:147:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *val |= ch; ^~ In file included from ../../lib/common/geom.h:20:0, from ../../lib/common/types.h:35, from gvusershape.c:32: gvusershape.c: In function 'svg_units_convert': ../../lib/common/arith.h:87:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvusershape.c:155:9: note: in expansion of macro 'ROUND' return ROUND(n * POINTS_PER_INCH); ^~~~~ ../../lib/common/arith.h:87:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvusershape.c:155:9: note: in expansion of macro 'ROUND' return ROUND(n * POINTS_PER_INCH); ^~~~~ ../../lib/common/arith.h:87:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvusershape.c:157:16: note: in expansion of macro 'ROUND' return ROUND(n * POINTS_PER_INCH / 96); ^~~~~ ../../lib/common/arith.h:87:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvusershape.c:157:16: note: in expansion of macro 'ROUND' return ROUND(n * POINTS_PER_INCH / 96); ^~~~~ ../../lib/common/arith.h:87:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvusershape.c:159:16: note: in expansion of macro 'ROUND' return ROUND(n * POINTS_PER_INCH / 6); ^~~~~ ../../lib/common/arith.h:87:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvusershape.c:159:16: note: in expansion of macro 'ROUND' return ROUND(n * POINTS_PER_INCH / 6); ^~~~~ ../../lib/common/arith.h:87:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvusershape.c:161:16: note: in expansion of macro 'ROUND' return ROUND(n); ^~~~~ ../../lib/common/arith.h:87:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvusershape.c:161:16: note: in expansion of macro 'ROUND' return ROUND(n); ^~~~~ ../../lib/common/arith.h:87:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvusershape.c:163:16: note: in expansion of macro 'ROUND' return ROUND(n * POINTS_PER_CM); ^~~~~ ../../lib/common/arith.h:87:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvusershape.c:163:16: note: in expansion of macro 'ROUND' return ROUND(n * POINTS_PER_CM); ^~~~~ ../../lib/common/arith.h:87:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvusershape.c:165:16: note: in expansion of macro 'ROUND' return ROUND(n * POINTS_PER_MM); ^~~~~ ../../lib/common/arith.h:87:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvusershape.c:165:16: note: in expansion of macro 'ROUND' return ROUND(n * POINTS_PER_MM); ^~~~~ gvusershape.c: In function 'svg_size': gvusershape.c:227:7: warning: conversion to 'unsigned int' from 'double' may alter its value [-Wfloat-conversion] w = x1 - x0 + 1; ^~ gvusershape.c:228:7: warning: conversion to 'unsigned int' from 'double' may alter its value [-Wfloat-conversion] h = y1 - y0 + 1; ^~ gvusershape.c:236:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->w = w; ^ gvusershape.c:237:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->h = h; ^ gvusershape.c: In function 'png_size': gvusershape.c:247:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->w = w; ^ gvusershape.c:248:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->h = h; ^ gvusershape.c: In function 'ico_size': gvusershape.c:259:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->w = w; ^ gvusershape.c:260:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->h = h; ^ gvusershape.c: In function 'webp_size': gvusershape.c:289:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->w = w; ^ gvusershape.c:290:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->h = h; ^ gvusershape.c:296:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->w = w; ^ gvusershape.c:297:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->h = h; ^ gvusershape.c: In function 'gif_size': gvusershape.c:309:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->w = w; ^ gvusershape.c:310:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->h = h; ^ gvusershape.c: In function 'bmp_size': gvusershape.c:323:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->w = size_x_msw << 16 | size_x_lsw; ^~~~~~~~~~ gvusershape.c:324:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->h = size_y_msw << 16 | size_y_lsw; ^~~~~~~~~~ gvusershape.c: In function 'jpeg_size': gvusershape.c:363:48: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] if (strchr ((char*)standalone_markers, marker)) ^~~~~~ gvusershape.c:374:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->h = size_x; ^~~~~~ gvusershape.c:375:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->w = size_y; ^~~~~~ gvusershape.c:389:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->h = size_x; ^~~~~~ gvusershape.c:390:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] us->w = size_y; ^~~~~~ gvusershape.c: In function 'nxtc': gvusershape.c:450:9: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] return *(str->s); ^~~~~~~~~ gvusershape.c: In function 'skipWS': gvusershape.c:456:17: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] #define strc(x) (*(x->s)?*(x->s):nxtc(x)) ^ gvusershape.c:463:17: note: in expansion of macro 'strc' while ((c = strc(str))) { ^~~~ gvusershape.c: In function 'getNum': gvusershape.c:456:17: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] #define strc(x) (*(x->s)?*(x->s):nxtc(x)) ^ gvusershape.c:486:17: note: in expansion of macro 'strc' while ((c = strc(str)) && (isdigit(c) || (c == '.'))) { ^~~~ gvusershape.c: In function 'pdf_size': gvusershape.c:539:10: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] us->x = bb.LL.x; ^~ gvusershape.c:540:10: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] us->y = bb.LL.y; ^~ gvusershape.c:541:17: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] us->w = bb.UR.x - bb.LL.x; ^~ gvusershape.c:542:17: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] us->h = bb.UR.y - bb.LL.y; ^~ gvusershape.c: In function 'usershape_close': gvusershape.c:546:39: warning: unused parameter 'dict' [-Wunused-parameter] static void usershape_close (Dict_t * dict, void * p, Dtdisc_t * disc) ^~~~ gvusershape.c:546:66: warning: unused parameter 'disc' [-Wunused-parameter] static void usershape_close (Dict_t * dict, void * p, Dtdisc_t * disc) ^~~~ gvusershape.c: At top level: gvusershape.c:569:14: warning: no previous prototype for 'gvusershape_find' [-Wmissing-prototypes] usershape_t *gvusershape_find(const char *name) ^~~~~~~~~~~~~~~~ In file included from ../../lib/cgraph/cgraph.h:18:0, from ../../lib/common/types.h:39, from gvusershape.c:32: gvusershape.c: In function 'gvusershape_find': ../../lib/cdt/cdt.h:277:47: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(void*)(o),DT_MATCH) ^ gvusershape.c:579:10: note: in expansion of macro 'dtmatch' us = dtmatch(ImageDict, name); ^~~~~~~ gvusershape.c: In function 'freeUsershape': gvusershape.c:630:32: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (us->name) agstrfree(0, (char*)us->name); ^ gvusershape.c: In function 'gvusershape_open': gvusershape.c:647:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] us->name = agstrdup (0, (char*)name); ^ gvusershape.c: At top level: gvusershape.c:709:1: warning: no previous prototype for 'gvusershape_size_dpi' [-Wmissing-prototypes] gvusershape_size_dpi (usershape_t* us, pointf dpi) ^~~~~~~~~~~~~~~~~~~~ gvusershape.c: In function 'gvusershape_size_dpi': gvusershape.c:720:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] rv.x = us->w * POINTS_PER_INCH / dpi.x; ^~ gvusershape.c:721:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] rv.y = us->h * POINTS_PER_INCH / dpi.y; ^~ gvusershape.c: At top level: gvusershape.c:730:7: warning: no previous prototype for 'gvusershape_size' [-Wmissing-prototypes] point gvusershape_size(graph_t * g, char *name) ^~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CC gvplugin.lo gvplugin.c: In function 'gvplugin_api': gvplugin.c:55:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (api = 0; api < ARRAY_SIZE(api_names); api++) { ^ gvplugin.c: In function 'gvplugin_activate': gvplugin.c:130:73: warning: declaration of 'path' shadows a global declaration [-Wshadow] const char *typestr, char *name, char *path, gvplugin_installed_t * typeptr) ^~~~ In file included from gvplugin.c:23:0: ../../lib/common/types.h:105:7: note: shadowed declaration is here } path; ^~~~ gvplugin.c: In function 'gvplugin_library_load': gvplugin.c:150:62: warning: declaration of 'path' shadows a global declaration [-Wshadow] gvplugin_library_t *gvplugin_library_load(GVC_t * gvc, char *path) ^~~~ In file included from gvplugin.c:23:0: ../../lib/common/types.h:105:7: note: shadowed declaration is here } path; ^~~~ gvplugin.c:166:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen(libdir) + 1 + strlen(path) + 1; ^~~~~~ gvplugin.c:170:29: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] p = grealloc(p, lenp); ^~~~ gvplugin.c:172:25: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] p = gmalloc(lenp); ^~~~ gvplugin.c:192:58: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agerr(AGWARN, "Could not load \"%s\" - %s\n", p, (char *) lt_dlerror()); ^ gvplugin.c:199:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen(s); ^~~~~~ gvplugin.c:203:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len < strlen("/libgvplugin_x")) { ^ gvplugin.c:208:23: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] sym = gmalloc(len + strlen(suffix) + 1); ^ gvplugin.c: At top level: gvplugin.c:413:8: warning: no previous prototype for 'gvPluginList' [-Wmissing-prototypes] char **gvPluginList(GVC_t * gvc, const char *kind, int *sz, const char *str) ^~~~~~~~~~~~ gvplugin.c: In function 'gvPluginList': gvplugin.c:423:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (api = 0; api < ARRAY_SIZE(api_names); api++) { ^ In file included from gvplugin.c:22:0: ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ gvplugin.c:441:20: note: in expansion of macro 'RALLOC' list = RALLOC(cnt + 1, list, char *); ^~~~~~ gvplugin.c:413:73: warning: unused parameter 'str' [-Wunused-parameter] char **gvPluginList(GVC_t * gvc, const char *kind, int *sz, const char *str) ^~~ gvplugin.c: In function 'gvplugin_write_status': gvplugin.c:467:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (api = 0; api < ARRAY_SIZE(api_names); api++) { ^ gvplugin.c: In function 'gvplugin_graph': gvplugin.c:518:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (api = 0; api < ARRAY_SIZE(api_names); api++) { ^ gvplugin.c:697:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (api = 0; api < ARRAY_SIZE(api_names); api++) { ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CCLD libgvc_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' CCLD libgvc.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' Making all in ingraphs make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ingraphs' CC ingraphs.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ingraphs' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ingraphs' CCLD libingraphs_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ingraphs' Making all in topfish make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/topfish' CC rescale_layout.lo In file included from rescale_layout.c:35:0: rescale_layout.c: In function 'compute_densities': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rescale_layout.c:44:25: note: in expansion of macro 'N_NEW' double *densities = N_NEW(n, double); ^~~~~ rescale_layout.c: In function 'recompute_densities': ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ rescale_layout.c:65:17: note: in expansion of macro 'RALLOC' densities = RALLOC(n, densities, double); ^~~~~~ rescale_layout.c: In function 'smooth_vec': ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ rescale_layout.c:84:20: note: in expansion of macro 'RALLOC' smoothed_vec = RALLOC(n, smoothed_vec, double); ^~~~~~ rescale_layout.c: At top level: rescale_layout.c:177:6: warning: no previous prototype for 'quicksort_place' [-Wmissing-prototypes] void quicksort_place(double *place, int *ordering, int first, int last) ^~~~~~~~~~~~~~~ In file included from rescale_layout.c:35:0: rescale_layout.c: In function 'rescaleLayout': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rescale_layout.c:200:27: note: in expansion of macro 'N_NEW' double *copy_coords = N_NEW(n, double); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rescale_layout.c:201:21: note: in expansion of macro 'N_NEW' int *ordering = N_NEW(n, int); ^~~~~ rescale_layout.c: At top level: rescale_layout.c:246:1: warning: no previous prototype for 'rescale_layout' [-Wmissing-prototypes] rescale_layout(double *x_coords, double *y_coords, ^~~~~~~~~~~~~~ In file included from rescale_layout.c:35:0: rescale_layout.c: In function 'rescale_layout_polarFocus': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rescale_layout.c:333:25: note: in expansion of macro 'N_NEW' double *distances = N_NEW(n, double); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rescale_layout.c:334:30: note: in expansion of macro 'N_NEW' double *orig_distances = N_NEW(n, double); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rescale_layout.c:344:16: note: in expansion of macro 'N_NEW' ordering = N_NEW(n, int); ^~~~~ rescale_layout.c:390:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (orig_distances[i] == 0) ^~ rescale_layout.c: At top level: rescale_layout.c:410:1: warning: no previous prototype for 'rescale_layout_polar' [-Wmissing-prototypes] rescale_layout_polar(double *x_coords, double *y_coords, ^~~~~~~~~~~~~~~~~~~~ In file included from rescale_layout.c:35:0: rescale_layout.c: In function 'rescale_layout_polar': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rescale_layout.c:452:27: note: in expansion of macro 'N_NEW' double *final_x_coords = N_NEW(n, double); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rescale_layout.c:453:27: note: in expansion of macro 'N_NEW' double *final_y_coords = N_NEW(n, double); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rescale_layout.c:454:24: note: in expansion of macro 'N_NEW' double *cp_x_coords = N_NEW(n, double); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rescale_layout.c:455:24: note: in expansion of macro 'N_NEW' double *cp_y_coords = N_NEW(n, double); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/topfish' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/topfish' CC hierarchy.lo In file included from hierarchy.c:27:0: hierarchy.c: In function 'maxmatch': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:164:28: note: in expansion of macro 'N_NEW' double *matchability = N_NEW(nvtxs, double); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:168:22: note: in expansion of macro 'N_NEW' float *vtx_vec = N_NEW(nvtxs, float); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:169:31: note: in expansion of macro 'N_NEW' float *weighted_vtx_vec = N_NEW(nvtxs, float); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:210:20: note: in expansion of macro 'N_NEW' iptr = order = N_NEW(nvtxs, int); ^~~~~ hierarchy.c:245:24: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] matchability[vtx] += ((double) rand()) / RAND_MAX; // add some randomness ^ hierarchy.c:287:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (val == 0 && (dist2_limit || !dist3(graph, vtx, neighbor))) { ^~ hierarchy.c:170:11: warning: variable 'sum_weights' set but not used [-Wunused-but-set-variable] float sum_weights; ^~~~~~~~~~~ In file included from hierarchy.c:27:0: hierarchy.c: In function 'make_coarse_graph': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:370:18: note: in expansion of macro 'N_NEW' int *index = N_NEW(cnvtxs, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:386:14: note: in expansion of macro 'N_NEW' cgraph = N_NEW(cnvtxs, v_data); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:387:13: note: in expansion of macro 'N_NEW' edges = N_NEW(2 * maxCnedges + cnvtxs, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:388:16: note: in expansion of macro 'N_NEW' eweights = N_NEW(2 * maxCnedges + cnvtxs, float); ^~~~~ hierarchy.c:555:33: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] (float) graph[v].edges[0] - internal_weight; ^ hierarchy.c:357:13: warning: unused parameter 'nvtxs' [-Wunused-parameter] int nvtxs, /* number of vertices in graph */ ^~~~~ In file included from hierarchy.c:27:0: hierarchy.c: In function 'make_coarse_ex_graph': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:598:18: note: in expansion of macro 'N_NEW' int *index = N_NEW(cnvtxs, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:609:14: note: in expansion of macro 'N_NEW' cgraph = N_NEW(cnvtxs, ex_vtx_data); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:610:13: note: in expansion of macro 'N_NEW' edges = N_NEW(2 * cnedges + cnvtxs, int); ^~~~~ hierarchy.c:645:20: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] (cgraph[cv].size * cgraph[cv].x_coord + ^ hierarchy.c:646:18: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] graph[v].size * graph[v].x_coord) / (cgraph[cv].size + ^ hierarchy.c:646:38: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] graph[v].size * graph[v].x_coord) / (cgraph[cv].size + ^ hierarchy.c:649:20: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] (cgraph[cv].size * cgraph[cv].y_coord + ^ hierarchy.c:650:18: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] graph[v].size * graph[v].y_coord) / (cgraph[cv].size + ^ hierarchy.c:650:38: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] graph[v].size * graph[v].y_coord) / (cgraph[cv].size + ^ hierarchy.c:585:9: warning: unused parameter 'nvtxs' [-Wunused-parameter] int nvtxs, /* number of vertices in graph */ ^~~~~ In file included from hierarchy.c:27:0: hierarchy.c: In function 'coarsen_match': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:696:13: note: in expansion of macro 'N_NEW' mflag = N_NEW(nvtxs, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:707:21: note: in expansion of macro 'N_NEW' *v2cvp = v2cv = N_NEW(nvtxs, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:708:21: note: in expansion of macro 'N_NEW' *cv2vp = cv2v = N_NEW(2 * cnvtxs, int); ^~~~~ hierarchy.c: In function 'cpGraph': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:764:15: note: in expansion of macro 'N_NEW' cpGraph = N_NEW(n, v_data); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:765:13: note: in expansion of macro 'N_NEW' edges = N_NEW(2 * nedges + n, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:767:10: note: in expansion of macro 'N_NEW' ewgts = N_NEW(2 * nedges + n, float); ^~~~~ hierarchy.c: In function 'cpExGraph': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:813:15: note: in expansion of macro 'N_NEW' cpGraph = N_NEW(n, ex_vtx_data); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:814:13: note: in expansion of macro 'N_NEW' edges = N_NEW(2 * nedges + n, int); ^~~~~ hierarchy.c: In function 'create_hierarchy': hierarchy.c:831:9: warning: declaration of 'cur_level' shadows a global declaration [-Wshadow] int cur_level; ^~~~~~~~~ hierarchy.c:31:12: note: shadowed declaration is here static int cur_level = 0; ^~~~~~~~~ In file included from hierarchy.c:28:0: hierarchy.c:838:31: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] int nlevels = MAX(5, 10 * (int) log((float) (nvtxs / min_nvtxs))); // just an estimate ^ ../../lib/common/arith.h:43:24: note: in definition of macro 'MAX' #define MAX(a,b) ((a)>(b)?(a):(b)) ^ hierarchy.c:838:31: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] int nlevels = MAX(5, 10 * (int) log((float) (nvtxs / min_nvtxs))); // just an estimate ^ ../../lib/common/arith.h:43:32: note: in definition of macro 'MAX' #define MAX(a,b) ((a)>(b)?(a):(b)) ^ In file included from hierarchy.c:27:0: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:840:25: note: in expansion of macro 'N_NEW' hierarchy->graphs = N_NEW(nlevels, v_data *); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:841:30: note: in expansion of macro 'N_NEW' hierarchy->geom_graphs = N_NEW(nlevels, ex_vtx_data *); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:842:24: note: in expansion of macro 'N_NEW' hierarchy->nvtxs = N_NEW(nlevels, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:843:25: note: in expansion of macro 'N_NEW' hierarchy->nedges = N_NEW(nlevels, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:844:23: note: in expansion of macro 'N_NEW' hierarchy->v2cv = N_NEW(nlevels, int *); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:845:23: note: in expansion of macro 'N_NEW' hierarchy->cv2v = N_NEW(nlevels, int *); ^~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ hierarchy.c:858:3: note: in expansion of macro 'RALLOC' RALLOC(nlevels, hierarchy->graphs, v_data *); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ hierarchy.c:860:3: note: in expansion of macro 'RALLOC' RALLOC(nlevels, hierarchy->geom_graphs, ex_vtx_data *); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ hierarchy.c:861:25: note: in expansion of macro 'RALLOC' hierarchy->nvtxs = RALLOC(nlevels, hierarchy->nvtxs, int); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ hierarchy.c:862:26: note: in expansion of macro 'RALLOC' hierarchy->nedges = RALLOC(nlevels, hierarchy->nedges, int); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ hierarchy.c:863:24: note: in expansion of macro 'RALLOC' hierarchy->v2cv = RALLOC(nlevels, hierarchy->v2cv, int *); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ hierarchy.c:864:24: note: in expansion of macro 'RALLOC' hierarchy->cv2v = RALLOC(nlevels, hierarchy->cv2v, int *); ^~~~~~ hierarchy.c: In function 'set_active_levels': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:935:13: note: in expansion of macro 'N_NEW' nodes = N_NEW(n, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:936:17: note: in expansion of macro 'N_NEW' distances = N_NEW(n, double); ^~~~~ hierarchy.c: In function 'find_leftmost_descendant': hierarchy.c:1076:9: warning: declaration of 'cur_level' shadows a global declaration [-Wshadow] int cur_level) ^~~~~~~~~ hierarchy.c:31:12: note: shadowed declaration is here static int cur_level = 0; ^~~~~~~~~ In file included from hierarchy.c:27:0: hierarchy.c: In function 'init_ex_graph': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:1141:13: note: in expansion of macro 'N_NEW' edges = N_NEW(nedges1 + nedges2, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:1142:24: note: in expansion of macro 'N_NEW' *gp = geom_graph = N_NEW(n, ex_vtx_data); ^~~~~ hierarchy.c: In function 'findGlobalIndexesOfActiveNeighbors': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:1367:17: note: in expansion of macro 'N_NEW' neighbors = N_NEW(nAllocNeighbors, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hierarchy.c:1369:13: note: in expansion of macro 'N_NEW' stack = N_NEW(5 * hierarchy->nlevels + 1, int); ^~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ hierarchy.c:1379:15: note: in expansion of macro 'RALLOC' neighbors = RALLOC(nAllocNeighbors, neighbors, int); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ hierarchy.c:1403:19: note: in expansion of macro 'RALLOC' neighbors = RALLOC(nAllocNeighbors, neighbors, int); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ hierarchy.c:1426:8: note: in expansion of macro 'RALLOC' RALLOC(nAllocNeighbors, neighbors, int); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/topfish' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/topfish' CCLD libtopfish_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/topfish' Making all in glcomp make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' CC glcomplabel.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' CC glcomppanel.lo glcomppanel.c: In function 'glCompPanelDraw': glcomppanel.c:78:15: warning: conversion to 'GLfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] r.pos.z = -0.001; ^ glcomppanel.c:84:15: warning: conversion to 'GLfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] r.pos.z = -0.001; ^ glcomppanel.c:88:27: warning: conversion to 'GLfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] p->common.borderWidth, 0.01, &(ref.color), 1); ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' CC glcompbutton.lo glcompbutton.c: In function 'glCompButtonDraw': glcompbutton.c:137:27: warning: conversion to 'GLfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] p->common.borderWidth, 0.01, &(ref.color), ^~~~ glcompbutton.c: In function 'glCompButtonSetText': glcompbutton.c:232:41: warning: unused parameter 'p' [-Wunused-parameter] void glCompButtonSetText(glCompButton * p, char *str) ^ glcompbutton.c:232:50: warning: unused parameter 'str' [-Wunused-parameter] void glCompButtonSetText(glCompButton * p, char *str) ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' CC glcompset.lo glcompset.c: In function 'glCompSetMouseUp': glcompset.c:165:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((startX == (int) tempX) && (startY == tempY)) ^~ glcompset.c:165:44: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((startX == (int) tempX) && (startY == tempY)) ^~ glcompset.c: In function 'glCompSetAddObj': glcompset.c:269:50: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] s->obj = realloc(s->obj, sizeof(glCompObj *) * s->objcnt); ^ glcompset.c: In function 'glCompSetClear': glcompset.c:343:33: warning: unused parameter 's' [-Wunused-parameter] void glCompSetClear(glCompSet * s) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' CC glcomptexture.lo glcomptexture.c: In function 'glCompSetAddNewTexture': glcomptexture.c:45:12: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if (t->id < 0) /*for some opengl based error , texture couldnt be created */ ^ In file included from glcomptexture.c:17:0: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ glcomptexture.c:61:12: note: in expansion of macro 'N_NEW' t->data = N_NEW(4 * width * height, unsigned char); ^~~~~ glcomptexture.c:67:31: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] memcpy(tarData, srcData, 4 * width); ^ glcomptexture.c:83:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] realloc(s->textures, s->textureCount * sizeof(glCompTex *)); ^ glcomptexture.c:27:20: warning: unused parameter 'fs' [-Wunused-parameter] int is2D,int fs) ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' CC glpangofont.lo glpangofont.c: In function 'get_pango_layout': glpangofont.c:44:2: warning: 'pango_cairo_font_map_create_context' is deprecated: Use 'pango_font_map_create_context' instead [-Wdeprecated-declarations] pango_cairo_font_map_create_context(PANGO_CAIRO_FONT_MAP(fontmap)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from glpangofont.h:17:0, from glpangofont.c:14: /usr/include/pango-1.0/pango/pangocairo.h:101:15: note: declared here PangoContext *pango_cairo_font_map_create_context (PangoCairoFontMap *fontmap); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glpangofont.c: In function 'glCompCreateFontFile': glpangofont.c:130:15: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] buf[0] = c; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' CC glcompimage.lo glcompimage.c: In function 'glCompImageLoad': glcompimage.c:80:24: warning: conversion to 'GLfloat {aka float}' from 'int' may alter its value [-Wconversion] i->common.width = width; ^~~~~ glcompimage.c:81:25: warning: conversion to 'GLfloat {aka float}' from 'int' may alter its value [-Wconversion] i->common.height = height; ^~~~~~ glcompimage.c: In function 'glCompImageDraw': glcompimage.c:124:15: warning: conversion to 'GLsizei {aka int}' from 'float' may alter its value [-Wfloat-conversion] glDrawPixels(p->texture->width, p->texture->height, GL_RGBA,GL_UNSIGNED_BYTE, p->texture->data); ^ glcompimage.c:124:34: warning: conversion to 'GLsizei {aka int}' from 'float' may alter its value [-Wfloat-conversion] glDrawPixels(p->texture->width, p->texture->height, GL_RGBA,GL_UNSIGNED_BYTE, p->texture->data); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' CC glcompmouse.lo glcompmouse.c: In function 'glCompClick': glcompmouse.c:45:37: warning: unused parameter 'o' [-Wunused-parameter] extern void glCompClick(glCompObj * o, GLfloat x, GLfloat y, ^ glcompmouse.c:45:48: warning: unused parameter 'x' [-Wunused-parameter] extern void glCompClick(glCompObj * o, GLfloat x, GLfloat y, ^ glcompmouse.c:45:59: warning: unused parameter 'y' [-Wunused-parameter] extern void glCompClick(glCompObj * o, GLfloat x, GLfloat y, ^ glcompmouse.c:46:22: warning: unused parameter 't' [-Wunused-parameter] glMouseButtonType t) ^ glcompmouse.c: In function 'glCompDoubleClick': glcompmouse.c:50:43: warning: unused parameter 'obj' [-Wunused-parameter] extern void glCompDoubleClick(glCompObj * obj, GLfloat x, GLfloat y, ^~~ glcompmouse.c:50:56: warning: unused parameter 'x' [-Wunused-parameter] extern void glCompDoubleClick(glCompObj * obj, GLfloat x, GLfloat y, ^ glcompmouse.c:50:67: warning: unused parameter 'y' [-Wunused-parameter] extern void glCompDoubleClick(glCompObj * obj, GLfloat x, GLfloat y, ^ glcompmouse.c:51:28: warning: unused parameter 't' [-Wunused-parameter] glMouseButtonType t) ^ glcompmouse.c: In function 'glCompMouseDown': glcompmouse.c:56:41: warning: unused parameter 'obj' [-Wunused-parameter] extern void glCompMouseDown(glCompObj * obj, GLfloat x, GLfloat y, ^~~ glcompmouse.c:56:54: warning: unused parameter 'x' [-Wunused-parameter] extern void glCompMouseDown(glCompObj * obj, GLfloat x, GLfloat y, ^ glcompmouse.c:56:65: warning: unused parameter 'y' [-Wunused-parameter] extern void glCompMouseDown(glCompObj * obj, GLfloat x, GLfloat y, ^ glcompmouse.c:57:26: warning: unused parameter 't' [-Wunused-parameter] glMouseButtonType t) ^ glcompmouse.c: In function 'glCompMouseIn': glcompmouse.c:62:39: warning: unused parameter 'obj' [-Wunused-parameter] extern void glCompMouseIn(glCompObj * obj, GLfloat x, GLfloat y) ^~~ glcompmouse.c:62:52: warning: unused parameter 'x' [-Wunused-parameter] extern void glCompMouseIn(glCompObj * obj, GLfloat x, GLfloat y) ^ glcompmouse.c:62:63: warning: unused parameter 'y' [-Wunused-parameter] extern void glCompMouseIn(glCompObj * obj, GLfloat x, GLfloat y) ^ glcompmouse.c: In function 'glCompMouseOut': glcompmouse.c:66:40: warning: unused parameter 'obj' [-Wunused-parameter] extern void glCompMouseOut(glCompObj * obj, GLfloat x, GLfloat y) ^~~ glcompmouse.c:66:53: warning: unused parameter 'x' [-Wunused-parameter] extern void glCompMouseOut(glCompObj * obj, GLfloat x, GLfloat y) ^ glcompmouse.c:66:64: warning: unused parameter 'y' [-Wunused-parameter] extern void glCompMouseOut(glCompObj * obj, GLfloat x, GLfloat y) ^ glcompmouse.c: In function 'glCompMouseOver': glcompmouse.c:70:41: warning: unused parameter 'obj' [-Wunused-parameter] extern void glCompMouseOver(glCompObj * obj, GLfloat x, GLfloat y) ^~~ glcompmouse.c:70:54: warning: unused parameter 'x' [-Wunused-parameter] extern void glCompMouseOver(glCompObj * obj, GLfloat x, GLfloat y) ^ glcompmouse.c:70:65: warning: unused parameter 'y' [-Wunused-parameter] extern void glCompMouseOver(glCompObj * obj, GLfloat x, GLfloat y) ^ glcompmouse.c: In function 'glCompMouseUp': glcompmouse.c:74:39: warning: unused parameter 'obj' [-Wunused-parameter] extern void glCompMouseUp(glCompObj * obj, GLfloat x, GLfloat y, ^~~ glcompmouse.c:74:52: warning: unused parameter 'x' [-Wunused-parameter] extern void glCompMouseUp(glCompObj * obj, GLfloat x, GLfloat y, ^ glcompmouse.c:74:63: warning: unused parameter 'y' [-Wunused-parameter] extern void glCompMouseUp(glCompObj * obj, GLfloat x, GLfloat y, ^ glcompmouse.c:75:24: warning: unused parameter 't' [-Wunused-parameter] glMouseButtonType t) ^ glcompmouse.c: In function 'glCompMouseDrag': glcompmouse.c:79:41: warning: unused parameter 'obj' [-Wunused-parameter] extern void glCompMouseDrag(glCompObj * obj, GLfloat dx, GLfloat dy, ^~~ glcompmouse.c:79:54: warning: unused parameter 'dx' [-Wunused-parameter] extern void glCompMouseDrag(glCompObj * obj, GLfloat dx, GLfloat dy, ^~ glcompmouse.c:79:66: warning: unused parameter 'dy' [-Wunused-parameter] extern void glCompMouseDrag(glCompObj * obj, GLfloat dx, GLfloat dy, ^~ glcompmouse.c:80:26: warning: unused parameter 't' [-Wunused-parameter] glMouseButtonType t) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' CC glutils.lo glutils.c: In function 'GetFixedOGLPos': glutils.c:21:40: warning: unused parameter 'kts' [-Wunused-parameter] int GetFixedOGLPos(int x, int y, float kts, GLfloat * X, GLfloat * Y, ^~~ glutils.c: In function 'glCompCalcWidget': glutils.c:538:5: warning: switch missing default case [-Wswitch-default] switch (child->align) { ^~~~~~ glutils.c: In function 'distBetweenPts': glutils.c:725:8: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] rv=sqrt(rv); ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' CC glcomptextpng.lo In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from glcomptextpng.c:16: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ glcomptextpng.c:19:16: warning: no previous prototype for 'glCompLoadPng' [-Wmissing-prototypes] unsigned char *glCompLoadPng (char *filename, int *imageWidth, int *imageHeight) ^~~~~~~~~~~~~ glcomptextpng.c: In function 'glCompLoadPng': glcomptextpng.c:22:20: warning: variable 'format' set but not used [-Wunused-but-set-variable] cairo_format_t format; ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' CC glcompfont.lo glcompfont.c: In function 'glprintfglut': glcompfont.c:89:31: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glRasterPos3f(xpos, ypos, zpos + 0.001); ^~~~ glcompfont.c: In function 'glCompDrawText': glcompfont.c:421:18: warning: conversion to 'GLsizei {aka int}' from 'float' may alter its value [-Wfloat-conversion] glDrawPixels(f->tex->width, f->tex->height, GL_RGBA, GL_UNSIGNED_BYTE, f->tex->data); ^ glcompfont.c:421:33: warning: conversion to 'GLsizei {aka int}' from 'float' may alter its value [-Wfloat-conversion] glDrawPixels(f->tex->width, f->tex->height, GL_RGBA, GL_UNSIGNED_BYTE, f->tex->data); ^ glcompfont.c: In function 'glCompRenderText': glcompfont.c:437:5: warning: switch missing default case [-Wswitch-default] switch (f->justify.HJustify) ^~~~~~ glcompfont.c:450:5: warning: switch missing default case [-Wswitch-default] switch (f->justify.VJustify) { ^~~~~~ glcompfont.c:428:25: warning: variable 'h' set but not used [-Wunused-but-set-variable] GLfloat x, y, z, w, h; ^ glcompfont.c:428:22: warning: variable 'w' set but not used [-Wunused-but-set-variable] GLfloat x, y, z, w, h; ^ glcompfont.c:428:19: warning: variable 'z' set but not used [-Wunused-but-set-variable] GLfloat x, y, z, w, h; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' CCLD libglcomp_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' Making all in mingle make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' CC nearest_neighbor_graph.lo nearest_neighbor_graph.c: In function 'nearest_neighbor_graph': nearest_neighbor_graph.c:35:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] irn = MALLOC(sizeof(int)*nPts*k*2); ^ nearest_neighbor_graph.c:35:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] irn = MALLOC(sizeof(int)*nPts*k*2); ^ nearest_neighbor_graph.c:36:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] jcn = MALLOC(sizeof(int)*nPts*k*2); ^ nearest_neighbor_graph.c:36:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] jcn = MALLOC(sizeof(int)*nPts*k*2); ^ nearest_neighbor_graph.c:37:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = MALLOC(sizeof(double)*nPts*k*2); ^ nearest_neighbor_graph.c:37:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = MALLOC(sizeof(double)*nPts*k*2); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' CC ink.lo ink.c: In function 'project_to_line': ink.c:215:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (alpha == M_PI/2){ ^~ In file included from ../../lib/sparse/general.h:31:0, from ink.c:15: ink.c: In function 'ink': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ink.c:241:22: note: in expansion of macro 'N_NEW' point_t* sources = N_NEW(numEdges, point_t); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ink.c:242:22: note: in expansion of macro 'N_NEW' point_t* targets = N_NEW(numEdges, point_t); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' CC agglomerative_bundling.lo agglomerative_bundling.c:22:5: warning: "OPENGL" is not defined, evaluates to 0 [-Wundef] #if OPENGL ^~~~~~ agglomerative_bundling.c: In function 'Agglomerative_Ink_Bundling_init': agglomerative_bundling.c:47:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grid->inks = MALLOC(sizeof(real)*(A->m)); ^ agglomerative_bundling.c: In function 'Agglomerative_Ink_Bundling_establish': agglomerative_bundling.c:100:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cedges = MALLOC(sizeof(Vector)*n); ^ agglomerative_bundling.c:101:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cinks = MALLOC(sizeof(real)*n); ^ agglomerative_bundling.c:109:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] matching = MALLOC(sizeof(int)*n); ^ agglomerative_bundling.c:110:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = MALLOC(sizeof(real)*n); ^ agglomerative_bundling.c:135:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(pick, &(jp[ip[i]]), sizeof(int)*ni); ^ agglomerative_bundling.c:136:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(pick+ni, &(jp[ip[jj]]), sizeof(int)*nj); ^ agglomerative_bundling.c:148:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(pick, &(jp[ip[i]]), sizeof(int)*ni); ^ agglomerative_bundling.c: In function 'Agglomerative_Ink_Bundling_new': agglomerative_bundling.c:557:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pick = MALLOC(sizeof(int)*A0->m); ^ agglomerative_bundling.c: In function 'agglomerative_ink_bundling_internal': agglomerative_bundling.c:674:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mid_edges = MALLOC(sizeof(pedge)*ne); ^ agglomerative_bundling.c:675:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xx = MALLOC(sizeof(real)*4*ne); ^ agglomerative_bundling.c:578:8: warning: unused variable 'TOL' [-Wunused-variable] real TOL = 0.0001, wgt_all; ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' CC edge_bundling.lo edge_bundling.c: In function 'pedge_new': edge_bundling.c:56:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] e->x = MALLOC(dim*(e->len)*sizeof(real)); ^ edge_bundling.c:57:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(e->x, x, dim*(e->len)*sizeof(real)); ^ edge_bundling.c: In function 'pedge_wgt_new': edge_bundling.c:72:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] e->x = MALLOC(dim*(e->len)*sizeof(real)); ^ edge_bundling.c:73:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(e->x, x, dim*(e->len)*sizeof(real)); ^ edge_bundling.c:76:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] e->wgts = MALLOC(sizeof(real)*(np - 1)); ^ edge_bundling.c: In function 'pedge_flip': edge_bundling.c:93:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] y = MALLOC(sizeof(real)*e->dim); ^ edge_bundling.c:95:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(y, &(x[i*dim]), sizeof(real)*dim); ^ edge_bundling.c:96:56: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(&(x[(n-1-i)*dim]), &(x[i*dim]), sizeof(real)*dim); ^ edge_bundling.c:97:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(&(x[i*dim]), y, sizeof(real)*dim); ^ edge_bundling.c: In function 'pedge_export_gv': edge_bundling.c:329:6: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r = 255*t; g = 0; b = 255*(1-t); b = 255*(1-t); ^~~ edge_bundling.c:329:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r = 255*t; g = 0; b = 255*(1-t); b = 255*(1-t); ^~~ edge_bundling.c:329:39: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r = 255*t; g = 0; b = 255*(1-t); b = 255*(1-t); ^~~ edge_bundling.c: In function 'pedge_realloc': edge_bundling.c:416:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] e->x = REALLOC(e->x, e->dim*n*sizeof(real)); ^ edge_bundling.c:417:48: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (e->wgts) e->wgts = REALLOC(e->wgts, (n-1)*sizeof(real)); ^ edge_bundling.c: In function 'pedge_wgts_realloc': edge_bundling.c:425:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] e->x = REALLOC(e->x, e->dim*n*sizeof(real)); ^ edge_bundling.c:427:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] e->wgts = REALLOC(e->wgts, (n-1)*sizeof(real)); ^ edge_bundling.c:430:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] e->wgts = REALLOC(e->wgts, (n-1)*sizeof(real)); ^ edge_bundling.c: In function 'pedge_double': edge_bundling.c:447:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] e->x = REALLOC(e->x, dim*len*sizeof(real)); ^ edge_bundling.c: In function 'force_directed_edge_bundling': edge_bundling.c:574:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] force_t = MALLOC(sizeof(real)*dim*(np)); ^ edge_bundling.c:574:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] force_t = MALLOC(sizeof(real)*dim*(np)); ^ edge_bundling.c:575:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] force_a = MALLOC(sizeof(real)*dim*(np)); ^ edge_bundling.c:575:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] force_a = MALLOC(sizeof(real)*dim*(np)); ^ edge_bundling.c:577:13: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] start = clock(); ^~~~~ edge_bundling.c:620:83: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] fprintf(stderr, "iter ==== %d cpu = %f npoints = %d\n",iter, ((real) (clock() - start))/CLOCKS_PER_SEC, np - 2); ^ edge_bundling.c:560:109: warning: unused parameter 'open_gl' [-Wunused-parameter] static pedge* force_directed_edge_bundling(SparseMatrix A, pedge* edges, int maxit, real step0, real K, int open_gl){ ^~~~~~~ edge_bundling.c: In function 'check_compatibility': edge_bundling.c:719:11: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] start = clock(); ^~~~~ edge_bundling.c:748:71: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] fprintf(stderr, "edge compatibilitu time = %f\n",((real) (clock() - start))/CLOCKS_PER_SEC); ^ edge_bundling.c: In function 'edge_bundling': edge_bundling.c:779:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] edges = MALLOC(sizeof(pedge)*ne); ^ edge_bundling.c:789:24: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] if (Verbose) start = clock(); ^~~~~ edge_bundling.c:826:71: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] fprintf(stderr, "total edge bundling cpu = %f\n",((real) (clock() - start))/CLOCKS_PER_SEC); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' CXX nearest_neighbor_graph_ann.lo nearest_neighbor_graph_ann.cpp:28:13: warning: 'void printPt(std::ostream&, ANNpoint)' defined but not used [-Wunused-function] static void printPt(ostream &out, ANNpoint p) // print point ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' CXXLD libmingle_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' Making all in edgepaint make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' CC intersection.lo intersection.c:65:6: warning: no previous prototype for 'point_line_distance' [-Wmissing-prototypes] real point_line_distance(real *p, real *q, real *r){ ^~~~~~~~~~~~~~~~~~~ intersection.c:111:6: warning: no previous prototype for 'intersection_angle' [-Wmissing-prototypes] real intersection_angle(real *p1, real *p2, real *q1, real *q2){ ^~~~~~~~~~~~~~~~~~ intersection.c: In function 'intersection_angle': intersection.c:165:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p1[0] == q1[0] && p1[1] == q1[1]){ ^~ intersection.c:165:33: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p1[0] == q1[0] && p1[1] == q1[1]){ ^~ intersection.c:167:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (p1[0] == q2[0] && p1[1] == q2[1]){ ^~ intersection.c:167:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (p1[0] == q2[0] && p1[1] == q2[1]){ ^~ intersection.c:169:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (p2[0] == q1[0] && p2[1] == q1[1]){ ^~ intersection.c:169:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (p2[0] == q1[0] && p2[1] == q1[1]){ ^~ intersection.c:171:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (p2[0] == q2[0] && p2[1] == q2[1]){ ^~ intersection.c:171:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (p2[0] == q2[0] && p2[1] == q2[1]){ ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' CC furtherest_point.lo furtherest_point.c: In function 'furtherest_point': furtherest_point.c:89:48: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*argmax)) *argmax = MALLOC(sizeof(real)*dim); ^ furtherest_point.c:90:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(*argmax, center, sizeof(real)*dim); ^ furtherest_point.c:92:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] candidates = MALLOC(sizeof(qt)*ncandidates_max); ^ furtherest_point.c:93:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] candidates2 = MALLOC(sizeof(qt)*ncandidates2_max); ^ furtherest_point.c:119:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] qt->qts = MALLOC(sizeof(QuadTree)*(1<qts[ii]->center, sizeof(real)*dim); ^ furtherest_point.c:138:57: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] candidates2 = REALLOC(candidates2, sizeof(QuadTree)*ncandidates2_max); ^ furtherest_point.c: In function 'furtherest_point_in_list': furtherest_point.c:221:48: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*argmax)) *argmax = MALLOC(sizeof(real)*dim); ^ furtherest_point.c:222:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(*argmax, average, sizeof(real)*dim); ^ furtherest_point.c:224:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] candidates = MALLOC(sizeof(qt)*ncandidates_max); ^ furtherest_point.c:225:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] candidates2 = MALLOC(sizeof(qt)*ncandidates2_max); ^ furtherest_point.c:263:54: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(*argmax, qt->qts[ii]->average, sizeof(real)*dim); ^ furtherest_point.c:270:57: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] candidates2 = REALLOC(candidates2, sizeof(QuadTree)*ncandidates2_max); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' CC edge_distinct_coloring.lo edge_distinct_coloring.c: In function 'splines_intersect': edge_distinct_coloring.c:38:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x1 = MALLOC(sizeof(real)*len1); ^ edge_distinct_coloring.c:39:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x2 = MALLOC(sizeof(real)*len2); ^ edge_distinct_coloring.c:84:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x1 = REALLOC(x1, sizeof(real)*len1); ^ edge_distinct_coloring.c:91:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x1 = REALLOC(x1, sizeof(real)*len1); ^ edge_distinct_coloring.c:122:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x2 = REALLOC(x2, sizeof(real)*len2); ^ edge_distinct_coloring.c:129:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x2 = REALLOC(x2, sizeof(real)*len2); ^ edge_distinct_coloring.c:20:15: warning: unused parameter 'x' [-Wunused-parameter] real *x, char *xsplines1, char *xsplines2){ ^ edge_distinct_coloring.c: At top level: edge_distinct_coloring.c:159:11: warning: no previous prototype for 'edge_distinct_coloring' [-Wmissing-prototypes] Agraph_t* edge_distinct_coloring(char *color_scheme, char *lightness, Agraph_t* g, real angle, real accuracy, int check_edges_with_same_endpoint, int seed){ ^~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' CC node_distinct_coloring.lo In file included from ../../lib/sparse/general.h:30:0, from node_distinct_coloring.c:10: node_distinct_coloring.c: In function 'node_distinct_coloring_internal2': ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ node_distinct_coloring.c:51:15: note: in expansion of macro 'MAX' max_level = MAX(1, -log(accuracy)/log(2.)); ^~~ node_distinct_coloring.c:103:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] srand(seed); ^~~~ node_distinct_coloring.c:119:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x = MALLOC(sizeof(real)*cdim*n); ^ node_distinct_coloring.c:119:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x = MALLOC(sizeof(real)*cdim*n); ^ node_distinct_coloring.c:120:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (weightedQ) wgt = MALLOC(sizeof(real)*n); ^ node_distinct_coloring.c:135:75: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] 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:143:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(&(x[k*cdim]), &(colors[ja[j]*cdim]), sizeof(real)*cdim); ^ node_distinct_coloring.c:171:15: warning: declaration of 'rgb' shadows a previous local [-Wshadow] color_rgb rgb; ^~~ node_distinct_coloring.c:46:13: note: shadowed declaration is here color_rgb rgb; ^~~ node_distinct_coloring.c:172:15: warning: declaration of 'lab' shadows a previous local [-Wshadow] color_lab lab; ^~~ node_distinct_coloring.c:45:13: note: shadowed declaration is here color_lab lab; ^~~ node_distinct_coloring.c: In function 'node_distinct_coloring': node_distinct_coloring.c:262:13: warning: declaration of 'colors' shadows a parameter [-Wshadow] double *colors = NULL; ^~~~~~ node_distinct_coloring.c:208:156: note: shadowed declaration is here void node_distinct_coloring(char *color_scheme, char *lightness, int weightedQ, SparseMatrix A0, real accuracy, int iter_max, int seed, int *cdim0, real **colors, real *color_diff0, ^~~~~~ node_distinct_coloring.c:285:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *colors = MALLOC(sizeof(real)*cdim*n); ^ node_distinct_coloring.c:285:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *colors = MALLOC(sizeof(real)*cdim*n); ^ node_distinct_coloring.c:287:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ctmp = MALLOC(sizeof(real)*cdim*n); ^ node_distinct_coloring.c:287:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ctmp = MALLOC(sizeof(real)*cdim*n); ^ node_distinct_coloring.c:310:65: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(&((*colors)[comps[j]*cdim]), &(ctmp[jj*cdim]), cdim*sizeof(real)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' CC lab.lo lab.c: In function 'color_lab_init': lab.c:34:11: warning: conversion to 'signed char' from 'double' may alter its value [-Wfloat-conversion] lab.l = l; lab.a = a; lab.b = b; ^ lab.c:34:22: warning: conversion to 'signed char' from 'double' may alter its value [-Wfloat-conversion] lab.l = l; lab.a = a; lab.b = b; ^ lab.c:34:33: warning: conversion to 'signed char' from 'double' may alter its value [-Wfloat-conversion] lab.l = l; lab.a = a; lab.b = b; ^ lab.c: In function 'LAB2RGB_real_01': lab.c:75:11: warning: conversion to 'signed char' from 'double' may alter its value [-Wfloat-conversion] lab.l = color[0]; ^~~~~ lab.c:76:11: warning: conversion to 'signed char' from 'double' may alter its value [-Wfloat-conversion] lab.a = color[1]; ^~~~~ lab.c:77:11: warning: conversion to 'signed char' from 'double' may alter its value [-Wfloat-conversion] lab.b = color[2]; ^~~~~ lab.c: At top level: lab.c:140:6: warning: no previous prototype for 'get_level' [-Wmissing-prototypes] void get_level(QuadTree qt, int *level0){ ^~~~~~~~~ lab.c: In function 'lab_gamut_from_file': lab.c:189:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x = malloc(sizeof(double)*3*(*n)); ^ lab.c: In function 'lab_gamut': lab.c:231:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x = malloc(sizeof(double)*3*m); ^ lab.c: In function 'lab_gamut_quadtree': lab.c:247:35: warning: unused parameter 'gamut_file' [-Wunused-parameter] QuadTree lab_gamut_quadtree(char *gamut_file, const char *lightness, int max_qtree_level){ ^~~~~~~~~~ lab.c: In function 'color_blend_rgb2lab': lab.c:299:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lab = malloc(sizeof(color_lab)*MAX(nc,1)); ^ lab.c:310:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dists = malloc(sizeof(double)*MAX(1, nc)); ^ lab.c:323:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *colors0 = malloc(sizeof(double)*maxpoints*cdim); ^ lab.c:323:47: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *colors0 = malloc(sizeof(double)*maxpoints*cdim); ^ lab.c: In function 'color_blend_rgb': lab.c:381:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lab = malloc(sizeof(color_lab)*MAX(nc,1)); ^ lab.c:392:24: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (nc == 1 || ratio == 0){ ^~ lab.c:401:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] dists = malloc(sizeof(double)*MAX(1, nc)); ^ lab.c:410:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dists[nc-1] == 0){/* same color in the list */ ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' CCLD libedgepaint_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' CC lab_gamut.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' CCLD liblab_gamut.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' Making all in circogen make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' CC circular.lo circular.c: In function 'cleanup': circular.c:59:50: warning: unused parameter 'sp' [-Wunused-parameter] static void cleanup(block_t * root, circ_state * sp) ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' CC edgelist.lo edgelist.c: In function 'mkItem': edgelist.c:18:36: warning: unused parameter 'd' [-Wunused-parameter] static edgelistitem *mkItem(Dt_t * d, edgelistitem * obj, Dtdisc_t * disc) ^ edgelist.c:18:70: warning: unused parameter 'disc' [-Wunused-parameter] static edgelistitem *mkItem(Dt_t * d, edgelistitem * obj, Dtdisc_t * disc) ^~~~ edgelist.c: In function 'freeItem': edgelist.c:26:29: warning: unused parameter 'd' [-Wunused-parameter] static void freeItem(Dt_t * d, edgelistitem * obj, Dtdisc_t * disc) ^ edgelist.c:26:63: warning: unused parameter 'disc' [-Wunused-parameter] static void freeItem(Dt_t * d, edgelistitem * obj, Dtdisc_t * disc) ^~~~ edgelist.c: In function 'cmpItem': edgelist.c:32:16: warning: unused parameter 'd' [-Wunused-parameter] cmpItem(Dt_t * d, Agedge_t ** key1, Agedge_t ** key2, Dtdisc_t * disc) ^ edgelist.c:32:66: warning: unused parameter 'disc' [-Wunused-parameter] cmpItem(Dt_t * d, Agedge_t ** key1, Agedge_t ** key2, Dtdisc_t * disc) ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' CC block.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' CC deglist.lo deglist.c: In function 'mkItem': deglist.c:26:31: warning: unused parameter 'd' [-Wunused-parameter] static degitem *mkItem(Dt_t * d, degitem * obj, Dtdisc_t * disc) ^ deglist.c:26:60: warning: unused parameter 'disc' [-Wunused-parameter] static degitem *mkItem(Dt_t * d, degitem * obj, Dtdisc_t * disc) ^~~~ deglist.c: In function 'freeItem': deglist.c:35:29: warning: unused parameter 'd' [-Wunused-parameter] static void freeItem(Dt_t * d, degitem * obj, Dtdisc_t * disc) ^ deglist.c:35:58: warning: unused parameter 'disc' [-Wunused-parameter] static void freeItem(Dt_t * d, degitem * obj, Dtdisc_t * disc) ^~~~ deglist.c: In function 'cmpDegree': deglist.c:40:29: warning: unused parameter 'd' [-Wunused-parameter] static int cmpDegree(Dt_t * d, int *key1, int *key2, Dtdisc_t * disc) ^ deglist.c:40:65: warning: unused parameter 'disc' [-Wunused-parameter] static int cmpDegree(Dt_t * d, int *key1, int *key2, Dtdisc_t * disc) ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' CC blocktree.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' CC nodelist.lo nodelist.c: In function 'node_position': nodelist.c:310:32: warning: unused parameter 'list' [-Wunused-parameter] int node_position(nodelist_t * list, Agnode_t * n) ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' CC circularinit.lo In file included from ../../lib/common/render.h:44:0, from circular.h:17, from circularinit.c:28: circularinit.c: In function 'circular_init_node_edge': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ circularinit.c:48:18: note: in expansion of macro 'N_NEW' ndata* alg = N_NEW(agnnodes(g), ndata); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ circularinit.c:50:25: note: in expansion of macro 'N_NEW' GD_neato_nlist(g) = N_NEW(agnnodes(g) + 1, node_t *); ^~~~~ circularinit.c: In function 'makeDerivedNode': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ circularinit.c:85:14: note: in expansion of macro 'N_NEW' ND_pos(n) = N_NEW(Ndim, double); ^~~~~ circularinit.c: At top level: circularinit.c:103:12: warning: no previous prototype for 'circomps' [-Wmissing-prototypes] Agraph_t **circomps(Agraph_t * g, int *cnt) ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' CC nodeset.lo nodeset.c: In function 'mkItem': nodeset.c:18:32: warning: unused parameter 'd' [-Wunused-parameter] static nsitem_t *mkItem(Dt_t * d, nsitem_t * obj, Dtdisc_t * disc) ^ nodeset.c:18:62: warning: unused parameter 'disc' [-Wunused-parameter] static nsitem_t *mkItem(Dt_t * d, nsitem_t * obj, Dtdisc_t * disc) ^~~~ nodeset.c: In function 'freeItem': nodeset.c:26:29: warning: unused parameter 'd' [-Wunused-parameter] static void freeItem(Dt_t * d, nsitem_t * obj, Dtdisc_t * disc) ^ nodeset.c:26:59: warning: unused parameter 'disc' [-Wunused-parameter] static void freeItem(Dt_t * d, nsitem_t * obj, Dtdisc_t * disc) ^~~~ nodeset.c: In function 'cmpItem': nodeset.c:32:16: warning: unused parameter 'd' [-Wunused-parameter] cmpItem(Dt_t * d, Agnode_t ** key1, Agnode_t ** key2, Dtdisc_t * disc) ^ nodeset.c:32:66: warning: unused parameter 'disc' [-Wunused-parameter] cmpItem(Dt_t * d, Agnode_t ** key1, Agnode_t ** key2, Dtdisc_t * disc) ^~~~ nodeset.c: At top level: nodeset.c:112:6: warning: no previous prototype for 'printNodeset' [-Wmissing-prototypes] void printNodeset(nodeset_t * ns) ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' CC blockpath.lo In file included from ../../lib/common/render.h:44:0, from ./circular.h:17, from blockpath.h:21, from blockpath.c:15: blockpath.c: In function 'find_pair_edges': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ blockpath.c:105:22: note: in expansion of macro 'N_GNEW' neighbors_with = N_GNEW(node_degree, Agnode_t *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ blockpath.c:106:25: note: in expansion of macro 'N_GNEW' neighbors_without = N_GNEW(node_degree, Agnode_t *); ^~~~~~ blockpath.c: In function 'find_longest_path': blockpath.c:281:17: warning: declaration of 'path' shadows a global declaration [-Wshadow] nodelist_t *path; ^~~~ In file included from ../../lib/common/render.h:40:0, from ./circular.h:17, from blockpath.h:21, from blockpath.c:15: ../../lib/common/types.h:105:7: note: shadowed declaration is here } path; ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' CC circpos.lo circpos.c: In function 'getRotation': circpos.c:50:38: warning: unused parameter 'g' [-Wunused-parameter] getRotation(block_t * sn, Agraph_t * g, double x, double y, double theta) ^ circpos.c: In function 'applyDelta': circpos.c:152:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (rotate != 0) { ^~ circpos.c: In function 'positionChildren': circpos.c:295:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (childAngle != 0) { ^~ circpos.c: In function 'position': circpos.c:354:65: warning: declaration of 'path' shadows a global declaration [-Wshadow] position(Agraph_t * g, int childCount, int length, nodelist_t * path, ^~~~ In file included from ../../lib/common/render.h:40:0, from ./circular.h:17, from blockpath.h:21, from circpos.c:22: ../../lib/common/types.h:105:7: note: shadowed declaration is here } path; ^~~~ In file included from ../../lib/common/render.h:44:0, from ./circular.h:17, from blockpath.h:21, from circpos.c:22: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ circpos.c:364:26: note: in expansion of macro 'N_NEW' posinfo_t* parents = N_NEW(childCount, posinfo_t); ^~~~~ circpos.c: At top level: circpos.c:475:6: warning: no previous prototype for 'circPos' [-Wmissing-prototypes] void circPos(Agraph_t * g, block_t * sn, circ_state * state) ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' CCLD libcircogen_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' Making all in dotgen make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC acyclic.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC conc.lo conc.c: In function 'rebuild_vlists': conc.c:179:11: warning: declaration of 'e' shadows a previous local [-Wshadow] edge_t *e; ^ conc.c:144:13: note: shadowed declaration is here edge_t *e, *rep; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC decomp.lo In file included from ../../lib/common/render.h:44:0, from dot.h:18, from decomp.c:23: decomp.c: In function 'end_component': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ decomp.c:56:23: note: in expansion of macro 'ALLOC' GD_comp(g).list = ALLOC(GD_comp(g).size, GD_comp(g).list, node_t *); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ decomp.c:56:23: note: in expansion of macro 'ALLOC' GD_comp(g).list = ALLOC(GD_comp(g).size, GD_comp(g).list, node_t *); ^~~~~ decomp.c: In function 'push': decomp.c:117:19: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ND_mark(np) = Cmark+1; ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC class1.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC flat.lo In file included from ../../lib/common/render.h:44:0, from dot.h:18, from flat.c:15: flat.c: In function 'make_vn_slot': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ flat.c:24:2: note: in expansion of macro 'ALLOC' ALLOC(GD_rank(g)[r].n + 2, GD_rank(g)[r].v, node_t *); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ flat.c:24:2: note: in expansion of macro 'ALLOC' ALLOC(GD_rank(g)[r].n + 2, GD_rank(g)[r].v, node_t *); ^~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from flat.c:15: flat.c: In function 'flat_node': ../../lib/common/types.h:456:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ flat.c:152:9: note: in expansion of macro 'ND_coord' ypos = ND_coord(n).y - GD_rank(g)[r - 1].ht1; ^~~~~~~~ ../../lib/common/types.h:456:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ flat.c:155:9: note: in expansion of macro 'ND_coord' ypos = ND_coord(n).y + GD_rank(g)[r].ht2 + GD_ranksep(g); ^~~~~~~~ ../../lib/common/types.h:466:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_ht(n) (((Agnodeinfo_t*)AGDATA(n))->ht) ^ flat.c:165:10: note: in expansion of macro 'ND_ht' h2 = ND_ht(vn) / 2; ^~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from flat.c:15: flat.c: In function 'abomination': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ flat.c:193:12: note: in expansion of macro 'ALLOC' rptr = ALLOC(r, GD_rank(g), rank_t); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ flat.c:193:12: note: in expansion of macro 'ALLOC' rptr = ALLOC(r, GD_rank(g), rank_t); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC dotinit.lo dotinit.c: In function 'dot_init_edge': dotinit.c:70:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] ED_showboxes(e) = late_int(e, E_showboxes, 0, 0); ^~~~~~~~ dotinit.c:71:20: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] ED_minlen(e) = late_int(e, E_minlen, 1, 0); ^~~~~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from dotinit.c:16: dotinit.c: In function 'attachPos': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ dotinit.c:364:18: note: in expansion of macro 'N_NEW' double* ps = N_NEW(2*agnnodes(g), double); ^~~~~ dotinit.c: In function 'copyCluster': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ dotinit.c:407:20: note: in expansion of macro 'N_NEW' GD_clust(cl) = N_NEW(nclust+1,Agraph_t*); ^~~~~ dotinit.c: In function 'copyClusterInfo': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ dotinit.c:433:22: note: in expansion of macro 'N_NEW' GD_clust(root) = N_NEW(nclust+1,Agraph_t*); ^~~~~ dotinit.c: In function 'doDot': dotinit.c:470:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pinfo.margin = Pack; ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC fastgr.lo In file included from ../../lib/common/render.h:44:0, from dot.h:18, from fastgr.c:15: fastgr.c: In function 'safe_list_append': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ fastgr.c:71:5: note: in expansion of macro 'elist_append' elist_append(e, (*L)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ fastgr.c:71:5: note: in expansion of macro 'elist_append' elist_append(e, (*L)); ^~~~~~~~~~~~ fastgr.c: In function 'fast_edge': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ fastgr.c:94:5: note: in expansion of macro 'elist_append' elist_append(e, ND_out(agtail(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ fastgr.c:94:5: note: in expansion of macro 'elist_append' elist_append(e, ND_out(agtail(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ fastgr.c:95:5: note: in expansion of macro 'elist_append' elist_append(e, ND_in(aghead(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ fastgr.c:95:5: note: in expansion of macro 'elist_append' elist_append(e, ND_in(aghead(e))); ^~~~~~~~~~~~ fastgr.c: In function 'other_edge': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ fastgr.c:139:5: note: in expansion of macro 'elist_append' elist_append(e, ND_other(agtail(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ fastgr.c:139:5: note: in expansion of macro 'elist_append' elist_append(e, ND_other(agtail(e))); ^~~~~~~~~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from fastgr.c:15: fastgr.c: In function 'new_virtual_edge': ../../lib/common/types.h:559:22: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ED_weight(e) (((Agedgeinfo_t*)AGDATA(e))->weight) ^ fastgr.c:195:48: note: in expansion of macro 'ED_weight' ED_minlen(e) = ED_count(e) = ED_xpenalty(e) = ED_weight(e) = 1; ^~~~~~~~~ ../../lib/common/types.h:537:21: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion] #define ED_count(e) (((Agedgeinfo_t*)AGDATA(e))->count) ^ fastgr.c:195:17: note: in expansion of macro 'ED_count' ED_minlen(e) = ED_count(e) = ED_xpenalty(e) = ED_weight(e) = 1; ^~~~~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from fastgr.c:15: fastgr.c: In function 'flat_edge': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ fastgr.c:262:5: note: in expansion of macro 'elist_append' elist_append(e, ND_flat_out(agtail(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ fastgr.c:262:5: note: in expansion of macro 'elist_append' elist_append(e, ND_flat_out(agtail(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ fastgr.c:263:5: note: in expansion of macro 'elist_append' elist_append(e, ND_flat_in(aghead(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ fastgr.c:263:5: note: in expansion of macro 'elist_append' elist_append(e, ND_flat_in(aghead(e))); ^~~~~~~~~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from fastgr.c:15: fastgr.c: In function 'basic_merge': ../../lib/common/types.h:537:21: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ED_count(e) (((Agedgeinfo_t*)AGDATA(e))->count) ^ fastgr.c:326:19: note: in expansion of macro 'ED_count' ED_count(rep) += ED_count(e); ^~~~~~~~ ../../lib/common/types.h:557:24: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ED_xpenalty(e) (((Agedgeinfo_t*)AGDATA(e))->xpenalty) ^ fastgr.c:327:22: note: in expansion of macro 'ED_xpenalty' ED_xpenalty(rep) += ED_xpenalty(e); ^~~~~~~~~~~ fastgr.c: In function 'unrep': ../../lib/common/types.h:537:21: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ED_count(e) (((Agedgeinfo_t*)AGDATA(e))->count) ^ fastgr.c:348:22: note: in expansion of macro 'ED_count' ED_count(rep) -= ED_count(e); ^~~~~~~~ ../../lib/common/types.h:557:24: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ED_xpenalty(e) (((Agedgeinfo_t*)AGDATA(e))->xpenalty) ^ fastgr.c:349:25: note: in expansion of macro 'ED_xpenalty' ED_xpenalty(rep) -= ED_xpenalty(e); ^~~~~~~~~~~ At top level: fastgr.c:48:1: warning: 'find_fast_node' defined but not used [-Wunused-function] find_fast_node(graph_t * g, node_t * n) ^~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC class2.lo class2.c: In function 'plain_vnode': class2.c:50:35: warning: unused parameter 'orig' [-Wunused-parameter] plain_vnode(graph_t * g, edge_t * orig) ^~~~ class2.c: In function 'leader_of': class2.c:59:21: warning: unused parameter 'g' [-Wunused-parameter] leader_of(graph_t * g, node_t * v) ^ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from class2.c:17: class2.c: In function 'merge_chain': ../../lib/common/types.h:537:21: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ED_count(e) (((Agedgeinfo_t*)AGDATA(e))->count) ^ class2.c:154:23: note: in expansion of macro 'ED_count' ED_count(rep) += ED_count(e); ^~~~~~~~ ../../lib/common/types.h:557:24: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ED_xpenalty(e) (((Agedgeinfo_t*)AGDATA(e))->xpenalty) ^ class2.c:155:22: note: in expansion of macro 'ED_xpenalty' ED_xpenalty(rep) += ED_xpenalty(e); ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC cluster.lo cluster.c: In function 'map_path': cluster.c:104:24: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ED_edge_type(e) = type; ^~~~ cluster.c:114:22: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ED_edge_type(ve) = type; ^~~~ cluster.c:122:22: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ED_edge_type(ve) = type; ^~~~ cluster.c:138:21: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ED_edge_type(e) = type; ^~~~ cluster.c: In function 'make_interclust_chain': cluster.c:146:33: warning: unused parameter 'g' [-Wunused-parameter] make_interclust_chain(graph_t * g, node_t * from, node_t * to, edge_t * orig) ^ cluster.c: At top level: cluster.c:164:6: warning: no previous prototype for 'interclexp' [-Wmissing-prototypes] void interclexp(graph_t * subg) ^~~~~~~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from cluster.c:15: cluster.c: In function 'build_skeleton': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ cluster.c:349:27: note: in expansion of macro 'N_NEW' GD_rankleader(subg) = N_NEW(GD_maxrank(subg) + 2, node_t *); ^~~~~ In file included from ../../lib/common/render.h:42:0, from dot.h:18, from cluster.c:15: ../../lib/common/const.h:157:19: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define CL_CROSS 1000 /* cost of cluster skeleton edge crossing */ ^ cluster.c:357:24: note: in expansion of macro 'CL_CROSS' ED_xpenalty(e) *= CL_CROSS; ^~~~~~~~ cluster.c: In function 'install_cluster': cluster.c:390:24: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] GD_installed(clust) = pass + 1; ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC sameport.lo In file included from ../../lib/common/render.h:44:0, from dot.h:18, from sameport.c:19: sameport.c: In function 'sameedge': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ sameport.c:83:6: note: in expansion of macro 'elist_append' elist_append(e, same[i].l); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ sameport.c:83:6: note: in expansion of macro 'elist_append' elist_append(e, same[i].l); ^~~~~~~~~~~~ sameport.c: In function 'sameport': sameport.c:173:2: warning: conversion to 'unsigned char' from 'double' may alter its value [-Wfloat-conversion] (MC_SCALE * (ND_lw(u) + prt.p.x)) / (ND_lw(u) + ND_rw(u)); ^ sameport.c:106:52: warning: unused parameter 'arr_len' [-Wunused-parameter] static void sameport(node_t * u, elist * l, double arr_len) ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC compound.lo compound.c: In function 'getCluster': compound.c:96:38: warning: unused parameter 'g' [-Wunused-parameter] static graph_t *getCluster(graph_t * g, char *cluster_name, Dt_t* map) ^ compound.c: In function 'findVertical': compound.c:179:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (tmin == tmax) ^~ compound.c: In function 'findHorizontal': compound.c:221:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (tmin == tmax) ^~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from compound.c:18: compound.c: In function 'makeCompoundEdge': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ compound.c:474:18: note: in expansion of macro 'N_GNEW' nbez->list = N_GNEW(nbez->size, pointf); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC position.lo position.c:37:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG > 1 ^~~~~ position.c: In function 'nsiter2': position.c:149:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] maxiter = atof(s) * agnnodes(g); ^~~~ In file included from ../../lib/common/geom.h:20:0, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from dot.h:18, from position.c:23: position.c: In function 'make_aux_edge': ../../lib/common/arith.h:87:25: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ^ position.c:186:20: note: in expansion of macro 'ROUND' ED_minlen(e) = ROUND(len); ^~~~~ ../../lib/common/arith.h:87:25: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] #define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5)) ^ position.c:186:20: note: in expansion of macro 'ROUND' ED_minlen(e) = ROUND(len); ^~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from position.c:23: position.c: In function 'allocate_aux_edges': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ../../lib/common/types.h:262:56: note: in expansion of macro 'N_NEW' #define alloc_elist(n,L) do {L.size = 0; L.list = N_NEW(n + 1,edge_t*); } while (0) ^~~~~ position.c:204:2: note: in expansion of macro 'alloc_elist' alloc_elist(n_in + 3, ND_in(n)); ^~~~~~~~~~~ position.c: In function 'make_LR_constraints': position.c:261:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] last = (ND_rank(v) = last + width); ^~~~ position.c:274:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] m1 = m0 + ND_rw(aghead(e0)) + ND_lw(agtail(e0)); ^~ position.c:280:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] m1 = m0 + ND_rw(agtail(e1)) + ND_lw(aghead(e1)); ^~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from position.c:23: ../../lib/common/types.h:548:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ED_minlen(e) (((Agedgeinfo_t*)AGDATA(e))->minlen) ^ position.c:298:8: note: in expansion of macro 'ED_minlen' m0 = ED_minlen(e) * GD_nodesep(g) + width; ^~~~~~~~~ In file included from ../../lib/common/geom.h:20:0, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from dot.h:18, from position.c:23: ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ position.c:304:12: note: in expansion of macro 'MAX' m0 = MAX(m0, width + GD_nodesep(g) + ROUND(ED_dist(e))); ^~~ ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ position.c:304:12: note: in expansion of macro 'MAX' m0 = MAX(m0, width + GD_nodesep(g) + ROUND(ED_dist(e))); ^~~ position.c:306:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] m0 = largeMinlen (m0); ^~~~~~~~~~~ In file included from ../../lib/common/geom.h:20:0, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from dot.h:18, from position.c:23: ../../lib/common/arith.h:43:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ position.c:307:23: note: in expansion of macro 'MAX' ED_minlen(e0) = MAX(ED_minlen(e0), m0); ^~~ position.c: In function 'make_edge_pairs': position.c:337:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] m0 = (ED_head_port(e).p.x - ED_tail_port(e).p.x); ^ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from position.c:23: position.c: In function 'adjustSimple': ../../lib/common/types.h:356:19: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define GD_ht1(g) (((Agraphinfo_t*)AGDATA(g))->ht1) ^ position.c:621:17: note: in expansion of macro 'GD_ht1' delbottom = GD_ht1(g) + bottom - (rank[maxr].ht1 - margin_total); ^~~~~~ ../../lib/common/types.h:357:19: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define GD_ht2(g) (((Agraphinfo_t*)AGDATA(g))->ht2) ^ position.c:627:11: note: in expansion of macro 'GD_ht2' deltop = GD_ht2(g) + (delta-bottom) + delbottom - (rank[minr].ht2 - margin_total); ^~~~~~ ../../lib/common/types.h:357:19: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define GD_ht2(g) (((Agraphinfo_t*)AGDATA(g))->ht2) ^ position.c:630:11: note: in expansion of macro 'GD_ht2' deltop = GD_ht2(g) + (delta-bottom) - (rank[minr].ht2 - margin_total); ^~~~~~ position.c: In function 'adjustRanks': position.c:683:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] adjustSimple(g, delta, margin_total); ^~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from position.c:23: position.c: In function 'set_aspect': ../../lib/common/types.h:336:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define GD_bb(g) (((Agraphinfo_t*)AGDATA(g))->bb) ^ position.c:966:9: note: in expansion of macro 'GD_bb' sz.x = GD_bb(g).UR.x - GD_bb(g).LL.x; ^~~~~ ../../lib/common/types.h:336:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define GD_bb(g) (((Agraphinfo_t*)AGDATA(g))->bb) ^ position.c:967:9: note: in expansion of macro 'GD_bb' sz.y = GD_bb(g).UR.y - GD_bb(g).LL.y; /* normalize */ ^~~~~ position.c: In function 'resize_leaf': position.c:1043:16: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] lbound.x = lbound.x + ND_lw(leaf) + ND_rw(leaf) + GD_nodesep(agraphof(leaf)); ^~~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from position.c:23: position.c: In function 'make_leafslots': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ position.c:1079:20: note: in expansion of macro 'ALLOC' GD_rank(g)[r].v = ALLOC(j + 1, GD_rank(g)[r].v, node_t *); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ position.c:1079:20: note: in expansion of macro 'ALLOC' GD_rank(g)[r].v = ALLOC(j + 1, GD_rank(g)[r].v, node_t *); ^~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from position.c:23: position.c: In function 'do_leaves': ../../lib/common/types.h:456:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ position.c:1098:16: note: in expansion of macro 'ND_coord' lbound.x = ND_coord(leader).x - ND_lw(leader); ^~~~~~~~ ../../lib/common/types.h:456:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ position.c:1099:16: note: in expansion of macro 'ND_coord' lbound.y = ND_coord(leader).y; ^~~~~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from position.c:23: ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ position.c:1109:3: note: in expansion of macro 'elist_append' elist_append(e1, ND_in(aghead(e1))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ position.c:1109:3: note: in expansion of macro 'elist_append' elist_append(e1, ND_in(aghead(e1))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ position.c:1119:3: note: in expansion of macro 'elist_append' elist_append(e, ND_out(agtail(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ position.c:1119:3: note: in expansion of macro 'elist_append' elist_append(e, ND_out(agtail(e))); ^~~~~~~~~~~~ position.c: In function 'ports_eq': position.c:1128:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && (((ED_head_port(e).p.x == ED_head_port(f).p.x) && ^~ position.c:1129:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (ED_head_port(e).p.y == ED_head_port(f).p.y)) ^~ position.c:1131:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] && (((ED_tail_port(e).p.x == ED_tail_port(f).p.x) && ^~ position.c:1132:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (ED_tail_port(e).p.y == ED_tail_port(f).p.y)) ^~ In file included from ../../lib/common/geom.h:20:0, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from dot.h:18, from position.c:23: position.c: In function 'make_lrvn': ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ position.c:1191:10: note: in expansion of macro 'MAX' int w = MAX(GD_border(g)[BOTTOM_IX].x, GD_border(g)[TOP_IX].x); ^~~ ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ position.c:1191:10: note: in expansion of macro 'MAX' int w = MAX(GD_border(g)[BOTTOM_IX].x, GD_border(g)[TOP_IX].x); ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC mincross.lo mincross.c:73:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG > 1 ^~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from mincross.c:22: mincross.c: In function 'fixLabelOrder': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ mincross.c:257:11: note: in expansion of macro 'N_NEW' arr = N_NEW(agnnodes(g), Agnode_t*); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ mincross.c:258:15: note: in expansion of macro 'N_NEW' indices = N_NEW(agnnodes(g), int); ^~~~~ mincross.c:266:21: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(indices, cnt, sizeof(int), (qsort_cmpf)ordercmpf); ^~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from mincross.c:22: mincross.c: In function 'new_matrix': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ mincross.c:373:16: note: in expansion of macro 'N_NEW' rv->data = N_NEW(i * j, char); ^~~~~ mincross.c: In function 'do_ordering_node': mincross.c:430:21: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(sortlist, ne, sizeof(sortlist[0]), (qsort_cmpf) edgeidcmpf); ^~ mincross.c: In function 'mincross_clust': mincross.c:510:37: warning: unused parameter 'par' [-Wunused-parameter] static int mincross_clust(graph_t * par, graph_t * g, int doBalance) ^~~ mincross.c: In function 'restore_best': mincross.c:26:22: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define saveorder(v) (ND_coord(v)).x ^ mincross.c:901:20: note: in expansion of macro 'saveorder' ND_order(n) = saveorder(n); ^~~~~~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from mincross.c:22: ../../lib/common/types.h:383:20: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define GD_rank(g) (((Agraphinfo_t*)AGDATA(g))->rank) ^ mincross.c:906:25: note: in expansion of macro 'GD_rank' qsort(GD_rank(g)[r].v, GD_rank(g)[r].n, sizeof(GD_rank(g)[0].v[0]), ^~~~~~~ mincross.c: In function 'merge_components': mincross.c:946:21: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] GD_minrank(g) = GlobalMinRank; ^~~~~~~~~~~~~ mincross.c:947:21: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] GD_maxrank(g) = GlobalMaxRank; ^~~~~~~~~~~~~ mincross.c: In function 'realFillRanks': mincross.c:1140:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memset (rnks, 0, sizeof(int)*rnks_sz); ^ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from mincross.c:22: mincross.c: In function 'fillRanks': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ mincross.c:1172:17: note: in expansion of macro 'N_NEW' int* rnks = N_NEW(rnks_sz, int); ^~~~~ mincross.c:1170:15: warning: variable 'sg' set but not used [-Wunused-but-set-variable] Agraph_t* sg; ^~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from mincross.c:22: mincross.c: In function 'init_mincross': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ mincross.c:1190:15: note: in expansion of macro 'N_NEW' TE_list = N_NEW(size, edge_t *); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ mincross.c:1191:15: note: in expansion of macro 'N_NEW' TI_list = N_NEW(size, int); ^~~~~ mincross.c: At top level: mincross.c:1203:6: warning: no previous prototype for 'flat_rev' [-Wmissing-prototypes] void flat_rev(Agraph_t * g, Agedge_t * e) ^~~~~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from mincross.c:22: mincross.c: In function 'flat_rev': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ mincross.c:1221:2: note: in expansion of macro 'elist_append' elist_append(e, ND_other(agtail(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ mincross.c:1221:2: note: in expansion of macro 'elist_append' elist_append(e, ND_other(agtail(e))); ^~~~~~~~~~~~ mincross.c: In function 'allocate_ranks': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ mincross.c:1307:10: note: in expansion of macro 'N_NEW' cn = N_NEW(GD_maxrank(g) + 2, int); /* must be 0 based, not GD_minrank */ ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ mincross.c:1322:18: note: in expansion of macro 'N_NEW' GD_rank(g) = N_NEW(GD_maxrank(g) + 2, rank_t); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ mincross.c:1325:39: note: in expansion of macro 'N_NEW' GD_rank(g)[r].av = GD_rank(g)[r].v = N_NEW(cn[r] + 1, node_t *); ^~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from mincross.c:22: mincross.c: In function 'build_ranks': ../../lib/common/types.h:376:23: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define GD_n_nodes(g) (((Agraphinfo_t*)AGDATA(g))->n_nodes) ^ mincross.c:1386:19: note: in expansion of macro 'GD_n_nodes' q = new_queue(GD_n_nodes(g)); ^~~~~~~~~~ mincross.c:1427:10: warning: declaration of 'n' shadows a previous local [-Wshadow] int n, ndiv2; ^ mincross.c:1382:13: note: shadowed declaration is here node_t *n, *n0; ^ mincross.c: In function 'constraining_flat_edge': mincross.c:1465:58: warning: unused parameter 'v' [-Wunused-parameter] static int constraining_flat_edge(Agraph_t *g, Agnode_t *v, Agedge_t *e) ^ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from mincross.c:22: mincross.c: In function 'flat_reorder': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ mincross.c:1509:13: note: in expansion of macro 'ALLOC' temprank = ALLOC(i + 1, temprank, node_t *); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ mincross.c:1509:13: note: in expansion of macro 'ALLOC' temprank = ALLOC(i + 1, temprank, node_t *); ^~~~~ mincross.c: In function 'reorder': mincross.c:1610:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] register int p1 = (ND_mval(*lp)); ^ mincross.c:1611:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] register int p2 = (ND_mval(*rp)); ^ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from mincross.c:22: mincross.c: In function 'rcross': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ mincross.c:1707:10: note: in expansion of macro 'ALLOC' Count = ALLOC(C, Count, int); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ mincross.c:1707:10: note: in expansion of macro 'ALLOC' Count = ALLOC(C, Count, int); ^~~~~ mincross.c: In function 'medians': mincross.c:1838:18: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(list, j, sizeof(int), (qsort_cmpf) ordercmpf); ^ mincross.c:1859:18: warning: conversion to 'boolean {aka unsigned char}' from 'int' may alter its value [-Wconversion] hasfixed |= flat_mval(n); ^~~~~~~~~ In file included from ../../lib/common/geom.h:20:0, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from dot.h:18, from mincross.c:22: mincross.c: In function 'mincross_options': ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ mincross.c:1962:12: note: in expansion of macro 'MAX' MinQuit = MAX(1, MinQuit * f); ^~~ ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ mincross.c:1963:12: note: in expansion of macro 'MAX' MaxIter = MAX(1, MaxIter * f); ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC aspect.lo In file included from ../../lib/common/render.h:44:0, from dot.h:18, from aspect.c:14: aspect.c: In function 'computeNodeGroups': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ aspect.c:58:18: note: in expansion of macro 'N_GNEW' nodeGroups = N_GNEW(agnnodes(g), nodeGroup_t); ^~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ aspect.c:94:7: note: in expansion of macro 'N_NEW' N_NEW(ND_UF_size(l), node_t *); ^~~~~ aspect.c: In function 'computeLayerWidths': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ aspect.c:205:22: note: in expansion of macro 'N_NEW' layerWidthInfo = N_NEW(nNodeGroups, layerWidthInfo_t); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ aspect.c:209:6: note: in expansion of macro 'N_NEW' N_NEW(nNodeGroups, nodeGroup_t *); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ aspect.c:211:30: note: in expansion of macro 'N_NEW' layerWidthInfo[i].removed = N_NEW(nNodeGroups, int); ^~~~~ aspect.c: In function 'compFunction': aspect.c:279:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] int *ind1 = (int *) a; ^ aspect.c:280:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] int *ind2 = (int *) b; ^ aspect.c: In function 'sortLayers': aspect.c:294:29: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(sortedLayerIndex, agnnodes(g), sizeof(int), compFunction); ^~~~~~~~ aspect.c: In function 'compFunction2': aspect.c:345:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] nodeGroup_t **ind1 = (nodeGroup_t **) a, **ind2 = (nodeGroup_t **) b; ^ aspect.c:345:55: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] nodeGroup_t **ind1 = (nodeGroup_t **) a, **ind2 = (nodeGroup_t **) b; ^ aspect.c: In function 'reduceMaxWidth2': aspect.c:740:4: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] layerWidthInfo[maxLayerIndex].nNodeGroupsInLayer, ^~~~~~~~~~~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from aspect.c:14: aspect.c: In function 'applyPacking2': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ aspect.c:1083:24: note: in expansion of macro 'N_NEW' sortedLayerIndex = N_NEW(agnnodes(g), int); ^~~~~ aspect.c: In function 'computeCombiAR': aspect.c:1617:12: warning: variable 'maxLayerIndex' set but not used [-Wunused-but-set-variable] int i, maxLayerIndex; ^~~~~~~~~~~~~ aspect.c: In function 'zapLayers': aspect.c:1749:33: warning: unused parameter 'g' [-Wunused-parameter] static void zapLayers(graph_t * g) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC rank.lo rank.c: In function 'edgelabel_ranks': rank.c:102:19: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] ED_minlen(e) *= 2; ^ rank.c: In function 'collapse_rankset': rank.c:115:19: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ND_ranktype(u) = kind; ^~~~ rank.c:120:2: warning: switch missing default case [-Wswitch-default] switch (kind) { ^~~~~~ rank.c:138:34: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ND_ranktype(GD_minset(g)) = kind; ^~~~ rank.c:141:34: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] ND_ranktype(GD_maxset(g)) = kind; ^~~~ rank.c:136:2: warning: switch missing default case [-Wswitch-default] switch (kind) { ^~~~~~ rank.c: In function 'rank_set_class': rank.c:158:22: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] GD_set_type(g) = val; ^~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from rank.c:29: rank.c: In function 'make_new_cluster': rank.c:167:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] GD_clust(g) = ZALLOC(cno + 1, GD_clust(g), graph_t *, GD_n_cluster(g)); ^ ../../lib/common/memory.h:43:63: note: in definition of macro 'ZALLOC' #define ZALLOC(size,ptr,type,osize) (ptr? (type*)zrealloc(ptr,size,sizeof(type),osize):(type*)zmalloc((size)*sizeof(type))) ^~~~ ../../lib/common/types.h:375:25: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define GD_n_cluster(g) (((Agraphinfo_t*)AGDATA(g))->n_cluster) ^ ../../lib/common/memory.h:43:81: note: in definition of macro 'ZALLOC' #define ZALLOC(size,ptr,type,osize) (ptr? (type*)zrealloc(ptr,size,sizeof(type),osize):(type*)zmalloc((size)*sizeof(type))) ^~~~~ rank.c:167:59: note: in expansion of macro 'GD_n_cluster' GD_clust(g) = ZALLOC(cno + 1, GD_clust(g), graph_t *, GD_n_cluster(g)); ^~~~~~~~~~~~ ../../lib/common/memory.h:43:109: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ZALLOC(size,ptr,type,osize) (ptr? (type*)zrealloc(ptr,size,sizeof(type),osize):(type*)zmalloc((size)*sizeof(type))) ^ rank.c:167:19: note: in expansion of macro 'ZALLOC' GD_clust(g) = ZALLOC(cno + 1, GD_clust(g), graph_t *, GD_n_cluster(g)); ^~~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from rank.c:29: rank.c: In function 'dot_scan_ranks': ../../lib/common/types.h:489:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ND_rank(n) (((Agnodeinfo_t*)AGDATA(n))->rank) ^ rank.c:211:22: note: in expansion of macro 'ND_rank' GD_maxrank(g) = ND_rank(n); ^~~~~~~ ../../lib/common/types.h:489:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ND_rank(n) (((Agnodeinfo_t*)AGDATA(n))->rank) ^ rank.c:213:22: note: in expansion of macro 'ND_rank' GD_minrank(g) = ND_rank(n); ^~~~~~~ rank.c: In function 'set_minmax': ../../lib/common/types.h:489:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ND_rank(n) (((Agnodeinfo_t*)AGDATA(n))->rank) ^ rank.c:319:22: note: in expansion of macro 'ND_rank' GD_minrank(g) += ND_rank(GD_leader(g)); ^~~~~~~ ../../lib/common/types.h:489:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ND_rank(n) (((Agnodeinfo_t*)AGDATA(n))->rank) ^ rank.c:320:22: note: in expansion of macro 'ND_rank' GD_maxrank(g) += ND_rank(GD_leader(g)); ^~~~~~~ rank.c: In function 'minmax_edges2': rank.c:372:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] ED_minlen(e) = slen.y; ^~~~ rank.c:377:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] ED_minlen(e) = slen.x; ^~~~ rank.c: In function 'rank1': rank.c:393:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] maxiter = atof(s) * agnnodes(g); ^~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from rank.c:29: rank.c: In function 'expand_ranksets': ../../lib/common/types.h:489:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ND_rank(n) (((Agnodeinfo_t*)AGDATA(n))->rank) ^ rank.c:423:19: note: in expansion of macro 'ND_rank' GD_maxrank(g) = ND_rank(n); ^~~~~~~ ../../lib/common/types.h:489:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ND_rank(n) (((Agnodeinfo_t*)AGDATA(n))->rank) ^ rank.c:425:19: note: in expansion of macro 'ND_rank' GD_minrank(g) = ND_rank(n); ^~~~~~~ In file included from ../../lib/common/geom.h:20:0, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from dot.h:18, from rank.c:29: rank.c: In function 'merge': ../../lib/common/arith.h:43:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ rank.c:887:20: note: in expansion of macro 'MAX' ED_minlen(e) = MAX(ED_minlen(e), minlen); ^~~ rank.c: In function 'setMinMax': rank.c:1061:22: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] GD_maxrank(g) = v; ^ rank.c:1063:22: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] GD_minrank(g) = v; ^ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from rank.c:29: rank.c: In function 'readout_levels': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ rank.c:1088:10: note: in expansion of macro 'N_NEW' minrk = N_NEW(ncc+1,int); ^~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from rank.c:29: ../../lib/common/types.h:489:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ND_rank(n) (((Agnodeinfo_t*)AGDATA(n))->rank) ^ rank.c:1096:22: note: in expansion of macro 'ND_rank' GD_maxrank(g) = ND_rank(n); ^~~~~~~ ../../lib/common/types.h:489:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define ND_rank(n) (((Agnodeinfo_t*)AGDATA(n))->rank) ^ rank.c:1098:22: note: in expansion of macro 'ND_rank' GD_minrank(g) = ND_rank(n); ^~~~~~~ rank.c:1114:19: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] GD_minrank(g) -= delta; ^~~~~ rank.c:1115:19: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] GD_maxrank(g) -= delta; ^~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from rank.c:29: rank.c: In function 'add_fast_edges': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ rank.c:1175:6: note: in expansion of macro 'elist_append' elist_append(e, ND_out(n)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ rank.c:1175:6: note: in expansion of macro 'elist_append' elist_append(e, ND_out(n)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ rank.c:1176:6: note: in expansion of macro 'elist_append' elist_append(e, ND_in(aghead(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ rank.c:1176:6: note: in expansion of macro 'elist_append' elist_append(e, ND_in(aghead(e))); ^~~~~~~~~~~~ rank.c: In function 'my_init_graph': rank.c:1182:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] { int *sz = arg; agbindrec(graph,"level graph rec",sz[0],TRUE); } ^~ rank.c:1181:37: warning: unused parameter 'g' [-Wunused-parameter] static void my_init_graph(Agraph_t *g, Agobj_t *graph, void *arg) ^ rank.c: In function 'my_init_node': rank.c:1184:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] { int *sz = arg; agbindrec(node,"level node rec",sz[1],TRUE); } ^~ rank.c:1183:36: warning: unused parameter 'g' [-Wunused-parameter] static void my_init_node(Agraph_t *g, Agobj_t *node, void *arg) ^ rank.c: In function 'my_init_edge': rank.c:1186:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] { int *sz = arg; agbindrec(edge,"level edge rec",sz[2],TRUE); } ^~ rank.c:1185:36: warning: unused parameter 'g' [-Wunused-parameter] static void my_init_edge(Agraph_t *g, Agobj_t *edge, void *arg) ^ rank.c: In function 'dot2_rank': rank.c:1210:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] maxiter = atof(s) * agnnodes(g); ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CC dotsplines.lo dotsplines.c:114:1: warning: missing initializer for field 'ignoreSwap' of 'splineInfo {aka struct }' [-Wmissing-field-initializers] static splineInfo sinfo = { swap_ends_p, spline_merge }; ^~~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from dotsplines.c:19: ../../lib/common/types.h:88:10: note: 'ignoreSwap' declared here boolean ignoreSwap; /* Test for swapped edges if false */ ^~~~~~~~~~ dotsplines.c: In function 'portcmp': dotsplines.c:123:10: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] rv = p0.p.x - p1.p.x; ^~ dotsplines.c:125:7: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] rv = p0.p.y - p1.p.y; ^~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from dotsplines.c:19: dotsplines.c: In function 'swap_bezier': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ dotsplines.c:139:12: note: in expansion of macro 'N_GNEW' list = N_GNEW(sz, pointf); ^~~~~~ dotsplines.c: In function 'swap_spline': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ dotsplines.c:164:12: note: in expansion of macro 'N_GNEW' list = N_GNEW(sz, bezier); ^~~~~~ dotsplines.c: In function 'setEdgeLabelPos': dotsplines.c:233:11: warning: unused variable 'fe' [-Wunused-variable] edge_t* fe = (edge_t*)ND_alg(n); ^~ In file included from ../../lib/common/geom.h:20:0, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from dot.h:18, from dotsplines.c:19: dotsplines.c: In function '_dot_splines': ../../lib/common/arith.h:38:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ dotsplines.c:300:21: note: in expansion of macro 'MIN' sd.LeftBound = MIN(sd.LeftBound, (ND_coord(n).x - ND_lw(n))); ^~~ ../../lib/common/arith.h:38:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ dotsplines.c:300:21: note: in expansion of macro 'MIN' sd.LeftBound = MIN(sd.LeftBound, (ND_coord(n).x - ND_lw(n))); ^~~ ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ dotsplines.c:302:22: note: in expansion of macro 'MAX' sd.RightBound = MAX(sd.RightBound, (ND_coord(n).x + ND_rw(n))); ^~~ ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ dotsplines.c:302:22: note: in expansion of macro 'MAX' sd.RightBound = MAX(sd.RightBound, (ND_coord(n).x + ND_rw(n))); ^~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from dotsplines.c:19: ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ dotsplines.c:82:28: note: in expansion of macro 'ALLOC' #define GROWEDGES (edges = ALLOC (n_edges + CHUNK, edges, edge_t*)) ^~~~~ dotsplines.c:327:7: note: in expansion of macro 'GROWEDGES' GROWEDGES; ^~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ dotsplines.c:82:28: note: in expansion of macro 'ALLOC' #define GROWEDGES (edges = ALLOC (n_edges + CHUNK, edges, edge_t*)) ^~~~~ dotsplines.c:327:7: note: in expansion of macro 'GROWEDGES' GROWEDGES; ^~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ dotsplines.c:82:28: note: in expansion of macro 'ALLOC' #define GROWEDGES (edges = ALLOC (n_edges + CHUNK, edges, edge_t*)) ^~~~~ dotsplines.c:334:4: note: in expansion of macro 'GROWEDGES' GROWEDGES; ^~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ dotsplines.c:82:28: note: in expansion of macro 'ALLOC' #define GROWEDGES (edges = ALLOC (n_edges + CHUNK, edges, edge_t*)) ^~~~~ dotsplines.c:334:4: note: in expansion of macro 'GROWEDGES' GROWEDGES; ^~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ dotsplines.c:82:28: note: in expansion of macro 'ALLOC' #define GROWEDGES (edges = ALLOC (n_edges + CHUNK, edges, edge_t*)) ^~~~~ dotsplines.c:351:4: note: in expansion of macro 'GROWEDGES' GROWEDGES; ^~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ dotsplines.c:82:28: note: in expansion of macro 'ALLOC' #define GROWEDGES (edges = ALLOC (n_edges + CHUNK, edges, edge_t*)) ^~~~~ dotsplines.c:351:4: note: in expansion of macro 'GROWEDGES' GROWEDGES; ^~~~~~~~~ dotsplines.c:363:31: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort((char *) &edges[0], n_edges, sizeof(edges[0]), ^~~~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from dotsplines.c:19: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ dotsplines.c:367:16: note: in expansion of macro 'N_NEW' P->boxes = N_NEW(n_nodes + 20 * 2 * NSUB, boxf); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ dotsplines.c:368:19: note: in expansion of macro 'N_NEW' sd.Rank_box = N_NEW(i, boxf); ^~~~~ dotsplines.c:417:14: warning: declaration of 'e0' shadows a previous local [-Wshadow] edge_t* e0; ^~ dotsplines.c:259:17: note: shadowed declaration is here edge_t *e, *e0, *e1, *ea, *eb, *le0, *le1, **edges = NULL; ^~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from dotsplines.c:19: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ dotsplines.c:422:14: note: in expansion of macro 'N_NEW' edgelist = N_NEW(cnt, edge_t*); ^~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from dotsplines.c:19: ../../lib/common/types.h:456:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:436:15: note: in expansion of macro 'ND_coord' sizey = ND_coord(GD_rank(g)[r-1].v[0]).y - ND_coord(n).y; ^~~~~~~~ ../../lib/common/types.h:466:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_ht(n) (((Agnodeinfo_t*)AGDATA(n))->ht) ^ dotsplines.c:438:15: note: in expansion of macro 'ND_ht' sizey = ND_ht(n); ^~~~~ ../../lib/common/types.h:456:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:441:11: note: in expansion of macro 'ND_coord' sizey = ND_coord(n).y - ND_coord(GD_rank(g)[r+1].v[0]).y; ^~~~~~~~ ../../lib/common/types.h:456:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:444:13: note: in expansion of macro 'ND_coord' int upy = ND_coord(GD_rank(g)[r-1].v[0]).y - ND_coord(n).y; ^~~~~~~~ ../../lib/common/types.h:456:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:445:14: note: in expansion of macro 'ND_coord' int dwny = ND_coord(n).y - ND_coord(GD_rank(g)[r+1].v[0]).y; ^~~~~~~~ dotsplines.c: In function 'cloneNode': dotsplines.c:894:15: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int lbllen = strlen(ND_label(orign)->text); ^~~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from dotsplines.c:19: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ dotsplines.c:895:21: note: in expansion of macro 'N_GNEW' char* buf = N_GNEW(lbllen+3,char); ^~~~~~ dotsplines.c:888:43: warning: unused parameter 'flipped' [-Wunused-parameter] cloneNode (graph_t* g, node_t* orign, int flipped) ^~~~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from dotsplines.c:19: dotsplines.c: In function 'makeSimpleFlatLabels': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ dotsplines.c:993:23: note: in expansion of macro 'N_NEW' edge_t** earray = N_NEW(cnt, edge_t*); ^~~~~ dotsplines.c:999:20: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort (earray, cnt, sizeof(edge_t*), (qsort_cmpf) edgelblcmpfn); ^~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from dotsplines.c:19: dotsplines.c: In function 'make_flat_adj_edges': ../../lib/common/types.h:456:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:1233:14: note: in expansion of macro 'ND_coord' rightx = ND_coord(hn).x; ^~~~~~~~ ../../lib/common/types.h:456:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:1234:13: note: in expansion of macro 'ND_coord' leftx = ND_coord(tn).x; ^~~~~~~~ dotsplines.c:1236:17: warning: declaration of 'n' shadows a previous local [-Wshadow] node_t* n; ^ dotsplines.c:1185:13: note: shadowed declaration is here node_t* n; ^ dotsplines.c:1270:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] midx = (ND_coord(tn).x - ND_rw(tn) + ND_coord(hn).x + ND_lw(hn))/2; ^ dotsplines.c:1271:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] midy = (ND_coord(auxt).x + ND_coord(auxh).x)/2; ^ dotsplines.c:1182:39: warning: unused parameter 'P' [-Wunused-parameter] make_flat_adj_edges(graph_t* g, path* P, edge_t** edges, int ind, int cnt, edge_t* e0, ^ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from dotsplines.c:19: dotsplines.c: In function 'make_flat_labeled_edge': ../../lib/common/types.h:456:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_coord(n) (((Agnodeinfo_t*)AGDATA(n))->coord) ^ dotsplines.c:1410:11: note: in expansion of macro 'ND_coord' ydelta = ND_coord(ln).y - GD_rank(g)[ND_rank(tn)].ht1 - ^~~~~~~~ dotsplines.c:1412:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] ydelta /= 6.; ^~ dotsplines.c: In function 'make_flat_bottom_edges': dotsplines.c:1450:31: warning: declaration of 'splines' shadows a global declaration [-Wshadow] ind, int cnt, edge_t* e, int splines) ^~~~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from dotsplines.c:19: ../../lib/common/types.h:118:7: note: shadowed declaration is here } splines; ^~~~~~~ dotsplines.c: In function 'leftOf': dotsplines.c:1641:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] d = ((p1.y - p2.y) * (p3.x - p2.x)) - ^ dotsplines.c: In function 'make_regular_edge': dotsplines.c:1798:6: warning: declaration of 'splines' shadows a global declaration [-Wshadow] int splines = et == ET_SPLINE; ^~~~~~~ In file included from ../../lib/common/render.h:40:0, from dot.h:18, from dotsplines.c:19: ../../lib/common/types.h:118:7: note: shadowed declaration is here } splines; ^~~~~~~ In file included from ../../lib/common/render.h:44:0, from dot.h:18, from dotsplines.c:19: ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ dotsplines.c:1856:13: note: in expansion of macro 'RALLOC' pointfs = RALLOC(numpts, pointfs, pointf); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ dotsplines.c:1902:16: note: in expansion of macro 'RALLOC' pointfs = RALLOC(numpts, pointfs, pointf); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ dotsplines.c:1923:13: note: in expansion of macro 'RALLOC' pointfs2 = RALLOC(numpts2, pointfs2, pointf); ^~~~~~ dotsplines.c: In function 'completeregularpath': dotsplines.c:1948:52: warning: declaration of 'boxes' shadows a global declaration [-Wshadow] pathend_t * tendp, pathend_t * hendp, boxf * boxes, ^~~~~ dotsplines.c:54:13: note: shadowed declaration is here static boxf boxes[1000]; ^~~~~ dotsplines.c:1955:9: warning: variable 'pn' set but not used [-Wunused-but-set-variable] int pn; ^~ dotsplines.c:1954:13: warning: variable 'pp' set but not used [-Wunused-but-set-variable] pointf *pp; ^~ dotsplines.c:1949:21: warning: unused parameter 'flag' [-Wunused-parameter] int boxn, int flag) ^~~~ dotsplines.c: In function 'makeregularend': dotsplines.c:2069:5: warning: switch missing default case [-Wswitch-default] switch (side) { ^~~~~~ dotsplines.c: In function 'adjustregularpath': dotsplines.c:2205:7: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] x = (bp1->LL.x + bp1->UR.x) / 2; ^ dotsplines.c:2210:7: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] x = (bp1->LL.x + bp1->UR.x) / 2; ^ dotsplines.c: In function 'rank_box': dotsplines.c:2237:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (b.LL.x == b.UR.x) { ^~ dotsplines.c: In function 'straight_len': dotsplines.c:2264:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ND_coord(v).x != ND_coord(n).x) ^~ dotsplines.c: In function 'recover_slack': dotsplines.c:2301:20: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] resize_vn(vn, p->boxes[b].LL.x, p->boxes[b].UR.x, ^ dotsplines.c:2301:38: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] resize_vn(vn, p->boxes[b].LL.x, p->boxes[b].UR.x, ^ dotsplines.c:2302:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p->boxes[b].UR.x + ND_rw(vn)); ^ dotsplines.c:2304:20: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] resize_vn(vn, p->boxes[b].LL.x, (p->boxes[b].LL.x + ^ dotsplines.c:2304:38: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] resize_vn(vn, p->boxes[b].LL.x, (p->boxes[b].LL.x + ^ dotsplines.c:2306:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] p->boxes[b].UR.x); ^ dotsplines.c: In function '_dot_splines': dotsplines.c:236:10: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized] l->set = TRUE; dotsplines.c:227:18: note: 'l' was declared here textlabel_t* l; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' CCLD libdotgen_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' Making all in fdpgen make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' CC dbg.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' CC fdpinit.lo fdpinit.c: In function 'initialPositions': fdpinit.c:49:11: warning: declaration of 'i' shadows a previous local [-Wshadow] int i; ^ fdpinit.c:30:9: note: shadowed declaration is here int i; ^ In file included from ../../lib/common/render.h:44:0, from fdp.h:17, from tlayout.h:21, from fdpinit.c:24: fdpinit.c: In function 'fdp_init_node_edge': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ fdpinit.c:100:25: note: in expansion of macro 'N_NEW' GD_neato_nlist(g) = N_NEW(nn + 1, node_t *); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' CC comp.lo In file included from ../../lib/common/render.h:44:0, from ./fdp.h:17, from comp.c:26: comp.c: In function 'findCComp': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ comp.c:73:13: note: in expansion of macro 'N_NEW' marks = N_NEW(agnnodes(g), char); /* freed below */ ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ comp.c:129:18: note: in expansion of macro 'N_NEW' comps = cp = N_NEW(c_cnt + 1, graph_t *); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' CC grid.lo In file included from ../../lib/common/render.h:44:0, from ./fdp.h:17, from grid.c:27: grid.c: In function 'newBlock': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ grid.c:48:17: note: in expansion of macro 'N_GNEW' newb->mem = N_GNEW(size, cell); ^~~~~~ grid.c: In function 'getCell': grid.c:88:26: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] bp->next = newBlock(2 * (bp->endp - bp->mem)); ^ grid.c: In function 'newCell': grid.c:115:29: warning: unused parameter 'd' [-Wunused-parameter] static void *newCell(Dt_t * d, void *obj, Dtdisc_t * disc) ^ In file included from ../../lib/common/render.h:44:0, from ./fdp.h:17, from grid.c:27: grid.c: In function 'adjustGrid': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ grid.c:190:15: note: in expansion of macro 'N_GNEW' g->listMem = N_GNEW(nsize, node_list); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' CC clusteredges.lo clusteredges.c:43:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG > 1 ^~~~~ In file included from ../../lib/common/render.h:44:0, from ./clusteredges.h:21, from clusteredges.c:26: clusteredges.c: In function 'addObj': ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ clusteredges.c:69:15: note: in expansion of macro 'RALLOC' l->obs = RALLOC(l->sz, l->obs, Ppoly_t *); ^~~~~~ clusteredges.c: In function 'compoundEdges': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ clusteredges.c:272:18: note: in expansion of macro 'N_NEW' P->boxes = N_NEW(agnnodes(g) + 20 * 2 * 9, boxf); ^~~~~ clusteredges.c:255:50: warning: unused parameter 'edgetype' [-Wunused-parameter] int compoundEdges(graph_t * g, expand_t* pm, int edgetype) ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' CC xlayout.lo xlayout.c:60:6: warning: no previous prototype for 'pr2graphs' [-Wmissing-prototypes] void pr2graphs(Agraph_t *g0, Agraph_t *g1) ^~~~~~~~~ xlayout.c: In function 'xinit_params': xlayout.c:85:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (xParams.T0 == 0.0) ^~ xlayout.c:76:35: warning: unused parameter 'g' [-Wunused-parameter] static void xinit_params(graph_t* g, int n, xparams * xpms) ^ xlayout.c: In function 'doRep': xlayout.c:267:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] while (dist2 == 0.0) { ^~ In file included from ../../lib/common/types.h:35:0, from ../../lib/common/render.h:40, from ./fdp.h:17, from ./xlayout.h:21, from xlayout.c:30: xlayout.c: In function 'x_layout': ../../lib/common/geom.h:69:27: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define PS2INCH(a_points) ((a_points)/(double)POINTS_PER_INCH) ^ xlayout.c:468:13: note: in expansion of macro 'PS2INCH' X_marg.x = PS2INCH(X_marg.x); /* sepFactor is in points */ ^~~~~~~ ../../lib/common/geom.h:69:27: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define PS2INCH(a_points) ((a_points)/(double)POINTS_PER_INCH) ^ xlayout.c:469:13: note: in expansion of macro 'PS2INCH' X_marg.y = PS2INCH(X_marg.y); ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' CC tlayout.lo tlayout.c: In function 'cool': tlayout.c:121:27: warning: unused parameter 'temp' [-Wunused-parameter] static double cool(double temp, int t) ^~~~ tlayout.c: In function 'init_params': tlayout.c:144:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (T_T0 == -1.0) { ^~ tlayout.c: In function 'fdp_initParams': tlayout.c:192:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (D_T0 == -1.0) { ^~ tlayout.c: In function 'doRep': tlayout.c:228:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] while (dist2 == 0.0) { ^~ tlayout.c: In function 'applyAttr': tlayout.c:338:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] while (dist2 == 0.0) { ^~ tlayout.c: In function 'gAdjust': tlayout.c:400:19: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] #define FLOOR(d) ((int)floor(d)) ^ tlayout.c:416:16: note: in expansion of macro 'FLOOR' addGrid(grid, FLOOR((ND_pos(n))[0] / T_Cell), FLOOR((ND_pos(n))[1] / T_Cell), ^~~~~ tlayout.c:400:19: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] #define FLOOR(d) ((int)floor(d)) ^ tlayout.c:416:48: note: in expansion of macro 'FLOOR' addGrid(grid, FLOOR((ND_pos(n))[0] / T_Cell), FLOOR((ND_pos(n))[1] / T_Cell), ^~~~~ In file included from ../../lib/common/geom.h:20:0, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from ./grid.h:23, from tlayout.c:43: tlayout.c: In function 'initPositions': ../../lib/common/arith.h:38:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ tlayout.c:479:13: note: in expansion of macro 'MIN' bb.LL.x = MIN(ND_pos(np)[0], bb.LL.x); ^~~ ../../lib/common/arith.h:38:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ tlayout.c:479:13: note: in expansion of macro 'MIN' bb.LL.x = MIN(ND_pos(np)[0], bb.LL.x); ^~~ ../../lib/common/arith.h:38:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ tlayout.c:480:13: note: in expansion of macro 'MIN' bb.LL.y = MIN(ND_pos(np)[1], bb.LL.y); ^~~ ../../lib/common/arith.h:38:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ tlayout.c:480:13: note: in expansion of macro 'MIN' bb.LL.y = MIN(ND_pos(np)[1], bb.LL.y); ^~~ ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ tlayout.c:481:13: note: in expansion of macro 'MAX' bb.UR.x = MAX(ND_pos(np)[0], bb.UR.x); ^~~ ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ tlayout.c:481:13: note: in expansion of macro 'MAX' bb.UR.x = MAX(ND_pos(np)[0], bb.UR.x); ^~~ ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ tlayout.c:482:13: note: in expansion of macro 'MAX' bb.UR.y = MAX(ND_pos(np)[1], bb.UR.y); ^~~ ../../lib/common/arith.h:43:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ tlayout.c:482:13: note: in expansion of macro 'MAX' bb.UR.y = MAX(ND_pos(np)[1], bb.UR.y); ^~~ In file included from ../../lib/common/render.h:40:0, from ./grid.h:23, from tlayout.c:43: ../../lib/common/types.h:486:19: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_pos(n) (((Agnodeinfo_t*)AGDATA(n))->pos) ^ tlayout.c:484:23: note: in expansion of macro 'ND_pos' bb.UR.x = bb.LL.x = ND_pos(np)[0]; ^~~~~~ ../../lib/common/types.h:486:19: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define ND_pos(n) (((Agnodeinfo_t*)AGDATA(n))->pos) ^ tlayout.c:485:23: note: in expansion of macro 'ND_pos' bb.UR.y = bb.LL.y = ND_pos(np)[1]; ^~~~~~ tlayout.c: At top level: tlayout.c:633:6: warning: no previous prototype for 'dumpstat' [-Wmissing-prototypes] void dumpstat(graph_t * g) ^~~~~~~~ tlayout.c: In function 'fdp_tLayout': tlayout.c:694:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((ctr.x != 0.0) || (ctr.y != 0.0)) { ^~ tlayout.c:694:34: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((ctr.x != 0.0) || (ctr.y != 0.0)) { ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' CC layout.lo layout.c: In function 'finalCC': layout.c:147:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] pt.y = -bb.LL.y + margin + GD_border(rg)[BOTTOM_IX].y; ^ layout.c:151:16: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] bb.UR.y += pt.y + margin + GD_border(rg)[TOP_IX].y; ^~ In file included from ../../lib/common/render.h:44:0, from fdp.h:17, from tlayout.h:21, from layout.c:44: layout.c: In function 'addCluster': ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ layout.c:310:14: note: in expansion of macro 'RALLOC' clist->cl = RALLOC(clist->sz, clist->cl, graph_t *); ^~~~~~ layout.c: In function 'portName': layout.c:333:9: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] len += strlen(agnameof(g)) + strlen(agnameof(h)) + strlen(agnameof(t)); ^~ layout.c:333:12: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len += strlen(agnameof(g)) + strlen(agnameof(h)) + strlen(agnameof(t)); ^~~~~~ In file included from ../../lib/common/render.h:44:0, from fdp.h:17, from tlayout.h:21, from layout.c:44: layout.c: In function 'addEdge': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ layout.c:400:10: note: in expansion of macro 'ALLOC' el = ALLOC(cnt + 1, el, edge_t *); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ layout.c:400:10: note: in expansion of macro 'ALLOC' el = ALLOC(cnt + 1, el, edge_t *); ^~~~~ layout.c: In function 'deriveGraph': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ layout.c:558:19: note: in expansion of macro 'N_NEW' PORTS(dg) = pq = N_NEW(sz + 1, bport_t); ^~~~~ layout.c: In function 'ecmp': layout.c:597:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] erec *e1 = (erec *) v1; ^ layout.c:598:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] erec *e2 = (erec *) v2; ^ In file included from ../../lib/common/render.h:44:0, from fdp.h:17, from tlayout.h:21, from layout.c:44: layout.c: In function 'getEdgeList': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ layout.c:628:13: note: in expansion of macro 'N_NEW' erecs = N_NEW(deg + 1, erec); ^~~~~ layout.c:643:18: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(erecs, deg, sizeof(erec), ecmp); ^~~ layout.c:654:42: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] while ((j < deg) && (erecs[j].alpha == a)) ^~ In file included from ../../lib/common/render.h:44:0, from fdp.h:17, from tlayout.h:21, from layout.c:44: layout.c: In function 'expandCluster': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ layout.c:751:7: note: in expansion of macro 'N_NEW' pp = N_NEW(sz + 1, bport_t); ^~~~~ layout.c: In function 'layout': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ layout.c:937:11: note: in expansion of macro 'N_NEW' bp = N_NEW(c_cnt, boolean); ^~~~~ layout.c: At top level: layout.c:1011:6: warning: no previous prototype for 'init_info' [-Wmissing-prototypes] void init_info(graph_t * g, layout_info * infop) ^~~~~~~~~ In file included from ../../lib/common/render.h:44:0, from fdp.h:17, from tlayout.h:21, from layout.c:44: layout.c: In function 'mkClusters': ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ layout.c:1060:20: note: in expansion of macro 'RALLOC' GD_clust(g) = RALLOC(list.cnt + 1, list.cl, graph_t*); ^~~~~~ layout.c: In function 'fdp_init_graph': layout.c:1068:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] GD_ndim(g) = late_int(g, agattr(g,AGRAPH, "dim", NULL), 2, 2); ^~~~~~~~ layout.c: At top level: layout.c:1076:6: warning: no previous prototype for 'fdpLayout' [-Wmissing-prototypes] void fdpLayout(graph_t * g) ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' CCLD libfdpgen_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' Making all in neatogen make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC geometry.lo geometry.c: In function 'geominit': geometry.c:32:19: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] sqrt_nsites = (int) sqrt(sn); ^ geometry.c: In function 'intersection': geometry.c:78:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (denom == 0.0) ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC circuit.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC edges.lo edges.c: In function 'clip_line': edges.c:84:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (e->a == 1.0 && e->b >= 0.0) { ^~ edges.c:92:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (e->a == 1.0) { ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC heap.lo heap.c: In function 'PQbucket': heap.c:39:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] bucket = b; ^ heap.c: In function 'PQinsert': heap.c:55:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (he->ystar == next->ystar ^~ In file included from ../../lib/common/render.h:44:0, from heap.c:15: heap.c: In function 'PQinitialize': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ heap.c:122:11: note: in expansion of macro 'N_GNEW' PQhash = N_GNEW(PQhashsize, Halfedge); ^~~~~~ heap.c: At top level: heap.c:135:6: warning: no previous prototype for 'PQdump' [-Wmissing-prototypes] void PQdump(void) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC info.lo info.c: In function 'compare': info.c:47:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((p->p.x == q->p.x) && (p->p.y == q->p.y)) ^~ info.c:47:39: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((p->p.x == q->p.x) && (p->p.y == q->p.y)) ^~ info.c: In function 'addVertex': info.c:167:12: warning: declaration of 'origin' shadows a global declaration [-Wshadow] Point *origin = &(s->coord); ^~~~~~ In file included from site.h:23:0, from voronoi.h:23, from info.h:22, from info.c:17: geometry.h:31:18: note: shadowed declaration is here extern Point origin; ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC memory.lo memory.c: In function 'freeinit': memory.c:41:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) ^ memory.c:47:20: note: in expansion of macro 'LCM' fl->nodesize = LCM(size, sizeof(Freenode)); ^~~ memory.c:41:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) ^ memory.c:47:20: note: in expansion of macro 'LCM' fl->nodesize = LCM(size, sizeof(Freenode)); ^~~ memory.c:41:65: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) ^ memory.c:47:20: note: in expansion of macro 'LCM' fl->nodesize = LCM(size, sizeof(Freenode)); ^~~ memory.c:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) ^ memory.c:47:20: note: in expansion of macro 'LCM' fl->nodesize = LCM(size, sizeof(Freenode)); ^~~ memory.c:41:38: warning: signed and unsigned type in conditional expression [-Wsign-compare] #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) ^ memory.c:47:20: note: in expansion of macro 'LCM' fl->nodesize = LCM(size, sizeof(Freenode)); ^~~ memory.c:41:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) ^ memory.c:47:20: note: in expansion of macro 'LCM' fl->nodesize = LCM(size, sizeof(Freenode)); ^~~ memory.c:41:18: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] #define LCM(x,y) ((x)%(y) == 0 ? (x) : (y)%(x) == 0 ? (y) : x*(y/gcd(x,y))) ^ memory.c:47:20: note: in expansion of macro 'LCM' fl->nodesize = LCM(size, sizeof(Freenode)); ^~~ memory.c: In function 'getfree': memory.c:73:23: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] mem->nodes = gmalloc(sqrt_nsites * size); ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC matinv.lo matinv.c:42:5: warning: no previous prototype for 'matinv' [-Wmissing-prototypes] int matinv(double **A, double **Ainv, int n) ^~~~~~ In file included from ../../lib/common/render.h:44:0, from matinv.c:38: matinv.c: In function 'matinv': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ matinv.c:52:9: note: in expansion of macro 'N_NEW' b = N_NEW(n, double); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC hedges.lo In file included from ../../lib/common/render.h:44:0, from hedges.c:16: hedges.c: In function 'ELinitialize': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ hedges.c:42:11: note: in expansion of macro 'N_GNEW' ELhash = N_GNEW(ELhashsize, Halfedge *); ^~~~~~ hedges.c: In function 'hintersect': hedges.c:79:23: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (e1->reg[1]->coord.y == e2->reg[1]->coord.y && ^~ hedges.c: In function 'right_of': hedges.c:115:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (e->a == 1.0) { ^~ hedges.c: In function 'ELleftbnd': hedges.c:192:14: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] bucket = (p->x - xmin) / deltax * ELhashsize; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC site.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC printvis.lo printvis.c:19:6: warning: no previous prototype for 'printvis' [-Wmissing-prototypes] void printvis(vconfig_t * cp) ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC solve.lo solve.c:23:6: warning: no previous prototype for 'solve' [-Wmissing-prototypes] void solve(double *a, double *b, double *c, int n) ^~~~~ In file included from ../../lib/common/render.h:44:0, from solve.c:19: solve.c: In function 'solve': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ solve.c:34:13: note: in expansion of macro 'N_GNEW' asave = N_GNEW(nsq, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ solve.c:35:13: note: in expansion of macro 'N_GNEW' csave = N_GNEW(n, double); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC lu.lo lu.c:67:5: warning: no previous prototype for 'lu_decompose' [-Wmissing-prototypes] int lu_decompose(double **a, int n) ^~~~~~~~~~~~ In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from lu.c:49: lu.c: In function 'lu_decompose': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ lu.c:78:10: note: in expansion of macro 'N_NEW' ps = N_NEW(n, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ lu.c:81:14: note: in expansion of macro 'N_NEW' scales = N_NEW(n, double); ^~~~~ lu.c:89:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (biggest != 0.0) ^~ lu.c:107:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (biggest == 0.0) ^~ lu.c:119:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (mult != 0.0) { ^~ lu.c:126:30: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (lu[ps[n - 1]][n - 1] == 0.0) ^~ lu.c: At top level: lu.c:142:6: warning: no previous prototype for 'lu_solve' [-Wmissing-prototypes] void lu_solve(double *x, double *b, int n) ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC legal.lo legal.c: In function 'sgnarea': legal.c:80:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] i[0] = ((t == 0) ? 0 : (t > 0 ? 1 : -1)); ^~ legal.c:82:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] i[1] = ((t == 0) ? 0 : (t > 0 ? 1 : -1)); ^~ legal.c: In function 'between': legal.c:89:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((f == g) || (g == h)) ^~ legal.c:89:24: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((f == g) || (g == h)) ^~ legal.c: In function 'online': legal.c:101:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return ((a.x == b.x) ? ((a.x == c.x) ^~ legal.c:101:34: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return ((a.x == b.x) ? ((a.x == c.x) ^~ legal.c: In function 'intpoint': legal.c:124:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ls.x == le.x) { ^~ legal.c:127:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (ms.x == me.x) { ^~ legal.c:164:36: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((ls.x - le.x) * (ms.y - ls.y) == (ls.y - le.y) * (ms.x - ls.x)) { ^~ legal.c:121:5: warning: switch missing default case [-Wswitch-default] switch (cond) { ^~~~~~ legal.c: In function 'realIntersect': legal.c:195:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (((vft.x != avft.x) && (vsd.x != avsd.x)) || ^~ legal.c:195:38: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (((vft.x != avft.x) && (vsd.x != avsd.x)) || ^~ legal.c:196:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] ((vft.x == avft.x) && ^~ legal.c:25:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^ legal.c:197:4: note: in expansion of macro 'EQ_PT' !EQ_PT(vft, p) && ^~~~~ legal.c:25:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^ legal.c:197:4: note: in expansion of macro 'EQ_PT' !EQ_PT(vft, p) && ^~~~~ legal.c:25:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^ legal.c:198:4: note: in expansion of macro 'EQ_PT' !EQ_PT(avft, p)) || ^~~~~ legal.c:25:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^ legal.c:198:4: note: in expansion of macro 'EQ_PT' !EQ_PT(avft, p)) || ^~~~~ legal.c:199:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] ((vsd.x == avsd.x) && ^~ legal.c:25:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^ legal.c:200:4: note: in expansion of macro 'EQ_PT' !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) ^~~~~ legal.c:25:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^ legal.c:200:4: note: in expansion of macro 'EQ_PT' !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) ^~~~~ legal.c:25:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^ legal.c:200:22: note: in expansion of macro 'EQ_PT' !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) ^~~~~ legal.c:25:48: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ_PT(v,w) (((v).x == (w).x) && ((v).y == (w).y)) ^ legal.c:200:22: note: in expansion of macro 'EQ_PT' !EQ_PT(vsd, p) && !EQ_PT(avsd, p))) ^~~~~ legal.c: In function 'find_intersection': legal.c:219:19: warning: unused parameter 'ilist' [-Wunused-parameter] intersection* ilist, data *input) ^~~~~ legal.c:219:32: warning: unused parameter 'input' [-Wunused-parameter] intersection* ilist, data *input) ^~~~~ legal.c: In function 'gt': legal.c:266:41: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((t = (*i)->pos.x - (*j)->pos.x) != 0.) ^~ legal.c:268:41: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((t = (*i)->pos.y - (*j)->pos.y) == 0.) ^~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from legal.c:14: legal.c: In function 'find_ints': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ legal.c:292:15: note: in expansion of macro 'N_GNEW' pvertex = N_GNEW(input->nvertices, vertex *); ^~~~~~ legal.c:298:20: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(pvertex, input->nvertices, sizeof(vertex *), ^~~~~ legal.c:306:6: warning: switch missing default case [-Wswitch-default] switch (gt(&pt1, &pt2)) { ^~~~~~ legal.c:280:12: warning: unused parameter 'polygon_list' [-Wunused-parameter] polygon polygon_list[], ^~~~~~~~~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from legal.c:14: legal.c: In function 'Plegal_arrangement': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ legal.c:422:20: note: in expansion of macro 'N_GNEW' polygon_list = N_GNEW(n_polys, polygon); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ legal.c:427:19: note: in expansion of macro 'N_GNEW' vertex_list = N_GNEW(nverts, vertex); ^~~~~~ legal.c:414:20: warning: variable 'nverts' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] int i, j, vno, nverts, found; ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC voronoi.lo voronoi.c: In function 'voronoi': voronoi.c:48:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] || (newsite->coord.y == ^~ voronoi.c:22:18: warning: unused parameter 'triangulate' [-Wunused-parameter] void voronoi(int triangulate, Site * (*nextsite) (void)) ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC neatoinit.lo In file included from ../../lib/common/render.h:44:0, from neato.h:35, from neatoinit.c:23: neatoinit.c: In function 'cluster_map': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ neatoinit.c:190:25: note: in expansion of macro 'N_NEW' boolean* assigned = N_NEW(agnnodes(g), boolean); ^~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:201:28: note: in expansion of macro 'N_GNEW' cs = cdata->clusters = N_GNEW(nclusters,int*); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:202:32: note: in expansion of macro 'N_GNEW' cn = cdata->clustersizes = N_GNEW(nclusters,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:210:25: note: in expansion of macro 'N_GNEW' c = *cs++ = N_GNEW(*cn++,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:226:15: note: in expansion of macro 'N_GNEW' cdata->bb=N_GNEW(cdata->nclusters,boxf); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:227:21: note: in expansion of macro 'N_GNEW' cdata->toplevel=N_GNEW(cdata->ntoplevel,int); ^~~~~~ neatoinit.c: In function 'user_spline': ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ neatoinit.c:303:7: note: in expansion of macro 'ALLOC' ps = ALLOC(n, 0, pointf); ^~~~~ neatoinit.c: In function 'add_cluster': neatoinit.c:451:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] GD_clust(g) = ZALLOC(cno + 1, GD_clust(g), graph_t *, GD_n_cluster(g)); ^ ../../lib/common/memory.h:43:63: note: in definition of macro 'ZALLOC' #define ZALLOC(size,ptr,type,osize) (ptr? (type*)zrealloc(ptr,size,sizeof(type),osize):(type*)zmalloc((size)*sizeof(type))) ^~~~ ../../lib/common/types.h:375:25: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define GD_n_cluster(g) (((Agraphinfo_t*)AGDATA(g))->n_cluster) ^ ../../lib/common/memory.h:43:81: note: in definition of macro 'ZALLOC' #define ZALLOC(size,ptr,type,osize) (ptr? (type*)zrealloc(ptr,size,sizeof(type),osize):(type*)zmalloc((size)*sizeof(type))) ^~~~~ neatoinit.c:451:59: note: in expansion of macro 'GD_n_cluster' GD_clust(g) = ZALLOC(cno + 1, GD_clust(g), graph_t *, GD_n_cluster(g)); ^~~~~~~~~~~~ ../../lib/common/memory.h:43:109: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ZALLOC(size,ptr,type,osize) (ptr? (type*)zrealloc(ptr,size,sizeof(type),osize):(type*)zmalloc((size)*sizeof(type))) ^ neatoinit.c:451:19: note: in expansion of macro 'ZALLOC' GD_clust(g) = ZALLOC(cno + 1, GD_clust(g), graph_t *, GD_n_cluster(g)); ^~~~~~ neatoinit.c: In function 'init_nop': neatoinit.c:590:54: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (translate && !haveBackground && ((GD_bb(g).LL.x != 0)||(GD_bb(g).LL.y != 0))) ^~ neatoinit.c:590:76: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (translate && !haveBackground && ((GD_bb(g).LL.x != 0)||(GD_bb(g).LL.y != 0))) ^~ neatoinit.c: In function 'neato_init_graph': neatoinit.c:613:26: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] GD_ndim(agroot(g)) = late_int(g, agfindgraphattr(g, "dim"), outdim, 2); ^~~~~~~~ In file included from ../../lib/common/geom.h:20:0, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from neato.h:35, from neatoinit.c:23: ../../lib/common/arith.h:38:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ neatoinit.c:615:24: note: in expansion of macro 'MIN' GD_odim(g->root) = MIN(outdim, Ndim); ^~~ neatoinit.c: In function 'dfsCycle': neatoinit.c:715:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (graph[i].edists[e] == 1.0) continue; /* in edge */ ^~ neatoinit.c:719:34: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] graph[i].edists[e] = x; ^ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from neatoinit.c:23: neatoinit.c: In function 'makeGraphData': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:802:13: note: in expansion of macro 'N_GNEW' graph = N_GNEW(nv, vtx_data); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:803:13: note: in expansion of macro 'N_GNEW' nodes = N_GNEW(nv, node_t*); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:804:13: note: in expansion of macro 'N_GNEW' edges = N_GNEW(2 * ne + nv, int); /* reserve space for self loops */ ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:806:10: note: in expansion of macro 'N_GNEW' ewgts = N_GNEW(2 * ne + nv, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:808:13: note: in expansion of macro 'N_GNEW' eweights = N_GNEW(2 * ne + nv, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:811:11: note: in expansion of macro 'N_GNEW' edists = N_GNEW(2*ne+nv,float); ^~~~~~ In file included from ../../lib/common/render.h:40:0, from neato.h:35, from neatoinit.c:23: ../../lib/common/types.h:541:22: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define ED_factor(e) (((Agedgeinfo_t*)AGDATA(e))->factor) ^ neatoinit.c:845:33: note: in expansion of macro 'ED_factor' graph[i].eweights[idx] += ED_factor(ep); ^~~~~~~~~ neatoinit.c:847:20: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] int curlen = graph[i].ewgts[idx]; ^~~~~ In file included from ../../lib/common/geom.h:20:0, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from neato.h:35, from neatoinit.c:23: ../../lib/common/arith.h:43:18: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ neatoinit.c:848:29: note: in expansion of macro 'MAX' graph[i].ewgts[idx] = MAX(ED_dist(ep), curlen); ^~~ ../../lib/common/arith.h:43:18: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):(b)) ^ neatoinit.c:848:29: note: in expansion of macro 'MAX' graph[i].ewgts[idx] = MAX(ED_dist(ep), curlen); ^~~ In file included from ../../lib/common/render.h:40:0, from neato.h:35, from neatoinit.c:23: ../../lib/common/types.h:541:22: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define ED_factor(e) (((Agedgeinfo_t*)AGDATA(e))->factor) ^ neatoinit.c:857:21: note: in expansion of macro 'ED_factor' *eweights++ = ED_factor(ep); ^~~~~~~~~ ../../lib/common/types.h:558:20: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define ED_dist(e) (((Agedgeinfo_t*)AGDATA(e))->dist) ^ neatoinit.c:859:18: note: in expansion of macro 'ED_dist' *ewgts++ = ED_dist(ep); ^~~~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from neatoinit.c:23: ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ neatoinit.c:894:10: note: in expansion of macro 'RALLOC' edges = RALLOC(2 * ne + nv, graph[0].edges, int); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ neatoinit.c:896:14: note: in expansion of macro 'RALLOC' ewgts = RALLOC(2 * ne + nv, graph[0].ewgts, float); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ neatoinit.c:898:17: note: in expansion of macro 'RALLOC' eweights = RALLOC(2 * ne + nv, graph[0].eweights, float); ^~~~~~ neatoinit.c: In function 'majorization': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:1143:14: note: in expansion of macro 'N_GNEW' coords = N_GNEW(dim, double *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:1144:17: note: in expansion of macro 'N_GNEW' coords[0] = N_GNEW(nv * dim, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatoinit.c:1175:14: note: in expansion of macro 'N_GNEW' nsize = N_GNEW(nv, pointf); ^~~~~~ neatoinit.c:1251:6: warning: declaration of 'i' shadows a previous local [-Wshadow] int i; ^ neatoinit.c:1128:9: note: shadowed declaration is here int i, rv = 0; ^ neatoinit.c:1124:82: warning: unused parameter 'steps' [-Wunused-parameter] majorization(graph_t *mg, graph_t * g, int nv, int mode, int model, int dim, int steps, adjust_data* am) ^~~~~ neatoinit.c: In function 'mds_model': neatoinit.c:1284:40: warning: unused parameter 'nG' [-Wunused-parameter] static void mds_model(graph_t * g, int nG) ^~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from neatoinit.c:23: neatoinit.c: In function 'neato_layout': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ neatoinit.c:1465:12: note: in expansion of macro 'N_NEW' bp = N_NEW(n_cc, boolean); ^~~~~ neatoinit.c:1469:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pinfo.margin = Pack; ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC adjust.lo adjust.c: In function 'chkBoundBox': adjust.c:100:12: warning: declaration of 'xmin' shadows a global declaration [-Wshadow] double xmin, xmax, ymin, ymax; ^~~~ In file included from site.h:23:0, from voronoi.h:23, from adjust.c:23: geometry.h:33:19: note: shadowed declaration is here extern double xmin, xmax, ymin, ymax; /* extreme x,y values of sites */ ^~~~ adjust.c:100:18: warning: declaration of 'xmax' shadows a global declaration [-Wshadow] double xmin, xmax, ymin, ymax; ^~~~ In file included from site.h:23:0, from voronoi.h:23, from adjust.c:23: geometry.h:33:25: note: shadowed declaration is here extern double xmin, xmax, ymin, ymax; /* extreme x,y values of sites */ ^~~~ adjust.c:100:24: warning: declaration of 'ymin' shadows a global declaration [-Wshadow] double xmin, xmax, ymin, ymax; ^~~~ In file included from site.h:23:0, from voronoi.h:23, from adjust.c:23: geometry.h:33:31: note: shadowed declaration is here extern double xmin, xmax, ymin, ymax; /* extreme x,y values of sites */ ^~~~ adjust.c:100:30: warning: declaration of 'ymax' shadows a global declaration [-Wshadow] double xmin, xmax, ymin, ymax; ^~~~ In file included from site.h:23:0, from voronoi.h:23, from adjust.c:23: geometry.h:33:37: note: shadowed declaration is here extern double xmin, xmax, ymin, ymax; /* extreme x,y values of sites */ ^~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from adjust.c:19: adjust.c: In function 'makeInfo': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ adjust.c:162:16: note: in expansion of macro 'N_GNEW' nodeInfo = N_GNEW(nsites, Info_t); ^~~~~~ In file included from ../../lib/common/types.h:35:0, from ../../lib/common/render.h:40, from neato.h:35, from adjust.c:19: ../../lib/common/geom.h:69:27: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define PS2INCH(a_points) ((a_points)/(double)POINTS_PER_INCH) ^ adjust.c:172:14: note: in expansion of macro 'PS2INCH' pmargin.x = PS2INCH(pmargin.x); ^~~~~~~ ../../lib/common/geom.h:69:27: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define PS2INCH(a_points) ((a_points)/(double)POINTS_PER_INCH) ^ adjust.c:173:14: note: in expansion of macro 'PS2INCH' pmargin.y = PS2INCH(pmargin.y); ^~~~~~~ adjust.c: In function 'scomp': adjust.c:202:11: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] s1 = *(Site **) S1; ^ adjust.c:203:11: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] s2 = *(Site **) S2; ^ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from adjust.c:19: adjust.c: In function 'sortSites': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ adjust.c:225:10: note: in expansion of macro 'N_GNEW' sites = N_GNEW(nsites, Site *); ^~~~~~ adjust.c:239:18: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(sites, nsites, sizeof(Site *), scomp); ^~~~~~ adjust.c: In function 'rmEquality': adjust.c:298:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] ((*jp)->coord.x != (*ip)->coord.x) || ^~ adjust.c:299:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] ((*jp)->coord.y != (*ip)->coord.y)) { ^~ adjust.c:308:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] ((*kp)->coord.x == (*ip)->coord.x) && ^~ adjust.c:309:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] ((*kp)->coord.y == (*ip)->coord.y)) { ^~ adjust.c:316:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((kp < endSite) && ((*kp)->coord.y == (*ip)->coord.y)) { ^~ adjust.c: In function 'rePos': adjust.c:594:27: warning: unused parameter 'c' [-Wunused-parameter] static double rePos(Point c) ^ adjust.c: In function 'updateGraph': adjust.c:648:36: warning: unused parameter 'graph' [-Wunused-parameter] static void updateGraph(Agraph_t * graph) ^~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from adjust.c:19: adjust.c: In function 'getSizes': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ adjust.c:674:19: note: in expansion of macro 'N_GNEW' real *sizes = N_GNEW(2 * agnnodes(g), real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ adjust.c:687:10: note: in expansion of macro 'N_GNEW' elabs = N_GNEW(nedge_nodes, int); ^~~~~~ adjust.c: In function 'makeMatrix': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ adjust.c:731:9: note: in expansion of macro 'N_GNEW' I = N_GNEW(nedges, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ adjust.c:732:9: note: in expansion of macro 'N_GNEW' J = N_GNEW(nedges, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ adjust.c:733:11: note: in expansion of macro 'N_GNEW' val = N_GNEW(nedges, real); ^~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ adjust.c:738:9: note: in expansion of macro 'N_NEW' valD = N_NEW(nedges, real); ^~~~~ adjust.c:704:42: warning: unused parameter 'dim' [-Wunused-parameter] SparseMatrix makeMatrix(Agraph_t* g, int dim, SparseMatrix *D) ^~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from adjust.c:19: adjust.c: In function 'fdpAdjust': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ adjust.c:779:17: note: in expansion of macro 'N_NEW' real *pos = N_NEW(Ndim * agnnodes(g), real); ^~~~~ adjust.c: In function 'vpscAdjust': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ adjust.c:835:21: note: in expansion of macro 'N_GNEW' pointf* nsize = N_GNEW(nnodes, pointf); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ adjust.c:836:22: note: in expansion of macro 'N_GNEW' float** coords = N_GNEW(dim, float*); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ adjust.c:837:24: note: in expansion of macro 'N_GNEW' float* f_storage = N_GNEW(dim * nnodes, float); ^~~~~~ adjust.c:840:14: warning: declaration of 'margin' shadows a global declaration [-Wshadow] expand_t margin; ^~~~~~ adjust.c:40:15: note: shadowed declaration is here static double margin = 0.05; /* Create initial bounding box by adding ^~~~~~ adjust.c: In function 'normalize': adjust.c:942:9: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p.x || p.y) ret = 1; ^ adjust.c:942:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p.x || p.y) ret = 1; ^~ adjust.c:956:9: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (phi) { ^~~ adjust.c: In function 'getAdjustMode': adjust.c:1041:38: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (!strncasecmp(s, ap->attrib, ap->len)) { ^~ adjust.c: In function 'simpleScale': adjust.c:1100:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((sc.y == 1) && (sc.x == 1)) return 0; ^~ adjust.c:1100:31: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((sc.y == 1) && (sc.x == 1)) return 0; ^~ adjust.c: In function 'parseFactor': adjust.c:1277:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] pp->x = 1.0 + x/sepfact; ^~~ adjust.c:1278:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] pp->y = 1.0 + y/sepfact; ^~~ adjust.c: In function 'sepFactor': adjust.c:38:25: warning: conversion to 'float' alters 'double' constant value [-Wfloat-conversion] #define SEPFACT 0.8 /* default esep/sep */ ^ adjust.c:1295:71: note: in expansion of macro 'SEPFACT' else if ((marg = agget(g, "esep")) && parseFactor(marg, &pmargin, SEPFACT, DFLT_MARGIN)) { ^~~~~~~ adjust.c: In function 'esepFactor': adjust.c:38:25: warning: conversion to 'float' alters 'double' constant value [-Wfloat-conversion] #define SEPFACT 0.8 /* default esep/sep */ ^ adjust.c:1321:83: note: in expansion of macro 'SEPFACT' else if ((marg = agget(g, "sep")) && parseFactor(marg, &pmargin, 1.0/SEPFACT, SEPFACT*DFLT_MARGIN)) { ^~~~~~~ adjust.c:38:25: warning: conversion to 'float' alters 'double' constant value [-Wfloat-conversion] #define SEPFACT 0.8 /* default esep/sep */ ^ adjust.c:1324:26: note: in expansion of macro 'SEPFACT' pmargin.x = pmargin.y = SEPFACT*DFLT_MARGIN; ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC poly.lo poly.c: In function 'bbox': poly.c:53:12: warning: declaration of 'xmin' shadows a global declaration [-Wshadow] double xmin, ymin, xmax, ymax; ^~~~ In file included from poly.h:21:0, from poly.c:21: geometry.h:33:19: note: shadowed declaration is here extern double xmin, xmax, ymin, ymax; /* extreme x,y values of sites */ ^~~~ poly.c:53:18: warning: declaration of 'ymin' shadows a global declaration [-Wshadow] double xmin, ymin, xmax, ymax; ^~~~ In file included from poly.h:21:0, from poly.c:21: geometry.h:33:31: note: shadowed declaration is here extern double xmin, xmax, ymin, ymax; /* extreme x,y values of sites */ ^~~~ poly.c:53:24: warning: declaration of 'xmax' shadows a global declaration [-Wshadow] double xmin, ymin, xmax, ymax; ^~~~ In file included from poly.h:21:0, from poly.c:21: geometry.h:33:25: note: shadowed declaration is here extern double xmin, xmax, ymin, ymax; /* extreme x,y values of sites */ ^~~~ poly.c:53:30: warning: declaration of 'ymax' shadows a global declaration [-Wshadow] double xmin, ymin, xmax, ymax; ^~~~ In file included from poly.h:21:0, from poly.c:21: geometry.h:33:37: note: shadowed declaration is here extern double xmin, xmax, ymin, ymax; /* extreme x,y values of sites */ ^~~~ poly.c: In function 'isBox': poly.c:134:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (verts[0].y == verts[1].y) ^~ poly.c:135:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return ((verts[2].y == verts[3].y) && ^~ poly.c:136:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (verts[0].x == verts[3].x) && (verts[1].x == verts[2].x)); ^~ poly.c:136:45: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (verts[0].x == verts[3].x) && (verts[1].x == verts[2].x)); ^~ poly.c:138:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return ((verts[0].x == verts[1].x) && ^~ poly.c:139:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (verts[2].x == verts[3].x) && ^~ poly.c:140:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (verts[0].y == verts[3].y) && (verts[1].y == verts[2].y)); ^~ poly.c:140:45: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] (verts[0].y == verts[3].y) && (verts[1].y == verts[2].y)); ^~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from poly.c:17: poly.c: In function 'genRound': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ poly.c:170:13: note: in expansion of macro 'N_GNEW' verts = N_GNEW(sides, Point); ^~~~~~ poly.c: In function 'makeAddPoly': poly.c:192:8: warning: declaration of 'b' shadows a previous local [-Wshadow] Point b; ^ poly.c:189:10: note: shadowed declaration is here boxf b; ^ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from poly.c:17: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ poly.c:197:10: note: in expansion of macro 'N_GNEW' verts = N_GNEW(sides, Point); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ poly.c:219:11: note: in expansion of macro 'N_GNEW' verts = N_GNEW(sides, Point); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ poly.c:248:14: note: in expansion of macro 'N_GNEW' verts = N_GNEW(sides, Point); ^~~~~~ poly.c:250:38: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] verts[0] = makeScaledTransPoint(b.LL.x, b.LL.y, -xmargin, -ymargin); ^ poly.c:250:46: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] verts[0] = makeScaledTransPoint(b.LL.x, b.LL.y, -xmargin, -ymargin); ^ poly.c:251:38: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] verts[1] = makeScaledTransPoint(b.UR.x, b.LL.y, xmargin, -ymargin); ^ poly.c:251:46: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] verts[1] = makeScaledTransPoint(b.UR.x, b.LL.y, xmargin, -ymargin); ^ poly.c:252:38: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] verts[2] = makeScaledTransPoint(b.UR.x, b.UR.y, xmargin, ymargin); ^ poly.c:252:46: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] verts[2] = makeScaledTransPoint(b.UR.x, b.UR.y, xmargin, ymargin); ^ poly.c:253:38: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] verts[3] = makeScaledTransPoint(b.LL.x, b.UR.y, -xmargin, ymargin); ^ poly.c:253:46: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] verts[3] = makeScaledTransPoint(b.LL.x, b.UR.y, -xmargin, ymargin); ^ poly.c: In function 'makePoly': poly.c:284:8: warning: declaration of 'b' shadows a previous local [-Wshadow] Point b; ^ poly.c:281:10: note: shadowed declaration is here boxf b; ^ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from poly.c:17: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ poly.c:289:10: note: in expansion of macro 'N_GNEW' verts = N_GNEW(sides, Point); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ poly.c:300:11: note: in expansion of macro 'N_GNEW' verts = N_GNEW(sides, Point); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ poly.c:321:14: note: in expansion of macro 'N_GNEW' verts = N_GNEW(sides, Point); ^~~~~~ poly.c:343:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((xmargin != 1.0) || (ymargin != 1.0)) ^~ poly.c:343:38: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((xmargin != 1.0) || (ymargin != 1.0)) ^~ poly.c: In function 'edgesIntersect': poly.c:400:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((cross == 0) && !bHA && !aHB) { ^~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from poly.c:17: poly.c: In function 'inPoly': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ poly.c:435:8: note: in expansion of macro 'N_GNEW' tp3 = N_GNEW(maxcnt, Point); ^~~~~~ poly.c:448:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((tp3[i].y == 0) && (tp3[i1].y == 0)) { ^~ poly.c:448:36: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((tp3[i].y == 0) && (tp3[i1].y == 0)) { ^~ poly.c:464:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (x == 0) ^~ poly.c:469:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((tp3[i].y == 0) || (tp3[i1].y == 0)) { ^~ poly.c:469:37: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((tp3[i].y == 0) || (tp3[i1].y == 0)) { ^~ poly.c: In function 'inBox': poly.c:485:33: warning: declaration of 'origin' shadows a global declaration [-Wshadow] static int inBox(Point p, Point origin, Point corner) ^~~~~~ In file included from poly.h:21:0, from poly.c:21: geometry.h:31:18: note: shadowed declaration is here extern Point origin; ^~~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from poly.c:17: poly.c: In function 'polyOverlap': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ poly.c:533:8: note: in expansion of macro 'N_GNEW' tp1 = N_GNEW(maxcnt, Point); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ poly.c:534:8: note: in expansion of macro 'N_GNEW' tp2 = N_GNEW(maxcnt, Point); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC kkutils.lo kkutils.c: In function 'common_neighbors': kkutils.c:21:44: warning: unused parameter 'v' [-Wunused-parameter] int common_neighbors(vtx_data * graph, int v, int u, int *v_vector) ^ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from bfs.h:21, from kkutils.c:15: kkutils.c: In function 'compute_apsp_dijkstra': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ kkutils.c:65:15: note: in expansion of macro 'N_GNEW' storage = N_GNEW(n * n, DistType); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ kkutils.c:66:11: note: in expansion of macro 'N_GNEW' dij = N_GNEW(n, DistType *); ^~~~~~ kkutils.c: In function 'compute_apsp_simple': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ kkutils.c:81:25: note: in expansion of macro 'N_GNEW' DistType *storage = N_GNEW(n * n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ kkutils.c:85:11: note: in expansion of macro 'N_GNEW' dij = N_GNEW(n, DistType *); ^~~~~~ kkutils.c: In function 'quicksort_placef': kkutils.c:198:24: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(ordering+first, last-first+1, sizeof(ordering[0]), (qsort_cmpf)fcmpf); ^~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from bfs.h:21, from kkutils.c:15: kkutils.c: In function 'compute_new_weights': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ kkutils.c:249:20: note: in expansion of macro 'N_GNEW' int *vtx_vec = N_GNEW(n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ kkutils.c:255:15: note: in expansion of macro 'N_GNEW' weights = N_GNEW(nedges, float); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC embed_graph.lo In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from dijkstra.h:23, from embed_graph.c:23: embed_graph.c: In function 'embed_graph': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ embed_graph.c:43:25: note: in expansion of macro 'N_GNEW' DistType *storage = N_GNEW(n * dim, DistType); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ embed_graph.c:45:22: note: in expansion of macro 'N_GNEW' DistType *dist = N_GNEW(n, DistType); /* this vector stores the distances of ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ embed_graph.c:57:24: note: in expansion of macro 'N_GNEW' *Coords = coords = N_GNEW(dim, DistType *); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC pca.lo In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from pca.h:23, from pca.c:16: pca.c: In function 'PCA_alloc': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ pca.c:35:12: note: in expansion of macro 'N_GNEW' eigs = N_GNEW(new_dim, double *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ pca.c:37:12: note: in expansion of macro 'N_GNEW' eigs[i] = N_GNEW(dim, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ pca.c:38:13: note: in expansion of macro 'N_GNEW' evals = N_GNEW(new_dim, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ pca.c:40:10: note: in expansion of macro 'N_GNEW' DD = N_GNEW(dim, double *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ pca.c:41:19: note: in expansion of macro 'N_GNEW' storage_ptr = N_GNEW(dim * dim, double); ^~~~~~ pca.c: In function 'iterativePCA_1D': pca.c:102:12: warning: conversion to 'boolean {aka unsigned char}' from 'int' may alter its value [-Wconversion] return power_iteration(mat, dim, 1, &new_direction, &eval, TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC conjgrad.lo In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from conjgrad.h:23, from conjgrad.c:16: conjgrad.c: In function 'conjugate_gradient': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ conjgrad.c:34:17: note: in expansion of macro 'N_GNEW' double *r = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ conjgrad.c:35:17: note: in expansion of macro 'N_GNEW' double *p = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ conjgrad.c:36:18: note: in expansion of macro 'N_GNEW' double *Ap = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ conjgrad.c:37:18: note: in expansion of macro 'N_GNEW' double *Ax = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ conjgrad.c:38:22: note: in expansion of macro 'N_GNEW' double *alphap = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ conjgrad.c:40:22: note: in expansion of macro 'N_GNEW' double *orth_b = N_GNEW(n, double); ^~~~~~ conjgrad.c:52:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p_Ap == 0) ^~ conjgrad.c:70:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (r_r == 0) { ^~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from conjgrad.h:23, from conjgrad.c:16: conjgrad.c: In function 'conjugate_gradient_f': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ conjgrad.c:107:17: note: in expansion of macro 'N_GNEW' double *r = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ conjgrad.c:108:17: note: in expansion of macro 'N_GNEW' double *p = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ conjgrad.c:109:18: note: in expansion of macro 'N_GNEW' double *Ap = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ conjgrad.c:110:18: note: in expansion of macro 'N_GNEW' double *Ax = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ conjgrad.c:111:22: note: in expansion of macro 'N_GNEW' double *alphap = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ conjgrad.c:113:22: note: in expansion of macro 'N_GNEW' double *orth_b = N_GNEW(n, double); ^~~~~~ conjgrad.c:127:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p_Ap == 0) ^~ conjgrad.c:145:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (r_r == 0) { ^~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from conjgrad.h:23, from conjgrad.c:16: conjgrad.c: In function 'conjugate_gradient_mkernel': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ conjgrad.c:178:16: note: in expansion of macro 'N_NEW' float *r = N_NEW(n, float); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ conjgrad.c:179:16: note: in expansion of macro 'N_NEW' float *p = N_NEW(n, float); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ conjgrad.c:180:17: note: in expansion of macro 'N_NEW' float *Ap = N_NEW(n, float); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ conjgrad.c:181:17: note: in expansion of macro 'N_NEW' float *Ax = N_NEW(n, float); ^~~~~ conjgrad.c:207:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p_Ap == 0) ^~ conjgrad.c:221:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (r_r == 0) { ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC neatosplines.lo neatosplines.c: In function 'spline_merge': neatosplines.c:34:38: warning: unused parameter 'n' [-Wunused-parameter] static boolean spline_merge(node_t * n) ^ neatosplines.c: In function 'swap_ends_p': neatosplines.c:39:37: warning: unused parameter 'e' [-Wunused-parameter] static boolean swap_ends_p(edge_t * e) ^ neatosplines.c: At top level: neatosplines.c:44:1: warning: missing initializer for field 'ignoreSwap' of 'splineInfo {aka struct }' [-Wmissing-field-initializers] static splineInfo sinfo = { swap_ends_p, spline_merge }; ^~~~~~ In file included from ../../lib/common/render.h:40:0, from neato.h:35, from neatosplines.c:17: ../../lib/common/types.h:88:10: note: 'ignoreSwap' declared here boolean ignoreSwap; /* Test for swapped edges if false */ ^~~~~~~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from neatosplines.c:17: neatosplines.c: In function 'make_barriers': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatosplines.c:61:11: note: in expansion of macro 'N_GNEW' bar = N_GNEW(n, Pedge_t); ^~~~~~ neatosplines.c: In function 'newitem': neatosplines.c:117:29: warning: unused parameter 'd' [-Wunused-parameter] static void *newitem(Dt_t * d, edgeitem * obj, Dtdisc_t * disc) ^ neatosplines.c: In function 'freeitem': neatosplines.c:130:29: warning: unused parameter 'd' [-Wunused-parameter] static void freeitem(Dt_t * d, edgeitem * obj, Dtdisc_t * disc) ^ neatosplines.c:130:59: warning: unused parameter 'disc' [-Wunused-parameter] static void freeitem(Dt_t * d, edgeitem * obj, Dtdisc_t * disc) ^~~~ neatosplines.c: In function 'cmpitems': neatosplines.c:149:14: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] if ((x = key1->p1.x - key2->p1.x)) ^~~~ neatosplines.c:151:14: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] if ((x = key1->p1.y - key2->p1.y)) ^~~~ neatosplines.c:153:14: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] if ((x = key1->p2.x - key2->p2.x)) ^~~~ neatosplines.c:155:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] return (key1->p2.y - key2->p2.y); ~~~~~~~~~~~~^~~~~~~~~~~~~ neatosplines.c:136:17: warning: unused parameter 'd' [-Wunused-parameter] cmpitems(Dt_t * d, edgeinfo * key1, edgeinfo * key2, Dtdisc_t * disc) ^ neatosplines.c:136:65: warning: unused parameter 'disc' [-Wunused-parameter] cmpitems(Dt_t * d, edgeinfo * key1, edgeinfo * key2, Dtdisc_t * disc) ^~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from neatosplines.c:17: neatosplines.c: In function 'makeSelfArcs': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ neatosplines.c:239:19: note: in expansion of macro 'N_GNEW' edge_t **edges = N_GNEW(cnt, edge_t *); ^~~~~~ neatosplines.c: In function 'makeObstacle': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ neatosplines.c:329:12: note: in expansion of macro 'N_NEW' obs->ps = N_NEW(sides, Ppoint_t); ^~~~~ neatosplines.c:336:4: warning: switch missing default case [-Wswitch-default] switch (j) { ^~~~~~ neatosplines.c:277:13: warning: variable 'desc' set but not used [-Wunused-but-set-variable] epsf_t *desc; ^~~~ neatosplines.c: In function 'getPath': neatosplines.c:442:65: warning: unused parameter 'obs' [-Wunused-parameter] getPath(edge_t * e, vconfig_t * vconfig, int chkPts, Ppoly_t ** obs, ^~~ neatosplines.c:443:6: warning: unused parameter 'npoly' [-Wunused-parameter] int npoly) ^~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from neatosplines.c:17: neatosplines.c: In function '_spline_edges': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ neatosplines.c:567:8: note: in expansion of macro 'N_NEW' obs = N_NEW(agnnodes(g), Ppoly_t *); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ neatosplines.c:628:18: note: in expansion of macro 'N_NEW' P->boxes = N_NEW(agnnodes(g) + 20 * 2 * 9, boxf); ^~~~~ In file included from ../../lib/common/render.h:40:0, from neato.h:35, from neatosplines.c:17: neatosplines.c: In function '_neato_set_aspect': ../../lib/common/types.h:336:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define GD_bb(g) (((Agraphinfo_t*)AGDATA(g))->bb) ^ neatosplines.c:1011:6: note: in expansion of macro 'GD_bb' if (GD_bb(g).LL.x || GD_bb(g).LL.y) { ^~~~~ neatosplines.c:1011:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (GD_bb(g).LL.x || GD_bb(g).LL.y) { ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC matrix_ops.lo In file included from matrix_ops.c:16:0: matrix_ops.c: In function 'power_iteration': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ matrix_ops.c:30:23: note: in expansion of macro 'N_GNEW' double *tmp_vec = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ matrix_ops.c:31:24: note: in expansion of macro 'N_GNEW' double *last_vec = N_GNEW(n, double); ^~~~~~ matrix_ops.c: In function 'mult_dense_mat': matrix_ops.c:154:48: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] storage = (float *) realloc(C[0], dim1 * dim3 * sizeof(A[0])); ^ matrix_ops.c:155:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *CC = C = (float **) realloc(C, dim1 * sizeof(A)); ^ matrix_ops.c:157:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] storage = (float *) malloc(dim1 * dim3 * sizeof(A[0])); ^ matrix_ops.c:158:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *CC = C = (float **) malloc(dim1 * sizeof(A)); ^ matrix_ops.c: In function 'mult_dense_mat_d': matrix_ops.c:190:49: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] storage = (double *) realloc(C[0], dim1 * dim3 * sizeof(double)); ^ matrix_ops.c:191:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *CC = C = (double **) realloc(C, dim1 * sizeof(double *)); ^ matrix_ops.c:193:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] storage = (double *) malloc(dim1 * dim3 * sizeof(double)); ^ matrix_ops.c:194:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *CC = C = (double **) malloc(dim1 * sizeof(double *)); ^ matrix_ops.c: In function 'mult_sparse_dense_mat_transpose': matrix_ops.c:229:48: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] storage = (float *) realloc(C[0], dim1 * dim2 * sizeof(A[0])); ^ matrix_ops.c:230:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *CC = C = (float **) realloc(C, dim1 * sizeof(A)); ^ matrix_ops.c:232:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] storage = (float *) malloc(dim1 * dim2 * sizeof(A[0])); ^ matrix_ops.c:233:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *CC = C = (float **) malloc(dim1 * sizeof(A)); ^ matrix_ops.c: In function 'orthog1f': matrix_ops.c:555:9: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] sum /= n; ^~ matrix_ops.c: In function 'invert_vec': matrix_ops.c:719:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((v = vec[i]) != 0.0) ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC dijkstra.lo In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from bfs.h:21, from dijkstra.c:24: dijkstra.c: In function 'initHeap': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ dijkstra.c:104:20: note: in expansion of macro 'N_GNEW' else h->data = N_GNEW(n - 1, int); ^~~~~~ dijkstra.c: In function 'dijkstra': dijkstra.c:166:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] index = (int *) realloc(index, n * sizeof(int)); ^ dijkstra.c:179:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (closestDist == MAX_DIST) ^~ dijkstra.c:193:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dist[i] == MAX_DIST) /* 'i' is not connected to 'vertex' */ ^~ dijkstra.c: In function 'dijkstra_bounded': dijkstra.c:227:50: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (boolean *) realloc(node_in_neighborhood, n * sizeof(boolean)); ^ dijkstra.c:241:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] index = (int *) realloc(index, n * sizeof(int)); ^ dijkstra.c:259:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (closestDist == MAX_DIST) ^~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from bfs.h:21, from dijkstra.c:24: dijkstra.c: In function 'initHeap_f': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ dijkstra.c:305:15: note: in expansion of macro 'N_GNEW' h->data = N_GNEW(n - 1, int); ^~~~~~ dijkstra.c: In function 'dijkstra_f': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ dijkstra.c:371:13: note: in expansion of macro 'N_GNEW' index = N_GNEW(n, int); ^~~~~~ dijkstra.c:384:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (closestDist == MAXFLOAT) ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC closest.lo In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from kkutils.h:23, from closest.c:15: closest.c: In function 'initStack': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ closest.c:53:15: note: in expansion of macro 'N_GNEW' s->data = N_GNEW(n, Pair); ^~~~~~ closest.c: In function 'heapify': closest.c:34:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ(p,q) ((p).dist == (q).dist) ^ closest.c:91:35: note: in expansion of macro 'EQ' (LT(h->data[i],h->data[j]) || ((EQ(h->data[i],h->data[j])) && (rand()%2))) ^~ closest.c:106:26: note: in expansion of macro 'greaterPriority' if (insideHeap(h, l) && greaterPriority(h, l, i)) ^~~~~~~~~~~~~~~ closest.c:34:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ(p,q) ((p).dist == (q).dist) ^ closest.c:91:35: note: in expansion of macro 'EQ' (LT(h->data[i],h->data[j]) || ((EQ(h->data[i],h->data[j])) && (rand()%2))) ^~ closest.c:110:26: note: in expansion of macro 'greaterPriority' if (insideHeap(h, r) && greaterPriority(h, r, largest)) ^~~~~~~~~~~~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from kkutils.h:23, from closest.c:15: closest.c: In function 'initHeap': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ closest.c:148:15: note: in expansion of macro 'N_GNEW' h->data = N_GNEW(h->maxSize, Pair); ^~~~~~ closest.c: In function 'insert': closest.c:179:49: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] h->data = (Pair *) realloc(h->data, h->maxSize * sizeof(Pair)); ^ closest.c:34:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQ(p,q) ((p).dist == (q).dist) ^ closest.c:91:35: note: in expansion of macro 'EQ' (LT(h->data[i],h->data[j]) || ((EQ(h->data[i],h->data[j])) && (rand()%2))) ^~ closest.c:183:21: note: in expansion of macro 'greaterPriority' while (i > 0 && greaterPriority(h, i, parent(i))) { ^~~~~~~~~~~~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from kkutils.h:23, from closest.c:15: closest.c: In function 'find_closest_pairs': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ closest.c:212:17: note: in expansion of macro 'N_GNEW' int *left = N_GNEW(n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ closest.c:213:18: note: in expansion of macro 'N_GNEW' int *right = N_GNEW(n, int); ^~~~~~ closest.c:214:5: warning: missing initializer for field 'dist' of 'Pair {aka struct }' [-Wmissing-field-initializers] Pair pair = { 0, 0 }, new_pair; ^~~~ closest.c:30:12: note: 'dist' declared here double dist; /* distance between the nodes in the layout */ ^~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from kkutils.h:23, from closest.c:15: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ closest.c:217:21: note: in expansion of macro 'N_GNEW' int *ordering = N_GNEW(n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ closest.c:218:25: note: in expansion of macro 'N_GNEW' int *inv_ordering = N_GNEW(n, int); ^~~~~~ closest.c:66:49: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] s->data = (Pair*) realloc(s->data, s->max_size*sizeof(Pair)); \ ^ closest.c:248:2: note: in expansion of macro 'push' push(pairs_stack, pair); ^~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from kkutils.h:23, from closest.c:15: closest.c: In function 'construct_graph': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ closest.c:310:20: note: in expansion of macro 'N_GNEW' int *degrees = N_GNEW(n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ closest.c:314:18: note: in expansion of macro 'N_GNEW' int *edges = N_GNEW(new_nedges, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ closest.c:315:22: note: in expansion of macro 'N_GNEW' float *weights = N_GNEW(new_nedges, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ closest.c:331:30: note: in expansion of macro 'N_GNEW' *New_graph = new_graph = N_GNEW(n, vtx_data); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC bfs.lo bfs.c: In function 'bfs_bounded': bfs.c:74:47: warning: unused parameter 'n' [-Wunused-parameter] bfs_bounded(int vertex, vtx_data * graph, int n, DistType * dist, ^ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from defs.h:21, from bfs.h:21, from bfs.c:23: bfs.c: In function 'mkQueue': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ bfs.c:124:16: note: in expansion of macro 'N_GNEW' qp->data = N_GNEW(size, int); ^~~~~~ bfs.c: At top level: bfs.c:129:8: warning: no previous prototype for 'newQueue' [-Wmissing-prototypes] Queue *newQueue(int size) ^~~~~~~~ bfs.c:141:6: warning: no previous prototype for 'delQueue' [-Wmissing-prototypes] void delQueue(Queue * qp) ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC opt_arrangement.lo In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from opt_arrangement.c:14: opt_arrangement.c: In function 'compute_y_coords': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ opt_arrangement.c:51:17: note: in expansion of macro 'N_NEW' double *b = N_NEW(n, double); ^~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ opt_arrangement.c:67:23: note: in expansion of macro 'N_GNEW' uniform_weights = N_GNEW(nedges, float); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC stuff.lo In file included from ../../lib/common/render.h:44:0, from neato.h:35, from stuff.c:17: stuff.c: In function 'new_array': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stuff.c:52:10: note: in expansion of macro 'N_NEW' rv = N_NEW(m, double *); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stuff.c:53:11: note: in expansion of macro 'N_NEW' mem = N_NEW(m * n, double); ^~~~~ stuff.c: In function 'new_3array': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stuff.c:77:10: note: in expansion of macro 'N_NEW' rv = N_NEW(m + 1, double **); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stuff.c:79:10: note: in expansion of macro 'N_NEW' rv[i] = N_NEW(n + 1, double *); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stuff.c:81:17: note: in expansion of macro 'N_NEW' rv[i][j] = N_NEW(p, double); ^~~~~ stuff.c: In function 'lenattr': stuff.c:120:61: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((sscanf(s, "%lf", val) < 1) || (*val < 0) || ((*val == 0) && !Nop)) { ^~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from stuff.c:17: stuff.c: In function 'scan_graph_mode': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stuff.c:257:22: note: in expansion of macro 'N_NEW' GD_neato_nlist(G) = N_NEW(nV + 1, node_t *); ^~~~~ stuff.c: At top level: stuff.c:445:6: warning: no previous prototype for 'update_arrays' [-Wmissing-prototypes] void update_arrays(graph_t * G, int nG, int i) ^~~~~~~~~~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from stuff.c:17: stuff.c: In function 'move_node': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ stuff.c:573:9: note: in expansion of macro 'ALLOC' a = ALLOC(Ndim * Ndim, a, double); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ stuff.c:573:9: note: in expansion of macro 'ALLOC' a = ALLOC(Ndim * Ndim, a, double); ^~~~~ stuff.c: In function 'shortest_path': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stuff.c:673:12: note: in expansion of macro 'N_NEW' Heap = N_NEW(nG + 1, node_t *); ^~~~~ stuff.c: In function 'allow_edits': stuff.c:729:21: warning: unused parameter 'nsec' [-Wunused-parameter] int allow_edits(int nsec) ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC stress.lo stress.c: In function 'initLayout': stress.c:159:23: warning: unused parameter 'graph' [-Wunused-parameter] initLayout(vtx_data * graph, int n, int dim, double **coords, ^~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from stress.c:15: stress.c: In function 'circuitModel': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:202:18: note: in expansion of macro 'N_NEW' float *Dij = N_NEW(nG * (nG + 1) / 2, float); ^~~~~ stress.c: In function 'sparse_stress_subspace_majorization_kD': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:290:25: note: in expansion of macro 'N_GNEW' double **subspace = N_GNEW(subspace_dim, double *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:291:25: note: in expansion of macro 'N_GNEW' double *d_storage = N_GNEW(subspace_dim * n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:350:19: note: in expansion of macro 'N_GNEW' CenterIndex = N_GNEW(n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:370:12: note: in expansion of macro 'N_GNEW' dist = N_GNEW(n, DistType); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:375:22: note: in expansion of macro 'N_GNEW' invCenterIndex = N_GNEW(num_centers, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:377:15: note: in expansion of macro 'N_GNEW' storage = N_GNEW(n * num_centers, DistType); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:378:11: note: in expansion of macro 'N_GNEW' Dij = N_GNEW(num_centers, DistType *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:433:21: note: in expansion of macro 'N_GNEW' visited_nodes = N_GNEW(n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:434:17: note: in expansion of macro 'N_GNEW' distances = N_GNEW(n, dist_data); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:439:27: note: in expansion of macro 'N_GNEW' distances[i].edges = N_GNEW(n - 1, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:440:27: note: in expansion of macro 'N_GNEW' distances[i].edist = N_GNEW(n - 1, DistType); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:485:17: note: in expansion of macro 'N_GNEW' storage1 = N_GNEW(available_space, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:486:17: note: in expansion of macro 'N_GNEW' storage2 = N_GNEW(available_space, DistType); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:524:11: note: in expansion of macro 'N_GNEW' lap = N_GNEW(n, vtx_data); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:525:13: note: in expansion of macro 'N_GNEW' edges = N_GNEW(nedges + n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:526:13: note: in expansion of macro 'N_GNEW' ewgts = N_GNEW(nedges + n, float); ^~~~~~ stress.c:546:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ewgts[j] = -1.0 / (float) dist_list[j]; ^ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from stress.c:15: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:562:18: note: in expansion of macro 'N_GNEW' directions = N_GNEW(dim, double *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:563:21: note: in expansion of macro 'N_GNEW' directions[0] = N_GNEW(dim * subspace_dim, double); ^~~~~~ stress.c:599:22: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] directions[k][i] = (double) (rand()) / RAND_MAX; ^ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from stress.c:15: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:628:9: note: in expansion of macro 'N_GNEW' b = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ stress.c:629:20: note: in expansion of macro 'N_GNEW' b_restricted = N_GNEW(subspace_dim, double); ^~~~~~ stress.c:649:21: warning: conversion to 'float' from 'DistType {aka int}' may alter its value [-Wconversion] L_ij = -ewgts[j] * dist_list[j] / dist_ij; /* L_ij=w_{ij}*d_{ij}/dist_{ij} */ ^ stress.c:262:13: warning: unused parameter 'nedges_graph' [-Wunused-parameter] int nedges_graph, /* Number of edges */ ^~~~~~~~~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from stress.c:15: stress.c: In function 'compute_weighted_apsp_packed': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:716:18: note: in expansion of macro 'N_NEW' float *Dij = N_NEW(n * (n + 1) / 2, float); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:718:17: note: in expansion of macro 'N_NEW' float *Di = N_NEW(n, float); ^~~~~ stress.c: In function 'compute_apsp_packed': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:775:18: note: in expansion of macro 'N_NEW' float *Dij = N_NEW(n * (n + 1) / 2, float); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:777:20: note: in expansion of macro 'N_NEW' DistType *Di = N_NEW(n, DistType); ^~~~~ stress.c: In function 'compute_apsp_artifical_weights_packed': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:813:15: note: in expansion of macro 'N_NEW' weights = N_NEW(nedges, float); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:814:15: note: in expansion of macro 'N_NEW' vtx_vec = N_NEW(n, int); ^~~~~ stress.c:847:22: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] ((float) deg_i + deg_j - ^ stress.c:847:30: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] ((float) deg_i + deg_j - ^ stress.c: At top level: stress.c:868:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG > 1 ^~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from stress.c:15: stress.c: In function 'stress_majorization_kD_mkernel': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:1030:14: note: in expansion of macro 'N_NEW' coords = N_NEW(dim, float *); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:1031:17: note: in expansion of macro 'N_NEW' f_storage = N_NEW(dim * n, float); ^~~~~ stress.c:1043:29: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] constant_term = ((float) n * (n - 1) / 2); ^ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from stress.c:15: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:1079:15: note: in expansion of macro 'N_NEW' degrees = N_NEW(n, DegType); ^~~~~ stress.c:1081:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memset(degrees, 0, n * sizeof(DegType)); ^ stress.c:1093:16: warning: conversion to 'float' from 'long double' may alter its value [-Wfloat-conversion] lap2[count] = degrees[i]; ^~~~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from stress.c:15: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:1110:9: note: in expansion of macro 'N_NEW' b = N_NEW(dim, float *); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:1111:12: note: in expansion of macro 'N_NEW' b[0] = N_NEW(dim * n, float); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:1116:18: note: in expansion of macro 'N_NEW' tmp_coords = N_NEW(n, float); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:1117:24: note: in expansion of macro 'N_NEW' dist_accumulator = N_NEW(n, float); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ stress.c:1128:12: note: in expansion of macro 'N_NEW' lap1 = N_NEW(lap_length, float); ^~~~~ stress.c:1148:23: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memset(degrees, 0, n * sizeof(DegType)); ^ stress.c:1209:20: warning: conversion to 'float' from 'long double' may alter its value [-Wfloat-conversion] lap1[count] = degrees[i]; ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC overlap.lo overlap.c: In function 'comp_scan_points': overlap.c:92:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] scan_point *pp = (scan_point *) p; ^ overlap.c:93:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] scan_point *qq = (scan_point *) q; ^ overlap.c: At top level: overlap.c:110:6: warning: no previous prototype for 'NodeDest' [-Wmissing-prototypes] void NodeDest(void* a) { ^~~~~~~~ overlap.c: In function 'NodeDest': overlap.c:110:21: warning: unused parameter 'a' [-Wunused-parameter] void NodeDest(void* a) { ^ overlap.c: At top level: overlap.c:116:5: warning: no previous prototype for 'NodeComp' [-Wmissing-prototypes] int NodeComp(const void* a,const void* b) { ^~~~~~~~ overlap.c:121:6: warning: no previous prototype for 'NodePrint' [-Wmissing-prototypes] void NodePrint(const void* a) { ^~~~~~~~~ overlap.c: In function 'NodePrint': overlap.c:124:8: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] aa = (scan_point *) a; ^ overlap.c: At top level: overlap.c:129:6: warning: no previous prototype for 'InfoPrint' [-Wmissing-prototypes] void InfoPrint(void* a) { ^~~~~~~~~ overlap.c: In function 'InfoPrint': overlap.c:129:22: warning: unused parameter 'a' [-Wunused-parameter] void InfoPrint(void* a) { ^ overlap.c: At top level: overlap.c:133:6: warning: no previous prototype for 'InfoDest' [-Wmissing-prototypes] void InfoDest(void *a){ ^~~~~~~~ overlap.c: In function 'InfoDest': overlap.c:133:21: warning: unused parameter 'a' [-Wunused-parameter] void InfoDest(void *a){ ^ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from overlap.c:18: overlap.c: In function 'get_overlap_graph': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ overlap.c:148:17: note: in expansion of macro 'N_GNEW' scanpointsx = N_GNEW(2*n,scan_point); ^~~~~~ overlap.c:157:22: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(scanpointsx, 2*n, sizeof(scan_point), comp_scan_points); ^ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from overlap.c:18: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ overlap.c:159:17: note: in expansion of macro 'N_GNEW' scanpointsy = N_GNEW(2*n,scan_point); ^~~~~~ overlap.c: In function 'overlap_scaling': overlap.c:337:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (scale_sta == 0) { ^~ overlap.c: In function 'OverlapSmoother_new': overlap.c:399:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] sm->maxit_cg = sqrt((double) A->m); ^~~~ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from overlap.c:18: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ overlap.c:401:25: note: in expansion of macro 'N_GNEW' lambda = sm->lambda = N_GNEW(m,real); ^~~~~~ overlap.c: In function 'print_bounding_box': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ overlap.c:528:10: note: in expansion of macro 'N_GNEW' xmin = N_GNEW(dim,real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ overlap.c:529:10: note: in expansion of macro 'N_GNEW' xmax = N_GNEW(dim,real); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC compute_hierarchy.lo In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from ./digcola.h:21, from compute_hierarchy.c:14: compute_hierarchy.c: In function 'compute_hierarchy': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ compute_hierarchy.c:68:6: note: in expansion of macro 'N_GNEW' y = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ compute_hierarchy.c:76:29: note: in expansion of macro 'N_NEW' *orderingp = ordering = N_NEW(n, int); ^~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ compute_hierarchy.c:122:22: note: in expansion of macro 'N_GNEW' *levelsp = levels = N_GNEW(num_levels, int); ^~~~~~ compute_hierarchy.c:56:12: warning: variable 'spread' set but not used [-Wunused-but-set-variable] double spread; ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC constrained_majorization.lo constrained_majorization.c: In function 'stress_majorization_with_hierarchy': constrained_majorization.c:95:30: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] || (graph[i].edists[j] != 0); ^~ In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from constrained_majorization.c:14: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization.c:175:28: note: in expansion of macro 'N_GNEW' hierarchy_boundaries = N_GNEW(num_levels, float); ^~~~~~ constrained_majorization.c:244:6: warning: declaration of 'length' shadows a previous local [-Wshadow] int length = n + n * (n - 1) / 2; ^~~~~~ constrained_majorization.c:71:9: note: shadowed declaration is here int length; ^~~~~~ constrained_majorization.c:246:6: warning: declaration of 'count' shadows a previous local [-Wshadow] int count; ^~~~~ constrained_majorization.c:81:9: note: shadowed declaration is here int count; ^~~~~ In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from constrained_majorization.c:14: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization.c:276:14: note: in expansion of macro 'N_GNEW' coords = N_GNEW(dim, float *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization.c:277:17: note: in expansion of macro 'N_GNEW' f_storage = N_GNEW(dim * n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization.c:305:15: note: in expansion of macro 'N_GNEW' degrees = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization.c:336:9: note: in expansion of macro 'N_GNEW' b = N_GNEW(dim, float *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization.c:337:12: note: in expansion of macro 'N_GNEW' b[0] = N_GNEW(dim * n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization.c:342:18: note: in expansion of macro 'N_GNEW' tmp_coords = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization.c:343:24: note: in expansion of macro 'N_GNEW' dist_accumulator = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization.c:347:9: note: in expansion of macro 'N_GNEW' lap1 = N_GNEW(lap_length, float); ^~~~~~ constrained_majorization.c:488:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] levels_gap); ^~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC smart_ini_x.lo In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from smart_ini_x.c:14: smart_ini_x.c: In function 'power_iteration_orthog': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ smart_ini_x.c:68:20: note: in expansion of macro 'N_GNEW' double *tmp_vec = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ smart_ini_x.c:69:21: note: in expansion of macro 'N_GNEW' double *last_vec = N_GNEW(n, double); ^~~~~~ smart_ini_x.c: In function 'compute_avgs': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ smart_ini_x.c:184:19: note: in expansion of macro 'N_GNEW' float* row_avg = N_GNEW(n, float); ^~~~~~ smart_ini_x.c:194:28: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] row_avg[i]=(float)sum_row/n; ^ smart_ini_x.c:196:21: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] *all_avg=(float)sum/(n*n); ^ In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from smart_ini_x.c:14: smart_ini_x.c: In function 'compute_Bij': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ smart_ini_x.c:204:19: note: in expansion of macro 'N_GNEW' float* storage = N_GNEW(n*n,float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ smart_ini_x.c:205:16: note: in expansion of macro 'N_GNEW' float** Bij = N_GNEW(n, float*); ^~~~~~ smart_ini_x.c:215:31: warning: conversion to 'float' from 'DistType {aka int}' may alter its value [-Wconversion] Bij[i][j]=-(float)Dij[i][j]*Dij[i][j]+row_avg[i]+row_avg[j]-all_avg; ^ In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from smart_ini_x.c:14: smart_ini_x.c: In function 'CMDS_orthog': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ smart_ini_x.c:229:17: note: in expansion of macro 'N_GNEW' double* evals= N_GNEW(dim, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ smart_ini_x.c:233:16: note: in expansion of macro 'N_GNEW' orthog_aux = N_GNEW(n, double); ^~~~~~ smart_ini_x.c:224:23: warning: unused parameter 'graph' [-Wunused-parameter] CMDS_orthog(vtx_data* graph, int n, int dim, double** eigs, double tol, ^~~~~ In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from smart_ini_x.c:14: smart_ini_x.c: In function 'IMDS_given_dim': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ smart_ini_x.c:263:16: note: in expansion of macro 'N_GNEW' float** lap = N_GNEW(n, float*); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ smart_ini_x.c:266:20: note: in expansion of macro 'N_GNEW' double* balance = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ smart_ini_x.c:287:16: note: in expansion of macro 'N_GNEW' orthog_aux = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ smart_ini_x.c:308:14: note: in expansion of macro 'N_GNEW' f_storage = N_GNEW(n*n, float); ^~~~~~ smart_ini_x.c:331:34: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] Dij[i][j]=Dij[j][i]=diff>0 ? (DistType)sqrt(diff) : 0; ^ smart_ini_x.c:344:26: warning: conversion to 'float' from 'DistType {aka int}' may alter its value [-Wconversion] balance[i]+=Dij[i][j]*(-lap[i][j]); // w_{ij}*delta_{ij} ^ smart_ini_x.c:347:26: warning: conversion to 'float' from 'DistType {aka int}' may alter its value [-Wconversion] balance[i]-=Dij[i][j]*(-lap[i][j]); // w_{ij}*delta_{ij} ^ smart_ini_x.c:365:18: warning: conversion to 'float' from 'DistType {aka int}' may alter its value [-Wconversion] b+=Dij[i][j]*(-lap[i][j]); ^ smart_ini_x.c:369:18: warning: conversion to 'float' from 'DistType {aka int}' may alter its value [-Wconversion] b-=Dij[i][j]*(-lap[i][j]); ^ smart_ini_x.c:373:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((b != balance[i]) && (fabs(1-b/balance[i])>1e-5)) { ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC constraint.lo constraint.c: In function 'mapGraphs': constraint.c:145:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ED_minlen(ce) == 0.0) { ^~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from constraint.c:17: ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ constraint.c:146:7: note: in expansion of macro 'elist_append' elist_append(ce, ND_out(t)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ constraint.c:146:7: note: in expansion of macro 'elist_append' elist_append(ce, ND_out(t)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ constraint.c:147:7: note: in expansion of macro 'elist_append' elist_append(ce, ND_in(h)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ constraint.c:147:7: note: in expansion of macro 'elist_append' elist_append(ce, ND_in(h)); ^~~~~~~~~~~~ constraint.c:149:19: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] ED_minlen(ce) = delta; ^~~~~ constraint.c: At top level: constraint.c:155:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG > 1 ^~~~~ constraint.c: In function 'mkNConstraintG': constraint.c:255:18: warning: conversion to 'short unsigned int' from 'double' may alter its value [-Wfloat-conversion] ED_minlen(e) = delta; ^~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from constraint.c:17: ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ constraint.c:281:6: note: in expansion of macro 'elist_append' elist_append(e, ND_out(n)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ constraint.c:281:6: note: in expansion of macro 'elist_append' elist_append(e, ND_out(n)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ constraint.c:282:6: note: in expansion of macro 'elist_append' elist_append(e, ND_in(aghead(e))); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ constraint.c:282:6: note: in expansion of macro 'elist_append' elist_append(e, ND_in(aghead(e))); ^~~~~~~~~~~~ constraint.c: In function 'mkConstraintG': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ../../lib/common/types.h:262:56: note: in expansion of macro 'N_NEW' #define alloc_elist(n,L) do {L.size = 0; L.list = N_NEW(n + 1,edge_t*); } while (0) ^~~~~ constraint.c:346:6: note: in expansion of macro 'alloc_elist' alloc_elist(lcnt, ND_in(n)); ^~~~~~~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ../../lib/common/types.h:262:56: note: in expansion of macro 'N_NEW' #define alloc_elist(n,L) do {L.size = 0; L.list = N_NEW(n + 1,edge_t*); } while (0) ^~~~~ constraint.c:349:7: note: in expansion of macro 'alloc_elist' alloc_elist(2 * (cnt - 1), ND_out(prev)); ^~~~~~~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ ../../lib/common/types.h:262:56: note: in expansion of macro 'N_NEW' #define alloc_elist(n,L) do {L.size = 0; L.list = N_NEW(n + 1,edge_t*); } while (0) ^~~~~ constraint.c:351:7: note: in expansion of macro 'alloc_elist' alloc_elist(cnt - lcnt - 1, ND_out(prev)); ^~~~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ constraint.c:356:3: note: in expansion of macro 'elist_append' elist_append(e, ND_out(prev)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ constraint.c:356:3: note: in expansion of macro 'elist_append' elist_append(e, ND_out(prev)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ constraint.c:357:3: note: in expansion of macro 'elist_append' elist_append(e, ND_in(n)); ^~~~~~~~~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ ../../lib/common/types.h:261:44: note: in expansion of macro 'ALLOC' #define elist_append(item,L) do {L.list = ALLOC(L.size + 2,L.list,edge_t*); L.list[L.size++] = item; L.list[L.size] = NULL;} while(0) ^~~~~ constraint.c:357:3: note: in expansion of macro 'elist_append' elist_append(e, ND_in(n)); ^~~~~~~~~~~~ constraint.c:295:41: warning: unused parameter 'g' [-Wunused-parameter] static graph_t *mkConstraintG(graph_t * g, Dt_t * list, ^ constraint.c: In function 'initItem': constraint.c:583:40: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] w2 = SCALE * (POINTS(ND_width(n)/2.0) + margin.x); ^ constraint.c:583:40: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] constraint.c:21:15: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] #define SCALE 10 ^ constraint.c:583:7: note: in expansion of macro 'SCALE' w2 = SCALE * (POINTS(ND_width(n)/2.0) + margin.x); ^~~~~ constraint.c:584:41: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] h2 = SCALE * (POINTS(ND_height(n)/2.0) + margin.y); ^ constraint.c:584:41: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] constraint.c:21:15: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] #define SCALE 10 ^ constraint.c:584:7: note: in expansion of macro 'SCALE' h2 = SCALE * (POINTS(ND_height(n)/2.0) + margin.y); ^~~~~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from constraint.c:17: constraint.c: In function 'cAdjust': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constraint.c:639:20: note: in expansion of macro 'N_GNEW' nitem *nlist = N_GNEW(nnodes, nitem); ^~~~~~ constraint.c: In function 'compress': constraint.c:738:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p->pos.x == q->pos.x) ^~ constraint.c:743:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p->pos.y == q->pos.y) ^~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from constraint.c:17: constraint.c: In function 'mkOverlapSet': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constraint.c:766:17: note: in expansion of macro 'N_GNEW' pointf *S = N_GNEW(sz + 1, pointf); ^~~~~~ ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ constraint.c:777:11: note: in expansion of macro 'RALLOC' S = RALLOC(sz + 1, S, pointf); ^~~~~~ constraint.c:779:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p->pos.x == q->pos.x) ^~ constraint.c:786:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p->pos.y == q->pos.y) ^~ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from constraint.c:17: ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ constraint.c:800:9: note: in expansion of macro 'RALLOC' S = RALLOC(cnt + 1, S, pointf); ^~~~~~ constraint.c: In function 'computeScaleXY': constraint.c:814:21: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(aarr + 1, m, sizeof(pointf), (sortfn_t) sortf); ^ In file included from ../../lib/common/render.h:44:0, from neato.h:35, from constraint.c:17: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constraint.c:816:12: note: in expansion of macro 'N_GNEW' barr = N_GNEW(m + 1, pointf); ^~~~~~ constraint.c: In function 'scAdjust': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constraint.c:873:19: note: in expansion of macro 'N_GNEW' info *nlist = N_GNEW(nnodes, info); ^~~~~~ In file included from ../../lib/common/types.h:35:0, from ../../lib/common/render.h:40, from neato.h:35, from constraint.c:17: ../../lib/common/geom.h:69:27: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define PS2INCH(a_points) ((a_points)/(double)POINTS_PER_INCH) ^ constraint.c:885:13: note: in expansion of macro 'PS2INCH' margin.x = PS2INCH(margin.x); ^~~~~~~ ../../lib/common/geom.h:69:27: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define PS2INCH(a_points) ((a_points)/(double)POINTS_PER_INCH) ^ constraint.c:886:13: note: in expansion of macro 'PS2INCH' margin.y = PS2INCH(margin.y); ^~~~~~~ constraint.c:913:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (s.x == 0) { /* overlaps exist */ ^~ constraint.c: In function 'cAdjust': constraint.c:664:6: warning: this statement may fall through [-Wimplicit-fallthrough=] constrainY(g, nlist, nnodes, intersectX, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constraint.c:665:2: note: here case AM_ORTHO_YX : ^~~~ constraint.c:667:6: warning: this statement may fall through [-Wimplicit-fallthrough=] constrainX(g, nlist, nnodes, intersectY, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constraint.c:668:2: note: here case AM_PORTHOXY: ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC mosek_quad_solve.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC call_tri.lo call_tri.c:21:14: warning: no previous prototype for 'call_tri' [-Wmissing-prototypes] SparseMatrix call_tri(int n, int dim, real * x) ^~~~~~~~ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from call_tri.c:16: call_tri.c: In function 'call_tri': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ call_tri.c:28:16: note: in expansion of macro 'N_GNEW' real* xv = N_GNEW(n, real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ call_tri.c:29:16: note: in expansion of macro 'N_GNEW' real* yv = N_GNEW(n, real); ^~~~~~ call_tri.c:21:34: warning: unused parameter 'dim' [-Wunused-parameter] SparseMatrix call_tri(int n, int dim, real * x) ^~~ call_tri.c: At top level: call_tri.c:69:14: warning: no previous prototype for 'call_tri2' [-Wmissing-prototypes] SparseMatrix call_tri2(int n, int dim, real * xx) ^~~~~~~~~ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from call_tri.c:16: call_tri.c: In function 'call_tri2': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ call_tri.c:77:9: note: in expansion of macro 'N_GNEW' x = N_GNEW(n, real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ call_tri.c:78:9: note: in expansion of macro 'N_GNEW' y = N_GNEW(n, real); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC delaunay.lo In file included from delaunay.c:22:0: delaunay.c: In function 'tri': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:149:26: note: in expansion of macro 'N_GNEW' GVertex **vertices = N_GNEW(npt, GVertex *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:150:23: note: in expansion of macro 'N_GNEW' GtsEdge **edges = N_GNEW(nsegs, GtsEdge*); ^~~~~~ delaunay.c:197:13: warning: declaration of 'v1' shadows a previous local [-Wshadow] GtsVertex *v1 = (GtsVertex *) vertices[i]; ^~ delaunay.c:152:16: note: shadowed declaration is here GtsVertex *v1, *v2, *v3; ^~ In file included from delaunay.c:22:0: delaunay.c: In function 'delaunay_triangulation': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:274:16: note: in expansion of macro 'N_GNEW' delaunay = N_GNEW(n, v_data); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:285:13: note: in expansion of macro 'N_GNEW' edges = N_GNEW(2 * nedges + n, int); ^~~~~~ delaunay.c: In function 'delaunay_tri': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:360:10: note: in expansion of macro 'N_GNEW' edges = N_GNEW(2 * nedges, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:366:12: note: in expansion of macro 'N_GNEW' int* vs = N_GNEW(n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:371:15: note: in expansion of macro 'N_GNEW' ip = edges = N_GNEW(2 * nedges, int); ^~~~~~ delaunay.c:376:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (x[0] == x[1]) /* vertical line */ ^~ delaunay.c:380:13: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort (vs, n, sizeof(int), (qsort_cmpf)vcmp); ^ In file included from delaunay.c:22:0: delaunay.c: In function 'mkSurface': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:479:12: note: in expansion of macro 'N_GNEW' segs = N_GNEW(2 * nsegs, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:487:13: note: in expansion of macro 'N_GNEW' faces = N_GNEW(3 * nfaces, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:488:13: note: in expansion of macro 'N_GNEW' neigh = N_GNEW(3 * nfaces, int); ^~~~~~ delaunay.c: In function 'get_triangles': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:525:19: note: in expansion of macro 'N_GNEW' statf.faces = N_GNEW(3 * nfaces, int); ^~~~~~ delaunay.c: In function 'UG_graph': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:794:13: note: in expansion of macro 'N_GNEW' delaunay = N_GNEW(n, v_data); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ delaunay.c:808:13: note: in expansion of macro 'N_GNEW' delaunay = N_GNEW(n, v_data); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC quad_prog_solve.lo In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from quad_prog_solve.c:14: quad_prog_solve.c: In function 'unpackMatrix': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_solve.c:33:11: note: in expansion of macro 'N_GNEW' mat = N_GNEW(n, float *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_solve.c:34:14: note: in expansion of macro 'N_GNEW' mat[0] = N_GNEW(n * n, float); ^~~~~~ quad_prog_solve.c: In function 'computeHierarchyBoundaries': quad_prog_solve.c:101:46: warning: unused parameter 'n' [-Wunused-parameter] computeHierarchyBoundaries(float *place, int n, int *ordering, int *levels, ^ quad_prog_solve.c: In function 'constrained_majorization_new': quad_prog_solve.c:146:20: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (levels_gap != 0) { ^~ quad_prog_solve.c:198:30: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (place[ordering[right]] != cur_place) { ^~ quad_prog_solve.c:239:31: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (desired_place[node] == cur_place) { ^~ quad_prog_solve.c: In function 'compare_incr': quad_prog_solve.c:410:16: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (place[*(int *) a] > place[*(int *) b]) { ^ quad_prog_solve.c:410:36: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (place[*(int *) a] > place[*(int *) b]) { ^ quad_prog_solve.c:412:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] } else if (place[*(int *) a] < place[*(int *) b]) { ^ quad_prog_solve.c:412:43: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] } else if (place[*(int *) a] < place[*(int *) b]) { ^ quad_prog_solve.c: In function 'constrained_majorization_gradient_projection': quad_prog_solve.c:495:25: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (size_t) endOfLevel - levels[i], sizeof(int), ^ quad_prog_solve.c:502:40: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] place[l] + place[u] - levels_gap * (e->lev[l] + ^ quad_prog_solve.c:511:32: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] pos = place[u] - levels_gap * e->lev[u]; ^ quad_prog_solve.c:523:32: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] pos = place[l] - levels_gap * e->lev[l]; ^ quad_prog_solve.c:535:24: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] avgPos + levels_gap * e->lev[ordering[j]]; ^ quad_prog_solve.c:559:16: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] tmptest = fabs(place[i] - old_place[i]); ^~~~ quad_prog_solve.c:424:12: warning: unused parameter 'ndims' [-Wunused-parameter] int ndims, int cur_axis, ^~~~~ quad_prog_solve.c: In function 'constrained_majorization_new_with_gaps': quad_prog_solve.c:611:12: warning: declaration of 'place' shadows a global declaration [-Wshadow] float *place = coords[cur_axis]; ^~~~~ quad_prog_solve.c:407:15: note: shadowed declaration is here static float *place; ^~~~~ quad_prog_solve.c:755:31: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (desired_place[node] == cur_place) { ^~ quad_prog_solve.c:606:32: warning: unused parameter 'ndims' [-Wunused-parameter] float **coords, int ndims, ^~~~~ In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from quad_prog_solve.c:14: quad_prog_solve.c: In function 'initConstrainedMajorization': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_solve.c:988:14: note: in expansion of macro 'N_GNEW' e->lev = N_GNEW(n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_solve.c:997:18: note: in expansion of macro 'N_GNEW' e->fArray1 = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_solve.c:998:18: note: in expansion of macro 'N_GNEW' e->fArray2 = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_solve.c:999:18: note: in expansion of macro 'N_GNEW' e->fArray3 = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_solve.c:1000:18: note: in expansion of macro 'N_GNEW' e->fArray4 = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_solve.c:1001:18: note: in expansion of macro 'N_GNEW' e->iArray1 = N_GNEW(n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_solve.c:1002:18: note: in expansion of macro 'N_GNEW' e->iArray2 = N_GNEW(n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_solve.c:1003:18: note: in expansion of macro 'N_GNEW' e->iArray3 = N_GNEW(n, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_solve.c:1004:18: note: in expansion of macro 'N_GNEW' e->iArray4 = N_GNEW(n, int); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC constrained_majorization_ipsep.lo In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from constrained_majorization_ipsep.c:37: constrained_majorization_ipsep.c: In function 'stress_majorization_cola': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:208:16: note: in expansion of macro 'N_GNEW' float *clap = N_GNEW(clap_length, float); ^~~~~~ constrained_majorization_ipsep.c:222:12: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] v = 1.0 / v; ^~~ In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from constrained_majorization_ipsep.c:37: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:237:15: note: in expansion of macro 'N_GNEW' degrees = N_GNEW(n, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:253:14: note: in expansion of macro 'N_GNEW' coords = N_GNEW(dim, float *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:254:17: note: in expansion of macro 'N_GNEW' f_storage = N_GNEW(dim * n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:271:9: note: in expansion of macro 'N_GNEW' b = N_GNEW(dim, float *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:272:12: note: in expansion of macro 'N_GNEW' b[0] = N_GNEW(dim * n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:277:18: note: in expansion of macro 'N_GNEW' tmp_coords = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:278:24: note: in expansion of macro 'N_GNEW' dist_accumulator = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ constrained_majorization_ipsep.c:291:12: note: in expansion of macro 'N_GNEW' lap1 = N_GNEW(lap_length, float); ^~~~~~ constrained_majorization_ipsep.c:416:48: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] generateNonoverlapConstraints(cMajEnvHor, nsizeScale, coords, ^~~~~~~~~~ constrained_majorization_ipsep.c:441:48: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] generateNonoverlapConstraints(cMajEnvVrt, nsizeScale, coords, ^~~~~~~~~~ constrained_majorization_ipsep.c:59:13: warning: unused parameter 'nedges_graph' [-Wunused-parameter] int nedges_graph, /* Number of edges */ ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC quad_prog_vpsc.lo quad_prog_vpsc.c: In function 'constrained_majorization_vpsc': quad_prog_vpsc.c:76:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] place[i] = getVariablePos(e->vs[i]); ^~~~~~~~~~~~~~ quad_prog_vpsc.c:116:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (denominator != 0) ^~ quad_prog_vpsc.c:130:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] place[i] = getVariablePos(e->vs[i]); ^~~~~~~~~~~~~~ quad_prog_vpsc.c:149:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (denominator != 0.0) ^~ quad_prog_vpsc.c:161:14: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] test += fabs(place[i] - old_place[i]); ^~~~ In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from quad_prog_vpsc.c:28: quad_prog_vpsc.c: In function 'initCMajVPSC': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:211:13: note: in expansion of macro 'N_GNEW' e->vs = N_GNEW(n, Variable *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:253:10: note: in expansion of macro 'N_GNEW' e->vs = N_GNEW(n + e->ndv, Variable *); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:327:18: note: in expansion of macro 'N_GNEW' e->fArray1 = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:328:18: note: in expansion of macro 'N_GNEW' e->fArray2 = N_GNEW(n, float); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:329:18: note: in expansion of macro 'N_GNEW' e->fArray3 = N_GNEW(n, float); ^~~~~~ quad_prog_vpsc.c: In function 'generateNonoverlapConstraints': quad_prog_vpsc.c:400:16: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] nsizeScale *= 1.0001; ^~~~~~ quad_prog_vpsc.c: In function 'removeoverlaps': quad_prog_vpsc.c:622:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] coords[0][i] = getVariablePos(e->vs[i]); ^~~~~~~~~~~~~~ quad_prog_vpsc.c:627:17: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] coords[1][i] = getVariablePos(e->vs[i]); ^~~~~~~~~~~~~~ In file included from ../../lib/common/render.h:44:0, from ./neato.h:35, from ./defs.h:21, from digcola.h:21, from quad_prog_vpsc.c:28: quad_prog_vpsc.c: In function 'assign_digcola_levels': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:639:23: note: in expansion of macro 'N_GNEW' DigColaLevel *l = N_GNEW(num_divisions + 1, DigColaLevel); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:642:18: note: in expansion of macro 'N_GNEW' l[0].nodes = N_GNEW(l[0].num_nodes, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:649:15: note: in expansion of macro 'N_GNEW' l[i].nodes = N_GNEW(l[i].num_nodes, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ quad_prog_vpsc.c:657:27: note: in expansion of macro 'N_GNEW' l[num_divisions].nodes = N_GNEW(l[num_divisions].num_nodes, int); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CC multispline.lo multispline.c: In function 'spline_merge': multispline.c:20:38: warning: unused parameter 'n' [-Wunused-parameter] static boolean spline_merge(node_t * n) ^ multispline.c: In function 'swap_ends_p': multispline.c:25:37: warning: unused parameter 'e' [-Wunused-parameter] static boolean swap_ends_p(edge_t * e) ^ multispline.c: At top level: multispline.c:30:1: warning: missing initializer for field 'ignoreSwap' of 'splineInfo {aka struct }' [-Wmissing-field-initializers] static splineInfo sinfo = { swap_ends_p, spline_merge }; ^~~~~~ In file included from ../../lib/common/render.h:40:0, from ./multispline.h:17, from multispline.c:14: ../../lib/common/types.h:88:10: note: 'ignoreSwap' declared here boolean ignoreSwap; /* Test for swapped edges if false */ ^~~~~~~~~~ multispline.c: In function 'newItem': multispline.c:76:29: warning: unused parameter 'd' [-Wunused-parameter] static void *newItem(Dt_t * d, item * objp, Dtdisc_t * disc) ^ multispline.c: In function 'freeItem': multispline.c:88:29: warning: unused parameter 'd' [-Wunused-parameter] static void freeItem(Dt_t * d, item * obj, Dtdisc_t * disc) ^ multispline.c:88:55: warning: unused parameter 'disc' [-Wunused-parameter] static void freeItem(Dt_t * d, item * obj, Dtdisc_t * disc) ^~~~ multispline.c: In function 'newIpair': multispline.c:175:30: warning: unused parameter 'd' [-Wunused-parameter] static void *newIpair(Dt_t * d, Ipair * objp, Dtdisc_t * disc) ^ multispline.c: In function 'freeIpair': multispline.c:186:30: warning: unused parameter 'd' [-Wunused-parameter] static void freeIpair(Dt_t * d, Ipair * obj, Dtdisc_t * disc) ^ multispline.c:186:57: warning: unused parameter 'disc' [-Wunused-parameter] static void freeIpair(Dt_t * d, Ipair * obj, Dtdisc_t * disc) ^~~~ multispline.c: In function 'ctrlPtIdx': multispline.c:326:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((w.x == v.x) && (w.y == v.y)) ^~ multispline.c:326:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((w.x == v.x) && (w.y == v.y)) ^~ In file included from ../../lib/common/render.h:44:0, from ./multispline.h:17, from multispline.c:14: multispline.c: In function 'mkCtrlPts': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:356:10: note: in expansion of macro 'N_GNEW' ps = N_GNEW(mult, pointf); ^~~~~~ multispline.c: In function 'mkTriIndices': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:491:17: note: in expansion of macro 'N_GNEW' int *tris = N_GNEW(3 * sf->nfaces, int); ^~~~~~ multispline.c:492:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memcpy(tris, sf->faces, 3 * sf->nfaces * sizeof(int)); ^ multispline.c: In function 'addTriEdge': multispline.c:551:57: warning: unused parameter 'd' [-Wunused-parameter] static void addTriEdge(tgraph * g, int t, int h, double d, ipair seg) ^ In file included from ../../lib/common/render.h:44:0, from ./multispline.h:17, from multispline.c:14: multispline.c: In function 'mkTriGraph': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:596:16: note: in expansion of macro 'N_GNEW' g->nodes = N_GNEW(sf->nfaces + 2, tnode); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:601:13: note: in expansion of macro 'N_GNEW' edgei = N_GNEW(sf->nfaces + ne + 2 * maxv, int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:602:16: note: in expansion of macro 'N_GNEW' g->edges = N_GNEW(ne/2 + 2 * maxv, tedge); ^~~~~~ multispline.c: In function 'mkRouter': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ multispline.c:708:17: note: in expansion of macro 'N_NEW' int *obsi = N_NEW(npoly + 1, int); ^~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:713:11: note: in expansion of macro 'N_GNEW' pts = N_GNEW(npts, pointf); /* all points are stored in pts */ ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:714:12: note: in expansion of macro 'N_GNEW' segs = N_GNEW(2 * npts, int); /* indices of points forming segments */ ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:749:9: note: in expansion of macro 'N_GNEW' x = N_GNEW(npts, double); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:750:9: note: in expansion of macro 'N_GNEW' y = N_GNEW(npts, double); ^~~~~~ multispline.c: In function 'finishEdge': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:780:22: note: in expansion of macro 'N_GNEW' pointf *spline = N_GNEW(spl.pn, pointf); ^~~~~~ multispline.c: In function 'tweakEnd': multispline.c:805:26: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQPT(p,q) (((p).x==(q).x)&&((p).y==(q).y)) ^ multispline.c:832:9: note: in expansion of macro 'EQPT' if (EQPT(q, nxt) || EQPT(q, prv) ){ ^~~~ multispline.c:805:42: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQPT(p,q) (((p).x==(q).x)&&((p).y==(q).y)) ^ multispline.c:832:9: note: in expansion of macro 'EQPT' if (EQPT(q, nxt) || EQPT(q, prv) ){ ^~~~ multispline.c:805:26: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQPT(p,q) (((p).x==(q).x)&&((p).y==(q).y)) ^ multispline.c:832:25: note: in expansion of macro 'EQPT' if (EQPT(q, nxt) || EQPT(q, prv) ){ ^~~~ multispline.c:805:42: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] #define EQPT(p,q) (((p).x==(q).x)&&((p).y==(q).y)) ^ multispline.c:832:25: note: in expansion of macro 'EQPT' if (EQPT(q, nxt) || EQPT(q, prv) ){ ^~~~ multispline.c:822:44: warning: unused parameter 'pl' [-Wunused-parameter] tweakEnd (Ppoly_t poly, int s, Ppolyline_t pl, Ppoint_t q) ^~ In file included from ../../lib/common/render.h:44:0, from ./multispline.h:17, from multispline.c:14: multispline.c: In function 'genroute': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:867:23: note: in expansion of macro 'N_GNEW' Pedge_t *medges = N_GNEW(trip->poly.pn, Pedge_t); ^~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ multispline.c:911:12: note: in expansion of macro 'N_NEW' cpts = N_NEW(pl.pn - 2, pointf *); ^~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:922:15: note: in expansion of macro 'N_GNEW' poly.ps = N_GNEW(pn, pointf); ^~~~~~ multispline.c: In function 'mkPoly': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ multispline.c:1156:13: note: in expansion of macro 'N_NEW' side1 = N_NEW(nt + 4, side_t); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ multispline.c:1157:13: note: in expansion of macro 'N_NEW' side2 = N_NEW(nt + 4, side_t); ^~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:1213:17: note: in expansion of macro 'N_GNEW' pps = pts = N_GNEW(nt + 4, pointf); ^~~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ multispline.c:1214:12: note: in expansion of macro 'N_NEW' trim = N_NEW(nt + 4, tri *); ^~~~~ fPQ.h: In function 'PQgen': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ fPQ.h:42:14: note: in expansion of macro 'N_NEW' pq->pq = N_NEW(sz+1,PQTYPE); ^~~~~ In file included from multispline.c:1278:0: fPQ.h: At top level: fPQ.h:167:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG > 1 ^~~~~ In file included from ../../lib/common/render.h:44:0, from ./multispline.h:17, from multispline.c:14: multispline.c: In function 'triPath': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ multispline.c:1298:16: note: in expansion of macro 'N_NEW' int *dad = N_NEW(n, int); ^~~~~ multispline.c:1322:23: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (N_VAL(pq, adjn) == UNSEEN) { ^~ multispline.c:1323:25: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] N_VAL(pq, adjn) = d; ^ multispline.c:1327:26: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] PQupdate(pq, adjn, d); ^ In file included from ../../lib/common/render.h:44:0, from ./multispline.h:17, from multispline.c:14: multispline.c: In function 'makeMultiSpline': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:1365:12: note: in expansion of macro 'N_GNEW' idxs = N_GNEW(pq.pq.PQsize + 1, PQTYPE); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ multispline.c:1366:12: note: in expansion of macro 'N_GNEW' vals = N_GNEW(pq.pq.PQsize + 1, PQVTYPE); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' CCLD libneatogen_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' Making all in twopigen make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/twopigen' CC twopiinit.lo In file included from ../../lib/common/render.h:44:0, from circle.h:17, from twopiinit.c:20: twopiinit.c: In function 'twopi_init_node_edge': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ twopiinit.c:40:11: note: in expansion of macro 'N_NEW' alg = N_NEW(n_nodes, rdata); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ twopiinit.c:41:25: note: in expansion of macro 'N_NEW' GD_neato_nlist(g) = N_NEW(n_nodes + 1, node_t *); ^~~~~ twopiinit.c: In function 'twopi_layout': twopiinit.c:82:9: warning: variable 'doScale' set but not used [-Wunused-but-set-variable] int doScale = 0; ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/twopigen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/twopigen' CC circle.lo In file included from circle.c:15:0: circle.c: In function 'setNStepsToLeaf': circle.h:34:18: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define SLEAF(n) (RDATA(n)->nStepsToLeaf) ^ circle.c:30:18: note: in expansion of macro 'SLEAF' int nsteps = SLEAF(n) + 1; ^~~~~ circle.c:39:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (nsteps < SLEAF(next)) { /* handles loops and multiedges */ ^ circle.c:40:20: warning: conversion to 'uint64_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SLEAF(next) = nsteps; ^~~~~~ circle.c: In function 'initLayout': circle.c:78:15: warning: conversion to 'uint64_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SCENTER(n) = INF; ^~~ circle.c:83:17: warning: conversion to 'uint64_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SLEAF(n) = INF; ^~~ circle.c: In function 'findCenterNode': circle.c:110:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (SLEAF(n) > maxNStepsToLeaf) { ^ In file included from circle.c:15:0: circle.h:34:18: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define SLEAF(n) (RDATA(n)->nStepsToLeaf) ^ circle.c:111:24: note: in expansion of macro 'SLEAF' maxNStepsToLeaf = SLEAF(n); ^~~~~ circle.c: In function 'setNStepsToCenter': circle.h:37:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define SCENTER(n) (RDATA(n)->nStepsToCenter) ^ circle.c:195:15: note: in expansion of macro 'SCENTER' int nsteps = SCENTER(n) + 1; ^~~~~~~ circle.c:200:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (nsteps < SCENTER(next)) { ^ circle.c:201:19: warning: conversion to 'uint64_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] SCENTER(next) = nsteps; ^~~~~~ In file included from circle.c:15:0: circle.c: In function 'setParentNodes': circle.h:37:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define SCENTER(n) (RDATA(n)->nStepsToCenter) ^ circle.c:219:17: note: in expansion of macro 'SCENTER' int unset = SCENTER(center); ^~~~~~~ circle.c:227:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (SCENTER(n) == unset) { ^~ circle.c:230:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (SCENTER(n) > maxn) { ^ In file included from circle.c:15:0: circle.h:37:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define SCENTER(n) (RDATA(n)->nStepsToCenter) ^ circle.c:231:13: note: in expansion of macro 'SCENTER' maxn = SCENTER(n); ^~~~~~~ circle.c: In function 'setChildSubtreeSpans': circle.c:264:21: warning: conversion to 'double' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] ratio = SPAN(n) / STSIZE(n); ^ circle.c:271:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (SPAN(next) != 0.0) ^~ circle.c:273:22: warning: conversion to 'double' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] (SPAN(next) = ratio * STSIZE(next)); ^ circle.c: In function 'setChildPositions': circle.c:304:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (THETA(next) != UNSET) ^~ In file included from ../../lib/common/render.h:44:0, from circle.h:17, from circle.c:15: circle.c: In function 'getRankseps': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ circle.c:335:21: note: in expansion of macro 'N_NEW' double* ranks = N_NEW(maxrank+1, double); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/twopigen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/twopigen' CCLD libtwopigen_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/twopigen' Making all in sfdpgen make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' CC stress_model.lo stress_model.c:7:6: warning: no previous prototype for 'stress_model_core' [-Wmissing-prototypes] void stress_model_core(int dim, SparseMatrix B, real **x, int edge_len_weighted, int maxit_sm, real tol, int *flag){ ^~~~~~~~~~~~~~~~~ stress_model.c: In function 'stress_model_core': stress_model.c:28:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = MALLOC(sizeof(real)*m*dim); ^ stress_model.c:28:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = MALLOC(sizeof(real)*m*dim); ^ stress_model.c: In function 'stress_model': stress_model.c:98:41: warning: unused parameter 'A' [-Wunused-parameter] void stress_model(int dim, SparseMatrix A, SparseMatrix D, real **x, int edge_len_weighted, int maxit_sm, real tol, int *flag){ ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' CC sfdpinit.lo sfdpinit.c: In function 'sfdp_init_graph': sfdpinit.c:68:26: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] GD_ndim(agroot(g)) = late_int(g, agfindgraphattr(g, "dim"), outdim, 2); ^~~~~~~~ In file included from ../../lib/common/geom.h:20:0, from ../../lib/common/types.h:35, from ../../lib/common/render.h:40, from ./sfdp.h:19, from sfdpinit.c:23: ../../lib/common/arith.h:38:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] #define MIN(a,b) ((a)<(b)?(a):(b)) ^ sfdpinit.c:70:26: note: in expansion of macro 'MIN' GD_odim(agroot(g)) = MIN(outdim, Ndim); ^~~ In file included from ../../lib/common/render.h:44:0, from ./sfdp.h:19, from sfdpinit.c:23: sfdpinit.c: In function 'getPos': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ sfdpinit.c:79:17: note: in expansion of macro 'N_NEW' real *pos = N_NEW(Ndim * agnnodes(g), real); ^~~~~ sfdpinit.c:76:61: warning: unused parameter 'ctrl' [-Wunused-parameter] static real *getPos(Agraph_t * g, spring_electrical_control ctrl) ^~~~ sfdpinit.c: In function 'sfdpLayout': sfdpinit.c:123:5: warning: switch missing default case [-Wswitch-default] switch (ctrl->method) { ^~~~~~ sfdpinit.c: At top level: sfdpinit.c:173:5: warning: "UNUSED" is not defined, evaluates to 0 [-Wundef] #if UNUSED ^~~~~~ sfdpinit.c: In function 'tuneControl': sfdpinit.c:304:25: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] ctrl->random_seed = seed; ^~~~ sfdpinit.c: In function 'sfdp_cleanup_graph': sfdpinit.c:398:42: warning: unused parameter 'g' [-Wunused-parameter] static void sfdp_cleanup_graph(graph_t * g) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' CC PriorityQueue.lo In file included from PriorityQueue.c:16:0: PriorityQueue.c: In function 'PriorityQueue_new': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ PriorityQueue.c:35:16: note: in expansion of macro 'N_GNEW' q->buckets = N_GNEW((ngain+1),DoubleLinkedList); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ PriorityQueue.c:38:14: note: in expansion of macro 'N_GNEW' q->where = N_GNEW((n+1),DoubleLinkedList); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ PriorityQueue.c:41:13: note: in expansion of macro 'N_GNEW' q->gain = N_GNEW((n+1),int); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' CC uniform_stress.lo uniform_stress.c: In function 'UniformStressSmoother_new': uniform_stress.c:48:18: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] sm->maxit_cg = (int)sqrt((double) A->m); ^ uniform_stress.c:30:53: warning: unused parameter 'dim' [-Wunused-parameter] UniformStressSmoother UniformStressSmoother_new(int dim, SparseMatrix A, real *x, real alpha, real M, int *flag){ ^~~ uniform_stress.c:30:80: warning: unused parameter 'x' [-Wunused-parameter] UniformStressSmoother UniformStressSmoother_new(int dim, SparseMatrix A, real *x, real alpha, real M, int *flag){ ^ uniform_stress.c:30:108: warning: unused parameter 'flag' [-Wunused-parameter] UniformStressSmoother UniformStressSmoother_new(int dim, SparseMatrix A, real *x, real alpha, real M, int *flag){ ^~~~ uniform_stress.c: At top level: uniform_stress.c:106:6: warning: no previous prototype for 'UniformStressSmoother_smooth' [-Wmissing-prototypes] real UniformStressSmoother_smooth(UniformStressSmoother sm, int dim, real *x, int maxit_sm) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ uniform_stress.c:112:14: warning: no previous prototype for 'get_distance_matrix' [-Wmissing-prototypes] SparseMatrix get_distance_matrix(SparseMatrix A, real scaling){ ^~~~~~~~~~~~~~~~~~~ uniform_stress.c: In function 'get_distance_matrix': uniform_stress.c:125:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (scaling != 1) for (i = 0; i < B->nz; i++) val[i] *= scaling; ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' CC sparse_solve.lo sparse_solve.c:33:6: warning: no previous prototype for 'Operator_uniform_stress_matmul_delete' [-Wmissing-prototypes] void Operator_uniform_stress_matmul_delete(Operator o){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sparse_solve.c:37:7: warning: no previous prototype for 'Operator_uniform_stress_matmul_apply' [-Wmissing-prototypes] real *Operator_uniform_stress_matmul_apply(Operator o, real *x, real *y){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sparse_solve.c:69:7: warning: no previous prototype for 'Operator_matmul_apply' [-Wmissing-prototypes] real *Operator_matmul_apply(Operator o, real *x, real *y){ ^~~~~~~~~~~~~~~~~~~~~ sparse_solve.c:75:10: warning: no previous prototype for 'Operator_matmul_new' [-Wmissing-prototypes] Operator Operator_matmul_new(SparseMatrix A){ ^~~~~~~~~~~~~~~~~~~ sparse_solve.c:85:6: warning: no previous prototype for 'Operator_matmul_delete' [-Wmissing-prototypes] void Operator_matmul_delete(Operator o){ ^~~~~~~~~~~~~~~~~~~~~~ sparse_solve.c:90:7: warning: no previous prototype for 'Operator_diag_precon_apply' [-Wmissing-prototypes] real* Operator_diag_precon_apply(Operator o, real *x, real *y){ ^~~~~~~~~~~~~~~~~~~~~~~~~~ sparse_solve.c: In function 'Operator_uniform_stress_diag_precon_new': sparse_solve.c:111:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] o->data = MALLOC(sizeof(real)*(m + 1)); ^ sparse_solve.c: At top level: sparse_solve.c:129:10: warning: no previous prototype for 'Operator_diag_precon_new' [-Wmissing-prototypes] Operator Operator_diag_precon_new(SparseMatrix A){ ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from sparse_solve.h:18, from sparse_solve.c:16: sparse_solve.c: In function 'Operator_diag_precon_new': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ sparse_solve.c:140:13: note: in expansion of macro 'N_GNEW' o->data = N_GNEW((A->m + 1),real); ^~~~~~ sparse_solve.c: At top level: sparse_solve.c:157:6: warning: no previous prototype for 'Operator_diag_precon_delete' [-Wmissing-prototypes] void Operator_diag_precon_delete(Operator o){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from sparse_solve.h:18, from sparse_solve.c:16: sparse_solve.c: In function 'conjugate_gradient': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ sparse_solve.c:169:7: note: in expansion of macro 'N_GNEW' z = N_GNEW(n,real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ sparse_solve.c:170:7: note: in expansion of macro 'N_GNEW' r = N_GNEW(n,real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ sparse_solve.c:171:7: note: in expansion of macro 'N_GNEW' p = N_GNEW(n,real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ sparse_solve.c:172:7: note: in expansion of macro 'N_GNEW' q = N_GNEW(n,real); ^~~~~~ sparse_solve.c:192:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(p, z, sizeof(real)*n); ^ sparse_solve.c:162:114: warning: unused parameter 'flag' [-Wunused-parameter] static real conjugate_gradient(Operator A, Operator precon, int n, real *x, real *rhs, real tol, int maxit, int *flag){ ^~~~ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from sparse_solve.h:18, from sparse_solve.c:16: sparse_solve.c: In function 'cg': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ sparse_solve.c:230:7: note: in expansion of macro 'N_GNEW' x = N_GNEW(n, real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ sparse_solve.c:231:7: note: in expansion of macro 'N_GNEW' b = N_GNEW(n, real); ^~~~~~ sparse_solve.c: At top level: sparse_solve.c:249:7: warning: no previous prototype for 'jacobi' [-Wmissing-prototypes] real* jacobi(SparseMatrix A, int dim, real *x0, real *rhs, int maxit, int *flag){ ^~~~~~ sparse_solve.c: In function 'jacobi': sparse_solve.c:253:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x = MALLOC(sizeof(real)*n); ^ sparse_solve.c:254:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] y = MALLOC(sizeof(real)*n); ^ sparse_solve.c:255:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] b = MALLOC(sizeof(real)*n); ^ sparse_solve.c:275:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (sum == 0) fprintf(stderr,"neighb=%d\n",ia[i+1]-ia[i]); ^~ sparse_solve.c:280:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(x, y, sizeof(real)*n); ^ sparse_solve.c:249:76: warning: unused parameter 'flag' [-Wunused-parameter] real* jacobi(SparseMatrix A, int dim, real *x0, real *rhs, int maxit, int *flag){ ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' CC post_process.lo post_process.c:251:14: warning: no previous prototype for 'ideal_distance_matrix' [-Wmissing-prototypes] SparseMatrix ideal_distance_matrix(SparseMatrix A, int dim, real *x){ ^~~~~~~~~~~~~~~~~~~~~ In file included from post_process.c:21:0: post_process.c: In function 'ideal_distance_matrix': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ post_process.c:268:12: note: in expansion of macro 'N_GNEW' D->a = N_GNEW(D->nz,real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ post_process.c:272:10: note: in expansion of macro 'N_GNEW' mask = N_GNEW(D->m,int); ^~~~~~ post_process.c: In function 'StressMajorizationSmoother2_new': post_process.c:342:18: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] sm->maxit_cg = (int)sqrt((double) A->m); ^ In file included from post_process.c:21:0: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ post_process.c:344:25: note: in expansion of macro 'N_GNEW' lambda = sm->lambda = N_GNEW(m,real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ post_process.c:346:10: note: in expansion of macro 'N_GNEW' mask = N_GNEW(m,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ post_process.c:348:14: note: in expansion of macro 'N_GNEW' avg_dist = N_GNEW(m,real); ^~~~~~ post_process.c: In function 'SparseStressMajorizationSmoother_new': post_process.c:529:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (xdot == 0){ ^~ post_process.c:544:18: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] sm->maxit_cg = (int)sqrt((double) A->m); ^ post_process.c:546:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lambda = sm->lambda = MALLOC(sizeof(real)*m); ^ post_process.c:574:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dist*dist == 0){ ^~ post_process.c:581:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dist*dist == 0){ ^~ post_process.c:622:9: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (s == 0) { ^~ post_process.c: In function 'get_edge_label_matrix': post_process.c:700:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] irn = data->irn = MALLOC(sizeof(int)*nz); ^ post_process.c:701:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] jcn = data->jcn = MALLOC(sizeof(int)*nz); ^ post_process.c:702:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = data->val = MALLOC(sizeof(double)*nz); ^ post_process.c:736:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] irn = data->irn = MALLOC(sizeof(int)*nz); ^ post_process.c:737:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] jcn = data->jcn = MALLOC(sizeof(int)*nz); ^ post_process.c:738:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = data->val = MALLOC(sizeof(double)*nz); ^ post_process.c:740:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x00 = MALLOC(sizeof(real)*m*dim); ^ post_process.c:740:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x00 = MALLOC(sizeof(real)*m*dim); ^ post_process.c: In function 'get_stress': post_process.c:765:98: warning: unused parameter 'data' [-Wunused-parameter] real get_stress(int m, int dim, int *iw, int *jw, real *w, real *d, real *x, real scaling, void *data, int weighted){ ^~~~ In file included from post_process.c:21:0: post_process.c: In function 'StressMajorizationSmoother_smooth': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ post_process.c:822:8: note: in expansion of macro 'N_GNEW' x0 = N_GNEW(dim*m,real); ^~~~~~ post_process.c:825:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x0 = MEMCPY(x0, x, sizeof(real)*dim*m); ^ post_process.c:825:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] x0 = MEMCPY(x0, x, sizeof(real)*dim*m); ^ In file included from post_process.c:21:0: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ post_process.c:826:7: note: in expansion of macro 'N_GNEW' y = N_GNEW(dim*m,real); ^~~~~~ post_process.c:869:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (d[j] == 0){ ^~ post_process.c:872:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dist == 0){ ^~ post_process.c:931:5: warning: "UNIMPEMENTED" is not defined, evaluates to 0 [-Wundef] #if UNIMPEMENTED ^~~~~~~~~~~~ post_process.c:992:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(x, y, sizeof(real)*m*dim); ^ post_process.c:992:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(x, y, sizeof(real)*m*dim); ^ post_process.c:815:95: warning: variable 'res' set but not used [-Wunused-but-set-variable] real *w, *dd, *d, *y = NULL, *x0 = NULL, *x00 = NULL, diag, diff = 1, *lambda = sm->lambda, res, alpha = 0., M = 0.; ^~~ post_process.c:814:35: warning: variable 'jw' set but not used [-Wunused-but-set-variable] int i, j, k, m, *id, *jd, *iw, *jw, idiag, flag = 0, iter = 0; ^~ post_process.c:814:30: warning: variable 'iw' set but not used [-Wunused-but-set-variable] int i, j, k, m, *id, *jd, *iw, *jw, idiag, flag = 0, iter = 0; ^~ In file included from post_process.c:21:0: post_process.c: In function 'TriangleSmoother_new': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ post_process.c:1036:14: note: in expansion of macro 'N_GNEW' avg_dist = N_GNEW(m,real); ^~~~~~ post_process.c:1055:18: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] sm->maxit_cg = (int)sqrt((double) A->m); ^ In file included from post_process.c:21:0: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ post_process.c:1057:25: note: in expansion of macro 'N_GNEW' lambda = sm->lambda = N_GNEW(m,real); ^~~~~~ post_process.c: In function 'SpringSmoother_new': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ post_process.c:1155:10: note: in expansion of macro 'N_GNEW' mask = N_GNEW(m,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ post_process.c:1157:14: note: in expansion of macro 'N_GNEW' avg_dist = N_GNEW(m,real); ^~~~~~ post_process.c: In function 'post_process_smoothing': post_process.c:1278:3: warning: switch missing default case [-Wswitch-default] switch (ctrl->smoothing){ ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' CC Multilevel.lo In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from Multilevel.h:17, from Multilevel.c:14: Multilevel.c: In function 'maximal_independent_vertex_set': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:95:11: note: in expansion of macro 'N_GNEW' *vset = N_GNEW(m,int); ^~~~~~ Multilevel.c:87:30: warning: variable 'n' set but not used [-Wunused-but-set-variable] int i, ii, j, *ia, *ja, m, n, *p = NULL; ^ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from Multilevel.h:17, from Multilevel.c:14: Multilevel.c: In function 'maximal_independent_vertex_set_RS': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:148:11: note: in expansion of macro 'N_GNEW' *vset = N_GNEW(m,int); ^~~~~~ Multilevel.c:138:57: warning: variable 'removed' set but not used [-Wunused-but-set-variable] int i, jj, ii, *p = NULL, j, k, *ia, *ja, m, n, gain, removed, nf = 0; ^~~~~~~ Multilevel.c:138:48: warning: variable 'n' set but not used [-Wunused-but-set-variable] int i, jj, ii, *p = NULL, j, k, *ia, *ja, m, n, gain, removed, nf = 0; ^ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from Multilevel.h:17, from Multilevel.c:14: Multilevel.c: In function 'maximal_independent_edge_set': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:211:15: note: in expansion of macro 'N_GNEW' *matching = N_GNEW(m,int); ^~~~~~ Multilevel.c: In function 'maximal_independent_edge_set_heavest_edge_pernode': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:257:15: note: in expansion of macro 'N_GNEW' *matching = N_GNEW(m,int); ^~~~~~ Multilevel.c: In function 'maximal_independent_edge_set_heavest_edge_pernode_leaves_first': Multilevel.c:331:9: warning: declaration of 'UNMATCHED' shadows a global declaration [-Wshadow] enum {UNMATCHED = -2, MATCHED = -1}; ^~~~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from Multilevel.h:17, from Multilevel.c:14: ../../lib/sparse/general.h:129:7: note: shadowed declaration is here enum {UNMATCHED = -1}; ^~~~~~~~~ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from Multilevel.h:17, from Multilevel.c:14: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:340:14: note: in expansion of macro 'N_GNEW' *cluster = N_GNEW(m,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:341:15: note: in expansion of macro 'N_GNEW' *clusterp = N_GNEW((m+1),int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:342:13: note: in expansion of macro 'N_GNEW' matched = N_GNEW(m,int); ^~~~~~ Multilevel.c:327:30: warning: variable 'n' set but not used [-Wunused-but-set-variable] int i, ii, j, *ia, *ja, m, n, *p = NULL, q; ^ Multilevel.c: In function 'maximal_independent_edge_set_heavest_edge_pernode_supernodes_first': Multilevel.c:506:9: warning: declaration of 'UNMATCHED' shadows a global declaration [-Wshadow] enum {UNMATCHED = -2, MATCHED = -1}; ^~~~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from Multilevel.h:17, from Multilevel.c:14: ../../lib/sparse/general.h:129:7: note: shadowed declaration is here enum {UNMATCHED = -1}; ^~~~~~~~~ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from Multilevel.h:17, from Multilevel.c:14: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:516:14: note: in expansion of macro 'N_GNEW' *cluster = N_GNEW(m,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:517:15: note: in expansion of macro 'N_GNEW' *clusterp = N_GNEW((m+1),int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:518:13: note: in expansion of macro 'N_GNEW' matched = N_GNEW(m,int); ^~~~~~ Multilevel.c:502:30: warning: variable 'n' set but not used [-Wunused-but-set-variable] int i, ii, j, *ia, *ja, m, n, *p = NULL; ^ Multilevel.c: In function 'scomp': Multilevel.c:633:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ss1 = (real*) s1; ^ Multilevel.c:634:9: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ss2 = (real*) s2; ^ Multilevel.c: In function 'maximal_independent_edge_set_heavest_cluster_pernode_leaves_first': Multilevel.c:649:9: warning: declaration of 'UNMATCHED' shadows a global declaration [-Wshadow] enum {UNMATCHED = -2, MATCHED = -1}; ^~~~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from Multilevel.h:17, from Multilevel.c:14: ../../lib/sparse/general.h:129:7: note: shadowed declaration is here enum {UNMATCHED = -1}; ^~~~~~~~~ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from Multilevel.h:17, from Multilevel.c:14: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:659:14: note: in expansion of macro 'N_GNEW' *cluster = N_GNEW(m,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:660:15: note: in expansion of macro 'N_GNEW' *clusterp = N_GNEW((m+1),int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:661:13: note: in expansion of macro 'N_GNEW' matched = N_GNEW(m,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:662:11: note: in expansion of macro 'N_GNEW' vlist = N_GNEW(2*m,real); ^~~~~~ Multilevel.c:716:20: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(vlist, nv, sizeof(real)*2, scomp); ^~ Multilevel.c:646:30: warning: variable 'n' set but not used [-Wunused-but-set-variable] int i, ii, j, *ia, *ja, m, n, *p = NULL, q, iv; ^ Multilevel.c:645:20: warning: unused parameter 'randomize' [-Wunused-parameter] int randomize, int **cluster, int **clusterp, int *ncluster){ ^~~~~~~~~ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from Multilevel.h:17, from Multilevel.c:14: Multilevel.c: In function 'maximal_independent_edge_set_heavest_edge_pernode_scaled': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:752:15: note: in expansion of macro 'N_GNEW' *matching = N_GNEW(m,int); ^~~~~~ Multilevel.c: At top level: Multilevel.c:815:14: warning: no previous prototype for 'DistanceMatrix_restrict_cluster' [-Wmissing-prototypes] SparseMatrix DistanceMatrix_restrict_cluster(int ncluster, int *clusterp, int *cluster, SparseMatrix P, SparseMatrix R, SparseMatrix D){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Multilevel.c: In function 'DistanceMatrix_restrict_cluster': Multilevel.c:815:50: warning: unused parameter 'ncluster' [-Wunused-parameter] SparseMatrix DistanceMatrix_restrict_cluster(int ncluster, int *clusterp, int *cluster, SparseMatrix P, SparseMatrix R, SparseMatrix D){ ^~~~~~~~ Multilevel.c:815:65: warning: unused parameter 'clusterp' [-Wunused-parameter] SparseMatrix DistanceMatrix_restrict_cluster(int ncluster, int *clusterp, int *cluster, SparseMatrix P, SparseMatrix R, SparseMatrix D){ ^~~~~~~~ Multilevel.c:815:80: warning: unused parameter 'cluster' [-Wunused-parameter] SparseMatrix DistanceMatrix_restrict_cluster(int ncluster, int *clusterp, int *cluster, SparseMatrix P, SparseMatrix R, SparseMatrix D){ ^~~~~~~ Multilevel.c:815:102: warning: unused parameter 'P' [-Wunused-parameter] SparseMatrix DistanceMatrix_restrict_cluster(int ncluster, int *clusterp, int *cluster, SparseMatrix P, SparseMatrix R, SparseMatrix D){ ^ Multilevel.c:815:118: warning: unused parameter 'R' [-Wunused-parameter] SparseMatrix DistanceMatrix_restrict_cluster(int ncluster, int *clusterp, int *cluster, SparseMatrix P, SparseMatrix R, SparseMatrix D){ ^ Multilevel.c:815:134: warning: unused parameter 'D' [-Wunused-parameter] SparseMatrix DistanceMatrix_restrict_cluster(int ncluster, int *clusterp, int *cluster, SparseMatrix P, SparseMatrix R, SparseMatrix D){ ^ Multilevel.c: At top level: Multilevel.c:935:14: warning: no previous prototype for 'DistanceMatrix_restrict_matching' [-Wmissing-prototypes] SparseMatrix DistanceMatrix_restrict_matching(int *matching, SparseMatrix D){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Multilevel.c: In function 'DistanceMatrix_restrict_matching': Multilevel.c:935:52: warning: unused parameter 'matching' [-Wunused-parameter] SparseMatrix DistanceMatrix_restrict_matching(int *matching, SparseMatrix D){ ^~~~~~~~ Multilevel.c: At top level: Multilevel.c:941:14: warning: no previous prototype for 'DistanceMatrix_restrict_filtering' [-Wmissing-prototypes] SparseMatrix DistanceMatrix_restrict_filtering(int *mask, int is_C, int is_F, SparseMatrix D){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Multilevel.c: In function 'DistanceMatrix_restrict_filtering': Multilevel.c:941:53: warning: unused parameter 'mask' [-Wunused-parameter] SparseMatrix DistanceMatrix_restrict_filtering(int *mask, int is_C, int is_F, SparseMatrix D){ ^~~~ Multilevel.c:941:63: warning: unused parameter 'is_C' [-Wunused-parameter] SparseMatrix DistanceMatrix_restrict_filtering(int *mask, int is_C, int is_F, SparseMatrix D){ ^~~~ Multilevel.c:941:73: warning: unused parameter 'is_F' [-Wunused-parameter] SparseMatrix DistanceMatrix_restrict_filtering(int *mask, int is_C, int is_F, SparseMatrix D){ ^~~~ In file included from ../../lib/sparse/general.h:31:0, from ../../lib/sparse/SparseMatrix.h:16, from Multilevel.h:17, from Multilevel.c:14: Multilevel.c: In function 'Multilevel_coarsen_internal': ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:1033:11: note: in expansion of macro 'N_GNEW' irn = N_GNEW(n,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:1034:11: note: in expansion of macro 'N_GNEW' jcn = N_GNEW(n,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:1035:11: note: in expansion of macro 'N_GNEW' val = N_GNEW(n,real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:1085:11: note: in expansion of macro 'N_GNEW' irn = N_GNEW(n,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:1086:11: note: in expansion of macro 'N_GNEW' jcn = N_GNEW(n,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:1087:11: note: in expansion of macro 'N_GNEW' val = N_GNEW(n,real); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:1147:11: note: in expansion of macro 'N_GNEW' irn = N_GNEW(nzc,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:1148:11: note: in expansion of macro 'N_GNEW' jcn = N_GNEW(nzc,int); ^~~~~~ ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ Multilevel.c:1149:11: note: in expansion of macro 'N_GNEW' val = N_GNEW(nzc,real); ^~~~~~ Multilevel.c:1070:5: warning: this statement may fall through [-Wimplicit-fallthrough=] maximal_independent_edge_set(A, ctrl->randomize, &matching, &nmatch); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Multilevel.c:1071:3: note: here case COARSEN_INDEPENDENT_EDGE_SET_HEAVEST_EDGE_PERNODE: ^~~~ Multilevel.c:1072:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (ctrl->coarsen_scheme == COARSEN_INDEPENDENT_EDGE_SET_HEAVEST_EDGE_PERNODE) ^ Multilevel.c:1074:3: note: here case COARSEN_INDEPENDENT_EDGE_SET_HEAVEST_EDGE_PERNODE_DEGREE_SCALED: ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' CC spring_electrical.lo spring_electrical.c: In function 'spring_electrical_control_print': spring_electrical.c:101:67: warning: format '%f' expects argument of type 'double', but argument 5 has type 'int' [-Wformat=] fprintf (stderr, " smoothing %s overlap %d initial_scaling %.03f do_shrinking %d\n", ~~~~^ %.03d smoothings[ctrl->smoothing], ctrl->overlap, ctrl->do_shrinking, ctrl->initial_scaling); ~~~~~~~~~~~~~~~~~~ spring_electrical.c:101:83: warning: format '%d' expects argument of type 'int', but argument 6 has type 'double' [-Wformat=] fprintf (stderr, " smoothing %s overlap %d initial_scaling %.03f do_shrinking %d\n", ~^ %f smoothings[ctrl->smoothing], ctrl->overlap, ctrl->do_shrinking, ctrl->initial_scaling); ~~~~~~~~~~~~~~~~~~~~~ spring_electrical.c: At top level: spring_electrical.c:319:6: warning: no previous prototype for 'check_real_array_size' [-Wmissing-prototypes] void check_real_array_size(real **a, int len, int *lenmax){ ^~~~~~~~~~~~~~~~~~~~~ spring_electrical.c: In function 'check_real_array_size': spring_electrical.c:322:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *a = REALLOC(*a, sizeof(real)*(*lenmax)); ^ spring_electrical.c: At top level: spring_electrical.c:326:6: warning: no previous prototype for 'check_int_array_size' [-Wmissing-prototypes] void check_int_array_size(int **a, int len, int *lenmax){ ^~~~~~~~~~~~~~~~~~~~ spring_electrical.c: In function 'check_int_array_size': spring_electrical.c:329:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *a = REALLOC(*a, sizeof(int)*(*lenmax)); ^ spring_electrical.c: At top level: spring_electrical.c:334:6: warning: no previous prototype for 'get_angle' [-Wmissing-prototypes] real get_angle(real *x, int dim, int i, int j){ ^~~~~~~~~ spring_electrical.c:355:5: warning: no previous prototype for 'comp_real' [-Wmissing-prototypes] int comp_real(const void *x, const void *y){ ^~~~~~~~~ spring_electrical.c: In function 'comp_real': spring_electrical.c:356:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] real *xx = (real*) x; ^ spring_electrical.c:357:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] real *yy = (real*) y; ^ spring_electrical.c: In function 'sort_real': spring_electrical.c:367:12: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(a, n, sizeof(real), comp_real); ^ spring_electrical.c: In function 'beautify_leaves': spring_electrical.c:386:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] checked = MALLOC(sizeof(int)*m); ^ spring_electrical.c:387:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] angles = MALLOC(sizeof(real)*nangles_max); ^ spring_electrical.c:388:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] leaves = MALLOC(sizeof(int)*nleaves_max); ^ spring_electrical.c: In function 'spring_electrical_embedding_fast': spring_electrical.c:528:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] srand(ctrl->random_seed); ^~~~ spring_electrical.c:539:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MALLOC(sizeof(real)*dim*n); ^ spring_electrical.c:539:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MALLOC(sizeof(real)*dim*n); ^ spring_electrical.c:540:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] force = MALLOC(sizeof(real)*dim*n); ^ spring_electrical.c:540:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] force = MALLOC(sizeof(real)*dim*n); ^ spring_electrical.c:562:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MEMCPY(xold, x, sizeof(real)*dim*n); ^ spring_electrical.c:562:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MEMCPY(xold, x, sizeof(real)*dim*n); ^ spring_electrical.c: At top level: spring_electrical.c:686:6: warning: no previous prototype for 'spring_electrical_embedding_slow' [-Wmissing-prototypes] void spring_electrical_embedding_slow(int dim, SparseMatrix A0, spring_electrical_control ctrl, real *node_weights, real *x, int *flag){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spring_electrical.c: In function 'spring_electrical_embedding_slow': spring_electrical.c:717:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] force = MALLOC(sizeof(real)*n*dim); ^ spring_electrical.c:717:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] force = MALLOC(sizeof(real)*n*dim); ^ spring_electrical.c:722:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] center = MALLOC(sizeof(real)*nsupermax*dim); ^ spring_electrical.c:722:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] center = MALLOC(sizeof(real)*nsupermax*dim); ^ spring_electrical.c:723:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] supernode_wgts = MALLOC(sizeof(real)*nsupermax); ^ spring_electrical.c:724:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] distances = MALLOC(sizeof(real)*nsupermax); ^ spring_electrical.c:738:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] srand(ctrl->random_seed); ^~~~ spring_electrical.c:761:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f = MALLOC(sizeof(real)*dim); ^ spring_electrical.c:762:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MALLOC(sizeof(real)*dim*n); ^ spring_electrical.c:762:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MALLOC(sizeof(real)*dim*n); ^ spring_electrical.c:767:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MEMCPY(xold, x, sizeof(real)*dim*n); ^ spring_electrical.c:767:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MEMCPY(xold, x, sizeof(real)*dim*n); ^ spring_electrical.c:804:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c:817:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c:829:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c: In function 'spring_electrical_embedding': spring_electrical.c:980:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] center = MALLOC(sizeof(real)*nsupermax*dim); ^ spring_electrical.c:980:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] center = MALLOC(sizeof(real)*nsupermax*dim); ^ spring_electrical.c:981:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] supernode_wgts = MALLOC(sizeof(real)*nsupermax); ^ spring_electrical.c:982:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] distances = MALLOC(sizeof(real)*nsupermax); ^ spring_electrical.c:995:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] srand(ctrl->random_seed); ^~~~ spring_electrical.c:1018:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f = MALLOC(sizeof(real)*dim); ^ spring_electrical.c:1019:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MALLOC(sizeof(real)*dim*n); ^ spring_electrical.c:1019:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MALLOC(sizeof(real)*dim*n); ^ spring_electrical.c:1049:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MEMCPY(xold, x, sizeof(real)*dim*n); ^ spring_electrical.c:1049:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MEMCPY(xold, x, sizeof(real)*dim*n); ^ spring_electrical.c:1099:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c:1112:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c:1124:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c: In function 'scale_coord': spring_electrical.c:1222:10: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dj == 0.) return; ^~ spring_electrical.c: In function 'dmean_get': spring_electrical.c:1245:44: warning: unused parameter 'jd' [-Wunused-parameter] static real dmean_get(int n, int *id, int *jd, real* d){ ^~ spring_electrical.c: At top level: spring_electrical.c:1258:6: warning: no previous prototype for 'spring_maxent_embedding' [-Wmissing-prototypes] void spring_maxent_embedding(int dim, SparseMatrix A0, SparseMatrix D, spring_electrical_control ctrl, real *node_weights, real *x, real rho, int *flag){ ^~~~~~~~~~~~~~~~~~~~~~~ spring_electrical.c: In function 'spring_maxent_embedding': spring_electrical.c:1304:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] center = MALLOC(sizeof(real)*nsupermax*dim); ^ spring_electrical.c:1304:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] center = MALLOC(sizeof(real)*nsupermax*dim); ^ spring_electrical.c:1305:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] supernode_wgts = MALLOC(sizeof(real)*nsupermax); ^ spring_electrical.c:1306:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] distances = MALLOC(sizeof(real)*nsupermax); ^ spring_electrical.c:1335:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] srand(ctrl->random_seed); ^~~~ spring_electrical.c:1363:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f = MALLOC(sizeof(real)*dim); ^ spring_electrical.c:1364:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MALLOC(sizeof(real)*dim*n); ^ spring_electrical.c:1364:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MALLOC(sizeof(real)*dim*n); ^ spring_electrical.c:1367:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MEMCPY(xold, x, sizeof(real)*dim*n); ^ spring_electrical.c:1367:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MEMCPY(xold, x, sizeof(real)*dim*n); ^ spring_electrical.c:1400:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ctrl->q == 2){ ^~ spring_electrical.c:1405:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (ctrl->q == 1){/* square stress force */ ^~ spring_electrical.c:1429:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c:1437:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c:1457:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c:1470:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c:1482:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c: In function 'spring_electrical_spring_embedding': spring_electrical.c:1562:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] center = MALLOC(sizeof(real)*nsupermax*dim); ^ spring_electrical.c:1562:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] center = MALLOC(sizeof(real)*nsupermax*dim); ^ spring_electrical.c:1563:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] supernode_wgts = MALLOC(sizeof(real)*nsupermax); ^ spring_electrical.c:1564:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] distances = MALLOC(sizeof(real)*nsupermax); ^ spring_electrical.c:1580:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] srand(ctrl->random_seed); ^~~~ spring_electrical.c:1603:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] f = MALLOC(sizeof(real)*dim); ^ spring_electrical.c:1604:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MALLOC(sizeof(real)*dim*n); ^ spring_electrical.c:1604:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MALLOC(sizeof(real)*dim*n); ^ spring_electrical.c:1607:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MEMCPY(xold, x, sizeof(real)*dim*n); ^ spring_electrical.c:1607:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xold = MEMCPY(xold, x, sizeof(real)*dim*n); ^ spring_electrical.c:1654:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c:1667:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c:1679:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p == -1){ ^~ spring_electrical.c: In function 'interpolate_coord': spring_electrical.c:1793:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] y = MALLOC(sizeof(real)*dim); ^ spring_electrical.c: In function 'power_law_graph': spring_electrical.c:1838:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = MALLOC(sizeof(int)*(m+1)); ^ spring_electrical.c: In function 'pcp_rotate': spring_electrical.c:1884:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (y[1] == 0) { ^~ spring_electrical.c: In function 'attach_edge_label_coordinates': spring_electrical.c:1946:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = MALLOC(sizeof(int)*A->m); ^ spring_electrical.c: In function 'shorting_edge_label_nodes': spring_electrical.c:1991:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = MALLOC(sizeof(int)*A->m); ^ spring_electrical.c:2019:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] irn = MALLOC(sizeof(int)*nz); ^ spring_electrical.c:2020:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] jcn = MALLOC(sizeof(int)*nz); ^ spring_electrical.c: In function 'multilevel_spring_electrical_embedding_core': spring_electrical.c:2101:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] real *x2 = MALLOC(sizeof(real)*(A->m)*dim); ^ spring_electrical.c:2101:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] real *x2 = MALLOC(sizeof(real)*(A->m)*dim); ^ spring_electrical.c:2124:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xc = MALLOC(sizeof(real)*grid->n*dim); ^ spring_electrical.c:2124:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xc = MALLOC(sizeof(real)*grid->n*dim); ^ spring_electrical.c:2128:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ctrl->p == AUTOP){ ^~ spring_electrical.c:2194:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xf = MALLOC(sizeof(real)*grid->n*dim); ^ spring_electrical.c:2194:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xf = MALLOC(sizeof(real)*grid->n*dim); ^ spring_electrical.c:2224:22: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ctrl->rotation != 0) rotate(n, dim, x, ctrl->rotation); ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' CCLD libsfdpgen_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' Making all in osage make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/osage' CC osageinit.lo In file included from ../../lib/common/render.h:44:0, from osage.h:16, from osageinit.c:19: osageinit.c: In function 'addCluster': ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ osageinit.c:58:21: note: in expansion of macro 'RALLOC' clist->cl = RALLOC(clist->sz, clist->cl, graph_t *); ^~~~~~ osageinit.c: In function 'layout': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ osageinit.c:132:19: note: in expansion of macro 'N_NEW' pinfo.vals = N_NEW(total, packval_t); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ osageinit.c:138:10: note: in expansion of macro 'N_NEW' gs = N_NEW(total, boxf); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ osageinit.c:139:16: note: in expansion of macro 'N_NEW' children = N_NEW(total, void*); ^~~~~ osageinit.c:145:22: warning: conversion to 'packval_t {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] pinfo.vals[j] = late_int (subg, cattr, 0, 0); ^~~~~~~~ osageinit.c:159:19: warning: conversion to 'packval_t {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] pinfo.vals[j] = late_int (n, vattr, 0, 0); ^~~~~~~~ osageinit.c:202:16: warning: declaration of 'p' shadows a previous local [-Wshadow] pointf p; ^ osageinit.c:94:12: note: shadowed declaration is here pointf p; ^ In file included from ../../lib/common/render.h:44:0, from osage.h:16, from osageinit.c:19: osageinit.c: In function 'mkClusters': ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ osageinit.c:350:27: note: in expansion of macro 'RALLOC' GD_clust(g) = RALLOC(list.cnt + 1, list.cl, graph_t*); ^~~~~~ osageinit.c: At top level: osageinit.c:354:6: warning: no previous prototype for 'osage_layout' [-Wmissing-prototypes] void osage_layout(Agraph_t *g) ^~~~~~~~~~~~ osageinit.c:389:6: warning: no previous prototype for 'osage_cleanup' [-Wmissing-prototypes] void osage_cleanup(Agraph_t *g) ^~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/osage' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/osage' CCLD libosage_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/osage' Making all in gvpr make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' CC mkdefs.o mkdefs.c: In function 'genGuard': mkdefs.c:91:17: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *guard++ = toupper(c); ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' CCLD mkdefs make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' ./mkdefs gdefs.h < ../../lib/gvpr/gprdata make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' CC queue.lo queue.c: In function 'makef': queue.c:28:27: warning: unused parameter 'd' [-Wunused-parameter] static void *makef(Dt_t * d, nsitem * obj, Dtdisc_t * disc) ^ queue.c:28:55: warning: unused parameter 'disc' [-Wunused-parameter] static void *makef(Dt_t * d, nsitem * obj, Dtdisc_t * disc) ^~~~ queue.c: In function 'freef': queue.c:37:26: warning: unused parameter 'd' [-Wunused-parameter] static void freef(Dt_t * d, nsitem * obj, Dtdisc_t * disc) ^ queue.c:37:54: warning: unused parameter 'disc' [-Wunused-parameter] static void freef(Dt_t * d, nsitem * obj, Dtdisc_t * disc) ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' CC gprstate.lo In file included from ./gprstate.h:24:0, from gprstate.c:25: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from ./gprstate.h:25:0, from gprstate.c:25: ../../lib/expr/expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ../../lib/expr/expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./gprstate.h:25:0, from gprstate.c:25: ../../lib/expr/expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ../../lib/expr/expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ../../lib/expr/expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from gprstate.c:27:0: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ gprstate.c: In function 'openGPRState': ../../lib/ast/sfstr.h:30:47: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define sfstropen() sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING) ^ gprstate.c:50:24: note: in expansion of macro 'sfstropen' if (!(state->tmp = sfstropen())) { ^~~~~~~~~ gprstate.c: In function 'bindingcmpf': gprstate.c:74:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return strcmp (((gvprbinding*)key)->name, ((gvprbinding*)ip)->name); ^ gprstate.c:74:48: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return strcmp (((gvprbinding*)key)->name, ((gvprbinding*)ip)->name); ^ gprstate.c: In function 'findBinding': gprstate.c:95:55: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] bp = (gvprbinding*)bsearch(&key, state->bindings, state->n_bindings, sizeof(gvprbinding), bindingcmpf); ^~~~~ In file included from ./gprstate.h:23:0, from gprstate.c:25: gprstate.c: In function 'addBindings': ../../lib/ast/ast.h:71:94: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ gprstate.c:117:18: note: in expansion of macro 'newof' bufp = buf = newof(0, gvprbinding, n, 0); ^~~~~ gprstate.c:126:17: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort (buf, n, sizeof(gvprbinding), bindingcmpf); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' CC parse.lo In file included from parse.c:21:0: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ parse.c: In function 'readc': parse.c:104:7: warning: switch missing default case [-Wswitch-default] switch (cc = sfgetc(str)) { ^~~~~~ parse.c:97:3: warning: switch missing default case [-Wswitch-default] switch (c = sfgetc(str)) { ^~~~~~ parse.c: At top level: parse.c:144:6: warning: no previous prototype for 'unreadc' [-Wmissing-prototypes] void unreadc(Sfio_t * str, int c) ^~~~~~~ parse.c: In function 'parseID': parse.c:175:14: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *ptr++ = c; ^ parse.c:184:12: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *ptr++ = c; ^ parse.c: In function 'parseKind': parse.c:218:5: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ parse.c: In function 'endBracket': parse.c:295:31: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] if (endString(ins, outs, c)) return -1; ^ parse.c: In function 'parseBracket': parse.c:318:30: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] c = endBracket(str, buf, bc, ec); ^~ parse.c:318:34: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] c = endBracket(str, buf, bc, ec); ^~ In file included from parse.c:21:0: parse.c: In function 'parseCase': ../../lib/ast/sfstr.h:30:47: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define sfstropen() sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING) ^ parse.c:362:19: note: in expansion of macro 'sfstropen' Sfio_t *buf = sfstropen(); ^~~~~~~~~ parse.c:365:5: warning: switch missing default case [-Wswitch-default] switch (kind) { ^~~~~~ parse.c: In function 'parseProg': parse.c:520:2: warning: switch missing default case [-Wswitch-default] switch (parseCase(str, &guard, &gline, &action, &line)) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' CC compile.lo In file included from ./gprstate.h:24:0, from compile.h:23, from compile.c:25: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from ./gprstate.h:25:0, from compile.h:23, from compile.c:25: ../../lib/expr/expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ../../lib/expr/expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ./gprstate.h:25:0, from compile.h:23, from compile.c:25: ../../lib/expr/expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ../../lib/expr/expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ../../lib/expr/expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from compile.c:30:0: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ compile.c: In function 'iofread': compile.c:55:49: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] return read(sffileno((Sfio_t *) chan), buf, bufsize); ^~~~~~~ compile.c:55:12: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] return read(sffileno((Sfio_t *) chan), buf, bufsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compile.c: In function 'ioputstr': compile.c:60:12: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] return sfputr((Sfio_t *) chan, str, -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compile.c: In function 'bbOf': compile.c:126:12: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] len = p - pt; ^ compile.c:127:29: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] s = exstralloc(pgm, 0, len + 1); ^~~ compile.c:128:21: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] strncpy(s, pt, len); ^~~ compile.c: In function 'xyOf': compile.c:151:12: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] len = p - pt; ^ compile.c:152:29: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] v = exstralloc(pgm, 0, len + 1); ^~~ compile.c:153:21: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] strncpy(v, pt, len); ^~~ compile.c: At top level: compile.c:188:5: warning: "DEBUG" is not defined, evaluates to 0 [-Wundef] #if DEBUG > 1 ^~~~~ In file included from trie.c:3:0, from compile.c:42: compile.c: In function 'assignable': compile.c:359:24: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] TFA_Advance(ch & ~127 ? 127 : ch); ^ trieFA.h:62:12: note: in definition of macro 'TFA_Advance' char c = C; \ ^ compile.c:359:21: warning: conversion to 'char' from 'unsigned int' may alter its value [-Wconversion] TFA_Advance(ch & ~127 ? 127 : ch); ^ trieFA.h:62:12: note: in definition of macro 'TFA_Advance' char c = C; \ ^ compile.c:359:9: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] TFA_Advance(ch & ~127 ? 127 : ch); ^~~~~~~~~~~ compile.c: In function 'lookup': compile.c:47:31: warning: cast from function call of type 'Agraph_t * {aka struct Agraph_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:498:16: note: in expansion of macro 'PTR2INT' v->integer = PTR2INT(agparent((Agraph_t *) objp)); ^~~~~~~ compile.c:47:31: warning: cast from function call of type 'Agraph_t * {aka struct Agraph_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:505:19: note: in expansion of macro 'PTR2INT' v->integer = PTR2INT(agroot(agraphof(objp))); ^~~~~~~ compile.c: In function 'getval': compile.c:47:31: warning: cast from function call of type 'Agraph_t * {aka struct Agraph_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:701:15: note: in expansion of macro 'PTR2INT' v.integer = PTR2INT(agsubg(gp, args[1].string, 0)); ^~~~~~~ compile.c:47:31: warning: cast from function call of type 'Agnode_t * {aka struct Agnode_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:747:15: note: in expansion of macro 'PTR2INT' v.integer = PTR2INT(addNode(gp, np, 1)); ^~~~~~~ compile.c:47:31: warning: cast from function call of type 'Agnode_t * {aka struct Agnode_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:785:15: note: in expansion of macro 'PTR2INT' v.integer = PTR2INT(agnode(gp, args[1].string, 0)); ^~~~~~~ compile.c:47:31: warning: cast from function call of type 'Agnode_t * {aka struct Agnode_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:797:15: note: in expansion of macro 'PTR2INT' v.integer = PTR2INT(addNode(gp, np, 0)); ^~~~~~~ compile.c:47:31: warning: cast from function call of type 'Agraph_t * {aka struct Agraph_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:861:15: note: in expansion of macro 'PTR2INT' v.integer = PTR2INT(compOf(gp, np)); ^~~~~~~ compile.c:868:13: warning: switch missing default case [-Wswitch-default] } else switch (AGTYPE(objp)) { ^~~~~~ compile.c:47:31: warning: cast from function call of type 'Agedge_t * {aka struct Agedge_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:926:15: note: in expansion of macro 'PTR2INT' v.integer = PTR2INT(addEdge(gp, ep, 1)); ^~~~~~~ compile.c:47:31: warning: cast from function call of type 'Agedge_t * {aka struct Agedge_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:958:15: note: in expansion of macro 'PTR2INT' v.integer = PTR2INT(isEdge(agroot(np), np, hp, key)); ^~~~~~~ compile.c:47:31: warning: cast from function call of type 'Agedge_t * {aka struct Agedge_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:976:15: note: in expansion of macro 'PTR2INT' v.integer = PTR2INT(isEdge(gp, np, hp, key)); ^~~~~~~ compile.c:47:31: warning: cast from function call of type 'Agedge_t * {aka struct Agedge_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:984:15: note: in expansion of macro 'PTR2INT' v.integer = PTR2INT(addEdge(gp, ep, 0)); ^~~~~~~ compile.c:47:31: warning: cast from function call of type 'Agobj_t * {aka struct Agobj_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:1143:15: note: in expansion of macro 'PTR2INT' v.integer = PTR2INT(copy(gp, objp)); ^~~~~~~ compile.c:47:31: warning: cast from function call of type 'Agobj_t * {aka struct Agobj_s *}' to non-matching type 'long int' [-Wbad-function-cast] #define PTR2INT(v) ((Sflong_t)(intptr_t)(v)) ^ compile.c:1152:15: note: in expansion of macro 'PTR2INT' v.integer = PTR2INT(clone(gp, objp)); ^~~~~~~ compile.c:1209:35: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] v.integer = fwriteFile(pgm, gp, args[1].integer, state->dfltIO); ^~~~ compile.c:1212:26: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] gp = freadFile(pgm, args[0].integer); ^~~~ compile.c:1219:33: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] v.integer = closeFile(pgm, args[0].integer); ^~~~ compile.c:1222:31: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] v.string = readLine(pgm, args[0].integer); ^~~~ compile.c:1266:29: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] v.integer = lockGraph(gp, args[1].integer); ^~~~ compile.c:1352:9: warning: declaration of 'name' shadows a previous local [-Wshadow] char* name = args[1].string; ^~~~ compile.c:676:11: note: shadowed declaration is here char* name; ^~~~ compile.c:1371:9: warning: declaration of 'name' shadows a previous local [-Wshadow] char* name = args[2].string; ^~~~ compile.c:676:11: note: shadowed declaration is here char* name; ^~~~ compile.c:1415:9: warning: declaration of 'name' shadows a previous local [-Wshadow] char* name = args[2].string; ^~~~ compile.c:676:11: note: shadowed declaration is here char* name; ^~~~ compile.c:1486:18: warning: conversion to 'long long int' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] v.integer = strlen(args[0].string); ^~~~~~ compile.c:1512:24: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] v.string = getArg(args[0].integer, state); ^~~~ compile.c:1528:2: warning: switch missing default case [-Wswitch-default] switch (sym->index) { ^~~~~~ compile.c: In function 'typeName': compile.c:1589:32: warning: unused parameter 'pg' [-Wunused-parameter] static char *typeName(Expr_t * pg, int op) ^~ compile.c: In function 'setval': compile.c:1623:11: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] iv = v.integer; ^ compile.c:1624:19: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] if (validTVT(v.integer)) ^ compile.c:1601:23: warning: unused parameter 'elt' [-Wunused-parameter] void *env, int elt, Extype_t v, Exdisc_t * disc) ^~~ compile.c:1601:51: warning: unused parameter 'disc' [-Wunused-parameter] void *env, int elt, Extype_t v, Exdisc_t * disc) ^~~~ compile.c: In function 'typeChk': compile.c:1724:6: warning: switch missing default case [-Wswitch-default] switch (sym->index) { ^~~~~~ compile.c: In function 'refval': compile.c:1798:14: warning: unused parameter 'str' [-Wunused-parameter] char *str, int elt, Exdisc_t * disc) ^~~ compile.c:1798:23: warning: unused parameter 'elt' [-Wunused-parameter] char *str, int elt, Exdisc_t * disc) ^~~ compile.c: At top level: compile.c:1868:1: warning: no previous prototype for 'binary' [-Wmissing-prototypes] binary(Expr_t * pg, Exnode_t * l, Exnode_t * ex, Exnode_t * r, int arg, ^~~~~~ compile.c: In function 'binary': compile.c:1890:7: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] li = l->data.constant.value.integer; ^ compile.c:1891:7: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] ri = r->data.constant.value.integer; ^ compile.c:1892:2: warning: switch missing default case [-Wswitch-default] switch (ex->op) { ^~~~~~ compile.c:1941:5: warning: switch missing default case [-Wswitch-default] switch (ex->op) { ^~~~~~ compile.c:1868:17: warning: unused parameter 'pg' [-Wunused-parameter] binary(Expr_t * pg, Exnode_t * l, Exnode_t * ex, Exnode_t * r, int arg, ^~ compile.c:1869:19: warning: unused parameter 'disc' [-Wunused-parameter] Exdisc_t * disc) ^~~~ compile.c: In function 'stringOf': compile.c:2097:19: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] tvtypeToStr (x->data.constant.value.integer))) ^ compile.c: In function 'convert': compile.c:2147:6: warning: switch missing default case [-Wswitch-default] switch (type) { ^~~~~~ compile.c:2173:20: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] tvtypeToStr (x->data.constant.value.integer); ^ compile.c:2189:20: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] else if (validTVT(x->data.constant.value.integer)) ^ compile.c:2211:12: warning: conversion to 'Exshort_t {aka short int}' from 'int' may alter its value [-Wconversion] x->type = type; ^~~~ compile.c:2124:18: warning: unused parameter 'prog' [-Wunused-parameter] convert(Expr_t * prog, register Exnode_t * x, int type, ^~~~ compile.c:2125:20: warning: unused parameter 'xref' [-Wunused-parameter] register Exid_t * xref, int arg, Exdisc_t * disc) ^~~~ compile.c:2125:46: warning: unused parameter 'disc' [-Wunused-parameter] register Exid_t * xref, int arg, Exdisc_t * disc) ^~~~ In file included from ./gprstate.h:22:0, from compile.h:23, from compile.c:25: compile.c: In function 'keyval': ../../lib/cgraph/cgraph.h:104:20: warning: conversion to 'long long int' from 'IDTYPE {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] #define AGID(obj) (AGTAG(obj).id) ^ compile.c:2222:14: note: in expansion of macro 'AGID' v.integer = AGID(INT2PTR(Agobj_t *, v.integer)); ^~~~ compile.c:2219:33: warning: unused parameter 'pgm' [-Wunused-parameter] static Extype_t keyval(Expr_t * pgm, Extype_t v, int type, Exdisc_t * disc) ^~~ compile.c:2219:71: warning: unused parameter 'disc' [-Wunused-parameter] static Extype_t keyval(Expr_t * pgm, Extype_t v, int type, Exdisc_t * disc) ^~~~ compile.c: In function 'matchval': compile.c:2231:19: warning: unused parameter 'pgm' [-Wunused-parameter] matchval(Expr_t * pgm, Exnode_t * xstr, const char *str, Exnode_t * xpat, ^~~ compile.c:2231:35: warning: unused parameter 'xstr' [-Wunused-parameter] matchval(Expr_t * pgm, Exnode_t * xstr, const char *str, Exnode_t * xpat, ^~~~ compile.c:2231:69: warning: unused parameter 'xpat' [-Wunused-parameter] matchval(Expr_t * pgm, Exnode_t * xstr, const char *str, Exnode_t * xpat, ^~~~ compile.c:2232:26: warning: unused parameter 'env' [-Wunused-parameter] const char *pat, void *env, Exdisc_t * disc) ^~~ compile.c:2232:42: warning: unused parameter 'disc' [-Wunused-parameter] const char *pat, void *env, Exdisc_t * disc) ^~~~ In file included from ./gprstate.h:23:0, from compile.h:23, from compile.c:25: compile.c: In function 'mkStmts': ../../lib/ast/ast.h:71:94: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ compile.c:2349:10: note: in expansion of macro 'newof' cs = newof(0, case_stmt, cnt, 0); ^~~~~ compile.c: In function 'compileProg': ../../lib/ast/ast.h:71:94: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ compile.c:2498:19: note: in expansion of macro 'newof' p->blocks = bp = newof(0, comp_block, inp->n_blocks, 0); ^~~~~ compile.c: At top level: compile.c:2580:6: warning: no previous prototype for 'ptchk' [-Wmissing-prototypes] void ptchk(void) ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' CC gvpr.lo In file included from gprstate.h:24:0, from gvpr.c:29: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from gprstate.h:25:0, from gvpr.c:29: ../../lib/expr/expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ../../lib/expr/expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from gprstate.h:25:0, from gvpr.c:29: ../../lib/expr/expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ../../lib/expr/expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ../../lib/expr/expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from gvpr.c:37:0: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ In file included from gprstate.h:23:0, from gvpr.c:29: gvpr.c: In function 'parseArgs': ../../lib/ast/ast.h:72:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define oldof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)malloc(sizeof(t)*(n)+(x))) ^ gvpr.c:173:7: note: in expansion of macro 'oldof' av = oldof(*argv, char *, argc, 0); ^~~~~ ../../lib/ast/ast.h:72:92: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define oldof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)malloc(sizeof(t)*(n)+(x))) ^ gvpr.c:173:7: note: in expansion of macro 'oldof' av = oldof(*argv, char *, argc, 0); ^~~~~ In file included from gvpr.c:37:0: gvpr.c: In function 'concat': ../../lib/ast/sfstr.h:30:47: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define sfstropen() sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING) ^ gvpr.c:194:19: note: in expansion of macro 'sfstropen' if (!(pathp = sfstropen())) { ^~~~~~~~~ gvpr.c: In function 'resolve': gvpr.c:211:37: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] static char *resolve(char *arg, int Verbose) ^~~~~~~ In file included from gvpr.c:31:0: ../../lib/common/globals.h:73:26: note: shadowed declaration is here EXTERN unsigned char Verbose; ^~~~~~~ In file included from gvpr.c:37:0: ../../lib/ast/sfstr.h:30:47: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define sfstropen() sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING) ^ gvpr.c:244:16: note: in expansion of macro 'sfstropen' if (!(fp = sfstropen())) { ^~~~~~~~~ gvpr.c:260:11: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] sz = sfprintf(fp, path); ^~~~~~~~ In file included from gprstate.h:23:0, from gvpr.c:29: gvpr.c: In function 'scanArgs': ../../lib/ast/ast.h:71:94: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ gvpr.c:412:23: note: in expansion of macro 'newof' input_filenames = newof(0,char*,nfiles + 1,0); ^~~~~ gvpr.c:394:59: warning: unused parameter 'uopts' [-Wunused-parameter] static options* scanArgs(int argc, char **argv, gvpropts* uopts) ^~~~~ gvpr.c: In function 'evalEdge': gvpr.c:472:13: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] okay = (exeval(prog, cs->guard, state)).integer; ^ gvpr.c: In function 'evalNode': gvpr.c:495:13: warning: conversion to 'int' from 'long long int' may alter its value [-Wconversion] okay = (exeval(prog, cs->guard, state)).integer; ^ gvpr.c: In function 'traverse': gvpr.c:762:5: warning: switch missing default case [-Wswitch-default] switch (state->tvt) { ^~~~~~ In file included from gprstate.h:23:0, from gvpr.c:29: gvpr.c: In function 'addOutputGraph': ../../lib/ast/ast.h:72:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define oldof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)malloc(sizeof(t)*(n)+(x))) ^ gvpr.c:850:24: note: in expansion of macro 'oldof' uopts->outgraphs = oldof(uopts->outgraphs,Agraph_t*,uopts->n_outgraphs,0); ^~~~~ ../../lib/ast/ast.h:72:92: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define oldof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)malloc(sizeof(t)*(n)+(x))) ^ gvpr.c:850:24: note: in expansion of macro 'oldof' uopts->outgraphs = oldof(uopts->outgraphs,Agraph_t*,uopts->n_outgraphs,0); ^~~~~ gvpr.c: In function 'gvexitf': gvpr.c:900:18: warning: unused parameter 'handle' [-Wunused-parameter] gvexitf (Expr_t *handle, Exdisc_t *discipline, int v) ^~~~~~ gvpr.c:900:36: warning: unused parameter 'discipline' [-Wunused-parameter] gvexitf (Expr_t *handle, Exdisc_t *discipline, int v) ^~~~~~~~~~ gvpr.c: In function 'gvpr': gvpr.c:941:17: warning: variable 'prog' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] parse_prog *prog = 0; ^~~~ gvpr.c:942:20: warning: variable 'ing' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] ingraph_state *ing = 0; ^~~ gvpr.c:943:16: warning: variable 'xprog' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] comp_prog *xprog = 0; ^~~~~ gvpr.c:944:12: warning: variable 'state' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] Gpr_t *state = 0; ^~~~~ gvpr.c:947:14: warning: variable 'opts' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] options* opts = 0; ^~~~ gvpr.c:949:15: warning: variable 'nextg' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] Agraph_t* nextg = NULL; ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' CC actions.lo In file included from ./actions.h:22:0, from actions.c:19: ../../lib/expr/expr.h:33:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ ../../lib/expr/expr.h:36:6: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if !_BLD_expr && defined(__IMPORT__) ^~~~~~~~~ In file included from ../../lib/expr/expr.h:58:0, from ./actions.h:22, from actions.c:19: ../../lib/vmalloc/vmalloc.h:105:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:108:6: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if !_BLD_vmalloc && defined(__IMPORT__) ^~~~~~~~~~~~ ../../lib/vmalloc/vmalloc.h:135:5: warning: "_BLD_vmalloc" is not defined, evaluates to 0 [-Wundef] #if _BLD_vmalloc && defined(__EXPORT__) ^~~~~~~~~~~~ In file included from ./actions.h:22:0, from actions.c:19: ../../lib/expr/expr.h:117:5: warning: "LONG_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~~ ../../lib/expr/expr.h:117:16: warning: "INT_MAX" is not defined, evaluates to 0 [-Wundef] #if LONG_MAX > INT_MAX ^~~~~~~ ../../lib/expr/expr.h:296:5: warning: "_BLD_expr" is not defined, evaluates to 0 [-Wundef] #if _BLD_expr && defined(__EXPORT__) ^~~~~~~~~ In file included from actions.c:23:0: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ actions.c: In function 'indexOf': actions.c:67:12: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len2 = strlen(s2) - 1; ^~~~~~ actions.c:71:25: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (strncmp(p, s2 + 1, len2) == 0) ^~~~ actions.c:72:23: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] return ((p - s1) - 1); ~~~~~~~~~~^~~~ actions.c: In function 'rindexOf': actions.c:85:16: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int len1 = strlen(s1); ^~~~~~ actions.c:86:16: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int len2 = strlen(s2); ^~~~~~ actions.c:93:39: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if ((c == c1) && (strncmp(p+1, s2+1, len2-1) == 0)) ^~~~ actions.c:94:16: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] return (p - s1); ~~~^~~~~ actions.c: In function 'copy': actions.c:194:5: warning: switch missing default case [-Wswitch-default] switch (kind) { ^~~~~~ actions.c: In function 'cmppair': actions.c:290:27: warning: unused parameter 'd' [-Wunused-parameter] static int cmppair(Dt_t * d, Agedge_t** key1, Agedge_t** key2, Dtdisc_t * disc) ^ actions.c:290:75: warning: unused parameter 'disc' [-Wunused-parameter] static int cmppair(Dt_t * d, Agedge_t** key1, Agedge_t** key2, Dtdisc_t * disc) ^~~~ actions.c: In function 'cloneGraph': actions.c:320:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] edgepair_t* data = (edgepair_t*)malloc(sizeof(edgepair_t)*agnedges(src)); ^ actions.c: In function 'clone': actions.c:397:5: warning: switch missing default case [-Wswitch-default] switch (kind) { ^~~~~~ actions.c: In function 'fwriteFile': actions.c:653:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fd < 0 || fd >= elementsof(ex->file) ^~ actions.c: In function 'freadFile': actions.c:665:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fd < 0 || fd >= elementsof(ex->file) ^~ actions.c: In function 'openFile': actions.c:678:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (idx = 3; idx < elementsof(ex->file); idx++) ^ actions.c: In function 'readLine': actions.c:721:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fd < 0 || fd >= elementsof(ex->file) || !((sp = ex->file[fd]))) { ^~ In file included from actions.c:23:0: ../../lib/ast/sfstr.h:30:47: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define sfstropen() sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING) ^ actions.c:725:12: note: in expansion of macro 'sfstropen' tmps = sfstropen(); ^~~~~~~~~ actions.c: In function 'hsv2rgb': actions.c:851:2: warning: switch missing default case [-Wswitch-default] switch (i) { ^~~~~~ actions.c: In function 'rgb2hsv': actions.c:904:8: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (r == rgbmax) ^~ actions.c:906:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (g == rgbmax) ^~ actions.c:908:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (b == rgbmax) ^~ actions.c: In function 'colorcmpf': actions.c:934:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return strcasecmp(((hsvrgbacolor_t *) p0)->name, ((hsvrgbacolor_t *) p1)->name); ^ actions.c:934:55: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return strcasecmp(((hsvrgbacolor_t *) p0)->name, ((hsvrgbacolor_t *) p1)->name); ^ actions.c: In function 'canontoken': actions.c:945:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen(str); ^~~~~~ In file included from ../../lib/expr/expr.h:28:0, from ./actions.h:22, from actions.c:19: ../../lib/ast/ast.h:71:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ actions.c:948:10: note: in expansion of macro 'newof' canon = newof(canon, unsigned char, allocated, 0); ^~~~~ ../../lib/ast/ast.h:71:94: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ actions.c:948:10: note: in expansion of macro 'newof' canon = newof(canon, unsigned char, allocated, 0); ^~~~~ actions.c:957:10: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] c = tolower(c); ^~~~~~~ actions.c: In function 'fullColor': actions.c:971:15: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int len = strlen (prefix) + strlen (str) + 3; ^~~~~~ In file included from ../../lib/expr/expr.h:28:0, from ./actions.h:22, from actions.c:19: ../../lib/ast/ast.h:71:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ actions.c:975:10: note: in expansion of macro 'newof' fulls = newof(fulls, char, allocated, 0); ^~~~~ ../../lib/ast/ast.h:71:94: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ actions.c:975:10: note: in expansion of macro 'newof' fulls = newof(fulls, char, allocated, 0); ^~~~~ actions.c: In function 'colorxlate': actions.c:1086:25: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] color->u.rgba[0] = r; ^ actions.c:1087:25: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] color->u.rgba[1] = g; ^ actions.c:1088:25: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] color->u.rgba[2] = b; ^ actions.c:1089:25: warning: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion] color->u.rgba[3] = a; ^ actions.c:1096:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[0] = (int) C *255; ^ actions.c:1097:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[1] = (int) M *255; ^ actions.c:1098:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[2] = (int) Y *255; ^ actions.c:1099:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[3] = (int) K *255; ^ actions.c:1102:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] color->u.rrggbbaa[0] = r * 65535 / 255; ^ actions.c:1103:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] color->u.rrggbbaa[1] = g * 65535 / 255; ^ actions.c:1104:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] color->u.rrggbbaa[2] = b * 65535 / 255; ^ actions.c:1105:29: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] color->u.rrggbbaa[3] = a * 65535 / 255; ^ actions.c:1073:2: warning: switch missing default case [-Wswitch-default] switch (target_type) { ^~~~~~ actions.c:1124:8: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen((char*)p); ^~~~~~ In file included from ../../lib/expr/expr.h:28:0, from ./actions.h:22, from actions.c:19: ../../lib/ast/ast.h:71:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ actions.c:1127:14: note: in expansion of macro 'newof' canon = newof(canon, unsigned char, allocated, 0); ^~~~~ ../../lib/ast/ast.h:71:94: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define newof(p,t,n,x) ((p)?(t*)realloc((char*)(p),sizeof(t)*(n)+(x)):(t*)calloc(1,sizeof(t)*(n)+(x))) ^ actions.c:1127:14: note: in expansion of macro 'newof' canon = newof(canon, unsigned char, allocated, 0); ^~~~~ actions.c:1159:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.rgba[0] = (int) (R * 255); ^ actions.c:1160:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.rgba[1] = (int) (G * 255); ^ actions.c:1161:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.rgba[2] = (int) (B * 255); ^ actions.c:1162:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.rgba[3] = (int) (A * 255); ^ actions.c:1167:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[0] = (int) C *255; ^ actions.c:1168:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[1] = (int) M *255; ^ actions.c:1169:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[2] = (int) Y *255; ^ actions.c:1170:22: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[3] = (int) K *255; ^ actions.c:1150:6: warning: switch missing default case [-Wswitch-default] switch (target_type) { ^~~~~~ actions.c:1227:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[0] = (int) C * 255; ^ actions.c:1228:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[1] = (int) M * 255; ^ actions.c:1229:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[2] = (int) Y * 255; ^ actions.c:1230:25: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] color->u.cmyk[3] = (int) K * 255; ^ actions.c:1209:2: warning: switch missing default case [-Wswitch-default] switch (target_type) { ^~~~~~ actions.c:1254:5: warning: switch missing default case [-Wswitch-default] switch (target_type) { ^~~~~~ actions.c: In function 'gvelapsed_sec': actions.c:1357:83: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] #define DIFF_IN_SECS(S,T) ((S.tms_utime + S.tms_stime - T.tms_utime - T.tms_stime)/(double)HZ) ^ actions.c:1382:10: note: in expansion of macro 'DIFF_IN_SECS' rv = DIFF_IN_SECS(S, T); ^~~~~~~~~~~~ actions.c: In function 'colorx': actions.c:1323:5: warning: 'alpha' may be used uninitialized in this function [-Wmaybe-uninitialized] if (alpha) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' CCLD libgvpr_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' CCLD libgvpr.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' Making all in spine make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' CC union_find.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' CC subset.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' CC quad.lo quad.c: In function 'cmpdeg': quad.c:12:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Agnode_t *n0 = *(Agnode_t **) v0; ^ quad.c:13:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Agnode_t *n1 = *(Agnode_t **) v1; ^ In file included from quad.c:6:0: quad.c: In function 'genQuads': spinehdr.h:12:38: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)mcalloc((n),sizeof(t)) ^ quad.c:26:19: note: in expansion of macro 'N_NEW' Agnode_t **arr = N_NEW(nnodes, Agnode_t *); ^~~~~ spinehdr.h:12:38: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)mcalloc((n),sizeof(t)) ^ quad.c:28:16: note: in expansion of macro 'N_NEW' Dt_t **subs = N_NEW(nnodes, Dt_t *); ^~~~~ quad.c:50:13: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(arr, nnodes, sizeof(Agnode_t *), cmpdeg); ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' CC spine.lo spine.c: In function 'reweightEdge': spine.c:199:13: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ED_wt(e) = maxwt; ^~~~~ spine.c: In function 'setEdgeWeights': spine.c:229:14: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] ND_id(n) = i++; ^ spine.c:252:6: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] quadv / ^~~~~ spine.c: In function 'computeIndex': spine.c:328:26: warning: conversion to 'float' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] size_t r = ceilf(nedges * (1 - s)); ^ spine.c:328:13: warning: conversion to 'size_t {aka long unsigned int}' from 'float' may alter its value [-Wfloat-conversion] size_t r = ceilf(nedges * (1 - s)); ^~~~~ spine.c: In function 'doBucket': spine.c:337:42: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] while ((e = edgelist[idx]) && (ED_wt(e) == weight)) { ^~ spine.c: In function 'genSpine': spine.c:425:11: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] nedges = agnedges(g); ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' CCLD libspine_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' make[3]: Nothing to be done for 'all-am'. Making all in plugin Making all in core make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvplugin_core.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvrender_core_ps.lo gvrender_core_ps.c: In function 'psgen_begin_layer': gvrender_core_ps.c:115:50: warning: unused parameter 'layername' [-Wunused-parameter] static void psgen_begin_layer(GVJ_t * job, char *layername, int layerNum, int numLayers) ^~~~~~~~~ gvrender_core_ps.c: In function 'psgen_begin_anchor': gvrender_core_ps.c:204:61: warning: unused parameter 'tooltip' [-Wunused-parameter] static void psgen_begin_anchor(GVJ_t *job, char *url, char *tooltip, char *target, char *id) ^~~~~~~ gvrender_core_ps.c:204:76: warning: unused parameter 'target' [-Wunused-parameter] static void psgen_begin_anchor(GVJ_t *job, char *url, char *tooltip, char *target, char *id) ^~~~~~ gvrender_core_ps.c:204:90: warning: unused parameter 'id' [-Wunused-parameter] static void psgen_begin_anchor(GVJ_t *job, char *url, char *tooltip, char *target, char *id) ^~ gvrender_core_ps.c: In function 'psgen_bezier': gvrender_core_ps.c:325:50: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] psgen_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, ^~~~~~~~~~~~~~ gvrender_core_ps.c:326:11: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvrender_core_tk.lo In file included from ../../lib/common/types.h:39:0, from ../../lib/gvc/gvplugin_render.h:17, from gvrender_core_tk.c:23: gvrender_core_tk.c: In function 'tkgen_print_tags': ../../lib/cgraph/cgraph.h:104:20: warning: conversion to 'unsigned int' from 'IDTYPE {aka long unsigned int}' may alter its value [-Wconversion] #define AGID(obj) (AGTAG(obj).id) ^ gvrender_core_tk.c:64:17: note: in expansion of macro 'AGID' ObjId = AGID(obj->u.n); ^~~~ ../../lib/cgraph/cgraph.h:104:20: warning: conversion to 'unsigned int' from 'IDTYPE {aka long unsigned int}' may alter its value [-Wconversion] #define AGID(obj) (AGTAG(obj).id) ^ gvrender_core_tk.c:69:17: note: in expansion of macro 'AGID' ObjId = AGID(obj->u.n); ^~~~ ../../lib/cgraph/cgraph.h:104:20: warning: conversion to 'unsigned int' from 'IDTYPE {aka long unsigned int}' may alter its value [-Wconversion] #define AGID(obj) (AGTAG(obj).id) ^ gvrender_core_tk.c:76:17: note: in expansion of macro 'AGID' ObjId = AGID(obj->u.e); ^~~~ ../../lib/cgraph/cgraph.h:104:20: warning: conversion to 'unsigned int' from 'IDTYPE {aka long unsigned int}' may alter its value [-Wconversion] #define AGID(obj) (AGTAG(obj).id) ^ gvrender_core_tk.c:83:17: note: in expansion of macro 'AGID' ObjId = AGID(obj->u.e); ^~~~ ../../lib/cgraph/cgraph.h:104:20: warning: conversion to 'unsigned int' from 'IDTYPE {aka long unsigned int}' may alter its value [-Wconversion] #define AGID(obj) (AGTAG(obj).id) ^ gvrender_core_tk.c:88:10: note: in expansion of macro 'AGID' ObjId = AGID(obj->u.g); ^~~~ ../../lib/cgraph/cgraph.h:104:20: warning: conversion to 'unsigned int' from 'IDTYPE {aka long unsigned int}' may alter its value [-Wconversion] #define AGID(obj) (AGTAG(obj).id) ^ gvrender_core_tk.c:93:10: note: in expansion of macro 'AGID' ObjId = AGID(obj->u.g); ^~~~ ../../lib/cgraph/cgraph.h:104:20: warning: conversion to 'unsigned int' from 'IDTYPE {aka long unsigned int}' may alter its value [-Wconversion] #define AGID(obj) (AGTAG(obj).id) ^ gvrender_core_tk.c:98:10: note: in expansion of macro 'AGID' ObjId = AGID(obj->u.sg); ^~~~ ../../lib/cgraph/cgraph.h:104:20: warning: conversion to 'unsigned int' from 'IDTYPE {aka long unsigned int}' may alter its value [-Wconversion] #define AGID(obj) (AGTAG(obj).id) ^ gvrender_core_tk.c:103:10: note: in expansion of macro 'AGID' ObjId = AGID(obj->u.sg); ^~~~ gvrender_core_tk.c: In function 'tkgen_begin_node': gvrender_core_tk.c:154:38: warning: unused parameter 'job' [-Wunused-parameter] static void tkgen_begin_node(GVJ_t * job) ^~~ gvrender_core_tk.c: In function 'tkgen_begin_edge': gvrender_core_tk.c:159:38: warning: unused parameter 'job' [-Wunused-parameter] static void tkgen_begin_edge(GVJ_t * job) ^~~ gvrender_core_tk.c: In function 'tkgen_bezier': gvrender_core_tk.c:256:50: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] tkgen_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, ^~~~~~~~~~~~~~ gvrender_core_tk.c:257:12: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ^~~~~~~~~~~~ gvrender_core_tk.c:257:30: warning: unused parameter 'filled' [-Wunused-parameter] int arrow_at_end, int filled) ^~~~~~ gvrender_core_tk.c: In function 'tkgen_print_tags': gvrender_core_tk.c:109:5: warning: 'ObjFlag' may be used uninitialized in this function [-Wmaybe-uninitialized] gvprintf(job, " -tags {%d%s%p}", ObjFlag, ObjType, ObjId); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gvrender_core_tk.c:109:5: warning: 'ObjId' may be used uninitialized in this function [-Wmaybe-uninitialized] gvrender_core_tk.c:109:5: warning: 'ObjType' may be used uninitialized in this function [-Wmaybe-uninitialized] make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvrender_core_mp.lo gvrender_core_mp.c: In function 'mp_string': gvrender_core_mp.c:71:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] buf = malloc(bufsize * sizeof(char)); ^ gvrender_core_mp.c:75:17: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] while ((c = *s++)) { ^ gvrender_core_mp.c:78:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] buf = realloc(buf, bufsize * sizeof(char)); ^ gvrender_core_mp.c:86:20: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] *p++ = c; ^ gvrender_core_mp.c: In function 'mpColorResolve': gvrender_core_mp.c:125:14: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] red[c] = r; ^ gvrender_core_mp.c:126:16: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] green[c] = g; ^ gvrender_core_mp.c:127:15: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] blue[c] = b; ^ gvrender_core_mp.c: In function 'mp_begin_page': gvrender_core_mp.c:223:35: warning: unused parameter 'job' [-Wunused-parameter] static void mp_begin_page(GVJ_t * job) ^~~ gvrender_core_mp.c: In function 'mp_begin_node': gvrender_core_mp.c:228:35: warning: unused parameter 'job' [-Wunused-parameter] static void mp_begin_node(GVJ_t * job) ^~~ gvrender_core_mp.c: In function 'mp_end_node': gvrender_core_mp.c:233:33: warning: unused parameter 'job' [-Wunused-parameter] static void mp_end_node(GVJ_t * job) ^~~ gvrender_core_mp.c: In function 'mp_begin_edge': gvrender_core_mp.c:238:35: warning: unused parameter 'job' [-Wunused-parameter] static void mp_begin_edge(GVJ_t * job) ^~~ gvrender_core_mp.c: In function 'mp_end_edge': gvrender_core_mp.c:243:33: warning: unused parameter 'job' [-Wunused-parameter] static void mp_end_edge(GVJ_t * job) ^~~ gvrender_core_mp.c: In function 'mp_ellipse': gvrender_core_mp.c:294:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_mp.c: In function 'mp_bezier': gvrender_core_mp.c:331:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_mp.c:354:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1) * 20 * sizeof(char)); ^ gvrender_core_mp.c:323:59: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] static void mp_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, ^~~~~~~~~~~~~~ gvrender_core_mp.c:324:12: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ^~~~~~~~~~~~ gvrender_core_mp.c: In function 'mp_polygon': gvrender_core_mp.c:419:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_mp.c: In function 'mp_polyline': gvrender_core_mp.c:450:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvrender_core_map.lo gvrender_core_map.c: In function 'map_output_shape': gvrender_core_map.c:40:24: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] A = realloc(A, size_A * sizeof(point)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvrender_core_pic.lo gvrender_core_pic.c: In function 'pic_string': gvrender_core_pic.c:160:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] buf = malloc(bufsize * sizeof(char)); ^ gvrender_core_pic.c:164:17: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] while ((c = *s++)) { ^ gvrender_core_pic.c:167:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] buf = realloc(buf, bufsize * sizeof(char)); ^ gvrender_core_pic.c:175:20: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] *p++ = c; ^ gvrender_core_pic.c: In function 'pic_bezier': gvrender_core_pic.c:425:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1) * 20 * sizeof(char)); ^ gvrender_core_pic.c:407:9: warning: variable 'area_fill' set but not used [-Wunused-but-set-variable] int area_fill; ^~~~~~~~~ gvrender_core_pic.c:405:9: warning: variable 'fill_color' set but not used [-Wunused-but-set-variable] int fill_color = obj->fillcolor.u.index; ^~~~~~~~~~ gvrender_core_pic.c:401:9: warning: variable 'sub_type' set but not used [-Wunused-but-set-variable] int sub_type; ^~~~~~~~ gvrender_core_pic.c:394:60: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] static void pic_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, ^~~~~~~~~~~~~~ gvrender_core_pic.c:396:12: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ^~~~~~~~~~~~ gvrender_core_pic.c: In function 'pic_polygon': gvrender_core_pic.c:483:61: warning: unused parameter 'filled' [-Wunused-parameter] static void pic_polygon(GVJ_t * job, pointf * A, int n, int filled) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvrender_core_dot.lo gvrender_core_dot.c: In function 'xdot_point': gvrender_core_dot.c:152:32: warning: declaration of 'xbuf' shadows a global declaration [-Wshadow] static void xdot_point(agxbuf *xbuf, pointf p) ^~~~ gvrender_core_dot.c:63:15: note: shadowed declaration is here static agxbuf xbuf[NUMXBUFS]; ^~~~ gvrender_core_dot.c: In function 'xdot_num': gvrender_core_dot.c:161:30: warning: declaration of 'xbuf' shadows a global declaration [-Wshadow] static void xdot_num(agxbuf *xbuf, double v) ^~~~ gvrender_core_dot.c:63:15: note: shadowed declaration is here static agxbuf xbuf[NUMXBUFS]; ^~~~ gvrender_core_dot.c: In function 'xdot_style': gvrender_core_dot.c:207:12: warning: declaration of 'xbuf' shadows a global declaration [-Wshadow] agxbuf xbuf; ^~~~ gvrender_core_dot.c:63:15: note: shadowed declaration is here static agxbuf xbuf[NUMXBUFS]; ^~~~ gvrender_core_dot.c:214:28: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (job->obj->penwidth != penwidth[job->obj->emit_state]) { ^~ gvrender_core_dot.c: In function 'versionStr2Version': gvrender_core_dot.c:366:10: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] us = atoi(buf); ^~~~ gvrender_core_dot.c: In function 'xdot_begin_graph': gvrender_core_dot.c:409:16: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] xd->version = us; ^~ gvrender_core_dot.c: In function 'dot_begin_graph': gvrender_core_dot.c:461:5: warning: switch missing default case [-Wswitch-default] switch (job->render.id) { ^~~~~~ gvrender_core_dot.c: In function 'dot_end_graph': gvrender_core_dot.c:519:5: warning: switch missing default case [-Wswitch-default] switch (job->render.id) { ^~~~~~ gvrender_core_dot.c: In function 'xdot_textspan': gvrender_core_dot.c:575:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] unsigned int bits = flags & mask; ^ gvrender_core_dot.c: In function 'xdot_gradient_fillcolor': gvrender_core_dot.c:605:12: warning: declaration of 'xbuf' shadows a global declaration [-Wshadow] agxbuf xbuf; ^~~~ gvrender_core_dot.c:63:15: note: shadowed declaration is here static agxbuf xbuf[NUMXBUFS]; ^~~~ gvrender_core_dot.c:607:19: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float angle = obj->gradient_angle * M_PI / 180; ^~~ gvrender_core_dot.c:626:7: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] r1 = G[1].x; ^ gvrender_core_dot.c:627:7: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] r2 = G[1].y; ^ gvrender_core_dot.c:628:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (angle == 0) { ^~ gvrender_core_dot.c: In function 'xdot_bezier': gvrender_core_dot.c:689:61: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] static void xdot_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, int arrow_at_end, int filled) ^~~~~~~~~~~~~~ gvrender_core_dot.c:689:81: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] static void xdot_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, int arrow_at_end, int filled) ^~~~~~~~~~~~ gvrender_core_dot.c: At top level: gvrender_core_dot.c:728:6: warning: no previous prototype for 'core_loadimage_xdot' [-Wmissing-prototypes] void core_loadimage_xdot(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~~~~~~~~~~~~~~ gvrender_core_dot.c: In function 'core_loadimage_xdot': gvrender_core_dot.c:739:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] xdot_str (job, "", (char*)(us->name)); ^ gvrender_core_dot.c:728:72: warning: unused parameter 'filled' [-Wunused-parameter] void core_loadimage_xdot(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvrender_core_fig.lo gvrender_core_fig.c: In function 'fig_string': gvrender_core_fig.c:69:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] buf = malloc(bufsize * sizeof(char)); ^ gvrender_core_fig.c:73:17: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] while ((c = *s++)) { ^ gvrender_core_fig.c:76:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] buf = realloc(buf, bufsize * sizeof(char)); ^ gvrender_core_fig.c:84:20: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] *p++ = c; ^ gvrender_core_fig.c: In function 'figColorResolve': gvrender_core_fig.c:123:14: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] red[c] = r; ^ gvrender_core_fig.c:124:16: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] green[c] = g; ^ gvrender_core_fig.c:125:15: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] blue[c] = b; ^ gvrender_core_fig.c: In function 'fig_begin_page': gvrender_core_fig.c:218:36: warning: unused parameter 'job' [-Wunused-parameter] static void fig_begin_page(GVJ_t * job) ^~~ gvrender_core_fig.c: In function 'fig_begin_node': gvrender_core_fig.c:223:36: warning: unused parameter 'job' [-Wunused-parameter] static void fig_begin_node(GVJ_t * job) ^~~ gvrender_core_fig.c: In function 'fig_end_node': gvrender_core_fig.c:228:34: warning: unused parameter 'job' [-Wunused-parameter] static void fig_end_node(GVJ_t * job) ^~~ gvrender_core_fig.c: In function 'fig_begin_edge': gvrender_core_fig.c:233:36: warning: unused parameter 'job' [-Wunused-parameter] static void fig_begin_edge(GVJ_t * job) ^~~ gvrender_core_fig.c: In function 'fig_end_edge': gvrender_core_fig.c:238:34: warning: unused parameter 'job' [-Wunused-parameter] static void fig_end_edge(GVJ_t * job) ^~~ gvrender_core_fig.c: In function 'fig_textspan': gvrender_core_fig.c:262:42: warning: cast from function call of type 'size_t {aka long unsigned int}' to non-matching type 'double' [-Wbad-function-cast] double length = 2.0*font_size/3.0 * (double)strlen(span->str) / 2.0; ^ gvrender_core_fig.c: In function 'fig_ellipse': gvrender_core_fig.c:301:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_fig.c: In function 'fig_bezier': gvrender_core_fig.c:338:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_fig.c:364:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 1) * 20 * sizeof(char)); ^ gvrender_core_fig.c:330:60: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] static void fig_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, ^~~~~~~~~~~~~~ gvrender_core_fig.c:331:12: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ^~~~~~~~~~~~ gvrender_core_fig.c: In function 'fig_polygon': gvrender_core_fig.c:429:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ gvrender_core_fig.c: In function 'fig_polyline': gvrender_core_fig.c:460:21: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] int thickness = obj->penwidth; ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvrender_core_vml.lo gvrender_core_vml.c: In function 'vml_grstroke': gvrender_core_vml.c:104:23: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (obj->penwidth != PENWIDTH_NORMAL) ^~ gvrender_core_vml.c:98:43: warning: unused parameter 'filled' [-Wunused-parameter] static void vml_grstroke(GVJ_t * job, int filled) ^~~~~~ gvrender_core_vml.c: At top level: gvrender_core_vml.c:129:7: warning: no previous prototype for 'html_string' [-Wmissing-prototypes] char *html_string(char *s) ^~~~~~~~~~~ gvrender_core_vml.c: In function 'html_string': gvrender_core_vml.c:144:16: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = gmalloc(bufsize); ^~~~~~~ gvrender_core_vml.c:150:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = grealloc(buf, bufsize); ^~~~~~~ gvrender_core_vml.c:210:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] temp=charnum%10; ^~~~~~~ gvrender_core_vml.c: In function 'vml_begin_graph': gvrender_core_vml.c:259:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] graphHeight =(int)(job->bb.UR.y - job->bb.LL.y); ^ gvrender_core_vml.c:260:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] graphWidth =(int)(job->bb.UR.x - job->bb.LL.x); ^ gvrender_core_vml.c: In function 'vml_begin_anchor': gvrender_core_vml.c:353:78: warning: unused parameter 'id' [-Wunused-parameter] vml_begin_anchor(GVJ_t * job, char *href, char *tooltip, char *target, char *id) ^~ gvrender_core_vml.c: In function 'vml_ellipse': gvrender_core_vml.c:448:38: warning: variable 'bottom' set but not used [-Wunused-but-set-variable] double dx, dy, left, right, top, bottom; ^~~~~~ gvrender_core_vml.c:448:26: warning: variable 'right' set but not used [-Wunused-but-set-variable] double dx, dy, left, right, top, bottom; ^~~~~ gvrender_core_vml.c: In function 'vml_bezier': gvrender_core_vml.c:470:48: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] vml_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, ^~~~~~~~~~~~~~ gvrender_core_vml.c:471:12: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvloadimage_core.lo gvloadimage_core.c: In function 'core_loadimage_svg': gvloadimage_core.c:46:78: warning: unused parameter 'filled' [-Wunused-parameter] static void core_loadimage_svg(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ gvloadimage_core.c: In function 'core_loadimage_fig': gvloadimage_core.c:75:79: warning: unused parameter 'filled' [-Wunused-parameter] static void core_loadimage_fig(GVJ_t * job, usershape_t *us, boxf bf, boolean filled) ^~~~~~ gvloadimage_core.c: In function 'core_loadimage_vrml': gvloadimage_core.c:119:13: warning: variable 'n' set but not used [-Wunused-but-set-variable] node_t *n; ^ gvloadimage_core.c:118:18: warning: variable 'obj' set but not used [-Wunused-but-set-variable] obj_state_t *obj; ^~~ gvloadimage_core.c:116:68: warning: unused parameter 'b' [-Wunused-parameter] static void core_loadimage_vrml(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^ gvloadimage_core.c:116:79: warning: unused parameter 'filled' [-Wunused-parameter] static void core_loadimage_vrml(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ gvloadimage_core.c: In function 'core_loadimage_ps': gvloadimage_core.c:177:18: warning: conversion to 'size_t {aka long unsigned int}' from '__off_t {aka long int}' may change the sign of the result [-Wsign-conversion] us->datasize = statbuf.st_size; ^~~~~~~ gvloadimage_core.c:179:22: warning: conversion to 'size_t {aka long unsigned int}' from '__off_t {aka long int}' may change the sign of the result [-Wsign-conversion] us->data = mmap(0, statbuf.st_size, PROT_READ, MAP_SHARED, fd, 0); ^~~~~~~ gvloadimage_core.c:151:77: warning: unused parameter 'filled' [-Wunused-parameter] static void core_loadimage_ps(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ gvloadimage_core.c: In function 'core_loadimage_vml': gvloadimage_core.c:244:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] graphHeight =(int)(job->bb.UR.y - job->bb.LL.y); ^ gvloadimage_core.c:241:78: warning: unused parameter 'filled' [-Wunused-parameter] static void core_loadimage_vml(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ gvloadimage_core.c: In function 'core_loadimage_tk': gvloadimage_core.c:250:77: warning: unused parameter 'filled' [-Wunused-parameter] static void core_loadimage_tk(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ gvloadimage_core.c: At top level: gvloadimage_core.c:258:6: warning: no previous prototype for 'core_loadimage_null' [-Wmissing-prototypes] void core_loadimage_null(GVJ_t *gvc, usershape_t *us, boxf b, boolean filled) ^~~~~~~~~~~~~~~~~~~ gvloadimage_core.c: In function 'core_loadimage_null': gvloadimage_core.c:258:33: warning: unused parameter 'gvc' [-Wunused-parameter] void core_loadimage_null(GVJ_t *gvc, usershape_t *us, boxf b, boolean filled) ^~~ gvloadimage_core.c:258:51: warning: unused parameter 'us' [-Wunused-parameter] void core_loadimage_null(GVJ_t *gvc, usershape_t *us, boxf b, boolean filled) ^~ gvloadimage_core.c:258:60: warning: unused parameter 'b' [-Wunused-parameter] void core_loadimage_null(GVJ_t *gvc, usershape_t *us, boxf b, boolean filled) ^ gvloadimage_core.c:258:71: warning: unused parameter 'filled' [-Wunused-parameter] void core_loadimage_null(GVJ_t *gvc, usershape_t *us, boxf b, boolean filled) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvrender_core_svg.lo gvrender_core_svg.c: In function 'svg_bzptarray': gvrender_core_svg.c:58:5: warning: "EDGEALIGN" is not defined, evaluates to 0 [-Wundef] #if EDGEALIGN ^~~~~~~~~ gvrender_core_svg.c:71:5: warning: "EDGEALIGN" is not defined, evaluates to 0 [-Wundef] #if EDGEALIGN ^~~~~~~~~ gvrender_core_svg.c: In function 'svg_grstyle': gvrender_core_svg.c:142:23: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (obj->penwidth != PENWIDTH_NORMAL) { ^~ gvrender_core_svg.c: In function 'svg_begin_layer': gvrender_core_svg.c:230:63: warning: unused parameter 'layerNum' [-Wunused-parameter] static void svg_begin_layer(GVJ_t * job, char *layername, int layerNum, ^~~~~~~~ gvrender_core_svg.c:231:12: warning: unused parameter 'numLayers' [-Wunused-parameter] int numLayers) ^~~~~~~~~ gvrender_core_svg.c: In function 'svg_gradstyle': gvrender_core_svg.c:512:13: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] angle = obj->gradient_angle * M_PI / 180; //angle of gradient line ^~~ gvrender_core_svg.c: In function 'svg_rgradstyle': gvrender_core_svg.c:566:13: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] angle = obj->gradient_angle * M_PI / 180; //angle of gradient line ^~~ gvrender_core_svg.c:569:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (angle == 0.) { ^~ gvrender_core_svg.c:572:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] ifx = 50 * (1 + cos(angle)); ^~ gvrender_core_svg.c:573:8: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] ify = 50 * (1 - sin(angle)); ^~ gvrender_core_svg.c:557:49: warning: unused parameter 'A' [-Wunused-parameter] static int svg_rgradstyle(GVJ_t * job, pointf * A, int n) ^ gvrender_core_svg.c:557:56: warning: unused parameter 'n' [-Wunused-parameter] static int svg_rgradstyle(GVJ_t * job, pointf * A, int n) ^ gvrender_core_svg.c: In function 'svg_bezier': gvrender_core_svg.c:624:48: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] svg_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, ^~~~~~~~~~~~~~ gvrender_core_svg.c:625:9: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvrender_core_pov.lo gvrender_core_pov.c:364:7: warning: no previous prototype for 'el' [-Wmissing-prototypes] char *el(GVJ_t* job, char *template, ...) ^~ gvrender_core_pov.c: In function 'el': gvrender_core_pov.c:388:17: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] str = malloc (len+1); ^~~ gvrender_core_pov.c: In function 'pov_begin_graph': gvrender_core_pov.c:506:6: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] x = job->view.x / 2.0 * job->scale.x; ^~~ gvrender_core_pov.c:507:6: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] y = job->view.y / 2.0 * job->scale.y; ^~~ gvrender_core_pov.c:509:7: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] px = atanf(x / fabsf(d)) * 180 / M_PI * 2; ^~~~~ gvrender_core_pov.c:510:7: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] py = atanf(y / fabsf(d)) * 180 / M_PI * 2; ^~~~~ gvrender_core_pov.c: In function 'pov_begin_layer': gvrender_core_pov.c:526:11: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] layerz = layerNum * -10; ^~~~~~~~ gvrender_core_pov.c: In function 'pov_ellipse': gvrender_core_pov.c:647:7: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] cx = (A[0].x + job->translation.x) * job->scale.x; ^ gvrender_core_pov.c:648:7: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] cy = (A[0].y + job->translation.y) * job->scale.y; ^ gvrender_core_pov.c:649:7: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] rx = (A[1].x - A[0].x) * job->scale.x; ^ gvrender_core_pov.c:650:7: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] ry = (A[1].y - A[0].y) * job->scale.y; ^ gvrender_core_pov.c:651:6: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] w = job->obj->penwidth / (rx + ry) / 2.0 * 5; ^~~ gvrender_core_pov.c: In function 'pov_bezier': gvrender_core_pov.c:696:60: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] static void pov_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, ^~~~~~~~~~~~~~ gvrender_core_pov.c:697:14: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ^~~~~~~~~~~~ gvrender_core_pov.c:697:32: warning: unused parameter 'filled' [-Wunused-parameter] int arrow_at_end, int filled) ^~~~~~ gvrender_core_pov.c: In function 'pov_color_as_str': gvrender_core_pov.c:439:2: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] free(c); ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CC gvrender_core_json.lo gvrender_core_json.c: In function 'stoj': gvrender_core_json.c:96:26: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] for (s = input; (c = *s); s++) { ^ gvrender_core_json.c: In function 'set_attrwf': gvrender_core_json.c:147:19: warning: conversion to 'unsigned char:1' from 'int' may alter its value [-Wconversion] AGATTRWF(g) = value; ^~~~~ gvrender_core_json.c:153:20: warning: conversion to 'unsigned char:1' from 'int' may alter its value [-Wconversion] AGATTRWF(n) = value; ^~~~~ gvrender_core_json.c:155:17: warning: conversion to 'unsigned char:1' from 'int' may alter its value [-Wconversion] AGATTRWF(e) = value; ^~~~~ gvrender_core_json.c: In function 'write_xdot': gvrender_core_json.c:213:5: warning: switch missing default case [-Wswitch-default] switch (op->kind) { ^~~~~~ gvrender_core_json.c: In function 'freef': gvrender_core_json.c:600:26: warning: unused parameter 'dt' [-Wunused-parameter] static void freef(Dt_t * dt, intm * obj, Dtdisc_t * disc) ^~ gvrender_core_json.c:600:53: warning: unused parameter 'disc' [-Wunused-parameter] static void freef(Dt_t * dt, intm * obj, Dtdisc_t * disc) ^~~~ gvrender_core_json.c: In function 'json_end_graph': gvrender_core_json.c:720:17: warning: variable 'io_save' set but not used [-Wunused-but-set-variable] Agiodisc_t* io_save; ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CCLD libgvplugin_core_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' CCLD libgvplugin_core.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' Making all in devil make[3]: Nothing to be done for 'all'. Making all in gd make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' CC gvplugin_gd.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' CC gvtextlayout_gd.lo gvtextlayout_gd.c:107:7: warning: no previous prototype for 'gd_psfontResolve' [-Wmissing-prototypes] char* gd_psfontResolve (PostscriptAlias* pa) ^~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' CC gvloadimage_gd.lo gvloadimage_gd.c: In function 'gd_loadimage': gvloadimage_gd.c:42:40: warning: unused parameter 'job' [-Wunused-parameter] static gdImagePtr gd_loadimage(GVJ_t * job, usershape_t *us) ^~~ gvloadimage_gd.c: In function 'gd_loadimage_gd': gvloadimage_gd.c:115:75: warning: unused parameter 'filled' [-Wunused-parameter] static void gd_loadimage_gd(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ gvloadimage_gd.c: In function 'gd_loadimage_cairo': gvloadimage_gd.c:137:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] width = im->sx; ^~ gvloadimage_gd.c:138:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] height = im->sy; ^~ gvloadimage_gd.c:144:8: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] width, height, stride); ^~~~~ gvloadimage_gd.c:144:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] width, height, stride); ^~~~~~ gvloadimage_gd.c:144:23: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] width, height, stride); ^~~~~~ gvloadimage_gd.c:150:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] px = gdImageTrueColorPixel(im, x, y); ^~~~~~~~~~~~~~~~~~~~~ gvloadimage_gd.c:161:16: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] px = gdImageTrueColorPixel(im, x, y); ^~~~~~~~~~~~~~~~~~~~~ gvloadimage_gd.c:174:17: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *data++ = im->blue[px]; ^~ gvloadimage_gd.c:175:17: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *data++ = im->green[px]; ^~ gvloadimage_gd.c:176:17: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] *data++ = im->red[px]; ^~ gvloadimage_gd.c:177:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] *data++ = (px==im->transparent)?0x00:0xff; ^~ gvloadimage_gd.c:128:78: warning: unused parameter 'filled' [-Wunused-parameter] static void gd_loadimage_cairo(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ gvloadimage_gd.c: In function 'gd_loadimage_ps': gvloadimage_gd.c:194:75: warning: unused parameter 'filled' [-Wunused-parameter] static void gd_loadimage_ps(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' CC gvdevice_gd.lo gvdevice_gd.c:38:5: warning: no previous prototype for 'gvdevice_gd_putBuf' [-Wmissing-prototypes] int gvdevice_gd_putBuf (gdIOCtx *context, const void *buffer, int len) ^~~~~~~~~~~~~~~~~~ gvdevice_gd.c: In function 'gvdevice_gd_putBuf': gvdevice_gd.c:40:54: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] return gvwrite((GVJ_t *)(context->tell), buffer, len); ^~~ gvdevice_gd.c:40:12: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] return gvwrite((GVJ_t *)(context->tell), buffer, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gvdevice_gd.c: At top level: gvdevice_gd.c:44:6: warning: no previous prototype for 'gvdevice_gd_putC' [-Wmissing-prototypes] void gvdevice_gd_putC (gdIOCtx *context, int C) ^~~~~~~~~~~~~~~~ gvdevice_gd.c: In function 'gvdevice_gd_putC': gvdevice_gd.c:46:14: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] char c = C; ^ gvdevice_gd.c: In function 'gd_format': gvdevice_gd.c:75:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] im = gdImageCreateTrueColor(width, height); ^~~~~ gvdevice_gd.c:75:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] im = gdImageCreateTrueColor(width, height); ^~~~~~ gvdevice_gd.c:85:30: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] im->tpixels[y][x] = (color & 0xffffff) | ((0x7f - alpha) << 24); ^ gvdevice_gd.c:103:27: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] im->tpixels[y][x] = (color & 0xffffff) | ((0x7f - alpha) << 24); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' CC gvrender_gd.lo gvrender_gd.c: In function 'gdgen_begin_page': gvrender_gd.c:110:20: warning: conversion to 'unsigned int' from 'double' may alter its value [-Wfloat-conversion] job->width *= scale; ^~~~~ gvrender_gd.c:111:21: warning: conversion to 'unsigned int' from 'double' may alter its value [-Wfloat-conversion] job->height *= scale; ^~~~~ gvrender_gd.c:124:34: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] im = gdImageCreateTrueColor(job->width, job->height); ^~~ gvrender_gd.c:124:46: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] im = gdImageCreateTrueColor(job->width, job->height); ^~~ gvrender_gd.c:132:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] im = gdImageCreate(job->width, job->height); ^~~ gvrender_gd.c:132:37: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] im = gdImageCreate(job->width, job->height); ^~~ gvrender_gd.c:85:13: warning: variable 'bg_transparent_p' set but not used [-Wunused-but-set-variable] boolean bg_transparent_p = FALSE; ^~~~~~~~~~~~~~~~ gvrender_gd.c: In function 'gdgen_end_page': gvrender_gd.c:221:7: warning: declaration of 'black' shadows a global declaration [-Wshadow] int black = gdImageColorResolveAlpha(im, 0, 0, 0, gdAlphaOpaque); ^~~~~ gvrender_gd.c:77:19: note: shadowed declaration is here static int white, black, transparent, basecolor; ^~~~~ gvrender_gd.c:189:2: warning: switch missing default case [-Wswitch-default] switch (job->render.id) { ^~~~~~ gvrender_gd.c: In function 'gdgen_missingfont': gvrender_gd.c:257:37: warning: unused parameter 'err' [-Wunused-parameter] static void gdgen_missingfont(char *err, char *fontreq) ^~~ gvrender_gd.c: At top level: gvrender_gd.c:300:6: warning: no previous prototype for 'gdgen_text' [-Wmissing-prototypes] void gdgen_text(gdImagePtr im, pointf spf, pointf epf, int fontcolor, double fontsize, int fontdpi, double fontangle, char *fontname, char *str) ^~~~~~~~~~ gvrender_gd.c: In function 'gdgen_textspan': gvrender_gd.c:407:6: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] job->dpi.x, ^~~ gvrender_gd.c: In function 'gdgen_set_penstyle': gvrender_gd.c:436:13: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] width = obj->penwidth * job->zoom; ^~~ gvrender_gd.c:441:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (width != PENWIDTH_NORMAL) { ^~ gvrender_gd.c: In function 'gdgen_bezier': gvrender_gd.c:462:50: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] gdgen_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, ^~~~~~~~~~~~~~ gvrender_gd.c:463:11: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ^~~~~~~~~~~~ gvrender_gd.c: In function 'gdgen_polygon': gvrender_gd.c:526:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] points = realloc(points, n * sizeof(gdPoint)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' CC gvrender_gd_vrml.lo gvrender_gd_vrml.c: In function 'color_index': gvrender_gd_vrml.c:141:35: warning: declaration of 'im' shadows a global declaration [-Wshadow] static int color_index(gdImagePtr im, gvcolor_t color) ^~ gvrender_gd_vrml.c:58:19: note: shadowed declaration is here static gdImagePtr im; ^~ gvrender_gd_vrml.c: In function 'set_penstyle': gvrender_gd_vrml.c:158:49: warning: declaration of 'im' shadows a global declaration [-Wshadow] static int set_penstyle(GVJ_t * job, gdImagePtr im, gdImagePtr brush) ^~ gvrender_gd_vrml.c:58:19: note: shadowed declaration is here static gdImagePtr im; ^~ gvrender_gd_vrml.c:180:13: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] width = obj->penwidth * job->scale.x; ^~~ gvrender_gd_vrml.c:185:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (width != PENWIDTH_NORMAL) { ^~ gvrender_gd_vrml.c: In function 'vrml_begin_node': gvrender_gd_vrml.c:248:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] width = (ND_lw(n) + ND_rw(n)) * Scale + 2 * NODE_PAD; ^ gvrender_gd_vrml.c:249:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] height = (ND_ht(n) ) * Scale + 2 * NODE_PAD; ^ gvrender_gd_vrml.c: In function 'vrml_end_node': gvrender_gd_vrml.c:260:34: warning: unused parameter 'job' [-Wunused-parameter] static void vrml_end_node(GVJ_t *job) ^~~ gvrender_gd_vrml.c: In function 'finishSegment': gvrender_gd_vrml.c:311:9: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (!x && !z) /* parallel to y-axis */ ^ gvrender_gd_vrml.c:311:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (!x && !z) /* parallel to y-axis */ ^ gvrender_gd_vrml.c: In function 'interpolate_zcoord': gvrender_gd_vrml.c:380:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (fstz == sndz) ^~ gvrender_gd_vrml.c:383:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (snd.y == fst.y) ^~ gvrender_gd_vrml.c: In function 'vrml_bezier': gvrender_gd_vrml.c:471:48: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] vrml_bezier(GVJ_t *job, pointf * A, int n, int arrow_at_start, int arrow_at_end, int filled) ^~~~~~~~~~~~~~ gvrender_gd_vrml.c:471:68: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] vrml_bezier(GVJ_t *job, pointf * A, int n, int arrow_at_start, int arrow_at_end, int filled) ^~~~~~~~~~~~ gvrender_gd_vrml.c:471:86: warning: unused parameter 'filled' [-Wunused-parameter] vrml_bezier(GVJ_t *job, pointf * A, int n, int arrow_at_start, int arrow_at_end, int filled) ^~~~~~ In file included from gvrender_gd_vrml.c:31:0: gvrender_gd_vrml.c: In function 'vrml_polygon': ../../lib/common/memory.h:40:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GGNEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gvrender_gd_vrml.c:589:11: note: in expansion of macro 'N_GGNEW' points = N_GGNEW(np, gdPoint); ^~~~~~~ gvrender_gd_vrml.c:576:5: warning: switch missing default case [-Wswitch-default] switch (obj->type) { ^~~~~~ gvrender_gd_vrml.c: In function 'doSphere': gvrender_gd_vrml.c:679:31: warning: unused parameter 'n' [-Wunused-parameter] doSphere (GVJ_t *job, node_t *n, pointf p, double z, double rx, double ry) ^ gvrender_gd_vrml.c:679:72: warning: unused parameter 'ry' [-Wunused-parameter] doSphere (GVJ_t *job, node_t *n, pointf p, double z, double rx, double ry) ^~ gvrender_gd_vrml.c: In function 'vrml_ellipse': gvrender_gd_vrml.c:727:5: warning: switch missing default case [-Wswitch-default] switch (obj->type) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' CCLD libgvplugin_gd_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' CCLD libgvplugin_gd.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' Making all in gdk make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' CC gvplugin_gdk.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' CC gvloadimage_gdk.lo gvloadimage_gdk.c: In function 'gdk_loadimage': gvloadimage_gdk.c:60:41: warning: unused parameter 'job' [-Wunused-parameter] static GdkPixbuf* gdk_loadimage(GVJ_t * job, usershape_t *us) ^~~ gvloadimage_gdk.c: In function 'gdk_loadimage_cairo': gvloadimage_gdk.c:101:79: warning: unused parameter 'filled' [-Wunused-parameter] static void gdk_loadimage_cairo(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' CC gvdevice_gdk.lo gvdevice_gdk.c: In function 'argb2rgba': gvdevice_gdk.c:51:31: warning: conversion to 'unsigned char' from 'char' may change the sign of the result [-Wsign-conversion] unsigned char r = data[Ra]; ^~~~ gvdevice_gdk.c:53:17: warning: conversion to 'char' from 'unsigned char' may change the sign of the result [-Wsign-conversion] data[Rb] = r; ^ gvdevice_gdk.c: In function 'writer': gvdevice_gdk.c:60:50: warning: unused parameter 'error' [-Wunused-parameter] writer ( const gchar *buf, gsize count, GError **error, gpointer data) ^~~~~ gvdevice_gdk.c: In function 'gdk_format': gvdevice_gdk.c:72:5: warning: switch missing default case [-Wswitch-default] switch (job->device.id) { ^~~~~~ gvdevice_gdk.c:97:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] job->width, // width ^~~ gvdevice_gdk.c:98:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] job->height, // height ^~~ gvdevice_gdk.c:99:17: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] 4 * job->width, // rowstride ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' CCLD libgvplugin_gdk_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' CCLD libgvplugin_gdk.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' Making all in gdiplus make[3]: Nothing to be done for 'all'. Making all in glitz make[3]: Nothing to be done for 'all'. Making all in gs make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs' CC gvplugin_gs.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs' CC gvloadimage_gs.lo gvloadimage_gs.c: In function 'gs_writer': gvloadimage_gs.c:76:28: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] return fwrite(str, 1, len, stderr); ^~~ gvloadimage_gs.c:76:13: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] return fwrite(str, 1, len, stderr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gvloadimage_gs.c: In function 'gvloadimage_gs_load': gvloadimage_gs.c:205:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rc && rc < sizeof(gsapi_revision_t)) { ^ gvloadimage_gs.c: In function 'gvloadimage_gs_cairo': gvloadimage_gs.c:230:80: warning: unused parameter 'filled' [-Wunused-parameter] static void gvloadimage_gs_cairo(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs' CCLD libgvplugin_gs_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs' CCLD libgvplugin_gs.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs' Making all in gtk make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' CC gvplugin_gtk.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' CC gvdevice_gtk.lo In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from gvdevice_gtk.c:24: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gvdevice_gtk.c:36:1: warning: no previous prototype for 'attr_value_edited_cb' [-Wmissing-prototypes] attr_value_edited_cb(GtkCellRendererText *renderer, gchar *pathStr, gchar *newText, gpointer data) ^~~~~~~~~~~~~~~~~~~~ gvdevice_gtk.c: In function 'attr_value_edited_cb': gvdevice_gtk.c:40:15: warning: declaration of 'path' shadows a global declaration [-Wshadow] GtkTreePath *path; ^~~~ In file included from ../../lib/gvc/gvplugin_device.h:17:0, from gvdevice_gtk.c:21: ../../lib/common/types.h:105:7: note: shadowed declaration is here } path; ^~~~ gvdevice_gtk.c:43:7: warning: variable 'row' set but not used [-Wunused-but-set-variable] gint row; ^~~ gvdevice_gtk.c:36:43: warning: unused parameter 'renderer' [-Wunused-parameter] attr_value_edited_cb(GtkCellRendererText *renderer, gchar *pathStr, gchar *newText, gpointer data) ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' CC support.lo In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from support.c:15: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ support.c: In function 'create_pixmap': support.c:77:58: warning: unused parameter 'widget' [-Wunused-parameter] create_pixmap (GtkWidget *widget, ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' CC interface.lo In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from interface.c:16: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ interface.c: In function 'create_window1': interface.c:61:15: warning: variable 'tmp_toolbar_icon_size' set but not used [-Wunused-but-set-variable] GtkIconSize tmp_toolbar_icon_size; ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' CC callbacks.lo In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from callbacks.c:16: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ callbacks.c: In function 'on_new1_activate': callbacks.c:26:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_open1_activate': callbacks.c:71:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_save1_activate': callbacks.c:109:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_save_as1_activate': callbacks.c:122:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_quit1_activate': callbacks.c:133:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_cut1_activate': callbacks.c:141:58: warning: unused parameter 'menuitem' [-Wunused-parameter] on_cut1_activate (GtkMenuItem *menuitem, ^~~~~~~~ callbacks.c:142:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_copy1_activate': callbacks.c:150:58: warning: unused parameter 'menuitem' [-Wunused-parameter] on_copy1_activate (GtkMenuItem *menuitem, ^~~~~~~~ callbacks.c:151:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_paste1_activate': callbacks.c:158:58: warning: unused parameter 'menuitem' [-Wunused-parameter] on_paste1_activate (GtkMenuItem *menuitem, ^~~~~~~~ callbacks.c:159:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_delete1_activate': callbacks.c:166:58: warning: unused parameter 'menuitem' [-Wunused-parameter] on_delete1_activate (GtkMenuItem *menuitem, ^~~~~~~~ callbacks.c:167:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_about1_activate': callbacks.c:175:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'load_store_with_attrs': callbacks.c:197:51: warning: unused parameter 'job' [-Wunused-parameter] load_store_with_attrs(GtkListStore *model, GVJ_t *job) ^~~ callbacks.c: In function 'on_drawingarea1_expose_event': callbacks.c:233:18: warning: conversion to 'unsigned int' from 'gint {aka int}' may change the sign of the result [-Wsign-conversion] job->width = widget->allocation.width; ^~~~~~ callbacks.c:234:19: warning: conversion to 'unsigned int' from 'gint {aka int}' may change the sign of the result [-Wsign-conversion] job->height = widget->allocation.height; ^~~~~~ callbacks.c:220:58: warning: unused parameter 'event' [-Wunused-parameter] GdkEventExpose *event, ^~~~~ callbacks.c:221:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_drawingarea1_motion_notify_event': callbacks.c:258:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_drawingarea2_motion_notify_event': callbacks.c:277:58: warning: unused parameter 'widget' [-Wunused-parameter] on_drawingarea2_motion_notify_event (GtkWidget *widget, ^~~~~~ callbacks.c:278:58: warning: unused parameter 'event' [-Wunused-parameter] GdkEventMotion *event, ^~~~~ callbacks.c:279:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_drawingarea2_expose_event': callbacks.c:303:18: warning: conversion to 'unsigned int' from 'gint {aka int}' may change the sign of the result [-Wsign-conversion] job->width = widget->allocation.width; ^~~~~~ callbacks.c:304:19: warning: conversion to 'unsigned int' from 'gint {aka int}' may change the sign of the result [-Wsign-conversion] job->height = widget->allocation.height; ^~~~~~ callbacks.c:289:58: warning: unused parameter 'event' [-Wunused-parameter] GdkEventExpose *event, ^~~~~ callbacks.c:290:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_window1_delete_event': callbacks.c:318:58: warning: unused parameter 'widget' [-Wunused-parameter] on_window1_delete_event (GtkWidget *widget, ^~~~~~ callbacks.c:319:58: warning: unused parameter 'event' [-Wunused-parameter] GdkEvent *event, ^~~~~ callbacks.c:320:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_drawingarea1_configure_event': callbacks.c:353:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (event->width > job->width || event->height > job->height) ^ callbacks.c:353:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (event->width > job->width || event->height > job->height) ^ callbacks.c:355:18: warning: conversion to 'unsigned int' from 'gint {aka int}' may change the sign of the result [-Wsign-conversion] job->width = event->width; ^~~~~ callbacks.c:356:19: warning: conversion to 'unsigned int' from 'gint {aka int}' may change the sign of the result [-Wsign-conversion] job->height = event->height; ^~~~~ callbacks.c:330:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_drawingarea1_button_press_event': callbacks.c:374:41: warning: conversion to 'int' from 'guint {aka unsigned int}' may change the sign of the result [-Wsign-conversion] (job->callbacks->button_press)(job, event->button, pointer); ^~~~~ callbacks.c:366:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_drawingarea1_button_release_event': callbacks.c:392:43: warning: conversion to 'int' from 'guint {aka unsigned int}' may change the sign of the result [-Wsign-conversion] (job->callbacks->button_release)(job, event->button, pointer); ^~~~~ callbacks.c:384:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_drawingarea1_scroll_event': callbacks.c:409:5: warning: switch missing default case [-Wswitch-default] switch (((GdkEventScroll *)event)->direction) { ^~~~~~ callbacks.c:401:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ callbacks.c: In function 'on_button1_button_press_event': callbacks.c:426:58: warning: unused parameter 'widget' [-Wunused-parameter] on_button1_button_press_event (GtkWidget *widget, ^~~~~~ callbacks.c:427:58: warning: unused parameter 'event' [-Wunused-parameter] GdkEventButton *event, ^~~~~ callbacks.c:428:58: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' CCLD libgvplugin_gtk_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' CCLD libgvplugin_gtk.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' Making all in lasi make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' CC gvplugin_lasi.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' CC gvloadimage_lasi.lo gvloadimage_lasi.c: In function 'lasi_loadimage_ps': gvloadimage_lasi.c:73:18: warning: conversion to 'size_t {aka long unsigned int}' from '__off_t {aka long int}' may change the sign of the result [-Wsign-conversion] us->datasize = statbuf.st_size; ^~~~~~~ gvloadimage_lasi.c:75:22: warning: conversion to 'size_t {aka long unsigned int}' from '__off_t {aka long int}' may change the sign of the result [-Wsign-conversion] us->data = mmap(0, statbuf.st_size, PROT_READ, MAP_SHARED, fd, 0); ^~~~~~~ gvloadimage_lasi.c:47:77: warning: unused parameter 'filled' [-Wunused-parameter] static void lasi_loadimage_ps(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' CXX gvrender_lasi.lo gvrender_lasi.cpp: In function 'void lasi_textspan(GVJ_t*, pointf, textspan_t*)': gvrender_lasi.cpp:370:9: warning: enumeration value 'PANGO_WEIGHT_THIN' not handled in switch [-Wswitch] switch (pango_font_description_get_weight(pango_font)) { ^ gvrender_lasi.cpp:370:9: warning: enumeration value 'PANGO_WEIGHT_SEMILIGHT' not handled in switch [-Wswitch] gvrender_lasi.cpp:370:9: warning: enumeration value 'PANGO_WEIGHT_BOOK' not handled in switch [-Wswitch] gvrender_lasi.cpp:370:9: warning: enumeration value 'PANGO_WEIGHT_MEDIUM' not handled in switch [-Wswitch] gvrender_lasi.cpp:370:9: warning: enumeration value 'PANGO_WEIGHT_ULTRAHEAVY' not handled in switch [-Wswitch] gvrender_lasi.cpp:335:11: warning: unused variable 'str' [-Wunused-variable] char *str; ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' CXXLD libgvplugin_lasi_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' CXXLD libgvplugin_lasi.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' Making all in ming make[3]: Nothing to be done for 'all'. Making all in pango make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' CC gvplugin_pango.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' CC gvtextlayout_pango.lo gvtextlayout_pango.c: In function 'pango_textlayout': gvtextlayout_pango.c:106:74: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (!fontname || strcmp(fontname, span->font->name) != 0 || fontsize != span->font->size) { ^~ gvtextlayout_pango.c:185:16: warning: declaration of 'buf' shadows a previous local [-Wshadow] unsigned char buf[BUFSIZ]; ^~~ gvtextlayout_pango.c:66:17: note: shadowed declaration is here static char buf[1024]; /* returned in fontpath, only good until next call */ ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' CC gvloadimage_pango.lo gvloadimage_pango.c: In function 'cairo_loadimage': gvloadimage_pango.c:54:49: warning: unused parameter 'job' [-Wunused-parameter] static cairo_surface_t* cairo_loadimage(GVJ_t * job, usershape_t *us) ^~~ gvloadimage_pango.c: In function 'pango_loadimage_cairo': gvloadimage_pango.c:95:81: warning: unused parameter 'filled' [-Wunused-parameter] static void pango_loadimage_cairo(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ gvloadimage_pango.c: In function 'pango_loadimage_ps': gvloadimage_pango.c:116:78: warning: unused parameter 'filled' [-Wunused-parameter] static void pango_loadimage_ps(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' CC gvrender_pango.lo gvrender_pango.c: In function 'cairogen_begin_page': gvrender_pango.c:135:17: warning: conversion to 'unsigned int' from 'double' may alter its value [-Wfloat-conversion] job->width *= scale; ^~~~~ gvrender_pango.c:136:18: warning: conversion to 'unsigned int' from 'double' may alter its value [-Wfloat-conversion] job->height *= scale; ^~~~~ gvrender_pango.c:144:4: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] job->width, job->height); ^~~ gvrender_pango.c:144:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] job->width, job->height); ^~~ gvrender_pango.c: In function 'cairo_gradient_fill': gvrender_pango.c:273:19: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] float angle = obj->gradient_angle * M_PI / 180; ^~~ gvrender_pango.c:284:7: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] r1 = G[1].x; /* Set a r2/4 in get_gradient_points */ ^ gvrender_pango.c:285:7: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] r2 = G[1].y; ^ gvrender_pango.c:286:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (angle == 0) { ^~ gvrender_pango.c: In function 'cairogen_bezier': gvrender_pango.c:370:53: warning: unused parameter 'arrow_at_start' [-Wunused-parameter] cairogen_bezier(GVJ_t * job, pointf * A, int n, int arrow_at_start, ^~~~~~~~~~~~~~ gvrender_pango.c:371:7: warning: unused parameter 'arrow_at_end' [-Wunused-parameter] int arrow_at_end, int filled) ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' CC gvgetfontlist_pango.lo gvgetfontlist_pango.c: In function 'gv_flist_free_af': gvgetfontlist_pango.c:261:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < GV_FONT_LIST_SIZE; i++) { ^ gvgetfontlist_pango.c: In function 'get_faces': gvgetfontlist_pango.c:283:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < FACELIST_SZ; j++) { ^ gvgetfontlist_pango.c: In function 'get_avail_faces': gvgetfontlist_pango.c:321:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < FACELIST_SZ; i++) { ^ gvgetfontlist_pango.c: In function 'gv_get_ps_fontlist': gvgetfontlist_pango.c:353:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < GV_FONT_LIST_SIZE; j++) { ^ gvgetfontlist_pango.c: In function 'gv_get_font': gvgetfontlist_pango.c:440:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < GV_FONT_LIST_SIZE; i++) { ^ gvgetfontlist_pango.c: In function 'get_font_mapping': gvgetfontlist_pango.c:250:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gvgetfontlist_pango.c:514:28: note: in expansion of macro 'N_NEW' gv_font_map* gv_fmap = N_NEW(ps_fontnames_sz, gv_font_map); ^~~~~ gvgetfontlist_pango.c: At top level: gvgetfontlist_pango.c:545:6: warning: no previous prototype for 'get_font_list' [-Wmissing-prototypes] void get_font_list(char **fonts[], int *cnt){ ^~~~~~~~~~~~~ gvgetfontlist_pango.c: In function 'get_font_list': gvgetfontlist_pango.c:557:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < GV_FONT_LIST_SIZE; j++) { ^ gvgetfontlist_pango.c:565:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=i;jf)) < fileSize) { ^~~~~ gvloadimage_rsvg.c:124:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((result = fread(fileBuf, 1, fileSize, us->f)) < fileSize) { ^ gvloadimage_rsvg.c:131:5: warning: "HAVE_G_TYPE_TERM" is not defined, evaluates to 0 [-Wundef] #if HAVE_G_TYPE_TERM ^~~~~~~~~~~~~~~~ gvloadimage_rsvg.c:149:5: warning: "HAVE_G_TYPE_TERM" is not defined, evaluates to 0 [-Wundef] #if HAVE_G_TYPE_TERM ^~~~~~~~~~~~~~~~ gvloadimage_rsvg.c:45:50: warning: unused parameter 'job' [-Wunused-parameter] static RsvgHandle* gvloadimage_rsvg_load(GVJ_t * job, usershape_t *us) ^~~ gvloadimage_rsvg.c: In function 'gvloadimage_rsvg_cairo': gvloadimage_rsvg.c:180:82: warning: unused parameter 'filled' [-Wunused-parameter] static void gvloadimage_rsvg_cairo(GVJ_t * job, usershape_t *us, boxf b, boolean filled) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/rsvg' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/rsvg' CCLD libgvplugin_rsvg_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/rsvg' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/rsvg' CCLD libgvplugin_rsvg.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/rsvg' Making all in visio make[3]: Nothing to be done for 'all'. Making all in xlib make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' cp ../../plugin/xlib/vimdot.sh vimdot chmod +x vimdot make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' CC gvplugin_xlib.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' CC gvdevice_xlib.lo gvdevice_xlib.c: In function 'handle_configure_notify': gvdevice_xlib.c:77:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (cev->width > job->width || cev->height > job->height) ^ gvdevice_xlib.c:77:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (cev->width > job->width || cev->height > job->height) ^ gvdevice_xlib.c:79:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] job->width = cev->width; ^~~ gvdevice_xlib.c:80:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] job->height = cev->height; ^~~ gvdevice_xlib.c: In function 'handle_expose': gvdevice_xlib.c:90:31: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] eev->x, eev->y, eev->width, eev->height, eev->x, eev->y); ^~~ gvdevice_xlib.c:90:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] eev->x, eev->y, eev->width, eev->height, eev->x, eev->y); ^~~ gvdevice_xlib.c: In function 'handle_keypress': gvdevice_xlib.c:112:33: warning: conversion to 'boolean {aka unsigned char}' from 'int' may alter its value [-Wconversion] return (job->keybindings[i].callback)(job); ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ gvdevice_xlib.c: In function 'browser_show': gvdevice_xlib.c:153:8: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err; ^~~ gvdevice_xlib.c: In function 'handle_xlib_events': gvdevice_xlib.c:188:57: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] (job->callbacks->button_press)(job, xev.xbutton.button, pointer); ^~~ gvdevice_xlib.c:202:59: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] (job->callbacks->button_release)(job, xev.xbutton.button, pointer); ^~~ gvdevice_xlib.c:184:17: warning: switch missing default case [-Wswitch-default] switch (xev.xany.type) { ^~~~~~ gvdevice_xlib.c: In function 'update_display': gvdevice_xlib.c:242:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] job->width, job->height, window->depth); ^~~~~~ gvdevice_xlib.c:251:4: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] job->width, job->height); ^~~ gvdevice_xlib.c:251:16: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] job->width, job->height); ^~~ gvdevice_xlib.c: In function 'init_window': gvdevice_xlib.c:291:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] job->width = w; /* use window geometry */ ^ gvdevice_xlib.c:292:19: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] job->height = h; ^ gvdevice_xlib.c:332:26: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] normalhints->width = job->width; ^~~ gvdevice_xlib.c:333:27: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] normalhints->height = job->height; ^~~ gvdevice_xlib.c:351:3: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] window->depth); ^~~~~~ gvdevice_xlib.c:366:36: warning: conversion to 'long int' from 'uint64_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] XSelectInput(dpy, window->win, window->event_mask); ^~~~~~ gvdevice_xlib.c: In function 'handle_stdin_events': gvdevice_xlib.c:373:48: warning: unused parameter 'stdin_fd' [-Wunused-parameter] static int handle_stdin_events(GVJ_t *job, int stdin_fd) ^~~~~~~~ gvdevice_xlib.c: In function 'handle_file_events': gvdevice_xlib.c:400:28: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = realloc(buf, avail); ^~~~~ gvdevice_xlib.c:405:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] len = read(inotify_fd, buf, avail); ^~~~~ gvdevice_xlib.c:405:15: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] len = read(inotify_fd, buf, avail); ^~~~ gvdevice_xlib.c:413:6: warning: switch missing default case [-Wswitch-default] switch (event->mask) { ^~~~~~ gvdevice_xlib.c:444:11: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] ln = event->len + sizeof(struct inotify_event); ^~~~~ gvdevice_xlib.c: In function 'xlib_initialize': gvdevice_xlib.c:476:52: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] keycodes = (KeyCode *)malloc(firstjob->numkeys * sizeof(KeyCode)); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' CCLD libgvplugin_xlib_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' CCLD libgvplugin_xlib.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' Making all in dot_layout make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout' CC gvplugin_dot_layout.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout' CC gvlayout_dot_layout.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout' CCLD libgvplugin_dot_layout_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout' CCLD libgvplugin_dot_layout.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout' Making all in neato_layout make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout' CC gvplugin_neato_layout.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout' CC gvlayout_neato_layout.lo make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout' CCLD libgvplugin_neato_layout_C.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout' CCLD libgvplugin_neato_layout.la make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout' Making all in webp make[3]: Nothing to be done for 'all'. Making all in poppler make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in cmd Making all in dot make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' CC dot_builtins-dot_builtins.o make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' CC dot-no_builtins.o make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' CC dot_builtins-dot.o dot.c: In function 'intr': dot.c:43:22: warning: unused parameter 's' [-Wunused-parameter] static void intr(int s) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' CC dot-dot.o dot.c: In function 'intr': dot.c:43:22: warning: unused parameter 's' [-Wunused-parameter] static void intr(int s) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' CCLD dot make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' CCLD dot_builtins make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' Making all in tools make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC nop.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] nop.c: In function 'init': nop.c:51:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC colxlate.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] colxlate.c: In function 'canoncolor': colxlate.c:56:10: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] c = tolower(c); ^~~~~~~ colxlate.c: In function 'colorcmpf': colxlate.c:65:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] hsbcolor_t *p0 = (hsbcolor_t *) a0; ^ colxlate.c:66:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] hsbcolor_t *p1 = (hsbcolor_t *) a1; ^ colxlate.c: At top level: colxlate.c:71:7: warning: no previous prototype for 'colorxlate' [-Wmissing-prototypes] char *colorxlate(char *str, char *buf) ^~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC cvtgxl.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] cvtgxl.c: In function 'openFile': cvtgxl.c:60:41: warning: declaration of 'mode' shadows a global declaration [-Wshadow] static FILE *openFile(char *name, char *mode) ^~~~ cvtgxl.c:27:37: note: shadowed declaration is here typedef enum { Unset, ToGV, ToGXL } mode; ^~~~ cvtgxl.c: In function 'initargs': cvtgxl.c:145:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC gc.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] gc.c: In function 'init': gc.c:97:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] while ((c = getopt(argc, argv, "necCaDUrsv")) != -1) { ^~~~~~ gc.c:97:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((c = getopt(argc, argv, "necCaDUrsv")) != -1) { ^~ gc.c:98:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ gc.c: In function 'cntCluster': gc.c:237:35: warning: unused parameter 'g' [-Wunused-parameter] static void cntCluster(Agraph_t * g, Agobj_t * sg, void *arg) ^ gc.c: In function 'wcp': gc.c:269:66: warning: declaration of 'fname' shadows a global declaration [-Wshadow] wcp(int nnodes, int nedges, int ncc, int ncl, char *gname, char *fname) ^~~~~ gc.c:67:14: note: shadowed declaration is here static char *fname; ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC acyclic.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] acyclic.c: In function 'init': acyclic.c:149:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC sccmap.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] sccmap.c: In function 'getval': sccmap.c:81:46: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] return (((Agnodeinfo_t *) (n->base.data))->val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ sccmap.c: In function 'setval': sccmap.c:85:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ((Agnodeinfo_t *) (n->base.data))->val = v; ^ sccmap.c: In function 'initStack': sccmap.c:97:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sp->data = (Agnode_t **) malloc(sz * sizeof(Agnode_t *)); ^ sccmap.c: In function 'visit': sccmap.c:174:11: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] min = ++(st->ID); ^~ sccmap.c:175:15: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] setval(n, min); ^~~ sccmap.c:181:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] m = visit(t, map, sp, st); ^~~~~ sccmap.c:183:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] m = getval(t); ^~~~~~ sccmap.c:188:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (getval(n) == min) { ^~ sccmap.c:37:13: warning: conversion of unsigned constant value to negative integer [-Wsign-conversion] #define INF ((unsigned int)(-1)) ^ sccmap.c:190:16: note: in expansion of macro 'INF' setval(n, INF); ^~~ sccmap.c:37:13: warning: conversion of unsigned constant value to negative integer [-Wsign-conversion] #define INF ((unsigned int)(-1)) ^ sccmap.c:202:13: note: in expansion of macro 'INF' setval(t, INF); ^~~ sccmap.c:211:12: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] return min; ^~~ sccmap.c: In function 'process': sccmap.c:300:34: warning: cast from function call of type 'int' to non-matching type 'double' [-Wbad-function-cast] state.N_nodes_in_nontriv_SCC / (double) agnnodes(G), ^ sccmap.c: In function 'scanArgs': sccmap.c:348:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC gvcolor.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] gvcolor.c: In function 'init': gvcolor.c:98:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ gvcolor.c: In function 'color': gvcolor.c:149:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] nlist = (Agnode_t **) malloc(nn * sizeof(Agnode_t *)); ^ gvcolor.c:176:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (ND_x(n)[j] != 0.0) ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC tred.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] tred.c: In function 'init': tred.c:104:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC unflatten.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] unflatten.c: In function 'scanargs': unflatten.c:180:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ unflatten.c: In function 'main': unflatten.c:76:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(buf, "%d", newlen); ^ In file included from /usr/include/stdio.h:862:0, from unflatten.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unflatten.c:76:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(buf, "%d", newlen); ^ In file included from /usr/include/stdio.h:862:0, from unflatten.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC ccomps.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] ccomps.c: In function 'split': ccomps.c:115:9: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] size = sfx - name; ^~~ ccomps.c:116:25: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] path = (char *) malloc(size + 1); ^~~~ ccomps.c:117:22: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] strncpy(path, name, size); ^~~~ ccomps.c: In function 'init': ccomps.c:140:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ ccomps.c: In function 'getBuf': ccomps.c:399:28: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = (char *) malloc(sz); ^~ ccomps.c:401:34: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = (char *) realloc(buf, sz); ^~ ccomps.c: In function 'printSorted': ccomps.c:26:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ ccomps.c:571:22: note: in expansion of macro 'N_NEW' Agraph_t** ccs = N_NEW(c_cnt, Agraph_t*); ^~~~~ ccomps.c:580:17: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort (ccs, c_cnt, sizeof(Agraph_t*), (qsort_cmpf)cmp); ^~~~~ ccomps.c: In function 'processClusters': ccomps.c:650:16: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] name = getBuf(sizeof(PFX1) + strlen(graphName)); ^~~~~~ ccomps.c:675:16: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] name = getBuf(sizeof(PFX2) + strlen(graphName) + 32); ^~~~~~ ccomps.c:728:18: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] printSorted (g, c_cnt); ^~~~~ ccomps.c: In function 'process': ccomps.c:778:16: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] name = getBuf(sizeof(PFX1) + strlen(graphName)); ^~~~~~ ccomps.c:800:16: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] name = getBuf(sizeof(PFX2) + strlen(graphName) + 32); ^~~~~~ ccomps.c:850:18: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] printSorted (g, c_cnt); ^~~~~ ccomps.c: In function 'chkGraphName': ccomps.c:885:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen(s) + 2; /* plus '\0' and '_' */ ^~~~~~ ccomps.c:887:22: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = realloc (buf, len); ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC dijkstra.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] dijkstra.c: In function 'cmpf': dijkstra.c:99:24: warning: unused parameter 'd' [-Wunused-parameter] static int cmpf(Dt_t * d, void *key1, void *key2, Dtdisc_t * disc) ^ dijkstra.c:99:62: warning: unused parameter 'disc' [-Wunused-parameter] static int cmpf(Dt_t * d, void *key1, void *key2, Dtdisc_t * disc) ^~~~ dijkstra.c: In function 'update': dijkstra.c:139:16: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (oldlen == 0) { /* first time to see dest */ ^~ dijkstra.c: In function 'post': dijkstra.c:180:6: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (dist) { ^~~~ dijkstra.c: At top level: dijkstra.c:213:6: warning: no previous prototype for 'dijkstra' [-Wmissing-prototypes] void dijkstra(Dict_t * Q, Agraph_t * G, Agnode_t * n) ^~~~~~~~ dijkstra.c: In function 'init': dijkstra.c:260:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ dijkstra.c:286:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Files = malloc(sizeof(char *) * argc / 2 + 2); ^ dijkstra.c:287:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Nodes = malloc(sizeof(char *) * argc / 2 + 2); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC bcomps.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] bcomps.c: In function 'blockName': bcomps.c:103:10: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] sz = strlen(gname) + 128; ^~~~~~ bcomps.c:107:24: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = (char *) malloc(sz); ^~ bcomps.c: In function 'getName': bcomps.c:133:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] sz = strlen(outfile) + 100; /* enough to handle '__' */ ^~~~~~ bcomps.c:134:28: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = (char *) malloc(sz); ^~ bcomps.c: In function 'split': bcomps.c:330:9: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] size = sfx - name; ^~~ bcomps.c:332:25: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] path = (char *) malloc(size + 1); ^~~~ bcomps.c:333:22: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] strncpy(path, name, size); ^~~~ bcomps.c: In function 'init': bcomps.c:346:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC gxl2gv.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] gxl2gv.c: In function 'pushString': gxl2gv.c:63:21: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] #define ROUND2(x,y) (((x) + ((y)-1)) & ~((y)-1)) ^ gxl2gv.c:67:14: note: in expansion of macro 'ROUND2' int sz = ROUND2(sizeof(slist) + strlen(s), sizeof(void *)); ^~~~~~ gxl2gv.c:61:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gxl2gv.c:68:27: note: in expansion of macro 'N_NEW' slist *sp = (slist *) N_NEW(sz, char); ^~~~~ gxl2gv.c: In function 'make_nitem': gxl2gv.c:133:35: warning: unused parameter 'd' [-Wunused-parameter] static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc) ^ gxl2gv.c:133:65: warning: unused parameter 'disc' [-Wunused-parameter] static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc) ^~~~ gxl2gv.c: In function 'free_nitem': gxl2gv.c:141:31: warning: unused parameter 'd' [-Wunused-parameter] static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc) ^ gxl2gv.c:141:59: warning: unused parameter 'disc' [-Wunused-parameter] static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc) ^~~~ gxl2gv.c: In function 'bind_node': gxl2gv.c:240:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] N = agnode(G, (char *) name, 1); ^ gxl2gv.c: In function 'bind_edge': gxl2gv.c:249:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] tailNode = agnode(G, (char *) tail, 1); ^ gxl2gv.c:250:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] headNode = agnode(G, (char *) head, 1); ^ gxl2gv.c: In function 'setGlobalNodeAttr': gxl2gv.c:306:71: warning: unused parameter 'ud' [-Wunused-parameter] setGlobalNodeAttr(Agraph_t * g, char *name, char *value, userdata_t * ud) ^~ gxl2gv.c: In function 'setGlobalEdgeAttr': gxl2gv.c:356:71: warning: unused parameter 'ud' [-Wunused-parameter] setGlobalEdgeAttr(Agraph_t * g, char *name, char *value, userdata_t * ud) ^~ gxl2gv.c: In function 'setAttr': gxl2gv.c:393:5: warning: switch missing default case [-Wswitch-default] switch (Current_class) { ^~~~~~ gxl2gv.c: In function 'startElementHandler': gxl2gv.c:435:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] g = agopen((char *) id, Agdirected, &AgDefaultDisc); ^ gxl2gv.c:437:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] g = agopen((char *) id, Agundirected, &AgDefaultDisc); ^ gxl2gv.c:442:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] g = agopen((char *) id, Agdirected, &AgDefaultDisc); ^ gxl2gv.c:447:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (isAnonGraph((char *) id)) { ^ gxl2gv.c:452:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] subg = agsubg(G, (char *) id, 1); ^ gxl2gv.c:458:32: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setGraphAttr(G, GXL_ROLE, (char *) atts[pos], ud); ^ gxl2gv.c:463:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setGraphAttr(G, GXL_HYPER, (char *) atts[pos], ud); ^ gxl2gv.c:492:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] tname = mapLookup(ud->nameMap, (char *) tail); ^ gxl2gv.c:496:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] tname = mapLookup(ud->nameMap, (char *) head); ^ gxl2gv.c:513:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setEdgeAttr(E, GXL_FROM, (char *) atts[pos], ud); ^ gxl2gv.c:518:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setEdgeAttr(E, GXL_TO, (char *) atts[pos], ud); ^ gxl2gv.c:523:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setEdgeAttr(E, GXL_ID, (char *) atts[pos], ud); ^ gxl2gv.c:528:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput(&ud->xml_attr_name, (char *) attrname); ^ gxl2gv.c:549:37: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput(&ud->composite_buffer, (char *) name); ^ gxl2gv.c:557:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setAttr(GXL_TYPE, (char *) atts[pos], ud); ^ gxl2gv.c:564:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput(&ud->xml_attr_value, (char *) href); ^ gxl2gv.c:573:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput(&ud->composite_buffer, (char *) name); ^ gxl2gv.c: In function 'endElementHandler': gxl2gv.c:607:8: warning: declaration of 'name' shadows a parameter [-Wshadow] char *name; ^~~~ gxl2gv.c:583:59: note: shadowed declaration is here static void endElementHandler(void *userData, const char *name) ^~~~ gxl2gv.c:614:33: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] int len = sizeof(GXL_COMP) + agxblen(&ud->xml_attr_name); ^ gxl2gv.c:614:16: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] int len = sizeof(GXL_COMP) + agxblen(&ud->xml_attr_name); ^~~~~~ gxl2gv.c:61:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gxl2gv.c:618:19: note: in expansion of macro 'N_NEW' name = dynbuf = N_NEW(len, char); ^~~~~ gxl2gv.c:631:2: warning: switch missing default case [-Wswitch-default] switch (ud->globalAttrType) { ^~~~~~ gxl2gv.c:655:37: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput(&ud->composite_buffer, (char *) name); ^ gxl2gv.c:664:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput(&ud->composite_buffer, (char *) name); ^ gxl2gv.c: In function 'characterDataHandler': gxl2gv.c:677:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput_n(&ud->composite_buffer, (char *) s, length); ^ gxl2gv.c:677:47: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] agxbput_n(&ud->composite_buffer, (char *) s, length); ^~~~~~ gxl2gv.c:681:36: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput_n(&ud->xml_attr_value, (char *) s, length); ^ gxl2gv.c:681:48: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] agxbput_n(&ud->xml_attr_value, (char *) s, length); ^~~~~~ gxl2gv.c: In function 'gxl_to_gv': gxl2gv.c:702:29: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] if (XML_Parse(parser, buf, len, done) == XML_STATUS_ERROR) { ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC gvpack-gvpack.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] In file included from ../../lib/common/render.h:44:0, from gvpack.c:27: gvpack.c: In function 'setNameValue': ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ gvpack.c:154:11: note: in expansion of macro 'RALLOC' G_args = RALLOC(G_sz, G_args, attr_t); ^~~~~~ gvpack.c: In function 'init': gvpack.c:216:12: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen(optarg) + 2; ^~~~~~ In file included from ../../lib/common/render.h:44:0, from gvpack.c:27: ../../lib/common/memory.h:39:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_GNEW(n,t) (t*)gmalloc((n)*sizeof(t)) ^ gvpack.c:218:8: note: in expansion of macro 'N_GNEW' bp = N_GNEW(len, char); ^~~~~~ gvpack.c:214:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ gvpack.c: In function 'cloneDfltAttrs': gvpack.c:351:62: warning: declaration of 'kind' shadows a global declaration [-Wshadow] static void cloneDfltAttrs(Agraph_t *old, Agraph_t *new, int kind) ^~~~ gvpack.c:90:17: note: shadowed declaration is here static Agdesc_t kind; /* type of graph */ ^~~~ gvpack.c: In function 'cloneAttrs': gvpack.c:364:9: warning: declaration of 'kind' shadows a global declaration [-Wshadow] int kind = AGTYPE(old); ^~~~ gvpack.c:90:17: note: shadowed declaration is here static Agdesc_t kind; /* type of graph */ ^~~~ gvpack.c: In function 'freef': gvpack.c:425:26: warning: unused parameter 'dt' [-Wunused-parameter] static void freef(Dt_t * dt, void * obj, Dtdisc_t * disc) ^~ gvpack.c:425:53: warning: unused parameter 'disc' [-Wunused-parameter] static void freef(Dt_t * dt, void * obj, Dtdisc_t * disc) ^~~~ gvpack.c: In function 'fillDict': gvpack.c:447:55: warning: declaration of 'kind' shadows a global declaration [-Wshadow] static void fillDict(Dt_t * newdict, Agraph_t* g, int kind) ^~~~ gvpack.c:90:17: note: shadowed declaration is here static Agdesc_t kind; /* type of graph */ ^~~~ gvpack.c: In function 'xName': gvpack.c:570:8: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen(oldname) + 100; /* 100 for "_gv" and decimal no. */ ^~~~~~ In file included from ../../lib/common/render.h:44:0, from gvpack.c:27: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ gvpack.c:573:13: note: in expansion of macro 'N_NEW' name = N_NEW(len, char); ^~~~~ gvpack.c: In function 'cloneClusterTree': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ gvpack.c:661:17: note: in expansion of macro 'N_NEW' GD_clust(ng) = N_NEW(1 + GD_n_cluster(g), Agraph_t *); ^~~~~ gvpack.c: In function 'cloneGraph': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ gvpack.c:755:19: note: in expansion of macro 'N_NEW' GD_clust(root) = N_NEW(1 + GD_n_cluster(root), graph_t *); ^~~~~ gvpack.c: In function 'readGraphs': ../../lib/common/memory.h:41:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ gvpack.c:809:11: note: in expansion of macro 'ALLOC' gs = ALLOC(sz, gs, Agraph_t *); ^~~~~ ../../lib/common/memory.h:41:98: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define ALLOC(size,ptr,type) (ptr? (type*)grealloc(ptr,(size)*sizeof(type)):(type*)gmalloc((size)*sizeof(type))) ^ gvpack.c:809:11: note: in expansion of macro 'ALLOC' gs = ALLOC(sz, gs, Agraph_t *); ^~~~~ gvpack.c:821:16: warning: conversion to 'boolean {aka unsigned char}' from 'int' may alter its value [-Wconversion] init_graph(g, doPack, gvc); ^~~~~~ In file included from ../../lib/common/render.h:44:0, from gvpack.c:27: ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ gvpack.c:825:10: note: in expansion of macro 'RALLOC' gs = RALLOC(cnt, gs, Agraph_t *); ^~~~~~ gvpack.c: At top level: gvpack.c:835:6: warning: no previous prototype for 'compBB' [-Wmissing-prototypes] boxf compBB(Agraph_t ** gs, int cnt) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC gv2gxl.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] gv2gxl.c: In function 'make_nitem': gv2gxl.c:57:35: warning: unused parameter 'd' [-Wunused-parameter] static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc) ^ gv2gxl.c:57:65: warning: unused parameter 'disc' [-Wunused-parameter] static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc) ^~~~ gv2gxl.c: In function 'free_nitem': gv2gxl.c:65:31: warning: unused parameter 'd' [-Wunused-parameter] static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc) ^ gv2gxl.c:65:59: warning: unused parameter 'disc' [-Wunused-parameter] static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc) ^~~~ gv2gxl.c: In function 'free_iditem': gv2gxl.c:87:32: warning: unused parameter 'd' [-Wunused-parameter] static void free_iditem(Dt_t * d, idv_t * idp, Dtdisc_t * disc) ^ gv2gxl.c:87:59: warning: unused parameter 'disc' [-Wunused-parameter] static void free_iditem(Dt_t * d, idv_t * idp, Dtdisc_t * disc) ^~~~ gv2gxl.c: In function '_xml_string': gv2gxl.c:21:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gv2gxl.c:182:8: note: in expansion of macro 'N_NEW' buf = N_NEW(bufsize, char); ^~~~~ gv2gxl.c:189:25: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = realloc(buf, bufsize); ^~~~~~~ gv2gxl.c: In function 'createEdgeId': gv2gxl.c:326:19: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] int baselen = strlen(hname) + strlen(tname) + sizeof(EDGEOP); ^~~~~~ gv2gxl.c:21:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gv2gxl.c:335:7: note: in expansion of macro 'N_NEW' bp = N_NEW(len, char); ^~~~~ gv2gxl.c: In function 'writeDict': gv2gxl.c:408:22: warning: unused parameter 'g' [-Wunused-parameter] writeDict(Agraph_t * g, FILE * gxlFile, char *name, Dict_t * dict, ^ gv2gxl.c: In function 'writeHdr': gv2gxl.c:511:8: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] len = strlen(name) + sizeof("N_"); ^~~~~~ gv2gxl.c:21:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ gv2gxl.c:515:20: note: in expansion of macro 'N_NEW' bp = dynbuf = N_NEW(len, char); ^~~~~ gv2gxl.c: In function 'writeEdgeName': gv2gxl.c:590:60: warning: unused parameter 'terminate' [-Wunused-parameter] static int writeEdgeName(Agedge_t * e, FILE * gxlFile, int terminate) ^~~~~~~~~ gv2gxl.c: In function 'initState': gv2gxl.c:883:21: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] stp->directed = agisdirected(g); ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC matrix_market.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] matrix_market.c: In function 'SparseMatrix_import_matrix_market': matrix_market.c:104:19: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = MALLOC(nz * sizeof(int)); ^ matrix_market.c:105:19: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = MALLOC(nz * sizeof(int)); ^ matrix_market.c:122:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = (real *) malloc(nz * sizeof(real)); ^ matrix_market.c:129:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:130:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:131:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = REALLOC(val, 2 * sizeof(real) * nz); ^ matrix_market.c:141:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:142:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:143:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = REALLOC(val, 2 * sizeof(real) * nz); ^ matrix_market.c:158:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vali = (int *) malloc(nz * sizeof(int)); ^ matrix_market.c:165:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:166:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:167:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vali = REALLOC(vali, 2 * sizeof(int) * nz); ^ matrix_market.c:177:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:178:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:179:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vali = REALLOC(vali, 2 * sizeof(int) * nz); ^ matrix_market.c:200:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:201:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:214:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = (real *) malloc(2 * nz * sizeof(real)); ^ matrix_market.c:223:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:224:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:225:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = REALLOC(val, 4 * sizeof(real) * nz); ^ matrix_market.c:237:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:238:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:239:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = REALLOC(val, 4 * sizeof(real) * nz); ^ matrix_market.c:252:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = REALLOC(I, 2 * sizeof(int) * nz); ^ matrix_market.c:253:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = REALLOC(J, 2 * sizeof(int) * nz); ^ matrix_market.c:254:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = REALLOC(val, 4 * sizeof(real) * nz); ^ matrix_market.c:124:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %lg\n", &I[i], &J[i], &val[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matrix_market.c:160:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d\n", &I[i], &J[i], &vali[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matrix_market.c:195:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &I[i], &J[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ matrix_market.c:217:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %lg %lg\n", &I[i], &J[i], &v[0], &v[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC gml2gv.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] gml2gv.c: In function 'initargs': gml2gv.c:115:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC mm2gv.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] In file included from ../../lib/sparse/SparseMatrix.h:16:0, from mm2gv.c:26: mm2gv.c: In function 'makeDotGraph': ../../lib/sparse/general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ mm2gv.c:243:22: note: in expansion of macro 'N_NEW' Agnode_t **arr = N_NEW(A->m, Agnode_t *); ^~~~~ ../../lib/sparse/general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ mm2gv.c:298:10: note: in expansion of macro 'N_NEW' color = N_NEW(A->nz, real); ^~~~~ mm2gv.c: In function 'init': mm2gv.c:411:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC gvgen.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] gvgen.c: In function 'readPos': gvgen.c:126:9: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] d = strtol(s, e, 10); ^~~~~~ gvgen.c: In function 'init': gvgen.c:304:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:309:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:314:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:325:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:330:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:335:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:340:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:345:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:350:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:355:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:360:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:374:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:379:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:382:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:388:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:393:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:398:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:402:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:410:11: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] errexit(c); ^ gvgen.c:300:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ gvgen.c: In function 'main': gvgen.c:518:6: warning: implicit declaration of function 'makeTetrix'; did you mean 'makeTree'? [-Wimplicit-function-declaration] makeTetrix(opts.graphSize1, ef); ^~~~~~~~~~ makeTree gvgen.c:518:6: warning: nested extern declaration of 'makeTetrix' [-Wnested-externs] gvgen.c: In function 'init': gvgen.c:320:22: warning: this statement may fall through [-Wimplicit-fallthrough=] opts->isPartial = 1; ~~~~~~~~~~~~~~~~^~~ gvgen.c:321:2: note: here case 'g': ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC mmio.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] mmio.c: In function 'mm_read_unsymmetric_sparse': mmio.c:74:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] I = (int *) malloc(nz * sizeof(int)); ^ mmio.c:75:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] J = (int *) malloc(nz * sizeof(int)); ^ mmio.c:76:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] val = (double *) malloc(nz * sizeof(double)); ^ mmio.c: In function 'mm_read_banner': mmio.c:130:36: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] for (p = mtx; *p != '\0'; *p = tolower(*p), p++); /* convert to lower case */ ^~~~~~~ mmio.c:131:36: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] for (p = crd; *p != '\0'; *p = tolower(*p), p++); ^~~~~~~ mmio.c:132:42: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] for (p = data_type; *p != '\0'; *p = tolower(*p), p++); ^~~~~~~ mmio.c:133:47: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] for (p = storage_scheme; *p != '\0'; *p = tolower(*p), p++); ^~~~~~~ mmio.c: In function 'mm_read_mtx_crd_data': mmio.c:271:40: warning: unused parameter 'M' [-Wunused-parameter] int mm_read_mtx_crd_data(FILE * f, int M, int N, int nz, int I[], int J[], ^ mmio.c:271:47: warning: unused parameter 'N' [-Wunused-parameter] int mm_read_mtx_crd_data(FILE * f, int M, int N, int nz, int I[], int J[], ^ mmio.c: At top level: mmio.c:336:5: warning: no previous prototype for 'mm_read_mtx_crd' [-Wmissing-prototypes] int mm_read_mtx_crd(char *fname, int *M, int *N, int *nz, int **I, int **J, ^~~~~~~~~~~~~~~ mmio.c: In function 'mm_read_mtx_crd': mmio.c:359:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *I = (int *) malloc(*nz * sizeof(int)); ^ mmio.c:360:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *J = (int *) malloc(*nz * sizeof(int)); ^ mmio.c:364:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *val = (double *) malloc(*nz * 2 * sizeof(double)); ^ mmio.c:370:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *val = (double *) malloc(*nz * sizeof(double)); ^ mmio.c: In function 'mm_typecode_to_str': mmio.c:463:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] int error = 0; ^~~~~ mmio.c: In function 'mm_read_unsymmetric_sparse': mmio.c:87:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %lg\n", &I[i], &J[i], &val[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD gc make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD gvcolor make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC gmlparse.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] ../../cmd/tools/gmlparse.y: In function 'free_node': ../../cmd/tools/gmlparse.y:40:17: warning: unused parameter 'd' [-Wunused-parameter] free_node (Dt_t*d, gmlnode* p, Dtdisc_t* ds) ^ ../../cmd/tools/gmlparse.y:40:42: warning: unused parameter 'ds' [-Wunused-parameter] free_node (Dt_t*d, gmlnode* p, Dtdisc_t* ds) ^~ ../../cmd/tools/gmlparse.y: In function 'free_edge': ../../cmd/tools/gmlparse.y:48:17: warning: unused parameter 'd' [-Wunused-parameter] free_edge (Dt_t*d, gmledge* p, Dtdisc_t* ds) ^ ../../cmd/tools/gmlparse.y:48:42: warning: unused parameter 'ds' [-Wunused-parameter] free_edge (Dt_t*d, gmledge* p, Dtdisc_t* ds) ^~ ../../cmd/tools/gmlparse.y: In function 'free_graph': ../../cmd/tools/gmlparse.y:56:18: warning: unused parameter 'd' [-Wunused-parameter] free_graph (Dt_t*d, gmlgraph* p, Dtdisc_t* ds) ^ ../../cmd/tools/gmlparse.y:56:44: warning: unused parameter 'ds' [-Wunused-parameter] free_graph (Dt_t*d, gmlgraph* p, Dtdisc_t* ds) ^~ ../../cmd/tools/gmlparse.y: In function 'initstk': ../../cmd/tools/gmlparse.y:24:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ ../../cmd/tools/gmlparse.y:123:15: note: in expansion of macro 'N_NEW' liststk = N_NEW(liststk_sz, Dt_t*); ^~~~~ ../../cmd/tools/gmlparse.y: In function 'pushAlist': ../../cmd/tools/gmlparse.y:25:57: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)realloc(ptr,(size)*sizeof(type))) ^ ../../cmd/tools/gmlparse.y:163:16: note: in expansion of macro 'RALLOC' liststk = RALLOC(liststk_sz, liststk, Dt_t*); ^~~~~~ ../../cmd/tools/gmlparse.y: In function 'mkAttr': ../../cmd/tools/gmlparse.y:234:16: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] gp->sort = sort; ^~~~ ../../cmd/tools/gmlparse.y:235:16: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] gp->kind = kind; ^~~~ y.tab.c: In function 'gmlparse': y.tab.c:1613:13: warning: conversion to 'gmltype_int16 {aka short int}' from 'int' may alter its value [-Wconversion] *yyssp = yystate; ^~~~~~~ y.tab.c:1618:26: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] YYSIZE_T yysize = yyssp - yyss + 1; ^~~~~~ ../../cmd/tools/gmlparse.y: In function 'free_attr': ../../cmd/tools/gmlparse.y:397:17: warning: unused parameter 'd' [-Wunused-parameter] free_attr (Dt_t*d, gmlattr* p, Dtdisc_t* ds) ^ ../../cmd/tools/gmlparse.y:397:42: warning: unused parameter 'ds' [-Wunused-parameter] free_attr (Dt_t*d, gmlattr* p, Dtdisc_t* ds) ^~ ../../cmd/tools/gmlparse.y: In function 'addNodeLabelGraphics': ../../cmd/tools/gmlparse.y:461:58: warning: unused parameter 'xb' [-Wunused-parameter] addNodeLabelGraphics (Agnode_t* np, Dt_t* alist, agxbuf* xb, agxbuf* unk) ^~ ../../cmd/tools/gmlparse.y: In function 'mkGraph': ../../cmd/tools/gmlparse.y:734:20: warning: declaration of 'G' shadows a global declaration [-Wshadow] mkGraph (gmlgraph* G, Agraph_t* parent, char* name, agxbuf* xb, agxbuf* unk) ^ ../../cmd/tools/gmlparse.y:29:18: note: shadowed declaration is here static gmlgraph* G; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC graphml2gv.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] graphml2gv.c: In function 'pushString': graphml2gv.c:70:21: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] #define ROUND2(x,y) (((x) + ((y)-1)) & ~((y)-1)) ^ graphml2gv.c:74:14: note: in expansion of macro 'ROUND2' int sz = ROUND2(sizeof(slist) + strlen(s), sizeof(void *)); ^~~~~~ graphml2gv.c:68:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ graphml2gv.c:75:27: note: in expansion of macro 'N_NEW' slist *sp = (slist *) N_NEW(sz, char); ^~~~~ graphml2gv.c: In function 'make_nitem': graphml2gv.c:141:35: warning: unused parameter 'd' [-Wunused-parameter] static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc) ^ graphml2gv.c:141:65: warning: unused parameter 'disc' [-Wunused-parameter] static namev_t *make_nitem(Dt_t * d, namev_t * objp, Dtdisc_t * disc) ^~~~ graphml2gv.c: In function 'free_nitem': graphml2gv.c:149:31: warning: unused parameter 'd' [-Wunused-parameter] static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc) ^ graphml2gv.c:149:59: warning: unused parameter 'disc' [-Wunused-parameter] static void free_nitem(Dt_t * d, namev_t * np, Dtdisc_t * disc) ^~~~ graphml2gv.c: In function 'bind_node': graphml2gv.c:249:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] N = agnode(G, (char *) name, 1); ^ graphml2gv.c: In function 'bind_edge': graphml2gv.c:258:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] tailNode = agnode(G, (char *) tail, 1); ^ graphml2gv.c:259:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] headNode = agnode(G, (char *) head, 1); ^ graphml2gv.c: In function 'setGlobalNodeAttr': graphml2gv.c:315:71: warning: unused parameter 'ud' [-Wunused-parameter] setGlobalNodeAttr(Agraph_t * g, char *name, char *value, userdata_t * ud) ^~ graphml2gv.c: In function 'setGlobalEdgeAttr': graphml2gv.c:365:71: warning: unused parameter 'ud' [-Wunused-parameter] setGlobalEdgeAttr(Agraph_t * g, char *name, char *value, userdata_t * ud) ^~ graphml2gv.c: In function 'setAttr': graphml2gv.c:402:5: warning: switch missing default case [-Wswitch-default] switch (Current_class) { ^~~~~~ graphml2gv.c: In function 'startElementHandler': graphml2gv.c:460:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] g = agopen((char *) id, dir, &AgDefaultDisc); ^ graphml2gv.c:464:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if (isAnonGraph((char *) id)) { ^ graphml2gv.c:469:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] subg = agsubg(G, (char *) id, 1); ^ graphml2gv.c:499:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] tname = mapLookup(ud->nameMap, (char *) tail); ^ graphml2gv.c:503:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] tname = mapLookup(ud->nameMap, (char *) head); ^ graphml2gv.c:520:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] setEdgeAttr(E, GRAPHML_ID, (char *) atts[pos], ud); ^ graphml2gv.c: In function 'endElementHandler': graphml2gv.c:554:8: warning: declaration of 'name' shadows a parameter [-Wshadow] char *name; ^~~~ graphml2gv.c:530:59: note: shadowed declaration is here static void endElementHandler(void *userData, const char *name) ^~~~ graphml2gv.c:561:37: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] int len = sizeof(GRAPHML_COMP) + agxblen(&ud->xml_attr_name); ^ graphml2gv.c:561:16: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] int len = sizeof(GRAPHML_COMP) + agxblen(&ud->xml_attr_name); ^~~~~~ graphml2gv.c:68:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ graphml2gv.c:565:19: note: in expansion of macro 'N_NEW' name = dynbuf = N_NEW(len, char); ^~~~~ graphml2gv.c:578:2: warning: switch missing default case [-Wswitch-default] switch (ud->globalAttrType) { ^~~~~~ graphml2gv.c: In function 'characterDataHandler': graphml2gv.c:606:35: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput_n(&ud->composite_buffer, (char *) s, length); ^ graphml2gv.c:606:47: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] agxbput_n(&ud->composite_buffer, (char *) s, length); ^~~~~~ graphml2gv.c:610:36: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] agxbput_n(&ud->xml_attr_value, (char *) s, length); ^ graphml2gv.c:610:48: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] agxbput_n(&ud->xml_attr_value, (char *) s, length); ^~~~~~ graphml2gv.c: At top level: graphml2gv.c:613:11: warning: no previous prototype for 'graphml_to_gv' [-Wmissing-prototypes] Agraph_t *graphml_to_gv(char* gname, FILE * graphmlFile, int* rv) ^~~~~~~~~~~~~ graphml2gv.c: In function 'graphml_to_gv': graphml2gv.c:613:31: warning: declaration of 'gname' shadows a global declaration [-Wshadow] Agraph_t *graphml_to_gv(char* gname, FILE * graphmlFile, int* rv) ^~~~~ graphml2gv.c:59:14: note: shadowed declaration is here static char* gname = ""; ^~~~~ graphml2gv.c:632:29: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] if (XML_Parse(parser, buf, len, done) == XML_STATUS_ERROR) { ^~~ graphml2gv.c: In function 'initargs': graphml2gv.c:721:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ graphml2gv.c: In function 'main': graphml2gv.c:776:15: warning: declaration of 'G' shadows a global declaration [-Wshadow] Agraph_t *G; ^ graphml2gv.c:128:18: note: shadowed declaration is here static Agraph_t *G; /* Current graph */ ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD acyclic make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD gxl2gv make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD sccmap make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD ccomps make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC graph_generator.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] graph_generator.c: In function 'makeTree': graph_generator.c:229:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] unsigned int n = (ipow(nary,depth)-1)/(nary-1); /* no. of non-leaf nodes */ ^ graph_generator.c:233:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < nary; j++) { ^ graph_generator.c:234:10: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ef (i, idx++); ^ graph_generator.c:234:13: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ef (i, idx++); ^~~ graph_generator.c: In function 'makeBinaryTree': graph_generator.c:242:22: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] unsigned int n = (1 << depth) - 1; ^ graph_generator.c:245:6: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ef( i, 2 * i); ^ graph_generator.c:245:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ef( i, 2 * i); ^ graph_generator.c:246:6: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ef( i, 2 * i + 1); ^ graph_generator.c:246:9: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] ef( i, 2 * i + 1); ^ graph_generator.c: In function 'makeSierpinski': graph_generator.c:294:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^ graph_generator.c:309:13: note: in expansion of macro 'N_NEW' graph = N_NEW(n + 1, vtx_data); ^~~~~ graph_generator.c:294:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^ graph_generator.c:310:13: note: in expansion of macro 'N_NEW' edges = N_NEW(4 * n, int); ^~~~~ graph_generator.c:301:9: warning: variable 'nedges' set but not used [-Wunused-but-set-variable] int nedges; ^~~~~~ graph_generator.c: At top level: graph_generator.c:383:6: warning: no previous prototype for 'makeTetrix' [-Wmissing-prototypes] void makeTetrix(int depth, edgefn ef) ^~~~~~~~~~ graph_generator.c: In function 'makeTetrix': graph_generator.c:294:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^ graph_generator.c:396:13: note: in expansion of macro 'N_NEW' graph = N_NEW(n + 1, vtx_data); ^~~~~ graph_generator.c:294:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^ graph_generator.c:397:13: note: in expansion of macro 'N_NEW' edges = N_NEW(6 * n, int); ^~~~~ graph_generator.c:388:9: warning: variable 'nedges' set but not used [-Wunused-but-set-variable] int nedges; ^~~~~~ graph_generator.c: In function 'makeRandom': graph_generator.c:484:11: warning: conversion to 'unsigned int' from 'time_t {aka long int}' may alter its value [-Wconversion] srand(time(0)); ^~~~ graph_generator.c: In function 'mkTree': graph_generator.c:294:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^ graph_generator.c:563:13: note: in expansion of macro 'N_NEW' tp->p = N_NEW(sz,int); ^~~~~ graph_generator.c: In function 'mkStack': graph_generator.c:294:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^ graph_generator.c:646:13: note: in expansion of macro 'N_NEW' sp->v = N_NEW(sz,pair); ^~~~~ graph_generator.c: In function 'genCnt': graph_generator.c:294:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)calloc((n),sizeof(t)) ^ graph_generator.c:683:14: note: in expansion of macro 'N_NEW' int* T = N_NEW(NN+1,int); ^~~~~ graph_generator.c: In function 'genTree': graph_generator.c:715:33: warning: declaration of 'stack' shadows a global declaration [-Wshadow] genTree (int NN, int* T, stack* stack, tree_t* TREE) ^~~~~ graph_generator.c:639:3: note: shadowed declaration is here } stack; ^~~~~ graph_generator.c:726:10: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] Z = v*drand(); ^ graph_generator.c: In function 'makeTreeGen': graph_generator.c:787:11: warning: conversion to 'unsigned int' from 'time_t {aka long int}' may alter its value [-Wconversion] srand(time(0)); ^~~~ graph_generator.c: In function 'makeSquareGrid': graph_generator.c:162:20: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] #define OUTE(h) if (tl < (hd=(h))) ef( tl, hd) ^ graph_generator.c:176:3: note: in expansion of macro 'OUTE' OUTE(i * dim2 + j); ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD nop make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC gv2gml.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] gv2gml.c: In function 'indent': gv2gml.c:97:35: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] static void indent (int ix, FILE* outFile) ^~~~~~~ gv2gml.c:39:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitInt': gv2gml.c:149:39: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitInt (char* name, int value, FILE* outFile, int ix) ^~~~~~~ gv2gml.c:39:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitReal': gv2gml.c:156:43: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitReal (char* name, double value, FILE* outFile, int ix) ^~~~~~~ gv2gml.c:39:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitPoint': gv2gml.c:163:38: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitPoint (double x, double y, FILE* outFile, int ix) ^~~~~~~ gv2gml.c:39:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitSpline': gv2gml.c:210:28: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitSpline (char* s, FILE* outFile, int ix) ^~~~~~~ gv2gml.c:39:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitAttr': gv2gml.c:232:42: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitAttr (char* name, char* value, FILE* outFile, int ix) ^~~~~~~ gv2gml.c:39:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitNodeAttrs': gv2gml.c:247:49: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitNodeAttrs (Agraph_t* G, Agnode_t* np, FILE* outFile, int ix) ^~~~~~~ gv2gml.c:39:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitNode': gv2gml.c:431:43: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitNode (Agraph_t* G, Agnode_t* n, FILE* outFile) ^~~~~~~ gv2gml.c:39:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitEdgeAttrs': gv2gml.c:447:49: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitEdgeAttrs (Agraph_t* G, Agedge_t* ep, FILE* outFile, int ix) ^~~~~~~ gv2gml.c:39:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitEdge': gv2gml.c:611:43: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitEdge (Agraph_t* G, Agedge_t* e, FILE* outFile) ^~~~~~~ gv2gml.c:39:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'emitGraphAttrs': gv2gml.c:621:36: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] emitGraphAttrs (Agraph_t* G, FILE* outFile) ^~~~~~~ gv2gml.c:39:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'gv_to_gml': gv2gml.c:634:30: warning: declaration of 'outFile' shadows a global declaration [-Wshadow] gv_to_gml(Agraph_t* G, FILE* outFile) ^~~~~~~ gv2gml.c:39:14: note: shadowed declaration is here static FILE *outFile; ^~~~~~~ gv2gml.c: In function 'initargs': gv2gml.c:711:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD unflatten make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD tred make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CC gmlscan.o cc1: warning: ../../lib/graph: No such file or directory [-Wmissing-include-dirs] ../../cmd/tools/gmlscan.l: In function 'addstr': ../../cmd/tools/gmlscan.l:56:33: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] Sbuf = (char*)realloc(Sbuf,sz); ^~ lex.gml.c: In function 'gmllex': lex.gml.c:874:29: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'flex_int32_t {aka const int}' may alter its value [-Wconversion] lex.gml.c:884:14: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'flex_int32_t {aka const int}' may alter its value [-Wconversion] lex.gml.c:886:60: warning: conversion to 'unsigned int' from 'flex_int16_t {aka const short int}' may change the sign of the result [-Wsign-conversion] lex.gml.c:1183:8: warning: switch missing default case [-Wswitch-default] lex.gml.c: In function 'gml_get_next_buffer': lex.gml.c:1298:43: warning: conversion to 'gml_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.gml.c:1332:57: warning: conversion to 'gml_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] ../../cmd/tools/gmlscan.l:30:55: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if ((result = fread(buf, 1, max_size, Ifile)) < 0) \ ^ lex.gml.c:1341:3: note: in expansion of macro 'YY_INPUT' lex.gml.c:1366:34: warning: conversion to 'gml_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.gml.c:1368:39: warning: conversion to 'gml_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.gml.c:1374:16: warning: conversion to 'gml_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.gml.c: In function 'gml_get_previous_state': lex.gml.c:1395:28: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'int' may alter its value [-Wconversion] lex.gml.c:1405:13: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'flex_int32_t {aka const int}' may alter its value [-Wconversion] lex.gml.c:1407:59: warning: conversion to 'unsigned int' from 'flex_int16_t {aka const short int}' may change the sign of the result [-Wsign-conversion] lex.gml.c: In function 'gml_try_NUL_trans': lex.gml.c:1433:12: warning: conversion to 'YY_CHAR {aka unsigned char}' from 'flex_int32_t {aka const int}' may alter its value [-Wconversion] lex.gml.c:1435:58: warning: conversion to 'unsigned int' from 'flex_int16_t {aka const short int}' may change the sign of the result [-Wsign-conversion] lex.gml.c: In function 'input': lex.gml.c:1502:24: warning: conversion to 'gml_size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] lex.gml.c:1505:4: warning: switch missing default case [-Wswitch-default] lex.gml.c: In function 'gml_create_buffer': lex.gml.c:1629:20: warning: conversion to 'gml_size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.gml.c: In function 'gmlensure_buffer_stack': lex.gml.c:1803:41: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] lex.gml.c:1812:68: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lex.gml.c: In function 'gml_scan_bytes': lex.gml.c:1886:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] At top level: lex.gml.c:1482:16: warning: 'input' defined but not used [-Wunused-function] make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD dijkstra make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD bcomps make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD gv2gml make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD gvgen make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD gml2gv make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD graphml2gv make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD mm2gv make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' CCLD gvpack make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' Making all in gvpr Making all in lib make[4]: Nothing to be done for 'all'. make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr' CC gvpr-gvprmain.o make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr' CCLD gvpr make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr' Making all in lefty Making all in ws Making all in x11 Making all in libfilereq make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' CC Dir.lo Dir.c: In function 'SFcompareEntries': Dir.c:119:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SFEntry *p = (SFEntry *) vp, *q = (SFEntry *) vq; ^ Dir.c:119:39: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SFEntry *p = (SFEntry *) vp, *q = (SFEntry *) vq; ^ Dir.c: In function 'SFgetDir': Dir.c:136:16: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] maxChars = strlen (dir->dir) - 1; ^~~~~~ Dir.c:158:52: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (char *) result, (unsigned) (alloc * sizeof (SFEntry)) ^ Dir.c:163:15: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen (str); ^~~~~~ Dir.c:176:29: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort ((char *) result, i, sizeof (SFEntry), SFcompareEntries); ^ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' CC Draw.lo Draw.c: In function 'SFcreateGC': Draw.c:127:23: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] rectangles[0].x = SFlineToTextH + SFbesideText; ^~~~~~~~~~~~~ Draw.c:129:27: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] rectangles[0].width = SFcharsPerEntry * SFcharWidth; ^~~~~~~~~~~~~~~ Draw.c:130:28: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] rectangles[0].height = SFupperY + 1; ^~~~~~~~ Draw.c: In function 'SFdeleteEntry': Draw.c:170:11: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] idx = entry - dir->entries; ^~~~~ Draw.c:192:9: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = dir - & (SFdirs[SFdirPtr]); ^~~ Draw.c: In function 'SFstatAndCheck': Draw.c:220:16: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] last = strlen (entry->real) - 1; ^~~~~~ Draw.c:237:31: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen (shown); ^~~~~~ Draw.c: In function 'SFdrawStrings': Draw.c:280:27: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] entry->shown, strlen (entry->shown) ^~~~~~ Draw.c:294:63: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] SFcompletionSegs[0].y1 = SFcompletionSegs[1].y1 = ( ^ Draw.c:297:63: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] SFcompletionSegs[0].y2 = SFcompletionSegs[1].y2 = ( ^ Draw.c: In function 'SFdrawList': Draw.c:326:23: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] dir->dir, strlen (dir->dir) ^~~~~~ Draw.c: In function 'SFinvertEntry': Draw.c:344:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth, SFentryHeight ^~~~~~~~~~~~ Draw.c:344:23: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth, SFentryHeight ^~~~~~~~~~~~~ Draw.c: In function 'SFscrollTimer': Draw.c:372:56: warning: unused parameter 'id' [-Wunused-parameter] static void SFscrollTimer (XtPointer cd, XtIntervalId *id) { ^~ Draw.c: In function 'SFenterList': Draw.c:461:24: warning: conversion to 'int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFinvertEntry (n); ^ Draw.c:467:24: warning: conversion to 'int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFinvertEntry (n); ^ Draw.c:452:26: warning: unused parameter 'w' [-Wunused-parameter] void SFenterList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ^ Draw.c:452:64: warning: unused parameter 'b' [-Wunused-parameter] void SFenterList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ^ Draw.c: In function 'SFleaveList': Draw.c:476:24: warning: conversion to 'int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFinvertEntry (n); ^ Draw.c:471:26: warning: unused parameter 'w' [-Wunused-parameter] void SFleaveList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ^ Draw.c:471:51: warning: unused parameter 'ev' [-Wunused-parameter] void SFleaveList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ^~ Draw.c:471:64: warning: unused parameter 'b' [-Wunused-parameter] void SFleaveList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ^ Draw.c: In function 'SFmotionList': Draw.c:491:28: warning: conversion to 'int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFinvertEntry (n); ^ Draw.c:495:28: warning: conversion to 'int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFinvertEntry (n); ^ Draw.c:481:27: warning: unused parameter 'w' [-Wunused-parameter] void SFmotionList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ^ Draw.c:481:65: warning: unused parameter 'b' [-Wunused-parameter] void SFmotionList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ^ Draw.c: In function 'SFvFloatSliderMovedCallback': Draw.c:506:19: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] new = (*fnew) * SFdirs[SFdirPtr + n].nEntries; ^ Draw.c:506:11: warning: conversion to 'intptr_t {aka long int}' from 'float' may alter its value [-Wfloat-conversion] new = (*fnew) * SFdirs[SFdirPtr + n].nEntries; ^ Draw.c: In function 'SFvSliderMovedCallback': Draw.c:519:20: warning: conversion to 'int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] dir->vOrigin = new; ^~~ Draw.c:529:17: warning: conversion to 'int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFlowerY + (new - old) * SFentryHeight, ^~~~~~~~ Draw.c:530:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth + SFlineToTextH, ^~~~~~~~~~~~ Draw.c:531:17: warning: conversion to 'unsigned int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] (SFlistSize - (new - old)) * SFentryHeight, ^ Draw.c:536:17: warning: conversion to 'int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFlowerY + (SFlistSize - (new - old)) * SFentryHeight, ^~~~~~~~ Draw.c:537:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth + SFlineToTextH, (new - old) * SFentryHeight, ^~~~~~~~~~~~ Draw.c:537:47: warning: conversion to 'unsigned int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFentryWidth + SFlineToTextH, (new - old) * SFentryHeight, ^ Draw.c:540:38: warning: conversion to 'int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFdrawStrings (win, dir, SFlistSize - (new - old), SFlistSize - 1); ^~~~~~~~~~ Draw.c:544:27: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFlowerY, SFentryWidth + SFlineToTextH, ^~~~~~~~~~~~ Draw.c:545:17: warning: conversion to 'unsigned int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] (SFlistSize - (old - new)) * SFentryHeight, SFlineToTextH, ^ Draw.c:546:17: warning: conversion to 'int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFlowerY + (old - new) * SFentryHeight ^~~~~~~~ Draw.c:550:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth + SFlineToTextH, (old - new) * SFentryHeight, ^~~~~~~~~~~~ Draw.c:550:47: warning: conversion to 'unsigned int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFentryWidth + SFlineToTextH, (old - new) * SFentryHeight, ^ Draw.c:553:41: warning: conversion to 'int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFdrawStrings (win, dir, 0, old - new); ^~~ Draw.c:558:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth + SFlineToTextH, SFlistSize * SFentryHeight, False ^~~~~~~~~~~~ Draw.c:558:43: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFentryWidth + SFlineToTextH, SFlistSize * SFentryHeight, False ^~~~~~~~~~ Draw.c:510:37: warning: unused parameter 'w' [-Wunused-parameter] void SFvSliderMovedCallback (Widget w, XtPointer cl, XtPointer cd) { ^ Draw.c: In function 'SFvAreaSelectedCallback': Draw.c:571:11: warning: conversion to 'intptr_t {aka long int}' from 'double' may alter its value [-Wfloat-conversion] new = dir->vOrigin + (((double) pnew) / SFvScrollHeight) * dir->nEntries; ^~~ Draw.c:581:13: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] f = ((double) new) / dir->nEntries; ^ Draw.c: In function 'SFhSliderMovedCallback': Draw.c:602:27: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] dir->hOrigin = (*new) * dir->nChars; ^ Draw.c:602:20: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] dir->hOrigin = (*new) * dir->nChars; ^ Draw.c:606:17: warning: conversion to 'int' from 'intptr_t {aka long int}' may alter its value [-Wconversion] SFdrawList (n, SF_DO_NOT_SCROLL); ^ Draw.c:592:37: warning: unused parameter 'w' [-Wunused-parameter] void SFhSliderMovedCallback (Widget w, XtPointer cl, XtPointer cd) { ^ Draw.c: In function 'SFhAreaSelectedCallback': Draw.c:616:11: warning: conversion to 'intptr_t {aka long int}' from 'double' may alter its value [-Wfloat-conversion] new = dir->hOrigin + (((double) pnew) / SFhScrollWidth) * dir->nChars; ^~~ Draw.c:625:13: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] f = ((double) new) / dir->nChars; ^ Draw.c: In function 'SFpathSliderMovedCallback': Draw.c:645:23: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] SFdirPtr = (*new) * SFdirEnd; ^ Draw.c:645:16: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] SFdirPtr = (*new) * SFdirEnd; ^ Draw.c:658:13: warning: conversion to 'long unsigned int' from 'XawTextPosition {aka long int}' may change the sign of the result [-Wsign-conversion] pos -= strlen (SFstartDir); ^~ Draw.c:658:16: warning: conversion to 'XawTextPosition {aka long int}' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] pos -= strlen (SFstartDir); ^~~~~~ Draw.c:636:40: warning: unused parameter 'w' [-Wunused-parameter] void SFpathSliderMovedCallback (Widget w, XtPointer cl, XtPointer cd) { ^ Draw.c:636:67: warning: unused parameter 'cd' [-Wunused-parameter] void SFpathSliderMovedCallback (Widget w, XtPointer cl, XtPointer cd) { ^~ Draw.c: In function 'SFpathAreaSelectedCallback': Draw.c:671:11: warning: conversion to 'intptr_t {aka long int}' from 'double' may alter its value [-Wfloat-conversion] new = SFdirPtr + (((double) pnew) / SFpathScrollWidth) * SFdirEnd; ^~~~~~~~ Draw.c:678:9: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] f = ((double) new) / SFdirEnd; ^ Draw.c:666:54: warning: unused parameter 'cl' [-Wunused-parameter] void SFpathAreaSelectedCallback (Widget w, XtPointer cl, XtPointer cd) { ^~ Draw.c: In function 'SFworkProc': Draw.c:685:31: warning: unused parameter 'cl' [-Wunused-parameter] Boolean SFworkProc (XtPointer cl) { ^~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' CC Path.lo Path.c: In function 'SFunreadableDir': Path.c:140:19: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] dir->nChars = strlen (cannotOpen); ^~~~~~ Path.c: In function 'SFreplaceText': Path.c:184:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen (str); ^~~~~~ Path.c:188:38: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] strncat (SFcurrentPath, str, len - 1); ^~~ Path.c: In function 'SFexpand': Path.c:205:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen (str); ^~~~~~ Path.c:223:56: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if ((cmp = strncmp (growing, entry->shown, len))) { ^~~ Path.c: In function 'SFfindFile': Path.c:246:11: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen (str); ^~~~~~ Path.c:258:16: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] last = strlen (name) - 1; ^~~~~~ Path.c:265:38: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] result = strncmp (str, name, len); ^~~ Path.c:277:16: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] last = strlen (name) - 1; ^~~~~~ Path.c:284:38: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] result = strncmp (str, name, len); ^~~ Path.c: In function 'SFcompareLogins': Path.c:345:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SFLogin *p = (SFLogin *) vp, *q = (SFLogin *) vq; ^ Path.c:345:39: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SFLogin *p = (SFLogin *) vp, *q = (SFLogin *) vq; ^ Path.c: In function 'SFgetHomeDirs': Path.c:367:20: warning: conversion to '__uid_t {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] pw = getpwuid ((int) getuid ()); ^ Path.c:376:53: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (char *) entries, (unsigned) (alloc * sizeof (SFEntry)) ^ Path.c:379:54: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (char *) SFlogins, (unsigned) (alloc * sizeof (SFLogin)) ^ Path.c:382:15: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen (pw->pw_name); ^~~~~~ Path.c:410:30: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort ((char *) entries, i, sizeof (SFEntry), SFcompareEntries); ^ Path.c:411:31: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort ((char *) SFlogins, i, sizeof (SFLogin), SFcompareLogins); ^ Path.c: In function 'SFupdatePath': Path.c:453:51: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] SFdirs = (SFDir *) XtMalloc ((alloc = 10) * sizeof (SFDir)); ^ Path.c:453:38: warning: conversion to 'Cardinal {aka unsigned int}' from 'long unsigned int' may alter its value [-Wconversion] SFdirs = (SFDir *) XtMalloc ((alloc = 10) * sizeof (SFDir)); ^ Path.c:529:50: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (unsigned) ((alloc *= 2) * sizeof (SFDir)) ^ Path.c: In function 'SFsetText': Path.c:614:19: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] text.length = strlen (path); ^~~~~~ Path.c:617:38: warning: conversion to 'XawTextPosition {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] XawTextReplace (selFileField, 0, strlen (SFtextBuffer), &text); ^~~~~~ Path.c:618:45: warning: conversion to 'XawTextPosition {aka long int}' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] XawTextSetInsertionPoint (selFileField, strlen (SFtextBuffer)); ^~~~~~ Path.c: In function 'SFbuttonPressList': Path.c:622:32: warning: unused parameter 'w' [-Wunused-parameter] void SFbuttonPressList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ^ Path.c:622:45: warning: unused parameter 'cl' [-Wunused-parameter] void SFbuttonPressList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ^~ Path.c:622:57: warning: unused parameter 'ev' [-Wunused-parameter] void SFbuttonPressList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ^~ Path.c:622:70: warning: unused parameter 'b' [-Wunused-parameter] void SFbuttonPressList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ^ Path.c: In function 'SFbuttonReleaseList': Path.c:626:72: warning: unused parameter 'b' [-Wunused-parameter] void SFbuttonReleaseList (Widget w, XtPointer cl, XEvent *ev, Boolean *b) { ^ Path.c: In function 'SFcheckFiles': Path.c:717:16: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] last = strlen (str) - 1; ^~~~~~ Path.c: In function 'SFdirModTimer': Path.c:733:31: warning: unused parameter 'cl' [-Wunused-parameter] void SFdirModTimer (XtPointer cl, XtIntervalId *id) { ^~ Path.c:733:49: warning: unused parameter 'id' [-Wunused-parameter] void SFdirModTimer (XtPointer cl, XtIntervalId *id) { ^~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' CC SelFile.lo SelFile.c: In function 'SFexposeList': SelFile.c:175:17: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] SFdrawList ((intptr_t) n, SF_DO_NOT_SCROLL); ^ SelFile.c:170:34: warning: unused parameter 'w' [-Wunused-parameter] static void SFexposeList (Widget w, XtPointer n, XEvent *event, Boolean *cont) { ^ SelFile.c:170:74: warning: unused parameter 'cont' [-Wunused-parameter] static void SFexposeList (Widget w, XtPointer n, XEvent *event, Boolean *cont) { ^~~~ SelFile.c: In function 'SFmodVerifyCallback': SelFile.c:179:12: warning: unused parameter 'w' [-Wunused-parameter] Widget w, XtPointer client_data, XEvent *event, Boolean *cont ^ SelFile.c:179:25: warning: unused parameter 'client_data' [-Wunused-parameter] Widget w, XtPointer client_data, XEvent *event, Boolean *cont ^~~~~~~~~~~ SelFile.c:179:62: warning: unused parameter 'cont' [-Wunused-parameter] Widget w, XtPointer client_data, XEvent *event, Boolean *cont ^~~~ SelFile.c: In function 'SFokCallback': SelFile.c:192:34: warning: unused parameter 'w' [-Wunused-parameter] static void SFokCallback (Widget w, XtPointer cl, XtPointer cd) { ^ SelFile.c:192:47: warning: unused parameter 'cl' [-Wunused-parameter] static void SFokCallback (Widget w, XtPointer cl, XtPointer cd) { ^~ SelFile.c:192:61: warning: unused parameter 'cd' [-Wunused-parameter] static void SFokCallback (Widget w, XtPointer cl, XtPointer cd) { ^~ SelFile.c: In function 'SFcancelCallback': SelFile.c:201:38: warning: unused parameter 'w' [-Wunused-parameter] static void SFcancelCallback (Widget w, XtPointer cl, XtPointer cd) { ^ SelFile.c:201:51: warning: unused parameter 'cl' [-Wunused-parameter] static void SFcancelCallback (Widget w, XtPointer cl, XtPointer cd) { ^~ SelFile.c:201:65: warning: unused parameter 'cd' [-Wunused-parameter] static void SFcancelCallback (Widget w, XtPointer cl, XtPointer cd) { ^~ SelFile.c: In function 'SFdismissAction': SelFile.c:215:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] event->xclient.data.l[0] != SFwmDeleteWindow ^~ SelFile.c:211:12: warning: unused parameter 'w' [-Wunused-parameter] Widget w, XEvent *event, String *params, Cardinal *num_params ^ SelFile.c:211:38: warning: unused parameter 'params' [-Wunused-parameter] Widget w, XEvent *event, String *params, Cardinal *num_params ^~~~~~ SelFile.c:211:56: warning: unused parameter 'num_params' [-Wunused-parameter] Widget w, XEvent *event, String *params, Cardinal *num_params ^~~~~~~~~~ SelFile.c: In function 'SFcreateWidgets': SelFile.c:323:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] SFsegs[0].y1 = vScrollY; ^~~~~~~~ SelFile.c:324:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] SFsegs[0].x2 = vScrollX - 1; ^~~~~~~~ SelFile.c:325:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] SFsegs[0].y2 = vScrollY; ^~~~~~~~ SelFile.c:326:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] SFsegs[1].x1 = vScrollX; ^~~~~~~~ SelFile.c:328:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] SFsegs[1].x2 = vScrollX; ^~~~~~~~ SelFile.c:329:20: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] SFsegs[1].y2 = vScrollY - 1; ^~~~~~~~ SelFile.c:331:55: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] SFcompletionSegs[0].x1 = SFcompletionSegs[0].x2 = SFlineToTextH; ^~~~~~~~~~~~~ SelFile.c:332:55: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] SFcompletionSegs[1].x1 = SFcompletionSegs[1].x2 = ( ^ SelFile.c: In function 'SFpositionWidget': SelFile.c:587:14: warning: conversion to 'Dimension {aka short unsigned int}' from 'int' may alter its value [-Wconversion] width += 2 * b_width; ^ SelFile.c:588:15: warning: conversion to 'Dimension {aka short unsigned int}' from 'int' may alter its value [-Wconversion] height += 2 * b_width; ^ SelFile.c: In function 'SFopenFile': SelFile.c:619:17: warning: conversion to 'Cardinal {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] strlen (failed) + strlen (errormsg) + strlen (prompt) + 2 ^~~~~~ SelFile.c:636:29: warning: conversion to 'Cardinal {aka unsigned int}' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] buf = XtMalloc (strlen (failed) + strlen (prompt) + 2); ^~~~~~ SelFile.c: In function 'SFtextChanged': SelFile.c:657:11: warning: conversion to 'long unsigned int' from 'XawTextPosition {aka long int}' may change the sign of the result [-Wsign-conversion] ) + strlen (SFstartDir); ^ SelFile.c:655:21: warning: conversion to 'XawTextPosition {aka long int}' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] SFtextPos = XawTextGetInsertionPoint ( ^~~~~~~~~~~~~~~~~~~~~~~~ SelFile.c: At top level: SelFile.c:677:1: warning: no previous prototype for 'XsraSelFile' [-Wmissing-prototypes] XsraSelFile ( ^~~~~~~~~~~ SelFile.c: In function 'XsraSelFile': SelFile.c:758:49: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] strncpy (name_return, SFtextBuffer, name_size); ^~~~~~~~~ SelFile.c:752:9: warning: switch missing default case [-Wswitch-default] switch (SFstatus) { ^~~~~~ SelFile.c:678:66: warning: unused parameter 'failed' [-Wunused-parameter] Widget toplevel, char *prompt, char *ok, char *cancel, char *failed, ^~~~~~ SelFile.c:679:28: warning: unused parameter 'mode' [-Wunused-parameter] char *init_path, char *mode, ^~~~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' CCLD libfilereq.la make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' CC gmenu.lo gmenu.c: In function 'GMcreatewidget': gmenu.c:28:16: warning: unused parameter 'parent' [-Wunused-parameter] Gwidget_t *parent, Gwidget_t *widget, int attrn, Gwattr_t *attrp ^~~~~~ gmenu.c: In function 'GMmenudisplay': gmenu.c:117:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gmenu.c:129:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gmenu.c: In function 'mwcallback': gmenu.c:141:24: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] menuselected = (long) clientdata; ^ gmenu.c:139:32: warning: unused parameter 'w' [-Wunused-parameter] static void mwcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ^ gmenu.c:139:67: warning: unused parameter 'calldata' [-Wunused-parameter] static void mwcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ^~~~~~~~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' CC gbutton.lo In file included from gbutton.c:18:0: gbutton.c: In function 'GBcreatewidget': gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gbutton.c:45:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINBWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gbutton.c:45:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINBWSIZE); ^~~~~~~ gbutton.c:60:21: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gbutton.c:61:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gbutton.c:62:22: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gbutton.c:100:57: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] "command", commandWidgetClass, parent->w, argp, argn ^~~~ In file included from gbutton.c:18:0: gbutton.c: In function 'GBsetwidgetattr': gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gbutton.c:122:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINBWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gbutton.c:122:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINBWSIZE); ^~~~~~~ gbutton.c:138:21: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gbutton.c:139:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gbutton.c:140:22: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gbutton.c:164:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gbutton.c: In function 'GBgetwidgetattr': gbutton.c:179:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gbutton.c:184:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gbutton.c:189:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gbutton.c: In function 'bwcallback': gbutton.c:220:23: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] (*WBU->func) (widget - &Gwidgets[0], clientdata); ^~~~~~ gbutton.c:215:67: warning: unused parameter 'calldata' [-Wunused-parameter] static void bwcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ^~~~~~~~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' CC gcommon.lo gcommon.c: In function 'Gflushlazyq': gcommon.c:226:39: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtManageChildren (Glazyq.mws, Glazyq.mwn); ^~~~~~ gcommon.c: In function 'Glazymanage': gcommon.c:263:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtManageChildren (Glazyq.mws, Glazyq.mwn); ^~~~~~ gcommon.c: In function 'Gprocessevents': gcommon.c:302:5: warning: switch missing default case [-Wswitch-default] switch (waitflag) { ^~~~~~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' CC garray.lo In file included from garray.c:18:0: garray.c: In function 'GAcreatewidget': gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ garray.c:45:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINAWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ garray.c:45:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINAWSIZE); ^~~~~~~ garray.c:77:21: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ garray.c:78:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ garray.c:79:22: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ garray.c:106:53: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] "array", arrayWidgetClass, parent->w, argp, argn ^~~~ In file included from garray.c:18:0: garray.c: In function 'GAsetwidgetattr': gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ garray.c:124:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINAWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ garray.c:124:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINAWSIZE); ^~~~~~~ garray.c:158:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ garray.c: In function 'GAgetwidgetattr': garray.c:172:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ garray.c:177:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ garray.c: In function 'awcallback': garray.c:217:23: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] (*WAU->func) (widget - &Gwidgets[0], (Gawdata_t *) calldata); ^~~~~~ garray.c:219:25: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] Gawdefcoordscb (widget - &Gwidgets[0], (Gawdata_t *) calldata); ^~~~~~ garray.c:211:45: warning: unused parameter 'clientdata' [-Wunused-parameter] static void awcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ^~~~~~~~~~ garray.c: In function 'Gawdefcoordscb': garray.c:361:26: warning: unused parameter 'wi' [-Wunused-parameter] void Gawdefcoordscb (int wi, Gawdata_t *dp) { ^~ garray.c: In function 'Initialize': garray.c:390:12: warning: unused parameter 'reqw' [-Wunused-parameter] Widget reqw, Widget neww, ArgList args, Cardinal *num_args ^~~~ garray.c:390:39: warning: unused parameter 'args' [-Wunused-parameter] Widget reqw, Widget neww, ArgList args, Cardinal *num_args ^~~~ garray.c:390:55: warning: unused parameter 'num_args' [-Wunused-parameter] Widget reqw, Widget neww, ArgList args, Cardinal *num_args ^~~~~~~~ garray.c: In function 'SetValues': garray.c:422:25: warning: unused parameter 'reqw' [-Wunused-parameter] Widget curw, Widget reqw, Widget neww, ArgList args, Cardinal *num_args ^~~~ garray.c:422:52: warning: unused parameter 'args' [-Wunused-parameter] Widget curw, Widget reqw, Widget neww, ArgList args, Cardinal *num_args ^~~~ garray.c:422:68: warning: unused parameter 'num_args' [-Wunused-parameter] Widget curw, Widget reqw, Widget neww, ArgList args, Cardinal *num_args ^~~~~~~~ garray.c: In function 'GeometryManager': garray.c:445:27: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] if (req->request_mode & ~(CWX | CWY | CWWidth | CWHeight)) ^ garray.c:441:56: warning: unused parameter 'rep' [-Wunused-parameter] Widget w, XtWidgetGeometry *req, XtWidgetGeometry *rep ^~~ garray.c: In function 'InsertChild': garray.c:476:52: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (long) (aw->array.data.cn + CHILDINCR) * CHILDSIZE ^ garray.c:476:13: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] (long) (aw->array.data.cn + CHILDINCR) * CHILDSIZE ^ garray.c: In function 'dolayout': garray.c:530:21: warning: conversion to 'Dimension {aka short unsigned int}' from 'int' may alter its value [-Wconversion] req.width = sx, req.height = sy; ^~ garray.c:530:38: warning: conversion to 'Dimension {aka short unsigned int}' from 'int' may alter its value [-Wconversion] req.width = sx, req.height = sy; ^~ garray.c:545:35: warning: conversion to 'Position {aka short int}' from 'int' may alter its value [-Wconversion] XtConfigureWidget (cp->w, cp->ox, cp->oy, cp->sx, cp->sy, cp->bs); ^~ garray.c:545:43: warning: conversion to 'Position {aka short int}' from 'int' may alter its value [-Wconversion] XtConfigureWidget (cp->w, cp->ox, cp->oy, cp->sx, cp->sy, cp->bs); ^~ garray.c:545:51: warning: conversion to 'Dimension {aka short unsigned int}' from 'int' may alter its value [-Wconversion] XtConfigureWidget (cp->w, cp->ox, cp->oy, cp->sx, cp->sy, cp->bs); ^~ garray.c:545:59: warning: conversion to 'Dimension {aka short unsigned int}' from 'int' may alter its value [-Wconversion] XtConfigureWidget (cp->w, cp->ox, cp->oy, cp->sx, cp->sy, cp->bs); ^~ garray.c:545:67: warning: conversion to 'Dimension {aka short unsigned int}' from 'int' may alter its value [-Wconversion] XtConfigureWidget (cp->w, cp->ox, cp->oy, cp->sx, cp->sy, cp->bs); ^~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' CC gquery.lo gquery.c: In function 'GQcreatewidget': gquery.c:68:59: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] "dialog", dialogWidgetClass, widget->w, argp, argn ^~~~ gquery.c:96:59: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] "dialog", dialogWidgetClass, widget->w, argp, argn ^~~~ gquery.c:55:5: warning: switch missing default case [-Wswitch-default] switch (WQU->mode) { ^~~~~~ gquery.c:27:16: warning: unused parameter 'parent' [-Wunused-parameter] Gwidget_t *parent, Gwidget_t *widget, int attrn, Gwattr_t *attrp ^~~~~~ gquery.c: In function 'GQgetwidgetattr': gquery.c:132:13: warning: switch missing default case [-Wswitch-default] switch (WQU->mode) { ^~~~~~ gquery.c: In function 'GQdestroywidget': gquery.c:156:5: warning: switch missing default case [-Wswitch-default] switch (WQU->mode) { ^~~~~~ gquery.c: In function 'GQqueryask': gquery.c:188:36: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (WQU->w, argp, argn); ^~~~ gquery.c:198:39: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gquery.c:211:39: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gquery.c:219:70: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] responsep, XawDialogGetValueString (WQU->w), responsen ^~~~~~~~~ gquery.c:246:36: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (WQU->w, argp, argn); ^~~~ gquery.c:271:39: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gquery.c:284:39: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gquery.c:291:63: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] strncpy (responsep, buttons[WQU->button], responsen); ^~~~~~~~~ gquery.c:183:5: warning: switch missing default case [-Wswitch-default] switch (WQU->mode) { ^~~~~~ gquery.c: In function 'Gqwpopaction': gquery.c:316:9: warning: cast from function call of type 'Widget {aka struct _WidgetRec *}' to non-matching type 'long unsigned int' [-Wbad-function-cast] (unsigned long) XtParent (XtParent (w)), G_QUERYWIDGET ^ gquery.c:307:50: warning: unused parameter 'app' [-Wunused-parameter] void Gqwpopaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gquery.c:307:69: warning: unused parameter 'anp' [-Wunused-parameter] void Gqwpopaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gquery.c: In function 'Gqwdelaction': gquery.c:321:38: warning: unused parameter 'evp' [-Wunused-parameter] void Gqwdelaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gquery.c:321:50: warning: unused parameter 'app' [-Wunused-parameter] void Gqwdelaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gquery.c:321:69: warning: unused parameter 'anp' [-Wunused-parameter] void Gqwdelaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gquery.c: In function 'qwcallback': gquery.c:328:45: warning: unused parameter 'clientdata' [-Wunused-parameter] static void qwcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ^~~~~~~~~~ gquery.c:328:67: warning: unused parameter 'calldata' [-Wunused-parameter] static void qwcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ^~~~~~~~ gquery.c: In function 'qbwcallback': gquery.c:339:9: warning: cast from function call of type 'Widget {aka struct _WidgetRec *}' to non-matching type 'long unsigned int' [-Wbad-function-cast] (unsigned long) XtParent (XtParent (w)), G_QUERYWIDGET ^ gquery.c:341:19: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] WQU->button = (long) clientdata; ^ gquery.c:335:68: warning: unused parameter 'calldata' [-Wunused-parameter] static void qbwcallback (Widget w, XtPointer clientdata, XtPointer calldata) { ^~~~~~~~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' CC glabel.lo In file included from glabel.c:18:0: glabel.c: In function 'GLcreatewidget': gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ glabel.c:40:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINLWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ glabel.c:40:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINLWSIZE); ^~~~~~~ glabel.c:54:21: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ glabel.c:55:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ glabel.c:56:22: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ glabel.c:87:53: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] "label", labelWidgetClass, parent->w, argp, argn ^~~~ In file included from glabel.c:18:0: glabel.c: In function 'GLsetwidgetattr': gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ glabel.c:107:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINLWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ glabel.c:107:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINLWSIZE); ^~~~~~~ glabel.c:123:21: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ glabel.c:124:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ glabel.c:125:22: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ glabel.c:149:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ glabel.c: In function 'GLgetwidgetattr': glabel.c:164:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ glabel.c:169:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ glabel.c:174:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ glabel.c: In function 'Glwbutaction': glabel.c:211:25: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] if ((gev.data = evp->xbutton.button - Button1) > 4) ^~~ glabel.c:217:19: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] wi = gev.wi = widget - &Gwidgets[0]; ^~~~~~ glabel.c:200:50: warning: unused parameter 'app' [-Wunused-parameter] void Glwbutaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ glabel.c:200:69: warning: unused parameter 'anp' [-Wunused-parameter] void Glwbutaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ glabel.c: In function 'Glwkeyaction': glabel.c:250:14: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] gev.wi = widget - &Gwidgets[0]; ^~~~~~ glabel.c:231:50: warning: unused parameter 'app' [-Wunused-parameter] void Glwkeyaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ glabel.c:231:69: warning: unused parameter 'anp' [-Wunused-parameter] void Glwkeyaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' CC gscroll.lo In file included from gscroll.c:18:0: gscroll.c: In function 'GScreatewidget': gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gscroll.c:40:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINSWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gscroll.c:40:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINSWSIZE); ^~~~~~~ gscroll.c:62:21: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gscroll.c:63:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gscroll.c:64:22: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gscroll.c:90:57: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] "scroll", viewportWidgetClass, parent->w, argp, argn ^~~~ In file included from gscroll.c:18:0: gscroll.c: In function 'GSsetwidgetattr': gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gscroll.c:126:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINSWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gscroll.c:126:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINSWSIZE); ^~~~~~~ gscroll.c:134:24: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^ gcommon.h:95:14: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gscroll.c:134:24: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^ gcommon.h:95:36: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gscroll.c:137:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gscroll.c:138:21: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] po.x -= width / 2, po.y -= height / 2; ^~~~~ gscroll.c:138:40: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] po.x -= width / 2, po.y -= height / 2; ^~~~~~ gscroll.c:159:21: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gscroll.c:160:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gscroll.c:161:22: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gscroll.c:182:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gscroll.c: In function 'GSgetwidgetattr': gscroll.c:200:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gscroll.c:205:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gscroll.c:220:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gscroll.c:224:42: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (child->w, argp, argn); ^~~~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' CC gview.lo In file included from gview.c:18:0: gview.c: In function 'GVcreatewidget': gview.c:44:24: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^ gcommon.h:95:14: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gview.c:44:24: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^ gcommon.h:95:36: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gview.c:49:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINVWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gview.c:49:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINVWSIZE); ^~~~~~~ gview.c:60:21: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gview.c:61:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gview.c:62:22: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gview.c:92:63: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] s, "LEFTY", topLevelShellWidgetClass, Gdisplay, argp, argn ^~~~ gview.c:23:16: warning: unused parameter 'parent' [-Wunused-parameter] Gwidget_t *parent, Gwidget_t *widget, int attrn, Gwattr_t *attrp ^~~~~~ In file included from gview.c:18:0: gview.c: In function 'GVsetwidgetattr': gview.c:118:24: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^ gcommon.h:95:14: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gview.c:118:24: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^ gcommon.h:95:36: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gview.c:123:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINVWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gview.c:123:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINVWSIZE); ^~~~~~~ gview.c:143:21: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gview.c:144:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gview.c:145:22: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gview.c:180:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gview.c: In function 'GVgetwidgetattr': gview.c:195:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gview.c:201:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gview.c: In function 'Gwmdelaction': gview.c:242:14: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] gev.wi = widget - &Gwidgets[0]; ^~~~~~ gview.c:234:38: warning: unused parameter 'evp' [-Wunused-parameter] void Gwmdelaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gview.c:234:50: warning: unused parameter 'app' [-Wunused-parameter] void Gwmdelaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gview.c:234:69: warning: unused parameter 'anp' [-Wunused-parameter] void Gwmdelaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' CC gtext.lo In file included from gtext.c:18:0: gtext.c: In function 'GTcreatewidget': gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gtext.c:47:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINTWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gtext.c:47:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINTWSIZE); ^~~~~~~ gtext.c:67:21: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gtext.c:68:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gtext.c:69:22: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gtext.c:108:57: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] "ascii", asciiTextWidgetClass, parent->w, argp, argn ^~~~ In file included from gtext.c:18:0: gtext.c: In function 'GTsetwidgetattr': gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gtext.c:132:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINTWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gtext.c:132:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINTWSIZE); ^~~~~~~ gtext.c:144:18: warning: conversion to 'int' from 'XawTextPosition {aka long int}' may alter its value [-Wconversion] li = XawTextGetInsertionPoint (widget->w); ^~~~~~~~~~~~~~~~~~~~~~~~ gtext.c:145:42: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] tb.firstPos = 0, tb.length = strlen (attrp[ai].u.t); ^~~~~~ gtext.c:148:18: warning: conversion to 'int' from 'XawTextPosition {aka long int}' may alter its value [-Wconversion] li = XawTextGetInsertionPoint (widget->w); ^~~~~~~~~~~~~~~~~~~~~~~~ gtext.c:171:21: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.red = attrp[ai].u.c.r * 257; ^~~~~ gtext.c:172:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.green = attrp[ai].u.c.g * 257; ^~~~~ gtext.c:173:22: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] c.blue = attrp[ai].u.c.b * 257; ^~~~~ gtext.c:197:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gtext.c: In function 'GTgetwidgetattr': gtext.c:215:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gtext.c:220:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gtext.c:226:19: warning: conversion to 'int' from 'XawTextPosition {aka long int}' may alter its value [-Wconversion] rtn = XawTextSourceRead (w, 0, &tb, 30000); ^~~~~~~~~~~~~~~~~ gtext.c:228:61: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gbufp = Marraygrow (Gbufp, (long) (rtn + 1) * BUFSIZE); ^ gtext.c:243:50: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] rtn = XawTextSourceRead (w, fi, &tb, li - fi); ^~ gtext.c:243:19: warning: conversion to 'int' from 'XawTextPosition {aka long int}' may alter its value [-Wconversion] rtn = XawTextSourceRead (w, fi, &tb, li - fi); ^~~~~~~~~~~~~~~~~ gtext.c:245:61: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gbufp = Marraygrow (Gbufp, (long) (rtn + 1) * BUFSIZE); ^ gtext.c:255:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gtext.c: In function 'Gtweolaction': gtext.c:298:10: warning: conversion to 'int' from 'XawTextPosition {aka long int}' may alter its value [-Wconversion] li = XawTextGetInsertionPoint (w) - 1; ^~~~~~~~~~~~~~~~~~~~~~~~ gtext.c:301:10: warning: conversion to 'int' from 'XawTextPosition {aka long int}' may alter its value [-Wconversion] fi = XawTextSourceSearch (ww, li, XawsdLeft, &tb); ^~~~~~~~~~~~~~~~~~~ gtext.c:309:15: warning: conversion to 'int' from 'XawTextPosition {aka long int}' may alter its value [-Wconversion] ret = XawTextSourceRead (ww, fi, &tb, n - Gbufi) - fi; ^~~~~~~~~~~~~~~~~ gtext.c:315:23: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] (*WTU->func) (widget - &Gwidgets[0], Gbufp); ^~~~~~ gtext.c:291:38: warning: unused parameter 'evp' [-Wunused-parameter] void Gtweolaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gtext.c:291:50: warning: unused parameter 'app' [-Wunused-parameter] void Gtweolaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gtext.c:291:69: warning: unused parameter 'anp' [-Wunused-parameter] void Gtweolaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' CC gpcanvas.lo In file included from gpcanvas.c:18:0: gpcanvas.c: In function 'GPcreatewidget': gpcanvas.c:84:24: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^ gcommon.h:95:14: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gpcanvas.c:84:24: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] GETORIGIN (attrp[ai].u.p, po); ^ gcommon.h:95:36: note: in definition of macro 'GETORIGIN' oout.x = oin.x + 0.5, oout.y = oin.y + 0.5 \ ^~~ gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gpcanvas.c:87:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINPWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gpcanvas.c:87:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINPWSIZE); ^~~~~~~ gpcanvas.c:187:9: warning: switch missing default case [-Wswitch-default] switch (attrp[ai].id) { ^~~~~~ gpcanvas.c:59:16: warning: unused parameter 'parent' [-Wunused-parameter] Gwidget_t *parent, Gwidget_t *widget, ^~~~~~ gpcanvas.c: In function 'GParrow': gpcanvas.c:356:12: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pd.x = pp1.x - pp2.x, pd.y = pp1.y - pp2.y; ^~~ gpcanvas.c:356:34: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pd.x = pp1.x - pp2.x, pd.y = pp1.y - pp2.y; ^~~ gpcanvas.c:360:14: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] if ((l = sqrt ((double) (pd.x * pd.x + pd.y * pd.y))) < 30) ^~~~ gpcanvas.c:362:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pa.x = l * cos (tangent + M_PI / 7) + pp2.x; ^ gpcanvas.c:363:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pa.y = l * sin (tangent + M_PI / 7) + pp2.y; ^ gpcanvas.c:364:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pb.x = l * cos (tangent - M_PI / 7) + pp2.x; ^ gpcanvas.c:365:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pb.y = l * sin (tangent - M_PI / 7) + pp2.y; ^ gpcanvas.c: In function 'GPcreatebitmap': gpcanvas.c:539:22: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] bitmap->canvas = widget - &Gwidgets[0]; ^~~~~~ gpcanvas.c: In function 'GPreadbitmap': gpcanvas.c:582:9: warning: switch missing default case [-Wswitch-default] switch (step) { ^~~~~~ gpcanvas.c:614:22: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] bitmap->canvas = widget - &Gwidgets[0]; ^~~~~~ gpcanvas.c:623:33: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] if ((bufn = fread (bufp, 1, 2047, fp)) == 0) { ^~~~~ gpcanvas.c: In function 'GPwritebitmap': gpcanvas.c:637:31: warning: unused parameter 'bitmap' [-Wunused-parameter] int GPwritebitmap (Gbitmap_t *bitmap, FILE *fp) { ^~~~~~ gpcanvas.c:637:45: warning: unused parameter 'fp' [-Wunused-parameter] int GPwritebitmap (Gbitmap_t *bitmap, FILE *fp) { ^~ gpcanvas.c: In function 'GPbitblt': gpcanvas.c:664:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] bs.x = (pr.c.x - pr.o.x + 1) / scale.x; ^ gpcanvas.c:665:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] bs.y = (pr.c.y - pr.o.y + 1) / scale.y; ^ gpcanvas.c:666:29: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] br.o.x = pp.x, br.o.y = pp.y - bs.y + 1; ^~ gpcanvas.c:667:14: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] br.c.x = br.o.x + bs.x - 1, br.c.y = br.o.y + bs.y - 1; ^~ gpcanvas.c:667:42: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] br.c.x = br.o.x + bs.x - 1, br.c.y = br.o.y + bs.y - 1; ^~ gpcanvas.c:669:19: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.o.x -= br.o.x * scale.x, br.o.x = 0; ^~ gpcanvas.c:671:19: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.o.y -= br.o.y * scale.y, br.o.y = 0; ^~ gpcanvas.c:673:19: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.c.x -= (br.c.x + 1 - bitmap->size.x) * scale.x; ^ gpcanvas.c:674:18: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] br.c.x = bitmap->size.x - 1; ^~~~~~ gpcanvas.c:677:19: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.c.y -= (br.c.y + 1 - bitmap->size.y) * scale.y; ^ gpcanvas.c:678:18: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] br.c.y = bitmap->size.y - 1; ^~~~~~ gpcanvas.c:681:19: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] br.o.x -= pr.o.x / scale.x, pr.o.x = 0; ^~ gpcanvas.c:683:19: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] br.o.y -= pr.o.y / scale.y, pr.o.y = 0; ^~ gpcanvas.c:685:19: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] br.c.x -= (pr.c.x + 1 - tvx) / scale.x, pr.c.x = tvx - 1; ^ gpcanvas.c:685:58: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] br.c.x -= (pr.c.x + 1 - tvx) / scale.x, pr.c.x = tvx - 1; ^~~ gpcanvas.c:687:19: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] br.c.y -= (pr.c.y + 1 - tvy) / scale.y, pr.c.y = tvy - 1; ^ gpcanvas.c:687:58: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] br.c.y -= (pr.c.y + 1 - tvy) / scale.y, pr.c.y = tvy - 1; ^~~ gpcanvas.c:688:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] bs.x = (pr.c.x - pr.o.x + 1) / scale.x; ^ gpcanvas.c:689:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] bs.y = (pr.c.y - pr.o.y + 1) / scale.y; ^ gpcanvas.c:643:11: warning: unused parameter 'mode' [-Wunused-parameter] char *mode, Ggattr_t *ap ^~~~ gpcanvas.c: In function 'rdrawtopix': gpcanvas.c:754:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.o.x = tvx * (gr.o.x - WPU->wrect.o.x) / twx + 0.5; ^~~ gpcanvas.c:755:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.o.y = tvy * (gr.o.y - WPU->wrect.o.y) / twy + 0.5; ^~~ gpcanvas.c:756:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.c.x = tvx * (gr.c.x - WPU->wrect.o.x) / twx + 0.5; ^~~ gpcanvas.c:757:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.c.y = tvy * (gr.c.y - WPU->wrect.o.y) / twy + 0.5; ^~~ gpcanvas.c: In function 'pdrawtopix': gpcanvas.c:768:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pp.x = tvx * (gp.x - WPU->wrect.o.x) / twx + 0.5; ^~~ gpcanvas.c:769:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pp.y = tvy * (gp.y - WPU->wrect.o.y) / twy + 0.5; ^~~ gpcanvas.c: In function 'sdrawtopix': gpcanvas.c:780:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] ps.x = tvx * (gs.x - 1) / twx + 1.5; ^~~ gpcanvas.c:781:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] ps.y = tvy * (gs.y - 1) / twy + 1.5; ^~~ gpcanvas.c: In function 'pdrawtobpix': gpcanvas.c:790:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pp.x = gp.x + 0.5; ^~ gpcanvas.c:791:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pp.y = tvy - gp.y + 0.5; ^~~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' CC gcanvas.lo In file included from gcanvas.c:18:0: gcanvas.c: In function 'GCcreatewidget': gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gcanvas.c:121:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINCWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gcanvas.c:121:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINCWSIZE); ^~~~~~~ gcanvas.c:185:55: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] "graphics", coreWidgetClass, parent->w, argp, argn ^~~~ gcanvas.c:205:48: warning: cast from function call of type 'Window {aka long unsigned int}' to non-matching type 'char *' [-Wbad-function-cast] XPeekIfEvent (Gdisplay, &ev, cwvpredicate, (XPointer) XtWindow (widget->w)); ^ gcanvas.c:209:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gcanvas.c:210:12: warning: conversion to 'short int' from 'Dimension {aka short unsigned int}' may change the sign of the result [-Wsign-conversion] ps.x = width, ps.y = height; ^~~~~ gcanvas.c:210:26: warning: conversion to 'short int' from 'Dimension {aka short unsigned int}' may change the sign of the result [-Wsign-conversion] ps.x = width, ps.y = height; ^~~~~~ gcanvas.c:218:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gcanvas.c:272:71: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cursormap[curi].id = XCreateFontCursor (Gdisplay, curi); ^~~~ gcanvas.c:295:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:295:38: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:295:52: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:302:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:302:38: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:302:52: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:311:47: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gcanvas.c:324:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gcanvas.c:260:9: warning: switch missing default case [-Wswitch-default] switch (attrp[ai].id) { ^~~~~~ In file included from gcanvas.c:18:0: gcanvas.c: In function 'GCsetwidgetattr': gcommon.h:91:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.x = (sin.x > smin) ? sin.x + 0.5 : smin, \ ^ gcanvas.c:344:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINCWSIZE); ^~~~~~~ gcommon.h:92:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] sout.y = (sin.y > smin) ? sin.y + 0.5 : smin \ ^ gcanvas.c:344:13: note: in expansion of macro 'GETSIZE' GETSIZE (attrp[ai].u.s, ps, MINCWSIZE); ^~~~~~~ gcanvas.c:362:71: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cursormap[curi].id = XCreateFontCursor (Gdisplay, curi); ^~~~ gcanvas.c:386:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:386:38: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:386:52: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:393:23: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:393:38: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:393:52: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cp->red = r, cp->green = g, cp->blue = b; ^ gcanvas.c:401:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gcanvas.c:415:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gcanvas.c:421:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gcanvas.c:439:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtSetValues (widget->w, argp, argn); ^~~~ gcanvas.c: In function 'GCgetwidgetattr': gcanvas.c:454:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gcanvas.c:459:43: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gcanvas.c:475:35: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] attrp[ai].u.c.r = cp->red / 257.0; ^~ gcanvas.c:476:35: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] attrp[ai].u.c.g = cp->green / 257.0; ^~ gcanvas.c:477:35: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] attrp[ai].u.c.b = cp->blue / 257.0; ^~ gcanvas.c: In function 'GCarrow': gcanvas.c:567:12: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pd.x = pp1.x - pp2.x, pd.y = pp1.y - pp2.y; ^~~ gcanvas.c:567:34: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pd.x = pp1.x - pp2.x, pd.y = pp1.y - pp2.y; ^~~ gcanvas.c:573:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pa.x = l * cos (tangent + M_PI / 7) + pp2.x; ^ gcanvas.c:574:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pa.y = l * sin (tangent + M_PI / 7) + pp2.y; ^ gcanvas.c:575:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pb.x = l * cos (tangent - M_PI / 7) + pp2.x; ^ gcanvas.c:576:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pb.y = l * sin (tangent - M_PI / 7) + pp2.y; ^ gcanvas.c: In function 'GCbox': gcanvas.c:619:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.o.x, pr.o.y, pr.c.x - pr.o.x, pr.c.y - pr.o.y ^~ gcanvas.c:619:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.o.x, pr.o.y, pr.c.x - pr.o.x, pr.c.y - pr.o.y ^~ gcanvas.c:624:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.o.x, pr.o.y, pr.c.x - pr.o.x, pr.c.y - pr.o.y ^~ gcanvas.c:624:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.o.x, pr.o.y, pr.c.x - pr.o.x, pr.c.y - pr.o.y ^~ gcanvas.c: In function 'GCpolygon': gcanvas.c:646:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gppp = Marraygrow (Gppp, (long) n * PPSIZE); ^ gcanvas.c:646:34: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gppp = Marraygrow (Gppp, (long) n * PPSIZE); ^ gcanvas.c: In function 'GCsplinegon': gcanvas.c:682:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gppp = Marraygrow (Gppp, (long) n * PPSIZE); ^ gcanvas.c:682:34: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gppp = Marraygrow (Gppp, (long) n * PPSIZE); ^ gcanvas.c: In function 'bezier': gcanvas.c:719:17: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] steps = s.x / 5 + 1; ^ gcanvas.c:721:17: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] steps = s.y / 5 + 1; ^ gcanvas.c:734:15: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] p.x = gp0.x + t * (gp1.x - gp0.x) + 0.5; ^~~ gcanvas.c:735:15: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] p.y = gp0.y + t * (gp1.y - gp0.y) + 0.5; ^~~ gcanvas.c:738:47: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gppp = Marraygrow (Gppp, (long) n * PPSIZE); ^ gcanvas.c:738:38: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gppp = Marraygrow (Gppp, (long) n * PPSIZE); ^ gcanvas.c: In function 'GCarc': gcanvas.c:762:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ps.x * 2, ps.y * 2, (int) (ang1 * 64), (int) (ang2 * 64) ^~ gcanvas.c:762:23: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ps.x * 2, ps.y * 2, (int) (ang1 * 64), (int) (ang2 * 64) ^~ gcanvas.c:767:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ps.x * 2, ps.y * 2, (int) (ang1 * 64), (int) (ang2 * 64) ^~ gcanvas.c:767:23: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ps.x * 2, ps.y * 2, (int) (ang1 * 64), (int) (ang2 * 64) ^~ gcanvas.c: In function 'GCtext': gcanvas.c:807:23: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] case 'l': po.x += w / 2; break; ^ gcanvas.c:808:23: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] case 'r': po.x -= w / 2; break; ^ gcanvas.c:806:5: warning: switch missing default case [-Wswitch-default] switch (justs[0]) { ^~~~~~ gcanvas.c:811:23: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] case 'd': po.y -= h; break; ^ gcanvas.c:812:23: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] case 'b': po.y -= (h - des); break; ^ gcanvas.c:813:23: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] case 'c': po.y -= h / 2; break; ^ gcanvas.c:810:5: warning: switch missing default case [-Wswitch-default] switch (justs[1]) { ^~~~~~ gcanvas.c:815:14: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pr.o.x = po.x - w / 2, pr.o.y = po.y; ^~ gcanvas.c:816:14: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pr.c.x = po.x + w / 2, pr.c.y = po.y + h; ^~ gcanvas.c:816:37: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pr.c.x = po.x + w / 2, pr.c.y = po.y + h; ^~ gcanvas.c:821:9: warning: switch missing default case [-Wswitch-default] switch (tlp[i].j) { ^~~~~~ gcanvas.c: In function 'GCgettextsize': gcanvas.c:862:51: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] ps.x = max (ps.x, txtinfo.width), ps.y += asc + des; ^~~ gcanvas.c: In function 'findfont': gcanvas.c:880:13: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] n = strlen (&Gbufp[0]) + 1; ^~~~~~ gcanvas.c:893:54: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gfontp = Marraygrow (Gfontp, (long) (Gfontn + 1) * FONTSIZE); ^ gcanvas.c:893:34: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gfontp = Marraygrow (Gfontp, (long) (Gfontn + 1) * FONTSIZE); ^ gcanvas.c: In function 'GCcreatebitmap': gcanvas.c:910:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) s.x, (int) s.y, Gdepth)) ^ gcanvas.c:910:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) s.x, (int) s.y, Gdepth)) ^ gcanvas.c:910:63: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) s.x, (int) s.y, Gdepth)) ^~~~~~ gcanvas.c:918:22: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] bitmap->canvas = widget - &Gwidgets[0]; ^~~~~~ gcanvas.c: In function 'GCreadbitmap': gcanvas.c:973:9: warning: switch missing default case [-Wswitch-default] switch (step) { ^~~~~~ gcanvas.c:1004:41: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) s.x, (int) s.y, Gdepth ^ gcanvas.c:1004:52: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) s.x, (int) s.y, Gdepth ^ gcanvas.c:1004:63: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) s.x, (int) s.y, Gdepth ^~~~~~ gcanvas.c:1012:22: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] bitmap->canvas = widget - &Gwidgets[0]; ^~~~~~ gcanvas.c:1016:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdepth, ZPixmap, 0, NULL, (int) s.x, (int) s.y, 32, 0 ^~~~~~ gcanvas.c:1016:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdepth, ZPixmap, 0, NULL, (int) s.x, (int) s.y, 32, 0 ^ gcanvas.c:1016:46: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdepth, ZPixmap, 0, NULL, (int) s.x, (int) s.y, 32, 0 ^ gcanvas.c:1022:30: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if ((img->data = malloc (img->bytes_per_line * img->height)) == NULL) { ^~~ gcanvas.c:1041:33: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] if ((bufn = fread (bufp, 1, 2047, fp)) == 0) { ^~~~~ gcanvas.c:1060:38: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] colors[colorn].red = rgb[0]; ^~~ gcanvas.c:1061:40: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] colors[colorn].green = rgb[1]; ^~~ gcanvas.c:1062:39: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] colors[colorn].blue = rgb[2]; ^~~ gcanvas.c:1081:21: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 0, 0, 0, 0, (int) s.x, (int) s.y ^ gcanvas.c:1081:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] 0, 0, 0, 0, (int) s.x, (int) s.y ^ gcanvas.c: In function 'GCwritebitmap': gcanvas.c:1118:9: warning: conversion to 'unsigned int' from 'double' may alter its value [-Wfloat-conversion] bitmap->size.x, bitmap->size.y, AllPlanes, ZPixmap ^~~~~~ gcanvas.c:1118:25: warning: conversion to 'unsigned int' from 'double' may alter its value [-Wfloat-conversion] bitmap->size.x, bitmap->size.y, AllPlanes, ZPixmap ^~~~~~ gcanvas.c:1125:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] w = bitmap->size.x; ^~~~~~ gcanvas.c:1126:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] h = bitmap->size.y; ^~~~~~ gcanvas.c:1129:22: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] colori = XGetPixel (img, x, y); ^~~~~~~~~ gcanvas.c:1130:28: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] bufp[bufi++] = colors[colori].red / 257; ^~~~~~ gcanvas.c:1131:28: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] bufp[bufi++] = colors[colori].green / 257; ^~~~~~ gcanvas.c:1132:28: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] bufp[bufi++] = colors[colori].blue / 257; ^~~~~~ gcanvas.c:1134:34: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] fwrite (bufp, 1, bufi, fp); ^~~~ gcanvas.c:1140:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] fwrite (bufp, 1, bufi, fp); ^~~~ gcanvas.c: In function 'GCbitblt': gcanvas.c:1174:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (scale.x != bitmap->scale.x || scale.y != bitmap->scale.y) ^~ gcanvas.c:1174:55: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (scale.x != bitmap->scale.x || scale.y != bitmap->scale.y) ^~ gcanvas.c:1183:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.c.x - pr.o.x + 1, pr.c.y - pr.o.y + 1, pr.o.x, pr.o.y ^~ gcanvas.c:1183:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.c.x - pr.o.x + 1, pr.c.y - pr.o.y + 1, pr.o.x, pr.o.y ^~ gcanvas.c:1197:25: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (scale.x != bitmap->scale.x || scale.y != bitmap->scale.y) ^~ gcanvas.c:1197:55: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (scale.x != bitmap->scale.x || scale.y != bitmap->scale.y) ^~ gcanvas.c:1206:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.c.x - pr.o.x + 1, pr.c.y - pr.o.y + 1, pr.o.x, pr.o.y ^~ gcanvas.c:1206:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pr.c.x - pr.o.x + 1, pr.c.y - pr.o.y + 1, pr.o.x, pr.o.y ^~ gcanvas.c: In function 'scalebitmap': gcanvas.c:1231:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) nsize.x, (int) nsize.y, Gdepth ^ gcanvas.c:1231:32: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) nsize.x, (int) nsize.y, Gdepth ^ gcanvas.c:1231:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) nsize.x, (int) nsize.y, Gdepth ^~~~~~ gcanvas.c:1255:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) bitmap->size.x, (int) bitmap->size.y, AllPlanes, ZPixmap ^ gcanvas.c:1255:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) bitmap->size.x, (int) bitmap->size.y, AllPlanes, ZPixmap ^ gcanvas.c:1261:45: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) nsize.x, (int) nsize.y, Gdepth ^ gcanvas.c:1261:60: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) nsize.x, (int) nsize.y, Gdepth ^ gcanvas.c:1261:75: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdisplay, XtWindow (widget->w), (int) nsize.x, (int) nsize.y, Gdepth ^~~~~~ gcanvas.c:1273:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) (bitmap->size.x * scale.x), ^ gcanvas.c:1274:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) (bitmap->size.y * scale.y), AllPlanes, ZPixmap ^ gcanvas.c:1284:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdepth, ZPixmap, 0, NULL, (int) nsize.x, (int) nsize.y, 32, 0 ^~~~~~ gcanvas.c:1284:35: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdepth, ZPixmap, 0, NULL, (int) nsize.x, (int) nsize.y, 32, 0 ^ gcanvas.c:1284:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gdepth, ZPixmap, 0, NULL, (int) nsize.x, (int) nsize.y, 32, 0 ^ gcanvas.c:1291:31: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if ((simg->data = malloc (simg->bytes_per_line * simg->height)) == NULL) { ^~~~ gcanvas.c:1301:10: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] y2 = yr2 = yl2 = 0; ^~~ gcanvas.c:1348:38: warning: conversion to 'short unsigned int' from 'double' may alter its value [-Wfloat-conversion] colors[colorn].red = rgb[0]; ^~~ gcanvas.c:1349:40: warning: conversion to 'short unsigned int' from 'double' may alter its value [-Wfloat-conversion] colors[colorn].green = rgb[1]; ^~~ gcanvas.c:1350:39: warning: conversion to 'short unsigned int' from 'double' may alter its value [-Wfloat-conversion] colors[colorn].blue = rgb[2]; ^~~ gcanvas.c:1369:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) nsize.x, (int) nsize.y ^ gcanvas.c:1369:24: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (int) nsize.x, (int) nsize.y ^ gcanvas.c: In function 'GCgetmousecoords': gcanvas.c:1389:12: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pp.x = x, pp.y = y; ^ gcanvas.c:1389:22: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pp.x = x, pp.y = y; ^ gcanvas.c: In function 'Gcwbutaction': gcanvas.c:1410:20: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] gev.data = evp->xbutton.button - Button1; ^~~ gcanvas.c:1413:16: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pp.x = evp->xbutton.x, pp.y = evp->xbutton.y; ^~~ gcanvas.c:1413:39: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pp.x = evp->xbutton.x, pp.y = evp->xbutton.y; ^~~ gcanvas.c:1424:19: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] wi = gev.wi = widget - &Gwidgets[0]; ^~~~~~ gcanvas.c:1398:50: warning: unused parameter 'app' [-Wunused-parameter] void Gcwbutaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gcanvas.c:1398:69: warning: unused parameter 'anp' [-Wunused-parameter] void Gcwbutaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gcanvas.c: In function 'Gcwkeyaction': gcanvas.c:1463:16: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pp.x = x, pp.y = y; ^ gcanvas.c:1463:26: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] pp.x = x, pp.y = y; ^ gcanvas.c:1469:14: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] gev.wi = widget - &Gwidgets[0]; ^~~~~~ gcanvas.c:1442:50: warning: unused parameter 'app' [-Wunused-parameter] void Gcwkeyaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gcanvas.c:1442:69: warning: unused parameter 'anp' [-Wunused-parameter] void Gcwkeyaction (Widget w, XEvent *evp, char **app, unsigned int *anp) { ^~~ gcanvas.c: In function 'setgattr': gcanvas.c:1513:20: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] pati = ( ^ gcanvas.c: In function 'rdrawtopix': gcanvas.c:1562:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.o.x = tvx * (gr.o.x - WCU->wrect.o.x) / twx + 0.5; ^~~ gcanvas.c:1563:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.o.y = tvy * (1.0 - (gr.c.y - WCU->wrect.o.y) / twy) + 0.5; ^~~ gcanvas.c:1564:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.c.x = tvx * (gr.c.x - WCU->wrect.o.x) / twx + 0.5; ^~~ gcanvas.c:1565:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.c.y = tvy * (1.0 - (gr.o.y - WCU->wrect.o.y) / twy) + 0.5; ^~~ gcanvas.c: In function 'pdrawtopix': gcanvas.c:1576:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pp.x = tvx * (gp.x - WCU->wrect.o.x) / twx + 0.5; ^~~ gcanvas.c:1577:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pp.y = tvy * (1.0 - (gp.y - WCU->wrect.o.y) / twy) + 0.5; ^~~ gcanvas.c: In function 'sdrawtopix': gcanvas.c:1588:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] ps.x = tvx * (gs.x - 1) / twx + 1.5; ^~~ gcanvas.c:1589:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] ps.y = tvy * (gs.y - 1) / twy + 1.5; ^~~ gcanvas.c: In function 'rdrawtobpix': gcanvas.c:1640:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.o.x = gr.o.x + 0.5; ^~ gcanvas.c:1641:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.o.y = tvy - gr.c.y + 0.5; ^~~ gcanvas.c:1642:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.c.x = gr.c.x + 0.5; ^~ gcanvas.c:1643:14: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pr.c.y = tvy - gr.o.y + 0.5; ^~~ gcanvas.c: In function 'pdrawtobpix': gcanvas.c:1652:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pp.x = gp.x + 0.5; ^~ gcanvas.c:1653:12: warning: conversion to 'short int' from 'double' may alter its value [-Wfloat-conversion] pp.y = tvy - gp.y + 0.5; ^~~ gcanvas.c: In function 'adjustclip': gcanvas.c:1669:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (widget->w, argp, argn); ^~~~ gcanvas.c:1673:35: warning: conversion to 'Cardinal {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] XtGetValues (parent->w, argp, argn); ^~~~ gcanvas.c:40:19: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define max(a, b) (((a) >= (b)) ? (a) : (b)) ^ gcanvas.c:1674:14: note: in expansion of macro 'max' pr.o.x = max (0, -x); ^~~ gcanvas.c:40:19: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define max(a, b) (((a) >= (b)) ? (a) : (b)) ^ gcanvas.c:1675:14: note: in expansion of macro 'max' pr.o.y = max (0, -y); ^~~ gcanvas.c:41:19: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define min(a, b) (((a) <= (b)) ? (a) : (b)) ^ gcanvas.c:1676:14: note: in expansion of macro 'min' pr.c.x = min (width, pr.o.x + pwidth); ^~~ gcanvas.c:41:19: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] #define min(a, b) (((a) <= (b)) ? (a) : (b)) ^ gcanvas.c:1677:14: note: in expansion of macro 'min' pr.c.y = min (height, pr.o.y + pheight); ^~~ gcanvas.c: In function 'cwepredicate': gcanvas.c:1689:36: warning: unused parameter 'display' [-Wunused-parameter] static Bool cwepredicate (Display *display, XEvent *evp, XPointer data) { ^~~~~~~ gcanvas.c: In function 'cweventhandler': gcanvas.c:1696:25: warning: unused parameter 'data' [-Wunused-parameter] Widget w, XtPointer data, XEvent *evp, Boolean *cont ^~~~ gcanvas.c:1696:39: warning: unused parameter 'evp' [-Wunused-parameter] Widget w, XtPointer data, XEvent *evp, Boolean *cont ^~~ gcanvas.c:1696:53: warning: unused parameter 'cont' [-Wunused-parameter] Widget w, XtPointer data, XEvent *evp, Boolean *cont ^~~~ gcanvas.c: In function 'cwvpredicate': gcanvas.c:1709:36: warning: unused parameter 'display' [-Wunused-parameter] static Bool cwvpredicate (Display *display, XEvent *evp, XPointer data) { ^~~~~~~ make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' CCLD libws.la make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' Making all in mswin32 make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all-am'. Making all in os Making all in unix make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os/unix' CC io.lo io.c: In function 'IOinit': io.c:102:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] iop = Marrayalloc ((long) ion * IOSIZE); ^ io.c:102:24: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] iop = Marrayalloc ((long) ion * IOSIZE); ^ io.c: In function 'IOopen': io.c:159:54: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] iop = Marraygrow (iop, (long) (ion + IOINCR) * IOSIZE); ^ io.c:159:32: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] iop = Marraygrow (iop, (long) (ion + IOINCR) * IOSIZE); ^ io.c:167:5: warning: switch missing default case [-Wswitch-default] switch (type) { ^~~~~~ io.c: In function 'IOreadline': io.c:271:9: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] l = strlen (bufp) - 1; ^~~~~~ io.c: In function 'IOread': io.c:284:43: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if ((l = read (fileno (p->ifp), bufp, bufn - 1)) == -1) ^~~~ io.c:284:14: warning: conversion to 'int' from 'ssize_t {aka long int}' may alter its value [-Wconversion] if ((l = read (fileno (p->ifp), bufp, bufn - 1)) == -1) ^~~~ io.c: In function 'findpty': io.c:397:33: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] tio.c_lflag &= ~ECHO; ^~ io.c: In function 'sigchldhandler': io.c:462:33: warning: unused parameter 'data' [-Wunused-parameter] static void sigchldhandler (int data) { ^~~~ io.c: In function 'ptyopen': io.c:360:9: warning: this statement may fall through [-Wimplicit-fallthrough=] panic2 (POS, "ptyopen", "cannot fork"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:361:5: note: here case 0: ^~~~ io.c:365:9: warning: this statement may fall through [-Wimplicit-fallthrough=] panic2 (POS, "ptyopen", "child cannot exec: %s\n", cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:366:5: note: here default: ^~~~~~~ io.c:362:35: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close (fd[0]), close (0), dup (fd[1]); ^~~~~~~~~~~ io.c:363:20: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close (1), dup (fd[1]), close (fd[1]); ^~~~~~~~~~~ io.c: In function 'pipeopen': io.c:420:9: warning: this statement may fall through [-Wimplicit-fallthrough=] panic2 (POS, "pipeopen", "cannot fork"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:421:5: note: here case 0: ^~~~ io.c:432:9: warning: this statement may fall through [-Wimplicit-fallthrough=] panic2 (POS, "pipeopen", "child cannot exec: %s\n", cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:433:5: note: here default: ^~~~~~~ io.c:429:20: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close (1), dup (p1[1]), close (p1[1]); ^~~~~~~~~~~ io.c:430:20: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] close (0), dup (p2[0]), close (p2[0]); ^~~~~~~~~~~ io.c: In function 'socketopen': io.c:447:9: warning: this statement may fall through [-Wimplicit-fallthrough=] panic2 (POS, "socketopen", "cannot fork"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:448:5: note: here case 0: ^~~~ io.c:450:9: warning: this statement may fall through [-Wimplicit-fallthrough=] panic2 (POS, "socketopen", "child cannot exec: %s\n", cmd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:451:5: note: here default: ^~~~~~~ make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os/unix' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os/unix' CCLD libos.la make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os/unix' Making all in mswin32 make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all-am'. Making all in dot2l make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' CC dottrie.lo make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' CC dotparse.lo y.tab.c: In function 'yyparse': y.tab.c:1278:12: warning: conversion to 'yytype_int16 {aka short int}' from 'int' may alter its value [-Wconversion] *yyssp = yystate; ^~~~~~~ y.tab.c:1283:25: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] YYSIZE_T yysize = yyssp - yyss + 1; ^~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' CC dotlex.lo dotlex.c:41:5: warning: no previous prototype for 'lex_begin' [-Wmissing-prototypes] int lex_begin (int ioi) { ^~~~~~~~~ dotlex.c:52:5: warning: no previous prototype for 'myyylex' [-Wmissing-prototypes] int myyylex (void) { /* for debugging */ ^~~~~~~ dotlex.c:129:1: warning: no previous prototype for 'yyerror' [-Wmissing-prototypes] yyerror (char *fmt, char *s) { ^~~~~~~ dotlex.c: In function 'lex_gets': dotlex.c:149:15: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len = strlen (clp); ^~~~~~ dotlex.c:163:20: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] if ((len = strlen (clp)) > 1) { ^~~~~~ dotlex.c:171:45: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (!(lexbuf = realloc (lexbuf, lexsiz * 2))) { ^~~~~~ dotlex.c: In function 'lex_token': dotlex.c:188:9: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] TFA_Advance (*p++); ^~~~~~~~~~~ dotlex.c: In function 'scan_token': dotlex.c:255:11: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (p == '\0') ^~ dotlex.c:255:9: note: did you mean to dereference the pointer? if (p == '\0') ^ dotlex.c: In function 'html_string': dotlex.c:348:33: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] if ((lexptr = lex_gets (p - lexbuf - 1)) == NULL) { ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' CC dot2l.lo dot2l.c: In function 'filllabelrect': dot2l.c:202:9: warning: switch missing default case [-Wswitch-default] switch (i) { ^~~~~~ dot2l.c: In function 'D2Lwritegraph': dot2l.c:313:17: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = 100 * Tgettablen (nodes); ^~~ In file included from dot2l.c:18:0: ../../../cmd/lefty/tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:315:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (no); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:315:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (no); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:315:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (no); ^~~~~~~~~~ dot2l.c:332:17: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = 100 * Tgettablen (sgraphs); ^~~ In file included from dot2l.c:18:0: ../../../cmd/lefty/tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:334:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (no); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:334:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (no); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:334:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (no); ^~~~~~~~~~ dot2l.c:349:17: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] n = 100 * Tgettablen (edges); ^~~ In file included from dot2l.c:18:0: ../../../cmd/lefty/tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:351:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (eo); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:351:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (eo); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:351:17: note: in expansion of macro 'Tgetnumber' n = Tgetnumber (eo); ^~~~~~~~~~ dot2l.c: In function 'writeattr': dot2l.c:465:9: warning: switch missing default case [-Wswitch-default] switch (Tgettype (tkvi.kvp->ko)) { ^~~~~~ In file included from dot2l.c:18:0: dot2l.c: In function 'D2Lpushgraph': ../../../cmd/lefty/tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:603:15: note: in expansion of macro 'Tgetnumber' gid = Tgetnumber (idobj), gstack->g = g = Tfindi (allgraphs, gid); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion to 'long int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:603:15: note: in expansion of macro 'Tgetnumber' gid = Tgetnumber (idobj), gstack->g = g = Tfindi (allgraphs, gid); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion to 'long int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:603:15: note: in expansion of macro 'Tgetnumber' gid = Tgetnumber (idobj), gstack->g = g = Tfindi (allgraphs, gid); ^~~~~~~~~~ dot2l.c: In function 'D2Linsertnode': ../../../cmd/lefty/tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:656:15: note: in expansion of macro 'Tgetnumber' nid = Tgetnumber (idobj), n = Tfindi (allnodes, nid); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion to 'long int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:656:15: note: in expansion of macro 'Tgetnumber' nid = Tgetnumber (idobj), n = Tfindi (allnodes, nid); ^~~~~~~~~~ ../../../cmd/lefty/tbl.h:99:24: warning: conversion to 'long int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ dot2l.c:656:15: note: in expansion of macro 'Tgetnumber' nid = Tgetnumber (idobj), n = Tfindi (allnodes, nid); ^~~~~~~~~~ dot2l.c: In function 'D2Lsetattr': dot2l.c:755:9: warning: switch missing default case [-Wswitch-default] switch (attrclass) { ^~~~~~ dot2l.c:762:5: warning: switch missing default case [-Wswitch-default] switch (attrclass) { ^~~~~~ dot2l.c: In function 'filllabeltable': dot2l.c:148:16: warning: this statement may fall through [-Wimplicit-fallthrough=] if (*(lsp + 1)) { ^ dot2l.c:155:9: note: here default: ^~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' CCLD libdot2l.la make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' Making all in examples make[4]: Nothing to be done for 'all'. make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC code.o code.c: In function 'Cnew': code.c:51:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + CBUFINCR) * CBUFSIZE); ^ code.c:51:36: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + CBUFINCR) * CBUFSIZE); ^ code.c: In function 'Cinteger': code.c:64:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + CBUFINCR) * CBUFSIZE); ^ code.c:64:36: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + CBUFINCR) * CBUFSIZE); ^ code.c: In function 'Creal': code.c:78:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + CBUFINCR) * CBUFSIZE); ^ code.c:78:36: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + CBUFINCR) * CBUFSIZE); ^ code.c: In function 'Cstring': code.c:91:24: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] size = (strlen (s) + Cstringoffset + CBUFSIZE - 1) / CBUFSIZE; ^ code.c:91:12: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] size = (strlen (s) + Cstringoffset + CBUFSIZE - 1) / CBUFSIZE; ^ code.c:94:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + incr) * CBUFSIZE); ^ code.c:94:36: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] cbufp = Marraygrow (cbufp, (long) (cbufn + incr) * CBUFSIZE); ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC display.o display.c: In function 'update': display.c:86:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] if (!(list = malloc (n * sizeof (dnode_t)))) ^ display.c:96:27: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] qsort ((char *) list, n, sizeof (dnode_t), cmp); ^ display.c: In function 'cmp': display.c:123:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] anode = (dnode_t *) a, bnode = (dnode_t *) b; ^ display.c:123:36: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] anode = (dnode_t *) a, bnode = (dnode_t *) b; ^ In file included from display.c:19:0: tbl.h:97:24: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetinteger(p) (((Tinteger_t *) p)->i) ^ display.c:130:14: note: in expansion of macro 'Tgetinteger' d1 = Tgetinteger (anode->ko), d2 = Tgetinteger (bnode->ko); ^~~~~~~~~~~ tbl.h:97:24: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetinteger(p) (((Tinteger_t *) p)->i) ^ display.c:130:44: note: in expansion of macro 'Tgetinteger' d1 = Tgetinteger (anode->ko), d2 = Tgetinteger (bnode->ko); ^~~~~~~~~~~ display.c: In function 'add2seen': display.c:152:62: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] seenp = Marraygrow (seenp, (long) (seenn + SEENINCR) * SEENSIZE); ^ display.c:152:36: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] seenp = Marraygrow (seenp, (long) (seenn + SEENINCR) * SEENSIZE); ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC lefty.o lefty.c:47:5: warning: "HAVE_FILE_CNT" is not defined, evaluates to 0 [-Wundef] #if HAVE_FILE_CNT ^~~~~~~~~~~~~ lefty.c:50:7: warning: "HAVE_FILE_NEXT" is not defined, evaluates to 0 [-Wundef] # if HAVE_FILE_NEXT ^~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC mem.o mem.c: In function 'Mnew': mem.c:122:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] size < FREEOBJSIZE ^ In file included from mem.c:17:0: mem.h:44:37: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ mem.c:123:37: note: in expansion of macro 'M_BYTE2SIZE' ) ? M_BYTE2SIZE (FREEOBJSIZE) : M_BYTE2SIZE (size); ^~~~~~~~~~~ mem.c:133:21: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] fp->head.type = type; ^~~~ mem.c: In function 'Mallocate': mem.c:149:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] size < FREEOBJSIZE ^ In file included from mem.c:17:0: mem.h:44:37: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ mem.c:150:37: note: in expansion of macro 'M_BYTE2SIZE' ) ? M_BYTE2SIZE (FREEOBJSIZE) : M_BYTE2SIZE (size); ^~~~~~~~~~~ mem.c: In function 'Mfree': mem.c:161:21: warning: conversion to 'Msize_t {aka int}' from 'long int' may alter its value [-Wconversion] fp->head.size = size; ^~~~ mem.c: In function 'Marrayalloc': mem.c:172:23: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] if (!(p = malloc (size))) ^~~~ mem.c: In function 'Marraygrow': mem.c:178:27: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] if (!(p = realloc (p, size))) ^~~~ mem.c: In function 'Mpushmark': mem.c:240:50: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] markarray, (long) (markn + MARKINCR) * MARKSIZE ^ mem.c:240:24: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] markarray, (long) (markn + MARKINCR) * MARKSIZE ^ mem.c: In function 'Mmkcurr': mem.c:267:67: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] otarray[0] = Marraygrow (otarray[0], (long) (otn +OTINCR) * OTSIZE); ^ mem.c:267:46: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] otarray[0] = Marraygrow (otarray[0], (long) (otn +OTINCR) * OTSIZE); ^ mem.c:268:67: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] otarray[1] = Marraygrow (otarray[1], (long) (otn +OTINCR) * OTSIZE); ^ mem.c:268:46: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] otarray[1] = Marraygrow (otarray[1], (long) (otn +OTINCR) * OTSIZE); ^ mem.c: In function 'Mdogc': mem.c:316:17: warning: variable 't' set but not used [-Wunused-but-set-variable] int t = (gcsteps > GCINCRSTEPS) ? gcsteps >>= 1 : GCINCRSTEPS; ^ mem.c: In function 'allocbuffer': mem.c:379:62: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] freearray = Marraygrow (freearray, (long) (size + 1) * FREESIZE); ^ mem.c:379:44: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] freearray = Marraygrow (freearray, (long) (size + 1) * FREESIZE); ^ mem.c:388:39: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] if (!(bp->data = malloc (size * M_UNITSIZE * n))) ^ mem.c:388:52: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] if (!(bp->data = malloc (size * M_UNITSIZE * n))) ^ mem.c:391:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] bytes = size * M_UNITSIZE; ^ mem.c:391:17: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] bytes = size * M_UNITSIZE; ^~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC lex.o lex.c: In function 'gtok': lex.c:178:33: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] p = &Lstrtok[0], *p++ = c; ^ lex.c:180:20: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *p++ = c; ^ lex.c:190:33: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] p = &Lstrtok[0], *p++ = c; ^ lex.c:192:20: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *p++ = c; ^ lex.c:194:20: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *p++ = c; ^ lex.c:196:24: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *p++ = c; ^ lex.c:207:20: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] *p++ = c; /* FIXME: deal with \'s */ ^ lex.c:221:13: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ lex.c:229:13: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ lex.c: In function 'sgetc': lex.c:69:16: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define MAXBUF 10000 ^ lex.c:254:30: note: in expansion of macro 'MAXBUF' if (!fgets (ucp, MAXBUF - (ucp - unitp), lfp)) { ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC exec.o exec.c: In function 'Eunit': exec.c:191:66: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sinfop = Marraygrow (sinfop, (long) (sinfon + SINFOINCR) * SINFOSIZE); ^ exec.c:191:38: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] sinfop = Marraygrow (sinfop, (long) (sinfon + SINFOINCR) * SINFOSIZE); ^ exec.c: In function 'eeval': exec.c:266:9: warning: switch missing default case [-Wswitch-default] switch (ctype) { ^~~~~~ exec.c: In function 'efcall': exec.c:442:66: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sinfop = Marraygrow (sinfop, (long) (sinfon + SINFOINCR) * SINFOSIZE); ^ exec.c:442:38: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] sinfop = Marraygrow (sinfop, (long) (sinfon + SINFOINCR) * SINFOSIZE); ^ exec.c:472:64: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lvarp = Marraygrow (lvarp, (long) (llvari + 1) * LVARSIZE); ^ exec.c:472:44: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] lvarp = Marraygrow (lvarp, (long) (llvari + 1) * LVARSIZE); ^ exec.c:498:61: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lvarp = Marraygrow (lvarp, (long) (llvari + ln) * LVARSIZE); ^ exec.c:498:40: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] lvarp = Marraygrow (lvarp, (long) (llvari + ln) * LVARSIZE); ^ exec.c: In function 'eforinst': exec.c:632:34: warning: cast discards 'volatile' qualifier from pointer target type [-Wcast-qual] if (getvar ((Tobj) c1o, ei1, (tnk_t *) &tnk) == -1) { ^ exec.c:653:33: warning: cast discards 'volatile' qualifier from pointer target type [-Wcast-qual] Tgetfirst ((Tobj) tblo, (Tkvindex_t *) &tkvi); tkvi.kvp; ^ exec.c:654:19: warning: cast discards 'volatile' qualifier from pointer target type [-Wcast-qual] Tgetnext ((Tkvindex_t *) &tkvi) ^ exec.c: In function 'setvar': exec.c:809:9: warning: switch missing default case [-Wswitch-default] switch (tnk.u.tnks.kt) { ^~~~~~ exec.c: In function 'boolop': exec.c:841:19: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] return (d == 0.0) ? FALSE : TRUE; ^~ exec.c: In function 'orderop': exec.c:870:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] r = (i1 == d2) ? 0 : ((i1 < d2) ? -1 : 1); ^~ exec.c:873:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] r = (d1 == i2) ? 0 : ((d1 < i2) ? -1 : 1); ^~ exec.c:876:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] r = (d1 == d2) ? 0 : ((d1 < d2) ? -1 : 1); ^~ exec.c:884:5: warning: switch missing default case [-Wswitch-default] switch (op) { ^~~~~~ exec.c: In function 'arithop': exec.c:903:14: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] d1 = lnum->u.i; ^~~~ In file included from exec.c:19:0: tbl.h:97:24: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetinteger(p) (((Tinteger_t *) p)->i) ^ exec.c:909:14: note: in expansion of macro 'Tgetinteger' d1 = Tgetinteger (lnum->u.no); ^~~~~~~~~~~ exec.c:919:14: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] d2 = rnum->u.i; ^~~~ In file included from exec.c:19:0: tbl.h:97:24: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetinteger(p) (((Tinteger_t *) p)->i) ^ exec.c:925:14: note: in expansion of macro 'Tgetinteger' d2 = Tgetinteger (rnum->u.no); ^~~~~~~~~~~ exec.c:935:24: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] case C_MOD: d3 = (long) d1 % (long) d2; break; ^ exec.c:930:5: warning: switch missing default case [-Wswitch-default] switch (op) { ^~~~~~ exec.c:938:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (d3 == (double) (long) d3) ^~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC common.o common.c: In function 'pathAppend': common.c:64:31: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] int newlen = leftypathlen + strlen(s) + addSep; ^ common.c:64:43: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] int newlen = leftypathlen + strlen(s) + addSep; ^ common.c:64:18: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] int newlen = leftypathlen + strlen(s) + addSep; ^~~~~~~~~~~~ common.c:68:40: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (!(leftypath = realloc (leftypath, leftypathsz))) ^~~~~~~~~~~ common.c: In function 'init': common.c:112:31: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (!(leftypath = malloc (leftypathsz))) ^~~~~~~~~~~ common.c: In function 'buildpath': common.c:240:27: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (pathi + 3 + strlen (file) >= PATHINCR) ^ common.c:246:65: warning: conversion to '__mode_t {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (stat (pathp, &statbuf) == 0 && (statbuf.st_mode & mode)) ^ common.c: In function 'buildcommand': common.c:306:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (bufi + strlen (path) >= CMDINCR) ^ common.c:317:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (bufi + strlen (buf) >= CMDINCR) ^ common.c:328:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (bufi + strlen (buf) >= CMDINCR) ^ common.c:335:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] if (bufi + strlen (host) >= CMDINCR) ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC parse.o parse.c: In function 'pcons': parse.c:313:17: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] ci = (d == (double) (long) d) ? Cinteger ((long) d) : Creal (d); ^~ parse.c: In function 'addlv': parse.c:639:54: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] lvp = Marraygrow (lvp, (long) (lvn + LVINCR) + LVSIZE); ^ parse.c:639:32: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] lvp = Marraygrow (lvp, (long) (lvn + LVINCR) + LVSIZE); ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC g.o g.c: In function 'Ginit': g.c:237:45: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gbitmaps = Marrayalloc ((long) Gbitmapn * BITMAPSIZE); ^ g.c:237:29: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gbitmaps = Marrayalloc ((long) Gbitmapn * BITMAPSIZE); ^ g.c: In function 'Gcreatewidget': g.c:281:5: warning: switch missing default case [-Wswitch-default] switch (type) { ^~~~~~ g.c:317:19: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] return widget - &Gwidgets[0]; ~~~~~~~^~~~~~~~~~~~~~ g.c: In function 'Gsetwidgetattr': g.c:328:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Ggetwidgetattr': g.c:351:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gdestroywidget': g.c:374:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gcanvasclear': g.c:442:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gsetgfxattr': g.c:458:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Ggetgfxattr': g.c:474:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Garrow': g.c:490:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gline': g.c:506:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gbox': g.c:522:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gpolygon': g.c:538:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gsplinegon': g.c:554:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Garc': g.c:572:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gtext': g.c:605:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'Gcreatebitmap': g.c:654:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c:662:19: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] return bitmap - &Gbitmaps[0]; ~~~~~~~^~~~~~~~~~~~~~ g.c: In function 'Gdestroybitmap': g.c:673:5: warning: switch missing default case [-Wswitch-default] switch (bitmap->ctype) { ^~~~~~ g.c: In function 'Greadbitmap': g.c:699:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c:707:19: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] return bitmap - &Gbitmaps[0]; ~~~~~~~^~~~~~~~~~~~~~ g.c: In function 'Gwritebitmap': g.c:720:5: warning: switch missing default case [-Wswitch-default] switch (bitmap->ctype) { ^~~~~~ g.c: In function 'Gbitblt': g.c:745:5: warning: switch missing default case [-Wswitch-default] switch (widget->type) { ^~~~~~ g.c: In function 'newwidget': g.c:777:50: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gwidgets, (long) (Gwidgetn + WIDGETINCR) * WIDGETSIZE ^ g.c:777:19: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gwidgets, (long) (Gwidgetn + WIDGETINCR) * WIDGETSIZE ^ g.c:789:40: warning: conversion to 'size_t {aka long unsigned int}' from 'long int' may change the sign of the result [-Wsign-conversion] if (!(new->u.c = (Gcw_t *) malloc (wsizes[type]))) ^~~~~~ g.c: In function 'newbitmap': g.c:821:50: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] Gbitmaps, (long) (Gbitmapn + BITMAPINCR) * BITMAPSIZE ^ g.c:821:19: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] Gbitmaps, (long) (Gbitmapn + BITMAPINCR) * BITMAPSIZE ^ g.c: In function 'unpackstring': g.c:867:14: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] if ((n = strlen (s) + 1) > textn) ^~~~~~ g.c:876:32: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] tlarray[n].n = p1 - tlarray[n].p; ^~ g.c:888:25: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] if ((tlarray[n].n = p1 - tlarray[n].p) > 0) ^~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC str.o str.c: In function 'Sabstract': str.c:73:5: warning: switch missing default case [-Wswitch-default] switch (Tgettype (vo)) { ^~~~~~ str.c: In function 'Ssfull': str.c:100:5: warning: switch missing default case [-Wswitch-default] switch (Tgettype (vo)) { ^~~~~~ str.c: In function 'scalarstr': str.c:121:5: warning: switch missing default case [-Wswitch-default] switch (Tgettype (to)) { ^~~~~~ str.c: In function 'codestr': str.c:163:9: warning: switch missing default case [-Wswitch-default] switch (ct) { ^~~~~~ str.c: In function 'appends': str.c:441:9: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] n = strlen (s) + 1; ^~~~~~ str.c: In function 'appendi': str.c:453:9: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] n = strlen (buf) + 1; ^~~~~~ str.c: In function 'appendd': str.c:465:9: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] n = strlen (buf) + 1; ^~~~~~ str.c: In function 'growsbuf': str.c:487:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(sbufp = realloc (sbufp, nsize * SBUFSIZE))) ^ str.c: In function 'copysbuf': str.c:496:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(newsbufp = malloc (sbufi * sizeof (char)))) ^ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC internal.o internal.c: In function 'Itypeof': internal.c:235:18: warning: unused parameter 'argc' [-Wunused-parameter] int Itypeof (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Icopy': internal.c:245:16: warning: unused parameter 'argc' [-Wunused-parameter] int Icopy (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Itablesize': internal.c:262:21: warning: unused parameter 'argc' [-Wunused-parameter] int Itablesize (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Icloseio': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:296:24: note: in expansion of macro 'Tgetnumber' IOclose ((int) Tgetnumber (argv[0].o), NULL); ^~~~~~~~~~ tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:298:24: note: in expansion of macro 'Tgetnumber' IOclose ((int) Tgetnumber (argv[0].o), Tgetstring (argv[1].o)); ^~~~~~~~~~ internal.c: In function 'Ireadline': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:307:35: note: in expansion of macro 'Tgetnumber' while ((m = IOreadline ((int) Tgetnumber (argv[0].o), s, n)) != -1) { ^~~~~~~~~~ internal.c:310:14: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] m += (s - bufp); ^ internal.c:302:20: warning: unused parameter 'argc' [-Wunused-parameter] int Ireadline (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Iread': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:322:23: note: in expansion of macro 'Tgetnumber' if (IOread ((int) Tgetnumber (argv[0].o), bufp, bufn) > 0) ^~~~~~~~~~ internal.c:321:16: warning: unused parameter 'argc' [-Wunused-parameter] int Iread (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Iwriteline': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:330:24: note: in expansion of macro 'Tgetnumber' IOwriteline ((int) Tgetnumber (argv[0].o), Tgetstring (argv[1].o)); ^~~~~~~~~~ internal.c:329:21: warning: unused parameter 'argc' [-Wunused-parameter] int Iwriteline (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Iatan': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:339:9: note: in expansion of macro 'Tgetnumber' y = Tgetnumber (argv[0].o), x = Tgetnumber (argv[1].o); ^~~~~~~~~~ tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:339:37: note: in expansion of macro 'Tgetnumber' y = Tgetnumber (argv[0].o), x = Tgetnumber (argv[1].o); ^~~~~~~~~~ internal.c:336:16: warning: unused parameter 'argc' [-Wunused-parameter] int Iatan (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Itan': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:345:31: note: in expansion of macro 'Tgetnumber' rtno = Treal (tan (M_PI * Tgetnumber (argv[0].o) / 180.0)); ^~~~~~~~~~ internal.c:344:15: warning: unused parameter 'argc' [-Wunused-parameter] int Itan (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Icos': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:350:31: note: in expansion of macro 'Tgetnumber' rtno = Treal (cos (M_PI * Tgetnumber (argv[0].o) / 180.0)); ^~~~~~~~~~ internal.c:349:15: warning: unused parameter 'argc' [-Wunused-parameter] int Icos (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Isin': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:355:31: note: in expansion of macro 'Tgetnumber' rtno = Treal (sin (M_PI * Tgetnumber (argv[0].o) / 180.0)); ^~~~~~~~~~ internal.c:354:15: warning: unused parameter 'argc' [-Wunused-parameter] int Isin (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Isqrt': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:360:25: note: in expansion of macro 'Tgetnumber' rtno = Treal (sqrt (Tgetnumber (argv[0].o))); ^~~~~~~~~~ internal.c:359:16: warning: unused parameter 'argc' [-Wunused-parameter] int Isqrt (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Irandom': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:370:10: note: in expansion of macro 'Tgetnumber' (Tgetnumber (argv[0].o) * ^~~~~~~~~~ internal.c:370:33: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] (Tgetnumber (argv[0].o) * ^ internal.c:368:18: warning: unused parameter 'argc' [-Wunused-parameter] int Irandom (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Intos': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:381:9: note: in expansion of macro 'Tgetnumber' d = Tgetnumber (argv[0].o); ^~~~~~~~~~ internal.c:382:18: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((long) d == d) ^~ internal.c:378:16: warning: unused parameter 'argc' [-Wunused-parameter] int Intos (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Iston': internal.c:390:16: warning: unused parameter 'argc' [-Wunused-parameter] int Iston (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Iconcat': internal.c:482:29: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] if (bufi + (n = strlen (Tgetstring (ao)) + 1) > bufn) ^~~~~~ internal.c:480:9: warning: switch missing default case [-Wswitch-default] switch (Tgettype (argv[i].o)) { ^~~~~~ internal.c: In function 'Iquote': internal.c:520:5: warning: switch missing default case [-Wswitch-default] switch (Tgettype (so)) { ^~~~~~ internal.c:542:14: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] if ((n = strlen (s) + 3) * 2 > bufn) ^~~~~~ internal.c: In function 'Ihtmlquote': internal.c:576:14: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] if ((n = strlen (s) + 1) * 4 > bufn) ^~~~~~ internal.c:567:21: warning: unused parameter 'argc' [-Wunused-parameter] int Ihtmlquote (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Itoint': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:604:29: note: in expansion of macro 'Tgetnumber' rtno = Tinteger ((long) Tgetnumber (argv[0].o)); ^~~~~~~~~~ internal.c:603:17: warning: unused parameter 'argc' [-Wunused-parameter] int Itoint (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Istrlen': internal.c:609:22: warning: conversion to 'long int' from 'size_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] rtno = Tinteger (strlen (Tgetstring (argv[0].o))); ^~~~~~ internal.c:608:18: warning: unused parameter 'argc' [-Wunused-parameter] int Istrlen (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Iload': internal.c:615:16: warning: unused parameter 'argc' [-Wunused-parameter] int Iload (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Irun': internal.c:642:15: warning: unused parameter 'argc' [-Wunused-parameter] int Irun (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Imonitor': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:668:33: note: in expansion of macro 'Tgetnumber' ms = Tgetstring (mo), ioi = Tgetnumber (io); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:668:33: note: in expansion of macro 'Tgetnumber' ms = Tgetstring (mo), ioi = Tgetnumber (io); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:668:33: note: in expansion of macro 'Tgetnumber' ms = Tgetstring (mo), ioi = Tgetnumber (io); ^~~~~~~~~~ internal.c:658:19: warning: unused parameter 'argc' [-Wunused-parameter] int Imonitor (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Iidlerun': internal.c:680:19: warning: unused parameter 'argc' [-Wunused-parameter] int Iidlerun (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Itime': internal.c:705:42: warning: conversion to 'double' from '__suseconds_t {aka long int}' may alter its value [-Wconversion] rtno = Treal (tz.tv_sec + tz.tv_usec / 1000000.0); ^ internal.c:705:29: warning: conversion to 'double' from '__time_t {aka long int}' may alter its value [-Wconversion] rtno = Treal (tz.tv_sec + tz.tv_usec / 1000000.0); ^ internal.c:700:16: warning: unused parameter 'argc' [-Wunused-parameter] int Itime (int argc, lvar_t *argv) { ^~~~ internal.c:700:30: warning: unused parameter 'argv' [-Wunused-parameter] int Itime (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Isleep': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:718:9: note: in expansion of macro 'Tgetnumber' f = Tgetnumber (argv[0].o); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:718:9: note: in expansion of macro 'Tgetnumber' f = Tgetnumber (argv[0].o); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:718:9: note: in expansion of macro 'Tgetnumber' f = Tgetnumber (argv[0].o); ^~~~~~~~~~ internal.c:719:17: warning: conversion to '__time_t {aka long int}' from 'float' may alter its value [-Wfloat-conversion] tz.tv_sec = f; ^ internal.c:720:21: warning: conversion to 'float' from '__time_t {aka long int}' may alter its value [-Wconversion] tz.tv_usec = (f - tz.tv_sec) * 1000000; ^ internal.c:720:18: warning: conversion to '__suseconds_t {aka long int}' from 'float' may alter its value [-Wfloat-conversion] tz.tv_usec = (f - tz.tv_sec) * 1000000; ^ internal.c:712:17: warning: unused parameter 'argc' [-Wunused-parameter] int Isleep (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Iecho': internal.c:732:9: warning: switch missing default case [-Wswitch-default] switch (Tgettype (argv[i].o)) { ^~~~~~ internal.c: In function 'Igetenv': internal.c:743:18: warning: unused parameter 'argc' [-Wunused-parameter] int Igetenv (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Iputenv': internal.c:755:18: warning: unused parameter 'argc' [-Wunused-parameter] int Iputenv (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Iexit': internal.c:784:16: warning: unused parameter 'argc' [-Wunused-parameter] int Iexit (int argc, lvar_t *argv) { ^~~~ internal.c:784:30: warning: unused parameter 'argv' [-Wunused-parameter] int Iexit (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'Iparsegraphlabel': internal.c:792:27: warning: unused parameter 'argc' [-Wunused-parameter] int Iparsegraphlabel (int argc, lvar_t *argv) { ^~~~ In file included from internal.c:21:0: internal.c: In function 'Ireadgraph': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:800:16: note: in expansion of macro 'Tgetnumber' if ((ioi = Tgetnumber (argv[0].o)) < 0 || ioi >= ion) ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:800:16: note: in expansion of macro 'Tgetnumber' if ((ioi = Tgetnumber (argv[0].o)) < 0 || ioi >= ion) ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:800:16: note: in expansion of macro 'Tgetnumber' if ((ioi = Tgetnumber (argv[0].o)) < 0 || ioi >= ion) ^~~~~~~~~~ internal.c: In function 'Iwritegraph': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:817:16: note: in expansion of macro 'Tgetnumber' if ((ioi = Tgetnumber (argv[0].o)) < 0 || ioi >= ion) ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:817:16: note: in expansion of macro 'Tgetnumber' if ((ioi = Tgetnumber (argv[0].o)) < 0 || ioi >= ion) ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ internal.c:817:16: note: in expansion of macro 'Tgetnumber' if ((ioi = Tgetnumber (argv[0].o)) < 0 || ioi >= ion) ^~~~~~~~~~ tbl.h:97:24: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] #define Tgetinteger(p) (((Tinteger_t *) p)->i) ^ internal.c:819:36: note: in expansion of macro 'Tgetinteger' D2Lwritegraph (ioi, argv[1].o, Tgetinteger (argv[2].o)); ^~~~~~~~~~~ internal.c:809:22: warning: unused parameter 'argc' [-Wunused-parameter] int Iwritegraph (int argc, lvar_t *argv) { ^~~~ internal.c: In function 'growbufp': internal.c:826:61: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] bufp, ((newsize + BUFINCR - 1) / BUFINCR) * BUFINCR * BUFSIZE ^ internal.c: In function 'Isystem': internal.c:774:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system (bufp); ^~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC txtview.o txtview.c: In function 'TXTinit': txtview.c:100:12: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] txtx = r.o.x, txty = r.o.y; ^ txtview.c:100:26: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] txtx = r.o.x, txty = r.o.y; ^ txtview.c:101:16: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] txtwidth = r.c.x - r.o.x + 1, txtheight = r.c.y - r.o.y + 1; ^ txtview.c:101:47: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] txtwidth = r.c.x - r.o.x + 1, txtheight = r.c.y - r.o.y + 1; ^ txtview.c:139:9: warning: switch missing default case [-Wswitch-default] switch (i) { ^~~~~~ txtview.c: In function 'TXTmode': txtview.c:166:18: warning: unused parameter 'argc' [-Wunused-parameter] int TXTmode (int argc, lvar_t *argv) { ^~~~ txtview.c: In function 'TXTprocess': txtview.c:308:22: warning: unused parameter 'wi' [-Wunused-parameter] void TXTprocess (int wi, char *sp) { ^~ txtview.c: In function 'TXTtoggle': txtview.c:327:21: warning: unused parameter 'wi' [-Wunused-parameter] void TXTtoggle (int wi, void *data) { ^~ txtview.c: In function 'update': txtview.c:350:13: warning: switch missing default case [-Wswitch-default] switch (cnode->mode) { ^~~~~~ txtview.c: In function 'buildlist': txtview.c:403:22: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] pnode->u.f.t.n = ((Ttable_t *) pnode->vo)->n; ^ txtview.c:405:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] __max (pnode->u.f.t.n, 1) * sizeof (txtnode_t) ^ txtview.c:428:37: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] (char *) pnode->u.f.t.list, pnode->u.f.t.n, sizeof (txtnode_t), cmp ^~~~~ txtview.c: In function 'rebuildlist': txtview.c:444:22: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] pnode->u.f.t.n = ((Ttable_t *) pnode->vo)->n; ^ txtview.c:446:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] __max (pnode->u.f.t.n, 1) * sizeof (txtnode_t) ^ txtview.c:468:40: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort ((char *) pnode->u.f.t.list, pnode->u.f.t.n, sizeof (txtnode_t), cmp); ^~~~~ txtview.c: In function 'fillnode': txtview.c:485:5: warning: switch missing default case [-Wswitch-default] switch (cnode->mode) { ^~~~~~ txtview.c: In function 'unfillnode': txtview.c:536:5: warning: switch missing default case [-Wswitch-default] switch (cnode->mode) { ^~~~~~ txtview.c: In function 'cmp': txtview.c:589:13: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] anode = (txtnode_t *) a, bnode = (txtnode_t *) b; ^ txtview.c:589:38: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] anode = (txtnode_t *) a, bnode = (txtnode_t *) b; ^ In file included from txtview.c:20:0: tbl.h:97:24: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetinteger(p) (((Tinteger_t *) p)->i) ^ txtview.c:596:14: note: in expansion of macro 'Tgetinteger' d1 = Tgetinteger (anode->ko), d2 = Tgetinteger (bnode->ko); ^~~~~~~~~~~ tbl.h:97:24: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetinteger(p) (((Tinteger_t *) p)->i) ^ txtview.c:596:44: note: in expansion of macro 'Tgetinteger' d1 = Tgetinteger (anode->ko), d2 = Tgetinteger (bnode->ko); ^~~~~~~~~~~ txtview.c: In function 'add2seen': txtview.c:618:62: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] seenp = Marraygrow (seenp, (long) (seenn + SEENINCR) * SEENSIZE); ^ txtview.c:618:36: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] seenp = Marraygrow (seenp, (long) (seenn + SEENINCR) * SEENSIZE); ^ txtview.c: In function 'orderfunc': txtview.c:631:9: warning: switch missing default case [-Wswitch-default] switch (cnode->mode) { ^~~~~~ txtview.c: In function 'coordsfunc': txtview.c:649:29: warning: unused parameter 'wi' [-Wunused-parameter] static void coordsfunc (int wi, Gawdata_t *dp) { ^~ txtview.c: In function 'coords2func': txtview.c:666:30: warning: unused parameter 'wi' [-Wunused-parameter] static void coords2func (int wi, Gawdata_t *dp) { ^~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC tbl.o In file included from tbl.c:17:0: tbl.c: In function 'Tfreehelper': tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:122:39: note: in expansion of macro 'T_KVLISTSIZE' Mfree (kvlp, M_BYTE2SIZE (T_KVLISTSIZE (kvlp->n))); ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:122:39: note: in expansion of macro 'T_KVLISTSIZE' Mfree (kvlp, M_BYTE2SIZE (T_KVLISTSIZE (kvlp->n))); ^~~~~~~~~~~~ tbl.c:123:40: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Mfree (tp->lp, M_BYTE2SIZE (tp->ln * T_KVLISTPTRSIZE)); ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c: In function 'Treal': tbl.c:137:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (d == (double) (long) d) ^~ In file included from tbl.c:19:0: tbl.c: In function 'Tstring': tbl.h:49:28: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] #define T_STRINGSIZE(l) (l + Tstringoffset) ^ tbl.c:147:23: note: in expansion of macro 'T_STRINGSIZE' sp = Mnew ((long) T_STRINGSIZE (strlen (s)), T_STRING); ^~~~~~~~~~~~ tbl.c: In function 'Tcode': tbl.h:54:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_CODESIZE(l) (l * C_CODESIZE + Tcodeoffset) ^ tbl.c:158:26: note: in expansion of macro 'T_CODESIZE' codep = Mnew ((long) T_CODESIZE (cl), T_CODE); ^~~~~~~~~~ tbl.h:54:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_CODESIZE(l) (l * C_CODESIZE + Tcodeoffset) ^ tbl.c:158:26: note: in expansion of macro 'T_CODESIZE' codep = Mnew ((long) T_CODESIZE (cl), T_CODE); ^~~~~~~~~~ tbl.c:179:47: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] cn = (long) (s - (char *) &cp[i]) / sizeof (Code_t); ^ tbl.c:179:18: warning: conversion to 'int' from 'long unsigned int' may alter its value [-Wconversion] cn = (long) (s - (char *) &cp[i]) / sizeof (Code_t); ^ tbl.c: In function 'Ttable': tbl.c:202:38: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] lp = Mallocate ((long) (sizehint * T_KVLISTPTRSIZE)); ^ tbl.c: In function 'Tcopy': tbl.c:343:5: warning: switch missing default case [-Wswitch-default] switch (M_TYPEOF (fmvo)) { ^~~~~~ tbl.c: In function 'insert': tbl.c:35:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:402:35: note: in expansion of macro 'GETIKINDEX' if ((kvlp = tp->lp[(ind = GETIKINDEX (tp, ik))])) ^~~~~~~~~~ tbl.c:35:28: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:402:35: note: in expansion of macro 'GETIKINDEX' if ((kvlp = tp->lp[(ind = GETIKINDEX (tp, ik))])) ^~~~~~~~~~ In file included from tbl.c:19:0: tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ tbl.c:26:24: note: in expansion of macro 'Tgetnumber' T_ISNUMBER (ko) && Tgetnumber (ko) == (ik) \ ^~~~~~~~~~ tbl.c:404:21: note: in expansion of macro 'ISEQIK' if (ISEQIK (ik, kvp[i].ko)) ^~~~~~ tbl.c:26:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] T_ISNUMBER (ko) && Tgetnumber (ko) == (ik) \ ^ tbl.c:404:21: note: in expansion of macro 'ISEQIK' if (ISEQIK (ik, kvp[i].ko)) ^~~~~~ tbl.c:36:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:409:35: note: in expansion of macro 'GETRKINDEX' if ((kvlp = tp->lp[(ind = GETRKINDEX (tp, rk))])) ^~~~~~~~~~ tbl.c:36:28: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:409:35: note: in expansion of macro 'GETRKINDEX' if ((kvlp = tp->lp[(ind = GETRKINDEX (tp, rk))])) ^~~~~~~~~~ In file included from tbl.c:19:0: tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ tbl.c:29:24: note: in expansion of macro 'Tgetnumber' T_ISNUMBER (ko) && Tgetnumber (ko) == (rk) \ ^~~~~~~~~~ tbl.c:411:21: note: in expansion of macro 'ISEQRK' if (ISEQRK (rk, kvp[i].ko)) ^~~~~~ tbl.c:29:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] T_ISNUMBER (ko) && Tgetnumber (ko) == (rk) \ ^ tbl.c:411:21: note: in expansion of macro 'ISEQRK' if (ISEQRK (rk, kvp[i].ko)) ^~~~~~ tbl.c:37:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:417:35: note: in expansion of macro 'GETSKINDEX' if ((kvlp = tp->lp[(ind = GETSKINDEX (tp, sk))])) ^~~~~~~~~~ tbl.c:37:28: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:417:35: note: in expansion of macro 'GETSKINDEX' if ((kvlp = tp->lp[(ind = GETSKINDEX (tp, sk))])) ^~~~~~~~~~ tbl.c:399:5: warning: switch missing default case [-Wswitch-default] switch ((kt = M_TYPEOF (ko))) { ^~~~~~ tbl.c:35:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:426:31: note: in expansion of macro 'GETIKINDEX' case T_INTEGER: ind = GETIKINDEX (tp, ik); break; ^~~~~~~~~~ tbl.c:35:28: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:426:31: note: in expansion of macro 'GETIKINDEX' case T_INTEGER: ind = GETIKINDEX (tp, ik); break; ^~~~~~~~~~ tbl.c:36:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:427:31: note: in expansion of macro 'GETRKINDEX' case T_REAL: ind = GETRKINDEX (tp, rk); break; ^~~~~~~~~~ tbl.c:36:28: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:427:31: note: in expansion of macro 'GETRKINDEX' case T_REAL: ind = GETRKINDEX (tp, rk); break; ^~~~~~~~~~ tbl.c:37:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:428:31: note: in expansion of macro 'GETSKINDEX' case T_STRING: ind = GETSKINDEX (tp, sk); break; ^~~~~~~~~~ tbl.c:37:28: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:428:31: note: in expansion of macro 'GETSKINDEX' case T_STRING: ind = GETSKINDEX (tp, sk); break; ^~~~~~~~~~ tbl.c:425:9: warning: switch missing default case [-Wswitch-default] switch (kt) { ^~~~~~ In file included from tbl.c:19:0: tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:433:48: note: in expansion of macro 'T_KVLISTSIZE' tp->lp[ind] = kvlp = Mallocate ((long) T_KVLISTSIZE (1)); ^~~~~~~~~~~~ tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:436:49: note: in expansion of macro 'T_KVLISTSIZE' tp->lp[ind] = nkvlp = Mallocate ((long) T_KVLISTSIZE (kvlp->n * 2)); ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:436:49: note: in expansion of macro 'T_KVLISTSIZE' tp->lp[ind] = nkvlp = Mallocate ((long) T_KVLISTSIZE (kvlp->n * 2)); ^~~~~~~~~~~~ In file included from tbl.c:17:0: tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:441:35: note: in expansion of macro 'T_KVLISTSIZE' Mfree (kvlp, M_BYTE2SIZE (T_KVLISTSIZE (kvlp->n))), kvlp = nkvlp; ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:441:35: note: in expansion of macro 'T_KVLISTSIZE' Mfree (kvlp, M_BYTE2SIZE (T_KVLISTSIZE (kvlp->n))), kvlp = nkvlp; ^~~~~~~~~~~~ tbl.c:444:9: warning: switch missing default case [-Wswitch-default] switch (kt) { ^~~~~~ tbl.c: In function 'find': tbl.c:35:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:470:28: note: in expansion of macro 'GETIKINDEX' if ((kvlp = tp->lp[GETIKINDEX (tp, ik)])) ^~~~~~~~~~ In file included from tbl.c:19:0: tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ tbl.c:26:24: note: in expansion of macro 'Tgetnumber' T_ISNUMBER (ko) && Tgetnumber (ko) == (ik) \ ^~~~~~~~~~ tbl.c:472:21: note: in expansion of macro 'ISEQIK' if (ISEQIK (ik, kvp[i].ko)) ^~~~~~ tbl.c:26:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] T_ISNUMBER (ko) && Tgetnumber (ko) == (ik) \ ^ tbl.c:472:21: note: in expansion of macro 'ISEQIK' if (ISEQIK (ik, kvp[i].ko)) ^~~~~~ tbl.c:36:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:477:28: note: in expansion of macro 'GETRKINDEX' if ((kvlp = tp->lp[GETRKINDEX (tp, rk)])) ^~~~~~~~~~ In file included from tbl.c:19:0: tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ tbl.c:29:24: note: in expansion of macro 'Tgetnumber' T_ISNUMBER (ko) && Tgetnumber (ko) == (rk) \ ^~~~~~~~~~ tbl.c:479:21: note: in expansion of macro 'ISEQRK' if (ISEQRK (rk, kvp[i].ko)) ^~~~~~ tbl.c:29:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] T_ISNUMBER (ko) && Tgetnumber (ko) == (rk) \ ^ tbl.c:479:21: note: in expansion of macro 'ISEQRK' if (ISEQRK (rk, kvp[i].ko)) ^~~~~~ tbl.c:37:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:485:28: note: in expansion of macro 'GETSKINDEX' if ((kvlp = tp->lp[GETSKINDEX (tp, sk)])) ^~~~~~~~~~ tbl.c:467:5: warning: switch missing default case [-Wswitch-default] switch (M_TYPEOF (ko)) { ^~~~~~ tbl.c: In function 'delete': tbl.c:35:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:506:28: note: in expansion of macro 'GETIKINDEX' if ((kvlp = tp->lp[GETIKINDEX (tp, ik)])) ^~~~~~~~~~ In file included from tbl.c:19:0: tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ tbl.c:26:24: note: in expansion of macro 'Tgetnumber' T_ISNUMBER (ko) && Tgetnumber (ko) == (ik) \ ^~~~~~~~~~ tbl.c:508:21: note: in expansion of macro 'ISEQIK' if (ISEQIK (ik, kvp[i].ko)) ^~~~~~ tbl.c:26:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] T_ISNUMBER (ko) && Tgetnumber (ko) == (ik) \ ^ tbl.c:508:21: note: in expansion of macro 'ISEQIK' if (ISEQIK (ik, kvp[i].ko)) ^~~~~~ tbl.c:36:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:513:28: note: in expansion of macro 'GETRKINDEX' if ((kvlp = tp->lp[GETRKINDEX (tp, rk)])) ^~~~~~~~~~ In file included from tbl.c:19:0: tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ tbl.c:29:24: note: in expansion of macro 'Tgetnumber' T_ISNUMBER (ko) && Tgetnumber (ko) == (rk) \ ^~~~~~~~~~ tbl.c:515:21: note: in expansion of macro 'ISEQRK' if (ISEQRK (rk, kvp[i].ko)) ^~~~~~ tbl.c:29:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] T_ISNUMBER (ko) && Tgetnumber (ko) == (rk) \ ^ tbl.c:515:21: note: in expansion of macro 'ISEQRK' if (ISEQRK (rk, kvp[i].ko)) ^~~~~~ tbl.c:37:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:521:28: note: in expansion of macro 'GETSKINDEX' if ((kvlp = tp->lp[GETSKINDEX (tp, sk)])) ^~~~~~~~~~ tbl.c:503:5: warning: switch missing default case [-Wswitch-default] switch (M_TYPEOF (ko)) { ^~~~~~ tbl.c: In function 'copytable': tbl.c:545:32: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] lp = Mallocate ((long) (ln * T_KVLISTPTRSIZE)); ^ tbl.c:35:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:560:34: note: in expansion of macro 'GETIKINDEX' kvlp = lp[(ind = GETIKINDEX (tp, ik))]; ^~~~~~~~~~ tbl.c:35:28: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define GETIKINDEX(tp, ik) (uint64_t) ik % tp->ln ^ tbl.c:560:34: note: in expansion of macro 'GETIKINDEX' kvlp = lp[(ind = GETIKINDEX (tp, ik))]; ^~~~~~~~~~ tbl.c:36:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:564:34: note: in expansion of macro 'GETRKINDEX' kvlp = lp[(ind = GETRKINDEX (tp, rk))]; ^~~~~~~~~~ tbl.c:36:28: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define GETRKINDEX(tp, rk) (uint64_t) rk % tp->ln ^ tbl.c:564:34: note: in expansion of macro 'GETRKINDEX' kvlp = lp[(ind = GETRKINDEX (tp, rk))]; ^~~~~~~~~~ tbl.c:37:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:568:34: note: in expansion of macro 'GETSKINDEX' kvlp = lp[(ind = GETSKINDEX (tp, sk))]; ^~~~~~~~~~ tbl.c:37:28: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define GETSKINDEX(tp, sk) (uint64_t) *sk % tp->ln ^ tbl.c:568:34: note: in expansion of macro 'GETSKINDEX' kvlp = lp[(ind = GETSKINDEX (tp, sk))]; ^~~~~~~~~~ tbl.c:557:13: warning: switch missing default case [-Wswitch-default] switch (M_TYPEOF (kvp->ko)) { ^~~~~~ In file included from tbl.c:19:0: tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:572:52: note: in expansion of macro 'T_KVLISTSIZE' lp[ind] = kvlp = Mallocate ((long) T_KVLISTSIZE (1)); ^~~~~~~~~~~~ tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:575:53: note: in expansion of macro 'T_KVLISTSIZE' lp[ind] = nkvlp = Mallocate ((long) T_KVLISTSIZE (kvlp->n * 2)); ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:575:53: note: in expansion of macro 'T_KVLISTSIZE' lp[ind] = nkvlp = Mallocate ((long) T_KVLISTSIZE (kvlp->n * 2)); ^~~~~~~~~~~~ In file included from tbl.c:17:0: tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:580:43: note: in expansion of macro 'T_KVLISTSIZE' Mfree (kvlp, M_BYTE2SIZE (T_KVLISTSIZE (kvlp->n))); ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:580:43: note: in expansion of macro 'T_KVLISTSIZE' Mfree (kvlp, M_BYTE2SIZE (T_KVLISTSIZE (kvlp->n))); ^~~~~~~~~~~~ tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:585:36: note: in expansion of macro 'T_KVLISTSIZE' Mfree (okvlp, M_BYTE2SIZE (T_KVLISTSIZE (okvlp->n))); ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c:585:36: note: in expansion of macro 'T_KVLISTSIZE' Mfree (okvlp, M_BYTE2SIZE (T_KVLISTSIZE (okvlp->n))); ^~~~~~~~~~~~ tbl.c:587:34: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] Mfree (olp, M_BYTE2SIZE (oln * T_KVLISTPTRSIZE)); ^ mem.h:44:35: note: in definition of macro 'M_BYTE2SIZE' #define M_BYTE2SIZE(l) ((long) (((l + M_UNITSIZE - 1) / M_UNITSIZE))) ^ tbl.c: In function 'reccopytable': tbl.c:594:44: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] totp->lp = Mallocate ((long) (fmtp->ln * T_KVLISTPTRSIZE)); ^ In file included from tbl.c:19:0: tbl.h:64:28: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:603:41: note: in expansion of macro 'T_KVLISTSIZE' totp->lp[i] = Mallocate ((long) T_KVLISTSIZE (fmtp->lp[i]->n)); ^~~~~~~~~~~~ tbl.h:64:39: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define T_KVLISTSIZE(l) (l * T_KVSIZE + Tkvoffset) ^ tbl.c:603:41: note: in expansion of macro 'T_KVLISTSIZE' totp->lp[i] = Mallocate ((long) T_KVLISTSIZE (fmtp->lp[i]->n)); ^~~~~~~~~~~~ tbl.c:614:13: warning: switch missing default case [-Wswitch-default] switch (M_TYPEOF (fmkvp->vo)) { ^~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CC gfxview.o gfxview.c: In function 'GFXlabelcb': gfxview.c:200:9: warning: switch missing default case [-Wswitch-default] switch (evp->data) { ^~~~~~ gfxview.c:198:5: warning: switch missing default case [-Wswitch-default] switch (evp->type) { ^~~~~~ gfxview.c:224:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] s[0] = evp->data, s[1] = '\000', Tinss (to, "key", Tstring (s)); ^~~ gfxview.c: In function 'GFXevent': gfxview.c:263:10: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] ni = Gwidgets[evp->wi].udata; ^~~~~~~~ gfxview.c:270:9: warning: switch missing default case [-Wswitch-default] switch (evp->data) { ^~~~~~ gfxview.c:268:5: warning: switch missing default case [-Wswitch-default] switch (evp->type) { ^~~~~~ gfxview.c:342:16: warning: conversion to 'char' from 'int' may alter its value [-Wconversion] s[0] = evp->data, s[1] = '\000', Tinss (to, "key", Tstring (s)); ^~~ gfxview.c: In function 'GFXbuttoncb': gfxview.c:465:33: warning: unused parameter 'data' [-Wunused-parameter] void GFXbuttoncb (int wi, void *data) { ^~~~ gfxview.c: At top level: gfxview.c:484:6: warning: no previous prototype for 'GFXarrayresizecb' [-Wmissing-prototypes] void GFXarrayresizecb (int wi, Gawdata_t *dp) { ^~~~~~~~~~~~~~~~ In file included from gfxview.c:21:0: gfxview.c: In function 'GFXarrayresizecb': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:518:14: note: in expansion of macro 'Tgetnumber' wi = Tgetnumber (tkvi.kvp->ko); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:518:14: note: in expansion of macro 'Tgetnumber' wi = Tgetnumber (tkvi.kvp->ko); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:518:14: note: in expansion of macro 'Tgetnumber' wi = Tgetnumber (tkvi.kvp->ko); ^~~~~~~~~~ tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:526:26: note: in expansion of macro 'Tgetnumber' cp->sx = Tgetnumber (sxo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:526:26: note: in expansion of macro 'Tgetnumber' cp->sx = Tgetnumber (sxo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:526:26: note: in expansion of macro 'Tgetnumber' cp->sx = Tgetnumber (sxo); ^~~~~~~~~~ tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:528:26: note: in expansion of macro 'Tgetnumber' cp->sy = Tgetnumber (syo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:528:26: note: in expansion of macro 'Tgetnumber' cp->sy = Tgetnumber (syo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:528:26: note: in expansion of macro 'Tgetnumber' cp->sy = Tgetnumber (syo); ^~~~~~~~~~ gfxview.c: In function 'GFXcreatewidget': gfxview.c:602:53: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] gfxnodes, (long) (ni + GFXNODEINCR) * GFXNODESIZE ^ gfxview.c:602:27: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] gfxnodes, (long) (ni + GFXNODEINCR) * GFXNODESIZE ^ gfxview.c:611:53: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:611:25: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:618:34: warning: conversion to 'uint64_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] wattrp[wattri].u.u = ni, wattri++; ^~ gfxview.c:622:34: warning: conversion to 'uint64_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] wattrp[wattri].u.u = ni, wattri++; ^~ gfxview.c:615:9: warning: switch missing default case [-Wswitch-default] switch (type) { ^~~~~~ gfxview.c:586:26: warning: unused parameter 'argc' [-Wunused-parameter] int GFXcreatewidget (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXsetwidgetattr': gfxview.c:648:27: warning: unused parameter 'argc' [-Wunused-parameter] int GFXsetwidgetattr (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXgetwidgetattr': gfxview.c:695:61: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:695:33: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:703:69: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:703:41: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:722:9: warning: switch missing default case [-Wswitch-default] switch (mapp->type) { ^~~~~~ gfxview.c:662:27: warning: unused parameter 'argc' [-Wunused-parameter] int GFXgetwidgetattr (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXdestroywidget': gfxview.c:90:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ^ gfxview.c:788:19: note: in expansion of macro 'NODEID' nodeterm (NODEID (wi)); ^~~~~~ gfxview.c:765:27: warning: unused parameter 'argc' [-Wunused-parameter] int GFXdestroywidget (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXclear': gfxview.c:90:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ^ gfxview.c:804:19: note: in expansion of macro 'NODEID' rectterm (NODEID (wi)), rectinit (NODEID (wi)); ^~~~~~ gfxview.c:90:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ^ gfxview.c:804:43: note: in expansion of macro 'NODEID' rectterm (NODEID (wi)), rectinit (NODEID (wi)); ^~~~~~ gfxview.c:797:19: warning: unused parameter 'argc' [-Wunused-parameter] int GFXclear (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXsetgfxattr': gfxview.c:809:24: warning: unused parameter 'argc' [-Wunused-parameter] int GFXsetgfxattr (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXgetgfxattr': gfxview.c:868:9: warning: switch missing default case [-Wswitch-default] switch (gattr.style) { ^~~~~~ gfxview.c:823:24: warning: unused parameter 'argc' [-Wunused-parameter] int GFXgetgfxattr (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXbox': gfxview.c:90:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ^ gfxview.c:927:20: note: in expansion of macro 'NODEID' rectmerge (NODEID (wi), argv[1].o, r); ^~~~~~ gfxview.c: In function 'GFXpolygon': gfxview.c:945:42: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] gpp = Marraygrow (gpp, (long) pn * GPSIZE); ^ gfxview.c:945:32: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] gpp = Marraygrow (gpp, (long) pn * GPSIZE); ^ gfxview.c:951:19: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] Gpolygon (wi, pn, gpp, &gattr); ^~ gfxview.c: In function 'GFXsplinegon': gfxview.c:969:42: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] gpp = Marraygrow (gpp, (long) pn * GPSIZE); ^ gfxview.c:969:32: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] gpp = Marraygrow (gpp, (long) pn * GPSIZE); ^ gfxview.c:975:21: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] Gsplinegon (wi, pn, gpp, &gattr); ^~ gfxview.c: In function 'GFXarc': gfxview.c:90:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ^ gfxview.c:997:20: note: in expansion of macro 'NODEID' rectmerge (NODEID (wi), argv[1].o, r); ^~~~~~ gfxview.c: In function 'GFXtextsize': gfxview.c:1023:22: warning: unused parameter 'argc' [-Wunused-parameter] int GFXtextsize (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXcreatebitmap': gfxview.c:1045:26: warning: unused parameter 'argc' [-Wunused-parameter] int GFXcreatebitmap (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXdestroybitmap': gfxview.c:1070:27: warning: unused parameter 'argc' [-Wunused-parameter] int GFXdestroybitmap (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXreadbitmap': gfxview.c:1081:24: warning: unused parameter 'argc' [-Wunused-parameter] int GFXreadbitmap (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXwritebitmap': gfxview.c:1106:25: warning: unused parameter 'argc' [-Wunused-parameter] int GFXwritebitmap (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXbitblt': gfxview.c:90:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ^ gfxview.c:1138:20: note: in expansion of macro 'NODEID' rectmerge (NODEID (wi), argv[1].o, r); ^~~~~~ gfxview.c: In function 'GFXclearpick': gfxview.c:90:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ^ gfxview.c:1149:21: note: in expansion of macro 'NODEID' rectdelete (NODEID (wi), argv[1].o); ^~~~~~ gfxview.c:1143:23: warning: unused parameter 'argc' [-Wunused-parameter] int GFXclearpick (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXsetpick': gfxview.c:90:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ^ gfxview.c:1164:21: note: in expansion of macro 'NODEID' rectinsert (NODEID (wi), argv[1].o, r); ^~~~~~ gfxview.c:1154:21: warning: unused parameter 'argc' [-Wunused-parameter] int GFXsetpick (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXdisplaymenu': gfxview.c:90:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ^ gfxview.c:1182:25: note: in expansion of macro 'NODEID' if ((mi = menufind (NODEID (wi), mo, Tgettime (mo))) != -1) { ^~~~~~ In file included from gfxview.c:21:0: tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1198:39: note: in expansion of macro 'Tgetnumber' sprintf (buf, "%d", (int) Tgetnumber (meo)); ^~~~~~~~~~ tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1202:33: note: in expansion of macro 'Tgetnumber' sprintf (buf, "%f", Tgetnumber (meo)); ^~~~~~~~~~ gfxview.c:1193:9: warning: switch missing default case [-Wswitch-default] switch (Tgettype (meo)) { ^~~~~~ gfxview.c:90:20: warning: conversion to 'int' from 'uint64_t {aka long unsigned int}' may alter its value [-Wconversion] #define NODEID(wi) Gwidgets[wi].udata ^ gfxview.c:1209:17: note: in expansion of macro 'NODEID' menuinsert (NODEID (wi), mo, Tgettime (mo), mi); ^~~~~~ gfxview.c:1169:25: warning: unused parameter 'argc' [-Wunused-parameter] int GFXdisplaymenu (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'GFXcolormap': gfxview.c:1227:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (cni = 0; cni < sizeof (colornames) / sizeof (colorname_t); cni++) { ^ gfxview.c:1219:22: warning: unused parameter 'argc' [-Wunused-parameter] int GFXcolormap (int argc, lvar_t *argv) { ^~~~ gfxview.c: In function 'getwattr': gfxview.c:1265:53: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:1265:25: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:1269:9: warning: switch missing default case [-Wswitch-default] switch (*type) { ^~~~~~ gfxview.c:1306:53: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:1306:25: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:1334:65: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:1334:37: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] wattrp, (long) (wattrn + WATTRINCR) * WATTRSIZE ^ gfxview.c:1311:9: warning: switch missing default case [-Wswitch-default] switch (Gwattrmap[ap[ai]].type) { ^~~~~~ In file included from gfxview.c:21:0: gfxview.c: In function 'getxy': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1422:22: note: in expansion of macro 'Tgetnumber' xyp->x = Tgetnumber (xo), xyp->y = Tgetnumber (yo); ^~~~~~~~~~ tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1422:48: note: in expansion of macro 'Tgetnumber' xyp->x = Tgetnumber (xo), xyp->y = Tgetnumber (yo); ^~~~~~~~~~ gfxview.c: In function 'getint': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1431:15: note: in expansion of macro 'Tgetnumber' *ip = Tgetnumber (to); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1431:15: note: in expansion of macro 'Tgetnumber' *ip = Tgetnumber (to); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1431:15: note: in expansion of macro 'Tgetnumber' *ip = Tgetnumber (to); ^~~~~~~~~~ gfxview.c: In function 'getdouble': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1439:15: note: in expansion of macro 'Tgetnumber' *dp = Tgetnumber (to); ^~~~~~~~~~ gfxview.c: In function 'getcolor': tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1461:21: note: in expansion of macro 'Tgetnumber' cp->index = Tgetnumber (ko); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1461:21: note: in expansion of macro 'Tgetnumber' cp->index = Tgetnumber (ko); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1461:21: note: in expansion of macro 'Tgetnumber' cp->index = Tgetnumber (ko); ^~~~~~~~~~ gfxview.c:1480:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (cni = 0; cni < sizeof (colornames) / sizeof (colorname_t); cni++) { ^ In file included from gfxview.c:21:0: tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1503:21: note: in expansion of macro 'Tgetnumber' cp->r = Tgetnumber (ro); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1503:21: note: in expansion of macro 'Tgetnumber' cp->r = Tgetnumber (ro); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1503:21: note: in expansion of macro 'Tgetnumber' cp->r = Tgetnumber (ro); ^~~~~~~~~~ tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1504:21: note: in expansion of macro 'Tgetnumber' cp->g = Tgetnumber (go); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1504:21: note: in expansion of macro 'Tgetnumber' cp->g = Tgetnumber (go); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1504:21: note: in expansion of macro 'Tgetnumber' cp->g = Tgetnumber (go); ^~~~~~~~~~ tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1505:21: note: in expansion of macro 'Tgetnumber' cp->b = Tgetnumber (bo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1505:21: note: in expansion of macro 'Tgetnumber' cp->b = Tgetnumber (bo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1505:21: note: in expansion of macro 'Tgetnumber' cp->b = Tgetnumber (bo); ^~~~~~~~~~ tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1515:22: note: in expansion of macro 'Tgetnumber' hc = Tgetnumber (ho); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1515:22: note: in expansion of macro 'Tgetnumber' hc = Tgetnumber (ho); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1515:22: note: in expansion of macro 'Tgetnumber' hc = Tgetnumber (ho); ^~~~~~~~~~ tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1516:22: note: in expansion of macro 'Tgetnumber' sc = Tgetnumber (so); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1516:22: note: in expansion of macro 'Tgetnumber' sc = Tgetnumber (so); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1516:22: note: in expansion of macro 'Tgetnumber' sc = Tgetnumber (so); ^~~~~~~~~~ tbl.h:99:59: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1517:22: note: in expansion of macro 'Tgetnumber' vc = Tgetnumber (vo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1517:22: note: in expansion of macro 'Tgetnumber' vc = Tgetnumber (vo); ^~~~~~~~~~ tbl.h:99:24: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define Tgetnumber(p) (T_ISINTEGER (p) ? Tgetinteger (p) : Tgetreal (p)) ^ gfxview.c:1517:22: note: in expansion of macro 'Tgetnumber' vc = Tgetnumber (vo); ^~~~~~~~~~ gfxview.c: In function 'scanhsv': gfxview.c:1738:10: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] *h = strtod (strp, &endp); ^~~~~~ gfxview.c:1744:10: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] *s = strtod (strp, &endp); ^~~~~~ gfxview.c:1750:10: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] *v = strtod (strp, &endp); ^~~~~~ gfxview.c: In function 'hsv2rgb': gfxview.c:26:19: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define max(a, b) (((a) >= (b)) ? (a) : (b)) ^ gfxview.c:1761:9: note: in expansion of macro 'max' h = max (min (h, 1.0), 0.0); ^~~ gfxview.c:26:19: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define max(a, b) (((a) >= (b)) ? (a) : (b)) ^ gfxview.c:1762:9: note: in expansion of macro 'max' s = max (min (s, 1.0), 0.0); ^~~ gfxview.c:26:19: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] #define max(a, b) (((a) >= (b)) ? (a) : (b)) ^ gfxview.c:1763:9: note: in expansion of macro 'max' v = max (min (v, 1.0), 0.0); ^~~ gfxview.c:1766:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (s == 0.0) ^~ gfxview.c:1769:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (h == 1.0) ^~ gfxview.c:1771:13: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] h = h * 6.0; ^ gfxview.c:1777:9: warning: switch missing default case [-Wswitch-default] switch (i) { ^~~~~~ gfxview.c: In function 'getgattr': gfxview.c:1370:26: warning: 's2' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (strcmp (s2, "xor") == 0) ^~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' CCLD lefty make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' Making all in lneato make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lneato' cp ../../cmd/lneato/lneato.sh lneato chmod +x lneato make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lneato' Making all in dotty make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dotty' cp ../../cmd/dotty/dotty.sh dotty chmod +x dotty make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dotty' Making all in smyrna make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC glmotion.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from viewport.h:18, from glmotion.h:17, from glmotion.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ glmotion.c: In function 'graph_zoom': glmotion.c:75:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] real_zoom = (float) view->Topview->fitin_zoom * MIN_ZOOM; ^ glmotion.c: In function 'glmotion_zoom_inc': glmotion.c:102:13: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] graph_zoom(view->zoom - view->zoom * 0.25); ^~~~ glmotion.c:104:13: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] graph_zoom(view->zoom + view->zoom * 0.25); /*zoom out */ ^~~~ glmotion.c:97:11: warning: variable 'inc_value' set but not used [-Wunused-but-set-variable] float inc_value; ^~~~~~~~~ glmotion.c: In function 'glmotion_zoom': glmotion.c:109:31: warning: unused parameter 'v' [-Wunused-parameter] void glmotion_zoom(ViewInfo * v) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC draw.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from draw.h:16, from draw.c:19: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ In file included from draw.c:31:0: polytess.h:26:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] extern int testDraw(); ^~~~~~ draw.c: In function 'set_options': draw.c:113:35: warning: unused parameter 'op' [-Wunused-parameter] static void set_options(sdot_op * op, int param) ^~ draw.c: In function 'DrawBeziers': draw.c:217:31: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] view->Topview->global_z = view->Topview->global_z + o->layer*LAYER_DIFF; ^~~~ draw.c: In function 'DrawEllipse': draw.c:241:29: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] view->Topview->global_z=view->Topview->global_z+o->layer*LAYER_DIFF; ^~~~ draw.c:243:9: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] x = op->u.ellipse.x - dx; ^~ draw.c:244:9: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] y = op->u.ellipse.y - dy; ^~ draw.c: In function 'DrawPolygon': draw.c:288:29: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] view->Topview->global_z=view->Topview->global_z+o->layer*LAYER_DIFF; ^~~~ draw.c:286:9: warning: variable 'filled' set but not used [-Wunused-but-set-variable] int filled; ^~~~~~ draw.c: In function 'DrawPolyline': draw.c:342:29: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] view->Topview->global_z=view->Topview->global_z+o->layer*LAYER_DIFF; ^~~~ draw.c: In function 'GetglCompColor': draw.c:366:15: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (color != '\0') { ^~ draw.c:366:9: note: did you mean to dereference the pointer? if (color != '\0') { ^ draw.c: In function 'SetFillColor': draw.c:380:43: warning: unused parameter 'param' [-Wunused-parameter] static void SetFillColor(sdot_op* o, int param) ^~~~~ draw.c: In function 'SetPenColor': draw.c:389:41: warning: unused parameter 'param' [-Wunused-parameter] static void SetPenColor(sdot_op* o, int param) ^~~~~ draw.c: In function 'SetStyle': draw.c:400:31: warning: unused parameter 'o' [-Wunused-parameter] static void SetStyle(sdot_op* o, int param) ^ draw.c:400:38: warning: unused parameter 'param' [-Wunused-parameter] static void SetStyle(sdot_op* o, int param) ^~~~~ draw.c: In function 'SetFont': draw.c:407:38: warning: unused parameter 'param' [-Wunused-parameter] static void SetFont(sdot_op * o, int param) ^~~~~ draw.c: In function 'InsertImage': draw.c:423:6: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] x = o->op.u.image.pos.x; ^ draw.c:424:6: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] y = o->op.u.image.pos.y; ^ draw.c:430:13: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] i->width = o->op.u.image.pos.w; ^ draw.c:431:14: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] i->height = o->op.u.image.pos.h; ^ draw.c:413:42: warning: unused parameter 'param' [-Wunused-parameter] static void InsertImage(sdot_op * o, int param) ^~~~~ draw.c: In function 'EmbedText': draw.c:440:26: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] view->Topview->global_z=view->Topview->global_z+o->layer*LAYER_DIFF+0.05; ^~~~ draw.c:444:6: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] x=o->op.u.text.x ; ^ draw.c:447:6: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] x=o->op.u.text.x - o->op.u.text.width / 2.0; ^ draw.c:450:6: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] x=o->op.u.text.x - o->op.u.text.width; ^ draw.c:441:2: warning: switch missing default case [-Wswitch-default] switch (o->op.u.text.align) ^~~~~~ draw.c:454:4: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] y=o->op.u.text.y; ^ draw.c:462:27: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] font_op->op.u.font.name,font_op->op.u.font.size,0); ^~~~~~~ draw.c:465:55: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glCompDrawText3D(o->font,x,y,view->Topview->global_z,o->op.u.text.width,font_op->op.u.font.size); ^ draw.c:465:74: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glCompDrawText3D(o->font,x,y,view->Topview->global_z,o->op.u.text.width,font_op->op.u.font.size); ^~~~~~~ draw.c:436:39: warning: unused parameter 'param' [-Wunused-parameter] static void EmbedText(sdot_op* o, int param) ^~~~~ draw.c: In function 'drawBorders': draw.c:605:29: warning: declaration of 'view' shadows a global declaration [-Wshadow] void drawBorders(ViewInfo * view) ^~~~ In file included from draw.h:16:0, from draw.c:19: smyrnadefs.h:727:22: note: shadowed declaration is here extern ViewInfo *view; ^~~~ draw.c: In function 'EmbedText': draw.c:465:2: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] glCompDrawText3D(o->font,x,y,view->Topview->global_z,o->op.u.text.width,font_op->op.u.font.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC arcball.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from arcball.c:30: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ arcball.c: In function 'arcmouseClick': arcball.c:159:31: warning: unused parameter 'v' [-Wunused-parameter] void arcmouseClick(ViewInfo * v) ^ arcball.c: In function 'arcmouseDrag': arcball.c:168:30: warning: unused parameter 'v' [-Wunused-parameter] void arcmouseDrag(ViewInfo * v) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC gvprpipe.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from gvprpipe.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gvprpipe.c: In function 'outfn': gvprpipe.c:59:28: warning: unused parameter 'sp' [-Wunused-parameter] static ssize_t outfn(void *sp, const char *buf, size_t nbyte, void *dp) ^~ gvprpipe.c:59:69: warning: unused parameter 'dp' [-Wunused-parameter] static ssize_t outfn(void *sp, const char *buf, size_t nbyte, void *dp) ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC glexpose.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from viewport.h:18, from glexpose.h:17, from glexpose.c:13: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ In file included from glexpose.c:21:0: polytess.h:26:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] extern int testDraw(); ^~~~~~ glexpose.c:26:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void LoadGLTextures() // Load Bitmaps And Convert To Textures ^~~~~~~~~~~~~~ glexpose.c:61:5: warning: "UNUSED" is not defined, evaluates to 0 [-Wundef] #if UNUSED ^~~~~~ glexpose.c: In function 'drawRotatingAxis': glexpose.c:191:21: warning: conversion to 'GLfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] glColor4f(0, 1, 0, 0.3); ^~~ glexpose.c: In function 'glupdatecamera': glexpose.c:207:38: warning: declaration of 'view' shadows a global declaration [-Wshadow] static int glupdatecamera(ViewInfo * view) ^~~~ In file included from viewport.h:18:0, from glexpose.h:17, from glexpose.c:13: smyrnadefs.h:727:22: note: shadowed declaration is here extern ViewInfo *view; ^~~~ glexpose.c: In function 'glexpose_grid': glexpose.c:274:38: warning: declaration of 'view' shadows a global declaration [-Wshadow] static void glexpose_grid(ViewInfo * view) ^~~~ In file included from viewport.h:18:0, from glexpose.h:17, from glexpose.c:13: smyrnadefs.h:727:22: note: shadowed declaration is here extern ViewInfo *view; ^~~~ glexpose.c: In function 'glexpose_drawgraph': glexpose.c:299:42: warning: declaration of 'view' shadows a global declaration [-Wshadow] static int glexpose_drawgraph(ViewInfo * view) ^~~~ In file included from viewport.h:18:0, from glexpose.h:17, from glexpose.c:13: smyrnadefs.h:727:22: note: shadowed declaration is here extern ViewInfo *view; ^~~~ glexpose.c: In function 'glexpose_main': glexpose.c:348:30: warning: declaration of 'view' shadows a global declaration [-Wshadow] int glexpose_main(ViewInfo * view) ^~~~ In file included from viewport.h:18:0, from glexpose.h:17, from glexpose.c:13: smyrnadefs.h:727:22: note: shadowed declaration is here extern ViewInfo *view; ^~~~ glexpose.c:372:5: warning: "UNUSED" is not defined, evaluates to 0 [-Wundef] #if UNUSED ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC gltemplate.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from ./smyrnadefs.h:28, from ../../cmd/smyrna/gui/gui.h:17, from gltemplate.c:16: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gltemplate.c:57:6: warning: no previous prototype for 'print_gl_config_attrib' [-Wmissing-prototypes] void print_gl_config_attrib(GdkGLConfig * glconfig, ^~~~~~~~~~~~~~~~~~~~~~ gltemplate.c: In function 'realize': gltemplate.c:135:50: warning: unused parameter 'data' [-Wunused-parameter] static void realize(GtkWidget * widget, gpointer data) ^~~~ gltemplate.c: In function 'configure_event': gltemplate.c:189:25: warning: unused parameter 'event' [-Wunused-parameter] GdkEventConfigure * event, gpointer data) ^~~~~ gltemplate.c:189:41: warning: unused parameter 'data' [-Wunused-parameter] GdkEventConfigure * event, gpointer data) ^~~~ gltemplate.c: In function 'expose_event': gltemplate.c:238:60: warning: unused parameter 'event' [-Wunused-parameter] gboolean expose_event(GtkWidget * widget, GdkEventExpose * event, ^~~~~ gltemplate.c:239:18: warning: unused parameter 'data' [-Wunused-parameter] gpointer data) ^~~~ gltemplate.c: In function 'button_press_event': gltemplate.c:281:130: warning: conversion to 'int' from 'guint {aka unsigned int}' may change the sign of the result [-Wsign-conversion] view->widgets->common.functions.mousedown((glCompObj*)view->widgets,(GLfloat) event->x,(GLfloat) event->y,getGlCompMouseType(event->button)); ^~~~~ gltemplate.c:274:15: warning: variable 'g' set but not used [-Wunused-but-set-variable] Agraph_t* g; ^ gltemplate.c:271:48: warning: unused parameter 'widget' [-Wunused-parameter] static gboolean button_press_event(GtkWidget * widget, ^~~~~~ gltemplate.c:272:41: warning: unused parameter 'data' [-Wunused-parameter] GdkEventButton * event, gpointer data) ^~~~ gltemplate.c: In function 'button_release_event': gltemplate.c:306:128: warning: conversion to 'int' from 'guint {aka unsigned int}' may change the sign of the result [-Wsign-conversion] view->widgets->common.functions.mouseup((glCompObj*)view->widgets,(GLfloat) event->x,(GLfloat) event->y,getGlCompMouseType(event->button)); ^~~~~ gltemplate.c:300:50: warning: unused parameter 'widget' [-Wunused-parameter] static gboolean button_release_event(GtkWidget * widget, ^~~~~~ gltemplate.c:301:43: warning: unused parameter 'data' [-Wunused-parameter] GdkEventButton * event, gpointer data) ^~~~ gltemplate.c: In function 'key_press_event': gltemplate.c:324:29: warning: conversion to 'int' from 'guint {aka unsigned int}' may change the sign of the result [-Wsign-conversion] appmouse_key_press(view,event->keyval); ^~~~~ gltemplate.c:322:45: warning: unused parameter 'widget' [-Wunused-parameter] static gboolean key_press_event(GtkWidget * widget, GdkEventKey * event, gpointer data) ^~~~~~ gltemplate.c:322:83: warning: unused parameter 'data' [-Wunused-parameter] static gboolean key_press_event(GtkWidget * widget, GdkEventKey * event, gpointer data) ^~~~ gltemplate.c: In function 'key_release_event': gltemplate.c:333:31: warning: conversion to 'int' from 'guint {aka unsigned int}' may change the sign of the result [-Wsign-conversion] appmouse_key_release(view,event->keyval); ^~~~~ gltemplate.c:331:47: warning: unused parameter 'widget' [-Wunused-parameter] static gboolean key_release_event(GtkWidget * widget, GdkEventKey * event, gpointer data) ^~~~~~ gltemplate.c:331:85: warning: unused parameter 'data' [-Wunused-parameter] static gboolean key_release_event(GtkWidget * widget, GdkEventKey * event, gpointer data) ^~~~ gltemplate.c: In function 'scroll_event': gltemplate.c:340:26: warning: unused parameter 'widget' [-Wunused-parameter] scroll_event(GtkWidget * widget, GdkEventScroll * event, gpointer data) ^~~~~~ gltemplate.c:340:67: warning: unused parameter 'data' [-Wunused-parameter] scroll_event(GtkWidget * widget, GdkEventScroll * event, gpointer data) ^~~~ gltemplate.c: In function 'motion_notify_event': gltemplate.c:365:42: warning: unused parameter 'data' [-Wunused-parameter] GdkEventMotion * event, gpointer data) ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC callbacks.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from gui/callbacks.c:16: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gui/callbacks.c: In function 'new_graph_clicked': gui/callbacks.c:25:36: warning: unused parameter 'widget' [-Wunused-parameter] void new_graph_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:25:53: warning: unused parameter 'user_data' [-Wunused-parameter] void new_graph_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'open_graph_clicked': gui/callbacks.c:30:37: warning: unused parameter 'widget' [-Wunused-parameter] void open_graph_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:30:54: warning: unused parameter 'user_data' [-Wunused-parameter] void open_graph_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'save_graph_clicked': gui/callbacks.c:34:37: warning: unused parameter 'widget' [-Wunused-parameter] void save_graph_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:34:54: warning: unused parameter 'user_data' [-Wunused-parameter] void save_graph_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'save_as_graph_clicked': gui/callbacks.c:41:40: warning: unused parameter 'widget' [-Wunused-parameter] void save_as_graph_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:41:57: warning: unused parameter 'user_data' [-Wunused-parameter] void save_as_graph_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'remove_graph_clicked': gui/callbacks.c:66:39: warning: unused parameter 'widget' [-Wunused-parameter] void remove_graph_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:66:56: warning: unused parameter 'user_data' [-Wunused-parameter] void remove_graph_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'btn_clicked': gui/callbacks.c:72:37: warning: unused parameter 'widget' [-Wunused-parameter] static void btn_clicked(GtkWidget * widget, gvk_layout layout) ^~~~~~ gui/callbacks.c:72:56: warning: unused parameter 'layout' [-Wunused-parameter] static void btn_clicked(GtkWidget * widget, gvk_layout layout) ^~~~~~ gui/callbacks.c: In function 'btn_dot_clicked': gui/callbacks.c:102:51: warning: unused parameter 'user_data' [-Wunused-parameter] void btn_dot_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'btn_neato_clicked': gui/callbacks.c:107:53: warning: unused parameter 'user_data' [-Wunused-parameter] void btn_neato_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'btn_twopi_clicked': gui/callbacks.c:112:53: warning: unused parameter 'user_data' [-Wunused-parameter] void btn_twopi_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'btn_circo_clicked': gui/callbacks.c:117:53: warning: unused parameter 'user_data' [-Wunused-parameter] void btn_circo_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'btn_fdp_clicked': gui/callbacks.c:122:51: warning: unused parameter 'user_data' [-Wunused-parameter] void btn_fdp_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'on_newNode': gui/callbacks.c:140:10: warning: variable 'b' set but not used [-Wunused-but-set-variable] int *b; ^ gui/callbacks.c:139:10: warning: variable 'a' set but not used [-Wunused-but-set-variable] int *a; ^ gui/callbacks.c:137:29: warning: unused parameter 'button' [-Wunused-parameter] void on_newNode(GtkWidget * button, gpointer user_data) ^~~~~~ gui/callbacks.c:137:46: warning: unused parameter 'user_data' [-Wunused-parameter] void on_newNode(GtkWidget * button, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'dlgOpenGraph_OK_Clicked': gui/callbacks.c:146:42: warning: unused parameter 'button' [-Wunused-parameter] void dlgOpenGraph_OK_Clicked(GtkWidget * button, gpointer data) ^~~~~~ gui/callbacks.c: In function 'on_dlgOpenGraph_btnOK_clicked': gui/callbacks.c:155:48: warning: unused parameter 'widget' [-Wunused-parameter] void on_dlgOpenGraph_btnOK_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:155:65: warning: unused parameter 'user_data' [-Wunused-parameter] void on_dlgOpenGraph_btnOK_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'on_dlgOpenGraph_btncancel_clicked': gui/callbacks.c:173:52: warning: unused parameter 'widget' [-Wunused-parameter] void on_dlgOpenGraph_btncancel_clicked(GtkWidget * widget, ^~~~~~ gui/callbacks.c:174:21: warning: unused parameter 'user_data' [-Wunused-parameter] gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'attr_widgets_modifiedSlot': gui/callbacks.c:188:44: warning: unused parameter 'widget' [-Wunused-parameter] void attr_widgets_modifiedSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c: At top level: gui/callbacks.c:198:6: warning: no previous prototype for 'frmObject_set_scroll' [-Wmissing-prototypes] void frmObject_set_scroll(GtkWidget * widget, gpointer user_data) ^~~~~~~~~~~~~~~~~~~~ gui/callbacks.c: In function 'frmObject_set_scroll': gui/callbacks.c:198:39: warning: unused parameter 'widget' [-Wunused-parameter] void frmObject_set_scroll(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:198:56: warning: unused parameter 'user_data' [-Wunused-parameter] void frmObject_set_scroll(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'frmObjectBtnOK_clicked': gui/callbacks.c:204:41: warning: unused parameter 'widget' [-Wunused-parameter] void frmObjectBtnOK_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:204:58: warning: unused parameter 'user_data' [-Wunused-parameter] void frmObjectBtnOK_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'frmObjectBtnCancel_clicked': gui/callbacks.c:210:45: warning: unused parameter 'widget' [-Wunused-parameter] void frmObjectBtnCancel_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:210:62: warning: unused parameter 'user_data' [-Wunused-parameter] void frmObjectBtnCancel_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'on_clearconsolebtn_clicked': gui/callbacks.c:217:49: warning: unused parameter 'widget' [-Wunused-parameter] _BB void on_clearconsolebtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:217:66: warning: unused parameter 'user_data' [-Wunused-parameter] _BB void on_clearconsolebtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'on_hideconsolebtn_clicked': gui/callbacks.c:224:48: warning: unused parameter 'widget' [-Wunused-parameter] _BB void on_hideconsolebtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:224:65: warning: unused parameter 'user_data' [-Wunused-parameter] _BB void on_hideconsolebtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'on_consoledecbtn_clicked': gui/callbacks.c:229:47: warning: unused parameter 'widget' [-Wunused-parameter] _BB void on_consoledecbtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:229:64: warning: unused parameter 'user_data' [-Wunused-parameter] _BB void on_consoledecbtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/callbacks.c: In function 'on_consoleincbtn_clicked': gui/callbacks.c:243:47: warning: unused parameter 'widget' [-Wunused-parameter] _BB void on_consoleincbtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/callbacks.c:243:64: warning: unused parameter 'user_data' [-Wunused-parameter] _BB void on_consoleincbtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC appmouse.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from ./smyrnadefs.h:28, from gui/appmouse.h:16, from gui/appmouse.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gui/appmouse.c: In function 'apply_actions': gui/appmouse.c:37:5: warning: switch missing default case [-Wswitch-default] switch (a) { ^~~~~~ gui/appmouse.c: In function 'appmouse_left_click': gui/appmouse.c:92:43: warning: unused parameter 'v' [-Wunused-parameter] static void appmouse_left_click(ViewInfo* v,int x,int y) ^ gui/appmouse.c:92:49: warning: unused parameter 'x' [-Wunused-parameter] static void appmouse_left_click(ViewInfo* v,int x,int y) ^ gui/appmouse.c:92:55: warning: unused parameter 'y' [-Wunused-parameter] static void appmouse_left_click(ViewInfo* v,int x,int y) ^ gui/appmouse.c: In function 'appmouse_right_click': gui/appmouse.c:96:44: warning: unused parameter 'v' [-Wunused-parameter] static void appmouse_right_click(ViewInfo* v,int x,int y) ^ gui/appmouse.c:96:50: warning: unused parameter 'x' [-Wunused-parameter] static void appmouse_right_click(ViewInfo* v,int x,int y) ^ gui/appmouse.c:96:56: warning: unused parameter 'y' [-Wunused-parameter] static void appmouse_right_click(ViewInfo* v,int x,int y) ^ gui/appmouse.c: In function 'appmouse_down': gui/appmouse.c:104:24: warning: conversion to 'GLfloat {aka float}' from 'int' may alter its value [-Wconversion] v->mouse.initPos.x=x; ^ gui/appmouse.c:105:24: warning: conversion to 'GLfloat {aka float}' from 'int' may alter its value [-Wconversion] v->mouse.initPos.y=y; ^ gui/appmouse.c:106:20: warning: conversion to 'GLfloat {aka float}' from 'int' may alter its value [-Wconversion] v->mouse.pos.x=x; ^ gui/appmouse.c:107:20: warning: conversion to 'GLfloat {aka float}' from 'int' may alter its value [-Wconversion] v->mouse.pos.y=y; ^ gui/appmouse.c: In function 'appmouse_up': gui/appmouse.c:123:25: warning: conversion to 'GLfloat {aka float}' from 'int' may alter its value [-Wconversion] v->mouse.finalPos.x=x; ^ gui/appmouse.c:124:25: warning: conversion to 'GLfloat {aka float}' from 'int' may alter its value [-Wconversion] v->mouse.finalPos.y=y; ^ gui/appmouse.c: In function 'appmouse_drag': gui/appmouse.c:143:20: warning: conversion to 'GLfloat {aka float}' from 'int' may alter its value [-Wconversion] v->mouse.pos.x=x; ^ gui/appmouse.c:144:20: warning: conversion to 'GLfloat {aka float}' from 'int' may alter its value [-Wconversion] v->mouse.pos.y=y; ^ gui/appmouse.c: In function 'appmouse_key_release': gui/appmouse.c:213:43: warning: unused parameter 'key' [-Wunused-parameter] void appmouse_key_release(ViewInfo* v,int key) ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC md5.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] md5.c: In function 'md5_process': md5.c:193:7: warning: conversion to 'md5_word_t {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] xp[0] + (xp[1] << 8) + (xp[2] << 16) + (xp[3] << 24); ^~ md5.c: In function 'md5_append': md5.c:325:19: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] size_t left = nbytes; ^~~~~~ md5.c:333:19: warning: conversion to 'md5_word_t {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] pms->count[1] += nbytes >> 29; ^~ md5.c:342:31: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] memcpy(pms->buf + offset, p, copy); ^~~~ md5.c:346:7: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] left -= copy; ^~ md5.c: In function 'md5_finish': md5.c:374:26: warning: conversion to 'int' from 'md5_word_t {aka unsigned int}' may change the sign of the result [-Wsign-conversion] md5_append(pms, pad, ((55 - (pms->count[0] >> 3)) & 63) + 1); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC hier.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from hier.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ In file included from hier.c:17:0: hier.c: In function 'positionAllItems': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hier.c:72:24: note: in expansion of macro 'N_NEW' double *x_coords = N_NEW(hp->nvtxs[0], double); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hier.c:73:24: note: in expansion of macro 'N_NEW' double *y_coords = N_NEW(hp->nvtxs[0], double); ^~~~~ hier.c:97:2: warning: switch missing default case [-Wswitch-default] switch (parms->rescale) { ^~~~~~ In file included from hier.c:17:0: hier.c: In function 'initFocus': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hier.c:206:22: note: in expansion of macro 'N_NEW' fs->foci_nodes = N_NEW(ncnt, int); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hier.c:207:18: note: in expansion of macro 'N_NEW' fs->x_foci = N_NEW(ncnt, double); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ hier.c:208:18: note: in expansion of macro 'N_NEW' fs->y_foci = N_NEW(ncnt, double); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC trackball.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] trackball.c:70:6: warning: no previous prototype for 'vzero' [-Wmissing-prototypes] void vzero(float *v) ^~~~~ trackball.c:77:6: warning: no previous prototype for 'vset' [-Wmissing-prototypes] void vset(float *v, float x, float y, float z) ^~~~ trackball.c:84:6: warning: no previous prototype for 'vsub' [-Wmissing-prototypes] void vsub(const float *src1, const float *src2, float *dst) ^~~~ trackball.c:91:6: warning: no previous prototype for 'vcopy' [-Wmissing-prototypes] void vcopy(const float *v1, float *v2) ^~~~~ trackball.c:98:6: warning: no previous prototype for 'vcross' [-Wmissing-prototypes] void vcross(const float *v1, const float *v2, float *cross) ^~~~~~ trackball.c:108:7: warning: no previous prototype for 'vlength' [-Wmissing-prototypes] float vlength(const float *v) ^~~~~~~ trackball.c: In function 'vlength': trackball.c:110:12: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] return sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trackball.c: At top level: trackball.c:113:6: warning: no previous prototype for 'vscale' [-Wmissing-prototypes] void vscale(float *v, float div) ^~~~~~ trackball.c:120:6: warning: no previous prototype for 'vnormal' [-Wmissing-prototypes] void vnormal(float *v) ^~~~~~~ trackball.c: In function 'vnormal': trackball.c:122:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vscale(v, 1.0 / vlength(v)); ^~~ trackball.c: At top level: trackball.c:125:7: warning: no previous prototype for 'vdot' [-Wmissing-prototypes] float vdot(const float *v1, const float *v2) ^~~~ trackball.c:130:6: warning: no previous prototype for 'vadd' [-Wmissing-prototypes] void vadd(const float *src1, const float *src2, float *dst) ^~~~ trackball.c: In function 'trackball': trackball.c:156:13: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p1x == p2x && p1y == p2y) { ^~ trackball.c:156:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (p1x == p2x && p1y == p2y) { ^~ trackball.c:62:24: warning: conversion to 'float' alters 'double' constant value [-Wfloat-conversion] #define TRACKBALLSIZE (0.8) ^ trackball.c:167:45: note: in expansion of macro 'TRACKBALLSIZE' vset(p1, p1x, p1y, tb_project_to_sphere(TRACKBALLSIZE, p1x, p1y)); ^~~~~~~~~~~~~ trackball.c:62:24: warning: conversion to 'float' alters 'double' constant value [-Wfloat-conversion] #define TRACKBALLSIZE (0.8) ^ trackball.c:168:45: note: in expansion of macro 'TRACKBALLSIZE' vset(p2, p2x, p2y, tb_project_to_sphere(TRACKBALLSIZE, p2x, p2y)); ^~~~~~~~~~~~~ trackball.c:179:9: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] t = vlength(d) / (2.0 * TRACKBALLSIZE); ^~~~~~~ trackball.c:188:11: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] phi = 2.0 * asin(t); ^~~ trackball.c: In function 'axis_to_quat': trackball.c:200:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] vscale(q, sin(phi / 2.0)); ^~~ trackball.c:201:12: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] q[3] = cos(phi / 2.0); ^~~ trackball.c: In function 'tb_project_to_sphere': trackball.c:212:9: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] d = sqrt(x * x + y * y); ^~~~ trackball.c:214:6: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] z = sqrt(r * r - d * d); ^~~~ trackball.c:216:6: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] t = r / 1.41421356237309504880; ^ trackball.c: In function 'build_rotmatrix': trackball.c:291:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] m[0][0] = 1.0 - 2.0 * (q[1] * q[1] + q[2] * q[2]); ^~~ trackball.c:292:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] m[0][1] = 2.0 * (q[0] * q[1] - q[2] * q[3]); ^~~ trackball.c:293:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] m[0][2] = 2.0 * (q[2] * q[0] + q[1] * q[3]); ^~~ trackball.c:296:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] m[1][0] = 2.0 * (q[0] * q[1] + q[2] * q[3]); ^~~ trackball.c:297:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] m[1][1] = 1.0 - 2.0 * (q[2] * q[2] + q[0] * q[0]); ^~~ trackball.c:298:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] m[1][2] = 2.0 * (q[1] * q[2] - q[0] * q[3]); ^~~ trackball.c:301:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] m[2][0] = 2.0 * (q[2] * q[0] - q[1] * q[3]); ^~~ trackball.c:302:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] m[2][1] = 2.0 * (q[1] * q[2] + q[0] * q[3]); ^~~ trackball.c:303:15: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] m[2][2] = 1.0 - 2.0 * (q[1] * q[1] + q[0] * q[0]); ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC main.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from main.c:23: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ In file included from main.c:31:0: main.c: In function 'smyrnaPath': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ main.c:79:11: note: in expansion of macro 'N_NEW' buf = N_NEW(baselen+slen, char); ^~~~~ main.c: In function 'parseArgs': main.c:103:59: warning: declaration of 'view' shadows a global declaration [-Wshadow] static char *parseArgs(int argc, char *argv[], ViewInfo * view) ^~~~ In file included from ../../cmd/smyrna/gui/gui.h:17:0, from main.c:26: ./smyrnadefs.h:727:22: note: shadowed declaration is here extern ViewInfo *view; ^~~~ main.c:107:17: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] while ((c = getopt(argc, argv, ":eKf:txvV?")) != -1) { ^~~~~~ main.c:107:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((c = getopt(argc, argv, ":eKf:txvV?")) != -1) { ^~ main.c:108:2: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ main.c: At top level: main.c:164:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void display() ^~~~~~~ main.c:172:5: warning: "UNUSED" is not defined, evaluates to 0 [-Wundef] #if UNUSED ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC selectionfuncs.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from draw.h:16, from selectionfuncs.h:17, from selectionfuncs.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ selectionfuncs.c: In function 'pick_object': selectionfuncs.c:118:16: warning: conversion to 'float' alters 'int' constant value [-Wfloat-conversion] float dist=999999999; ^~~~~~~~~ selectionfuncs.c:127:33: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] nodeSize=GetOGLDistance(view->nodeScale*view->Topview->fitin_zoom/view->zoom); ^~~~ selectionfuncs.c:149:9: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] ed=point_to_lineseg_dist(p, posT,posH); ^~~~~~~~~~~~~~~~~~~~~ selectionfuncs.c: In function 'add_selpoly': selectionfuncs.c:280:55: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] selPoly->pts=realloc(selPoly->pts,sizeof(glCompPoint)*selPoly->cnt); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC hotkeymap.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from hotkeymap.h:16, from hotkeymap.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ hotkeymap.c:16:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] int static get_mouse_mode(const char *s) ^~~ hotkeymap.c:51:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] int static get_button(const char *s) ^~~ hotkeymap.c:85:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] int static get_view_mode(const char *s) ^~~ hotkeymap.c:99:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] int static get_mouse_button(const char *s) ^~~ hotkeymap.c:110:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] int static get_drag(const char *s) ^~~ hotkeymap.c: In function 'load_mouse_actions': hotkeymap.c:133:10: warning: declaration of 'line' shadows a global declaration [-Wshadow] char line[BUFSIZ]; ^~~~ In file included from smyrnadefs.h:36:0, from hotkeymap.h:16, from hotkeymap.c:14: ../../lib/glcomp/glutils.h:30:7: note: shadowed declaration is here } line; ^~~~ hotkeymap.c:150:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] v->mouse_action_count * sizeof(mouse_action_t)); ^ hotkeymap.c:156:3: warning: switch missing default case [-Wswitch-default] switch (idx) { ^~~~~~ hotkeymap.c:119:31: warning: unused parameter 'modefile' [-Wunused-parameter] void load_mouse_actions(char *modefile, ViewInfo * v) ^~~~~~~~ hotkeymap.c: In function 'get_mode': hotkeymap.c:273:40: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] int curDragging = ((v->mouse.dragX != 0) || (v->mouse.dragY != 0)); ^~ hotkeymap.c:273:65: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] int curDragging = ((v->mouse.dragX != 0) || (v->mouse.dragY != 0)); ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC smyrna_utils.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from smyrna_utils.h:16, from smyrna_utils.c:13: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ In file included from smyrna_utils.c:14:0: smyrna_utils.c: In function 'xml_string': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ smyrna_utils.c:74:8: note: in expansion of macro 'N_NEW' buf = N_NEW(bufsize, char); ^~~~~ smyrna_utils.c:81:25: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] buf = realloc(buf, bufsize); ^~~~~~~ smyrna_utils.c: In function 'l_float': smyrna_utils.c:203:12: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] return atof(p); ^~~~~~~ smyrna_utils.c: In function 'getPointFromStr': smyrna_utils.c:250:6: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] p.x=atof(a); ^~~~ smyrna_utils.c:253:6: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] p.y=atof(a); ^~~~ smyrna_utils.c:256:6: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] p.z=atof(a); ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC polytess.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from polytess.h:16, from polytess.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ In file included from polytess.c:14:0: polytess.h:26:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] extern int testDraw(); ^~~~~~ polytess.c: In function 'combineCallback': polytess.c:95:68: warning: unused parameter 'vertex_data' [-Wunused-parameter] static void CALLBACK combineCallback(GLdouble coords[3], GLdouble *vertex_data[4],GLfloat weight[4], GLdouble **dataOut) ^~~~~~~~~~~ polytess.c:95:91: warning: unused parameter 'weight' [-Wunused-parameter] static void CALLBACK combineCallback(GLdouble coords[3], GLdouble *vertex_data[4],GLfloat weight[4], GLdouble **dataOut) ^~~~~~ polytess.c: At top level: polytess.c:123:23: warning: function declaration isn't a prototype [-Wstrict-prototypes] static GLUtesselator* Init() ^~~~ polytess.c: In function 'Init': polytess.c:128:44: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback(tobj, GLU_TESS_VERTEX, &vertexCallback); ^ In file included from smyrnadefs.h:30:0, from polytess.h:16, from polytess.c:14: /usr/include/GL/glu.h:340:23: note: expected '_GLUfuncptr {aka void (*)(void)}' but argument is of type 'void (*)(GLvoid *) {aka void (*)(void *)}' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^~~~~~~~~~~~~~~ polytess.c:129:43: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback(tobj, GLU_TESS_BEGIN, &glBegin); ^ In file included from smyrnadefs.h:30:0, from polytess.h:16, from polytess.c:14: /usr/include/GL/glu.h:340:23: note: expected '_GLUfuncptr {aka void (*)(void)}' but argument is of type 'void (*)(GLenum) {aka void (*)(unsigned int)}' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^~~~~~~~~~~~~~~ polytess.c:131:44: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback(tobj, GLU_TESS_COMBINE,&combineCallback); ^ In file included from smyrnadefs.h:30:0, from polytess.h:16, from polytess.c:14: /usr/include/GL/glu.h:340:23: note: expected '_GLUfuncptr {aka void (*)(void)}' but argument is of type 'void (*)(GLdouble *, GLdouble **, GLfloat *, GLdouble **) {aka void (*)(double *, double **, float *, double **)}' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ^~~~~~~~~~~~~~~ polytess.c: In function 'Render_Contour2': polytess.c:151:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] d=(GLdouble**) malloc(sizeof(GLdouble)* p->op.u.polygon.cnt); ^ polytess.c: At top level: polytess.c:178:5: warning: "UNUSED" is not defined, evaluates to 0 [-Wundef] #if UNUSED ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC topviewfuncs.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from topviewfuncs.h:17, from topviewfuncs.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ topviewfuncs.c: In function 'set_boundaries': topviewfuncs.c:50:52: warning: unused parameter 't' [-Wunused-parameter] static void set_boundaries(Agraph_t * g, topview * t) ^ topviewfuncs.c: At top level: topviewfuncs.c:87:5: warning: "UNUSED" is not defined, evaluates to 0 [-Wundef] #if UNUSED ^~~~~~ topviewfuncs.c: In function 'getEdgeLength': topviewfuncs.c:147:8: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] rv=sqrt(rv); ^~~~ topviewfuncs.c: In function 'glCompColorxlate': topviewfuncs.c:154:7: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] c->R=cl.u.RGBA[0]; ^~ topviewfuncs.c:155:7: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] c->G=cl.u.RGBA[1]; ^~ topviewfuncs.c:156:7: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] c->B=cl.u.RGBA[2]; ^~ topviewfuncs.c:157:7: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] c->A=cl.u.RGBA[3]; ^~ topviewfuncs.c: In function 'object_color': topviewfuncs.c:204:9: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] c->R = cl.u.RGBA[0]; ^~ topviewfuncs.c:205:9: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] c->G = cl.u.RGBA[1]; ^~ topviewfuncs.c:206:9: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] c->B = cl.u.RGBA[2]; ^~ topviewfuncs.c:207:9: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] c->A = cl.u.RGBA[3]*Alpha; ^~ topviewfuncs.c:216:10: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] c->R = cl.u.RGBA[0]; ^~ topviewfuncs.c:217:13: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] c->G = cl.u.RGBA[1]; ^~ topviewfuncs.c:218:13: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] c->B = cl.u.RGBA[2]; ^~ topviewfuncs.c:219:13: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] c->A = cl.u.RGBA[3]; ^~ topviewfuncs.c: In function 'draw_edge': topviewfuncs.c:253:13: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glVertex3f(X1, Y1, posT->z); ^~ topviewfuncs.c:253:17: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glVertex3f(X1, Y1, posT->z); ^~ topviewfuncs.c:254:13: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glVertex3f(X1, Y1, posT->z); ^~ topviewfuncs.c:254:17: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glVertex3f(X1, Y1, posT->z); ^~ topviewfuncs.c:255:13: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glVertex3f(X2, Y2, posH->z); ^~ topviewfuncs.c:255:17: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glVertex3f(X2, Y2, posH->z); ^~ topviewfuncs.c:256:13: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glVertex3f(X2, Y2, posH->z); ^~ topviewfuncs.c:256:17: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glVertex3f(X2, Y2, posH->z); ^~ topviewfuncs.c: In function 'renderSelectedNodes': topviewfuncs.c:303:21: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] if(!ND_selected(v)); ^ topviewfuncs.c:303:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!ND_selected(v)); ^~ topviewfuncs.c:304:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' continue; ^~~~~~~~ topviewfuncs.c:320:29: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glVertex3f(pos.x,pos.y,pos.z+0.001); ^~~ topviewfuncs.c:322:38: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] drawCircle(pos.x,pos.y,nodeSize,pos.z+0.001); ^~~ topviewfuncs.c:334:53: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] glprintfglut(view->glutfont,pos.x,pos.y,pos.z+0.002,labelOf(g,v)); ^~~ topviewfuncs.c: In function 'renderNodes': topviewfuncs.c:358:14: warning: conversion to 'float' alters 'double' constant value [-Wfloat-conversion] draw_xdot(x,-0.2); ^ topviewfuncs.c:366:18: warning: conversion to 'float' alters 'double' constant value [-Wfloat-conversion] draw_xdot(x,-0.1); ^ topviewfuncs.c: In function 'renderSelectedEdges': topviewfuncs.c:456:15: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] posT.z +=0.01; ^~~~ topviewfuncs.c:457:15: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] posH.z +=0.01; ^~~~ In file included from topviewfuncs.c:23:0: topviewfuncs.c: In function 'makeXDotSpline': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ topviewfuncs.c:605:11: note: in expansion of macro 'N_NEW' pts = N_NEW(cnt,xdot_point); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ topviewfuncs.c:623:20: note: in expansion of macro 'N_NEW' op = (xdot_op*)N_NEW(sz,char); ^~~~~ topviewfuncs.c: In function 'edge_xdot': topviewfuncs.c:666:34: warning: unused parameter 'g' [-Wunused-parameter] static void edge_xdot (Agraph_t* g, Agedge_t* e, glCompColor c) ^ topviewfuncs.c:666:62: warning: unused parameter 'c' [-Wunused-parameter] static void edge_xdot (Agraph_t* g, Agedge_t* e, glCompColor c) ^ topviewfuncs.c: In function 'renderNodeLabels': topviewfuncs.c:725:13: warning: variable 'nodeSize' set but not used [-Wunused-but-set-variable] GLfloat nodeSize; ^~~~~~~~ topviewfuncs.c: In function 'cacheNodes': topviewfuncs.c:790:16: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glDeleteLists(t->cache.node_id,1); ^ topviewfuncs.c:791:22: warning: conversion to 'int' from 'GLuint {aka unsigned int}' may change the sign of the result [-Wsign-conversion] t->cache.node_id=glGenLists(1); ^~~~~~~~~~ topviewfuncs.c:792:15: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glNewList(t->cache.node_id,GL_COMPILE); ^ topviewfuncs.c: In function 'cacheEdges': topviewfuncs.c:803:16: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glDeleteLists(t->cache.edge_id,1); ^ topviewfuncs.c:804:22: warning: conversion to 'int' from 'GLuint {aka unsigned int}' may change the sign of the result [-Wsign-conversion] t->cache.edge_id=glGenLists(1); ^~~~~~~~~~ topviewfuncs.c:805:15: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glNewList(t->cache.edge_id,GL_COMPILE); ^ topviewfuncs.c: In function 'cacheSelectedEdges': topviewfuncs.c:814:16: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glDeleteLists(t->cache.seledge_id,1); ^ topviewfuncs.c:815:25: warning: conversion to 'int' from 'GLuint {aka unsigned int}' may change the sign of the result [-Wsign-conversion] t->cache.seledge_id=glGenLists(1); ^~~~~~~~~~ topviewfuncs.c:816:15: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glNewList(t->cache.seledge_id,GL_COMPILE); ^ topviewfuncs.c: In function 'cacheSelectedNodes': topviewfuncs.c:825:16: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glDeleteLists(t->cache.selnode_id,1); ^ topviewfuncs.c:826:25: warning: conversion to 'int' from 'GLuint {aka unsigned int}' may change the sign of the result [-Wsign-conversion] t->cache.selnode_id=glGenLists(1); ^~~~~~~~~~ topviewfuncs.c:827:15: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glNewList(t->cache.selnode_id,GL_COMPILE); ^ topviewfuncs.c: In function 'cacheNodeLabels': topviewfuncs.c:834:16: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glDeleteLists(t->cache.nodelabel_id,1); ^ topviewfuncs.c:835:27: warning: conversion to 'int' from 'GLuint {aka unsigned int}' may change the sign of the result [-Wsign-conversion] t->cache.nodelabel_id=glGenLists(1); ^~~~~~~~~~ topviewfuncs.c:836:15: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glNewList(t->cache.nodelabel_id,GL_COMPILE); ^ topviewfuncs.c: In function 'cacheEdgeLabels': topviewfuncs.c:843:16: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glDeleteLists(t->cache.edgelabel_id,1); ^ topviewfuncs.c:844:27: warning: conversion to 'int' from 'GLuint {aka unsigned int}' may change the sign of the result [-Wsign-conversion] t->cache.edgelabel_id=glGenLists(1); ^~~~~~~~~~ topviewfuncs.c:845:15: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glNewList(t->cache.edgelabel_id,GL_COMPILE); ^ topviewfuncs.c: In function 'updateSmGraph': topviewfuncs.c:879:24: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if((t->minedgelen == -1) || (t->minedgelen > eLength)) ^~ topviewfuncs.c:892:37: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] t->avgedgelength = totalELength / t->Edgecount; ^ topviewfuncs.c: In function 'renderSmGraph': topviewfuncs.c:948:13: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glCallList(t->cache.edge_id); ^ topviewfuncs.c:949:20: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glCallList(t->cache.seledge_id); ^ topviewfuncs.c:953:18: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glCallList(t->cache.edgelabel_id); ^ topviewfuncs.c:960:13: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glCallList(t->cache.node_id); ^ topviewfuncs.c:961:20: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glCallList(t->cache.selnode_id); ^ topviewfuncs.c:965:14: warning: conversion to 'GLuint {aka unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] glCallList(t->cache.nodelabel_id); ^ topviewfuncs.c:933:31: warning: unused parameter 'g' [-Wunused-parameter] void renderSmGraph(Agraph_t * g,topview* t) ^ topviewfuncs.c: In function 'freeSmGraph': topviewfuncs.c:971:29: warning: unused parameter 'g' [-Wunused-parameter] void freeSmGraph(Agraph_t * g,topview* t) ^ topviewfuncs.c:971:40: warning: unused parameter 't' [-Wunused-parameter] void freeSmGraph(Agraph_t * g,topview* t) ^ topviewfuncs.c: In function 'object_color': topviewfuncs.c:168:4: warning: 'vis' may be used uninitialized in this function [-Wmaybe-uninitialized] s = agxget (obj, attr); ~~^~~~~~~~~~~~~~~~~~~~ topviewfuncs.c:184:14: note: 'vis' was declared here Agsym_t* vis; ^~~ topviewfuncs.c: In function 'updateSmGraph': topviewfuncs.c:81:21: warning: 'bottom' may be used uninitialized in this function [-Wmaybe-uninitialized] view->bdyBottom = bottom; ~~~~~~~~~~~~~~~~^~~~~~~~ topviewfuncs.c:55:29: note: 'bottom' was declared here float left, right, top, bottom; ^~~~~~ topviewfuncs.c:79:18: warning: 'top' may be used uninitialized in this function [-Wmaybe-uninitialized] view->bdyTop = top; ~~~~~~~~~~~~~^~~~~ topviewfuncs.c:55:24: note: 'top' was declared here float left, right, top, bottom; ^~~ topviewfuncs.c:80:20: warning: 'right' may be used uninitialized in this function [-Wmaybe-uninitialized] view->bdxRight = right; ~~~~~~~~~~~~~~~^~~~~~~ topviewfuncs.c:55:17: note: 'right' was declared here float left, right, top, bottom; ^~~~~ topviewfuncs.c:78:19: warning: 'left' may be used uninitialized in this function [-Wmaybe-uninitialized] view->bdxLeft = left; ~~~~~~~~~~~~~~^~~~~~ topviewfuncs.c:55:11: note: 'left' was declared here float left, right, top, bottom; ^~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC topfisheyeview.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from topfisheyeview.h:16, from topfisheyeview.c:13: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ In file included from topfisheyeview.c:18:0: topfisheyeview.c: In function 'makeGraph': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ topfisheyeview.c:201:21: note: in expansion of macro 'N_NEW' v_data *graph = N_NEW(nv, v_data); ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ topfisheyeview.c:202:18: note: in expansion of macro 'N_NEW' int *edges = N_NEW(2 * ne + nv, int); /* reserve space for self loops */ ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ topfisheyeview.c:203:20: note: in expansion of macro 'N_NEW' float *ewgts = N_NEW(2 * ne + nv, float); ^~~~~ topfisheyeview.c:240:22: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] graph[i].ewgts[0] = 1 - i_nedges; ^ In file included from topfisheyeview.c:18:0: topfisheyeview.c: In function 'prepare_topological_fisheye': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ topfisheyeview.c:330:24: note: in expansion of macro 'N_NEW' double *x_coords = N_NEW(t->Nodecount, double); // initial x coordinates ^~~~~ ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ topfisheyeview.c:331:24: note: in expansion of macro 'N_NEW' double *y_coords = N_NEW(t->Nodecount, double); // initial y coordinates ^~~~~ topfisheyeview.c:338:18: warning: variable 'gg' set but not used [-Wunused-but-set-variable] ex_vtx_data *gg; ^~ topfisheyeview.c: In function 'get_active_frame': topfisheyeview.c:624:39: warning: unused parameter 't' [-Wunused-parameter] static int get_active_frame(topview * t) ^ topfisheyeview.c: In function 'get_temp_coords': topfisheyeview.c:715:14: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((x0 == 0) || (x1 == 0)) ^~ topfisheyeview.c:715:27: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((x0 == 0) || (x1 == 0)) ^~ topfisheyeview.c: In function 'changetopfishfocus': topfisheyeview.c:757:11: warning: unused parameter 'z' [-Wunused-parameter] float *z, int num_foci) ^ topfisheyeview.c: In function 'drawtopologicalfisheye': topfisheyeview.c:581:7: warning: 'color.B' may be used uninitialized in this function [-Wmaybe-uninitialized] glColor4f(color.R, color.G, color.B, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (GLfloat) view->defaultnodealpha); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ topfisheyeview.c:553:17: note: 'color.B' was declared here glCompColor color; ^~~~~ topfisheyeview.c:581:7: warning: 'color.G' may be used uninitialized in this function [-Wmaybe-uninitialized] glColor4f(color.R, color.G, color.B, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (GLfloat) view->defaultnodealpha); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ topfisheyeview.c:553:17: note: 'color.G' was declared here glCompColor color; ^~~~~ topfisheyeview.c:581:7: warning: 'color.R' may be used uninitialized in this function [-Wmaybe-uninitialized] glColor4f(color.R, color.G, color.B, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (GLfloat) view->defaultnodealpha); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ topfisheyeview.c:553:17: note: 'color.R' was declared here glCompColor color; ^~~~~ topfisheyeview.c:489:3: warning: 'color.B' may be used uninitialized in this function [-Wmaybe-uninitialized] glColor4f(color.R, color.G, color.B, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (GLfloat) view->defaultnodealpha); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ topfisheyeview.c:446:17: note: 'color.B' was declared here glCompColor color; ^~~~~ topfisheyeview.c:489:3: warning: 'color.G' may be used uninitialized in this function [-Wmaybe-uninitialized] glColor4f(color.R, color.G, color.B, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (GLfloat) view->defaultnodealpha); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ topfisheyeview.c:446:17: note: 'color.G' was declared here glCompColor color; ^~~~~ topfisheyeview.c:489:3: warning: 'color.R' may be used uninitialized in this function [-Wmaybe-uninitialized] glColor4f(color.R, color.G, color.B, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (GLfloat) view->defaultnodealpha); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ topfisheyeview.c:446:17: note: 'color.R' was declared here glCompColor color; ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC tvnodes.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from ./smyrnadefs.h:28, from ../../cmd/smyrna/gui/gui.h:17, from tvnodes.h:17, from tvnodes.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ tvnodes.c: In function 'create_text_column': tvnodes.c:158:26: warning: conversion to 'unsigned char:1' from 'int' may alter its value [-Wconversion] renderer->editable = editable; ^~~~~~~~ tvnodes.c: In function 'create_toggle_column': tvnodes.c:181:29: warning: conversion to 'unsigned char:1' from 'int' may alter its value [-Wconversion] renderer->activatable = editable; ^~~~~~~~ tvnodes.c: In function 'populate_data': tvnodes.c:206:48: warning: declaration of 'grid' shadows a global declaration [-Wshadow] static void populate_data(Agraph_t * g, grid * grid) ^~~~ tvnodes.c:30:3: note: shadowed declaration is here } grid; ^~~~ In file included from tvnodes.c:17:0: tvnodes.c: In function 'update_tree': ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ tvnodes.c:309:10: note: in expansion of macro 'N_NEW' types = N_NEW(g->count, GType); ^~~~~ tvnodes.c: In function 'add_column': tvnodes.c:329:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sizeof(gridCol *) * (g->count + 1)); ^ tvnodes.c: At top level: tvnodes.c:350:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] static grid *initGrid() ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC datalistcallbacks.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from ./smyrnadefs.h:28, from gui/gui.h:17, from gui/datalistcallbacks.h:18, from gui/datalistcallbacks.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gui/datalistcallbacks.c: In function 'btnTVEdit_clicked_cb': gui/datalistcallbacks.c:16:39: warning: unused parameter 'widget' [-Wunused-parameter] void btnTVEdit_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:16:56: warning: unused parameter 'user_data' [-Wunused-parameter] void btnTVEdit_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/datalistcallbacks.c: In function 'btnTVCancel_clicked_cb': gui/datalistcallbacks.c:21:41: warning: unused parameter 'widget' [-Wunused-parameter] void btnTVCancel_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:21:58: warning: unused parameter 'user_data' [-Wunused-parameter] void btnTVCancel_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/datalistcallbacks.c: In function 'btnTVOK_clicked_cb': gui/datalistcallbacks.c:24:37: warning: unused parameter 'widget' [-Wunused-parameter] void btnTVOK_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:24:54: warning: unused parameter 'user_data' [-Wunused-parameter] void btnTVOK_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/datalistcallbacks.c: At top level: gui/datalistcallbacks.c:29:6: warning: no previous prototype for 'on_TVNodes_close' [-Wmissing-prototypes] void on_TVNodes_close (GtkWidget * widget, gpointer user_data) ^~~~~~~~~~~~~~~~ gui/datalistcallbacks.c: In function 'on_TVNodes_close': gui/datalistcallbacks.c:29:36: warning: unused parameter 'widget' [-Wunused-parameter] void on_TVNodes_close (GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:29:53: warning: unused parameter 'user_data' [-Wunused-parameter] void on_TVNodes_close (GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/datalistcallbacks.c: In function 'btnTVReverse_clicked_cb': gui/datalistcallbacks.c:34:42: warning: unused parameter 'widget' [-Wunused-parameter] void btnTVReverse_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:34:59: warning: unused parameter 'user_data' [-Wunused-parameter] void btnTVReverse_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/datalistcallbacks.c: In function 'cgbTVSelect_toggled_cb': gui/datalistcallbacks.c:37:41: warning: unused parameter 'widget' [-Wunused-parameter] void cgbTVSelect_toggled_cb(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:37:58: warning: unused parameter 'user_data' [-Wunused-parameter] void cgbTVSelect_toggled_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/datalistcallbacks.c: In function 'cgbTVVisible_toggled_cb': gui/datalistcallbacks.c:40:42: warning: unused parameter 'widget' [-Wunused-parameter] void cgbTVVisible_toggled_cb(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:40:59: warning: unused parameter 'user_data' [-Wunused-parameter] void cgbTVVisible_toggled_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/datalistcallbacks.c: In function 'cgbTVHighlighted_toggled_cb': gui/datalistcallbacks.c:44:46: warning: unused parameter 'widget' [-Wunused-parameter] void cgbTVHighlighted_toggled_cb(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:44:63: warning: unused parameter 'user_data' [-Wunused-parameter] void cgbTVHighlighted_toggled_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/datalistcallbacks.c: In function 'btnTVFilterApply_clicked_cb': gui/datalistcallbacks.c:51:46: warning: unused parameter 'widget' [-Wunused-parameter] void btnTVFilterApply_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:51:63: warning: unused parameter 'user_data' [-Wunused-parameter] void btnTVFilterApply_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/datalistcallbacks.c: In function 'btnTVShowAll_clicked_cb': gui/datalistcallbacks.c:68:42: warning: unused parameter 'widget' [-Wunused-parameter] void btnTVShowAll_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:68:59: warning: unused parameter 'user_data' [-Wunused-parameter] void btnTVShowAll_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/datalistcallbacks.c: In function 'btnTVHideAll_clicked_cb': gui/datalistcallbacks.c:73:42: warning: unused parameter 'widget' [-Wunused-parameter] void btnTVHideAll_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:73:59: warning: unused parameter 'user_data' [-Wunused-parameter] void btnTVHideAll_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/datalistcallbacks.c: In function 'btnTVSaveAs_clicked_cb': gui/datalistcallbacks.c:78:41: warning: unused parameter 'widget' [-Wunused-parameter] void btnTVSaveAs_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:78:58: warning: unused parameter 'user_data' [-Wunused-parameter] void btnTVSaveAs_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/datalistcallbacks.c: At top level: gui/datalistcallbacks.c:83:6: warning: no previous prototype for 'btnTVSaveWith_clicked_cb' [-Wmissing-prototypes] void btnTVSaveWith_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~~~~~~~~~~~~~~~~ gui/datalistcallbacks.c: In function 'btnTVSaveWith_clicked_cb': gui/datalistcallbacks.c:83:43: warning: unused parameter 'widget' [-Wunused-parameter] void btnTVSaveWith_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/datalistcallbacks.c:83:60: warning: unused parameter 'user_data' [-Wunused-parameter] void btnTVSaveWith_clicked_cb(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC viewportcamera.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from viewportcamera.h:16, from viewportcamera.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ viewportcamera.c: In function 'new_viewport_camera': viewportcamera.c:23:56: warning: declaration of 'view' shadows a global declaration [-Wshadow] static viewport_camera *new_viewport_camera(ViewInfo * view) ^~~~ In file included from viewportcamera.h:16:0, from viewportcamera.c:14: smyrnadefs.h:727:22: note: shadowed declaration is here extern ViewInfo *view; ^~~~ viewportcamera.c:23:56: warning: unused parameter 'view' [-Wunused-parameter] static viewport_camera *new_viewport_camera(ViewInfo * view) ^~~~ viewportcamera.c: In function 'viewport_update_camera_indexes': viewportcamera.c:28:55: warning: declaration of 'view' shadows a global declaration [-Wshadow] static void viewport_update_camera_indexes(ViewInfo * view) ^~~~ In file included from viewportcamera.h:16:0, from viewportcamera.c:14: smyrnadefs.h:727:22: note: shadowed declaration is here extern ViewInfo *view; ^~~~ viewportcamera.c: In function 'add_camera_to_viewport': viewportcamera.c:36:59: warning: declaration of 'view' shadows a global declaration [-Wshadow] static viewport_camera *add_camera_to_viewport(ViewInfo * view) ^~~~ In file included from viewportcamera.h:16:0, from viewportcamera.c:14: smyrnadefs.h:727:22: note: shadowed declaration is here extern ViewInfo *view; ^~~~ In file included from viewportcamera.c:17:0: ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ viewportcamera.c:40:2: note: in expansion of macro 'RALLOC' RALLOC(view->camera_count, view->cameras, viewport_camera *); ^~~~~~ viewportcamera.c: In function 'menu_click_add_camera': viewportcamera.c:104:34: warning: unused parameter 'p' [-Wunused-parameter] void menu_click_add_camera(void *p) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC glcompui.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from ./smyrnadefs.h:28, from gui/glcompui.h:16, from gui/glcompui.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gui/glcompui.c: In function 'menu_click_pan': gui/glcompui.c:42:32: warning: unused parameter 'obj' [-Wunused-parameter] void menu_click_pan(glCompObj *obj, GLfloat x, GLfloat y, ^~~ gui/glcompui.c:42:45: warning: unused parameter 'x' [-Wunused-parameter] void menu_click_pan(glCompObj *obj, GLfloat x, GLfloat y, ^ gui/glcompui.c:42:56: warning: unused parameter 'y' [-Wunused-parameter] void menu_click_pan(glCompObj *obj, GLfloat x, GLfloat y, ^ gui/glcompui.c:43:25: warning: unused parameter 't' [-Wunused-parameter] glMouseButtonType t) ^ gui/glcompui.c: In function 'menu_click_zoom_minus': gui/glcompui.c:57:39: warning: unused parameter 'obj' [-Wunused-parameter] void menu_click_zoom_minus(glCompObj *obj, GLfloat x, GLfloat y, ^~~ gui/glcompui.c:57:52: warning: unused parameter 'x' [-Wunused-parameter] void menu_click_zoom_minus(glCompObj *obj, GLfloat x, GLfloat y, ^ gui/glcompui.c:57:63: warning: unused parameter 'y' [-Wunused-parameter] void menu_click_zoom_minus(glCompObj *obj, GLfloat x, GLfloat y, ^ gui/glcompui.c:58:25: warning: unused parameter 't' [-Wunused-parameter] glMouseButtonType t) ^ gui/glcompui.c: In function 'menu_click_zoom_plus': gui/glcompui.c:63:38: warning: unused parameter 'obj' [-Wunused-parameter] void menu_click_zoom_plus(glCompObj *obj, GLfloat x, GLfloat y, ^~~ gui/glcompui.c:63:51: warning: unused parameter 'x' [-Wunused-parameter] void menu_click_zoom_plus(glCompObj *obj, GLfloat x, GLfloat y, ^ gui/glcompui.c:63:62: warning: unused parameter 'y' [-Wunused-parameter] void menu_click_zoom_plus(glCompObj *obj, GLfloat x, GLfloat y, ^ gui/glcompui.c:64:24: warning: unused parameter 't' [-Wunused-parameter] glMouseButtonType t) ^ gui/glcompui.c: In function 'menu_switch_to_fisheye': gui/glcompui.c:69:47: warning: unused parameter 'obj' [-Wunused-parameter] static void menu_switch_to_fisheye(glCompObj *obj, GLfloat x, GLfloat y, ^~~ gui/glcompui.c:69:60: warning: unused parameter 'x' [-Wunused-parameter] static void menu_switch_to_fisheye(glCompObj *obj, GLfloat x, GLfloat y, ^ gui/glcompui.c:69:71: warning: unused parameter 'y' [-Wunused-parameter] static void menu_switch_to_fisheye(glCompObj *obj, GLfloat x, GLfloat y, ^ gui/glcompui.c:70:26: warning: unused parameter 't' [-Wunused-parameter] glMouseButtonType t) ^ gui/glcompui.c: In function 'menu_click_center': gui/glcompui.c:97:35: warning: unused parameter 'obj' [-Wunused-parameter] void menu_click_center(glCompObj *obj, GLfloat x, GLfloat y, ^~~ gui/glcompui.c:97:48: warning: unused parameter 'x' [-Wunused-parameter] void menu_click_center(glCompObj *obj, GLfloat x, GLfloat y, ^ gui/glcompui.c:97:59: warning: unused parameter 'y' [-Wunused-parameter] void menu_click_center(glCompObj *obj, GLfloat x, GLfloat y, ^ gui/glcompui.c:98:28: warning: unused parameter 't' [-Wunused-parameter] glMouseButtonType t) ^ gui/glcompui.c: In function 'switch2D3D': gui/glcompui.c:110:41: warning: unused parameter 'x' [-Wunused-parameter] void switch2D3D(glCompObj *obj, GLfloat x, GLfloat y, ^ gui/glcompui.c:110:52: warning: unused parameter 'y' [-Wunused-parameter] void switch2D3D(glCompObj *obj, GLfloat x, GLfloat y, ^ gui/glcompui.c: In function 'CBglCompMouseUp': gui/glcompui.c:141:40: warning: unused parameter 'obj' [-Wunused-parameter] static void CBglCompMouseUp(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t) ^~~ gui/glcompui.c:141:53: warning: unused parameter 'x' [-Wunused-parameter] static void CBglCompMouseUp(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t) ^ gui/glcompui.c:141:64: warning: unused parameter 'y' [-Wunused-parameter] static void CBglCompMouseUp(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t) ^ gui/glcompui.c:141:85: warning: unused parameter 't' [-Wunused-parameter] static void CBglCompMouseUp(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t) ^ gui/glcompui.c: In function 'CBglCompMouseRightClick': gui/glcompui.c:150:48: warning: unused parameter 'obj' [-Wunused-parameter] static void CBglCompMouseRightClick(glCompObj *obj, GLfloat x, GLfloat y, ^~~ gui/glcompui.c: In function 'attrList': gui/glcompui.c:160:33: warning: unused parameter 'obj' [-Wunused-parameter] static void attrList(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t) ^~~ gui/glcompui.c:160:46: warning: unused parameter 'x' [-Wunused-parameter] static void attrList(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t) ^ gui/glcompui.c:160:57: warning: unused parameter 'y' [-Wunused-parameter] static void attrList(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t) ^ gui/glcompui.c:160:78: warning: unused parameter 't' [-Wunused-parameter] static void attrList(glCompObj *obj, GLfloat x, GLfloat y, glMouseButtonType t) ^ gui/glcompui.c: In function 'glCompMouseMove': gui/glcompui.c:165:53: warning: unused parameter 'x' [-Wunused-parameter] static void glCompMouseMove(glCompObj *obj, GLfloat x, GLfloat y) ^ gui/glcompui.c:165:64: warning: unused parameter 'y' [-Wunused-parameter] static void glCompMouseMove(glCompObj *obj, GLfloat x, GLfloat y) ^ gui/glcompui.c: In function 'selectedges': gui/glcompui.c:181:36: warning: unused parameter 'obj' [-Wunused-parameter] static void selectedges(glCompObj *obj, GLfloat x, GLfloat y) ^~~ gui/glcompui.c:181:49: warning: unused parameter 'x' [-Wunused-parameter] static void selectedges(glCompObj *obj, GLfloat x, GLfloat y) ^ gui/glcompui.c:181:60: warning: unused parameter 'y' [-Wunused-parameter] static void selectedges(glCompObj *obj, GLfloat x, GLfloat y) ^ gui/glcompui.c: In function 'selectnodes': gui/glcompui.c:189:36: warning: unused parameter 'obj' [-Wunused-parameter] static void selectnodes(glCompObj *obj, GLfloat x, GLfloat y) ^~~ gui/glcompui.c:189:49: warning: unused parameter 'x' [-Wunused-parameter] static void selectnodes(glCompObj *obj, GLfloat x, GLfloat y) ^ gui/glcompui.c:189:60: warning: unused parameter 'y' [-Wunused-parameter] static void selectnodes(glCompObj *obj, GLfloat x, GLfloat y) ^ gui/glcompui.c: In function 'glcreate_gl_topview_menu': gui/glcompui.c:289:11: warning: conversion to 'GLfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] c.R = 0.80; ^~~~ gui/glcompui.c:290:11: warning: conversion to 'GLfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] c.G = 0.6; ^~~ gui/glcompui.c:291:11: warning: conversion to 'GLfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] c.B = 0.6; ^~~ gui/glcompui.c:292:11: warning: conversion to 'GLfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] c.A = 1.6; ^~~ gui/glcompui.c:342:25: warning: conversion to 'GLfloat {aka float}' alters 'double' constant value [-Wfloat-conversion] p->common.color.A = 0.2; ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC viewport.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from viewport.h:18, from viewport.c:20: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ viewport.c: In function 'clear_viewport': viewport.c:80:39: warning: declaration of 'view' shadows a global declaration [-Wshadow] static void clear_viewport(ViewInfo * view) ^~~~ viewport.c:51:11: note: shadowed declaration is here ViewInfo *view; ^~~~ viewport.c: At top level: viewport.c:127:5: warning: "TEST_FOR_CHANGE" is not defined, evaluates to 0 [-Wundef] #if TEST_FOR_CHANGE ^~~~~~~~~~~~~~~ viewport.c: In function 'close_graph': viewport.c:144:28: warning: declaration of 'view' shadows a global declaration [-Wshadow] int close_graph(ViewInfo * view, int graphid) ^~~~ viewport.c:51:11: note: shadowed declaration is here ViewInfo *view; ^~~~ viewport.c:148:5: warning: "TEST_FOR_CHANGE" is not defined, evaluates to 0 [-Wundef] #if TEST_FOR_CHANGE ^~~~~~~~~~~~~~~ viewport.c:144:38: warning: unused parameter 'graphid' [-Wunused-parameter] int close_graph(ViewInfo * view, int graphid) ^~~~~~~ viewport.c: In function 'get_attribute_value': viewport.c:180:33: warning: declaration of 'attr' shadows a global declaration [-Wshadow] char *get_attribute_value(char *attr, ViewInfo * view, Agraph_t * g) ^~~~ In file included from viewport.c:24:0: ../../cmd/smyrna/gui/gui.h:48:22: note: shadowed declaration is here extern attribute attr[MAXIMUM_WIDGET_COUNT]; ^~~~ viewport.c:180:50: warning: declaration of 'view' shadows a global declaration [-Wshadow] char *get_attribute_value(char *attr, ViewInfo * view, Agraph_t * g) ^~~~ viewport.c:51:11: note: shadowed declaration is here ViewInfo *view; ^~~~ viewport.c: In function 'set_viewport_settings_from_template': viewport.c:189:53: warning: declaration of 'view' shadows a global declaration [-Wshadow] void set_viewport_settings_from_template(ViewInfo * view, Agraph_t * g) ^~~~ viewport.c:51:11: note: shadowed declaration is here ViewInfo *view; ^~~~ viewport.c:304:21: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] view->nodeScale=atof(get_attribute_value("nodesize", view, g))*.30; ^~~~ viewport.c:327:2: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] atof(get_attribute_value("labelnumberofnodes", view, g)); ^~~~ viewport.c: In function 'gl_main_expose': viewport.c:342:41: warning: unused parameter 'data' [-Wunused-parameter] static gboolean gl_main_expose(gpointer data) ^~~~ viewport.c: In function 'init_viewport': viewport.c:365:31: warning: declaration of 'view' shadows a global declaration [-Wshadow] void init_viewport(ViewInfo * view) ^~~~ viewport.c:51:11: note: shadowed declaration is here ViewInfo *view; ^~~~ viewport.c: In function 'refreshViewport': viewport.c:691:26: warning: unused parameter 'doClear' [-Wunused-parameter] void refreshViewport(int doClear) ^~~~~~~ viewport.c: In function 'add_graph_to_viewport': viewport.c:724:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] sizeof(Agraph_t *) * view->graphCount); ^ viewport.c: In function 'append_to_md5': viewport.c:766:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] md5_append(&pms, (unsigned char *) str, (int) strlen(str)); ^ viewport.c:764:32: warning: unused parameter 'chan' [-Wunused-parameter] static int append_to_md5(void *chan, const char *str) ^~~~ viewport.c: In function 'flush_md5': viewport.c:770:28: warning: unused parameter 'chan' [-Wunused-parameter] static int flush_md5(void *chan) ^~~~ viewport.c: In function 'setGdkColor': viewport.c:1047:15: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (color != '\0') { ^~ viewport.c:1047:9: note: did you mean to dereference the pointer? if (color != '\0') { ^ viewport.c:1049:11: warning: conversion to 'guint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] c->red = (int) (cl.u.RGBA[0] * 65535.0); ^ viewport.c:1050:13: warning: conversion to 'guint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] c->green = (int) (cl.u.RGBA[1] * 65535.0); ^ viewport.c:1051:12: warning: conversion to 'guint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] c->blue = (int) (cl.u.RGBA[2] * 65535.0); ^ viewport.c: At top level: viewport.c:1082:7: warning: no previous prototype for 'interpol' [-Wmissing-prototypes] float interpol(float minv, float maxv, float minc, float maxc, float x) ^~~~~~~~ viewport.c: In function 'set_color_theme_color': viewport.c:1134:12: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] av_perc = 1.0 / (float) (colorcnt-1); ^~~ viewport.c:1137:23: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] sc->s[ind].c.R = cl.u.RGBA[0]; ^~ viewport.c:1138:23: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] sc->s[ind].c.G = cl.u.RGBA[1]; ^~ viewport.c:1139:23: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] sc->s[ind].c.B = cl.u.RGBA[2]; ^~ viewport.c:1140:23: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] sc->s[ind].c.A = cl.u.RGBA[3]; ^~ viewport.c:1141:28: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] sc->s[ind].perc = ind * av_perc; ^ viewport.c:1145:12: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] av_perc = 1.0 / (float) (colorcnt); ^~~ viewport.c:1148:23: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] sc->s[ind].c.R = cl.u.RGBA[0]; ^~ viewport.c:1149:23: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] sc->s[ind].c.G = cl.u.RGBA[1]; ^~ viewport.c:1150:23: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] sc->s[ind].c.B = cl.u.RGBA[2]; ^~ viewport.c:1151:23: warning: conversion to 'GLfloat {aka float}' from 'double' may alter its value [-Wfloat-conversion] sc->s[ind].c.A = cl.u.RGBA[3]; ^~ viewport.c:1152:32: warning: conversion to 'float' from 'int' may alter its value [-Wconversion] sc->s[ind].perc = (ind+1) * av_perc; ^ viewport.c: In function 'create_color_theme': viewport.c:1192:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((themeid < 0) || (NUM_SCHEMES <= themeid)) { ^~ In file included from viewport.c:31:0: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ viewport.c:1202:12: note: in expansion of macro 'N_NEW' s->s = N_NEW(s->schemacount,colorschema); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC gui.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from ./smyrnadefs.h:28, from gui/gui.h:17, from gui/gui.c:17: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gui/gui.c: In function 'create_object_properties': gui/gui.c:65:15: warning: declaration of 'xml' shadows a global declaration [-Wshadow] GladeXML *xml; ^~~ gui/gui.c:36:11: note: shadowed declaration is here GladeXML *xml; //global libglade vars ^~~ gui/gui.c: In function 'load_graph_properties': gui/gui.c:158:39: warning: unused parameter 'graph' [-Wunused-parameter] void load_graph_properties(Agraph_t * graph) ^~~~~ gui/gui.c: In function 'update_graph_properties': gui/gui.c:169:9: warning: declaration of 'respond' shadows a global declaration [-Wshadow] int respond = 0; ^~~~~~~ In file included from gui/gui.h:17:0, from gui/gui.c:17: ./smyrnadefs.h:729:16: note: shadowed declaration is here extern int respond; ^~~~~~~ gui/gui.c:219:2: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (char *) gtk_entry_get_text((GtkEntry *) ^ gui/gui.c:166:40: warning: unused parameter 'graph' [-Wunused-parameter] int update_graph_properties(Agraph_t * graph) //updates graph from gui ^~~~~ gui/gui.c: At top level: gui/gui.c:250:5: warning: "UNUSED" is not defined, evaluates to 0 [-Wundef] #if UNUSED ^~~~~~ gui/gui.c: In function 'load_attributes': gui/gui.c:292:10: warning: declaration of 'line' shadows a global declaration [-Wshadow] char line[BUFSIZ]; ^~~~ In file included from ./smyrnadefs.h:36:0, from gui/gui.h:17, from gui/gui.c:17: ../../lib/glcomp/glutils.h:30:7: note: shadowed declaration is here } line; ^~~~ In file included from gui/gui.c:23:0: ../../lib/common/memory.h:42:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define RALLOC(size,ptr,type) ((type*)grealloc(ptr,(size)*sizeof(type))) ^ gui/gui.c:362:4: note: in expansion of macro 'RALLOC' RALLOC(attr[attrcount].ComboValuesCount, ^~~~~~ gui/gui.c: At top level: gui/gui.c:465:6: warning: no previous prototype for 'get_gtktextview_text' [-Wmissing-prototypes] void get_gtktextview_text(GtkTextView * w, agxbuf * xbuf) ^~~~~~~~~~~~~~~~~~~~ gui/gui.c: In function 'get_gtktextview_text': gui/gui.c:467:9: warning: variable 'charcnt' set but not used [-Wunused-but-set-variable] int charcnt; ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC toolboxcallbacks.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from gui/toolboxcallbacks.h:16, from gui/toolboxcallbacks.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gui/toolboxcallbacks.c: In function 'btnToolZoomOut_clicked': gui/toolboxcallbacks.c:25:41: warning: unused parameter 'widget' [-Wunused-parameter] void btnToolZoomOut_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/toolboxcallbacks.c:25:58: warning: unused parameter 'user_data' [-Wunused-parameter] void btnToolZoomOut_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/toolboxcallbacks.c: In function 'btnToolZoomFit_clicked': gui/toolboxcallbacks.c:30:41: warning: unused parameter 'widget' [-Wunused-parameter] void btnToolZoomFit_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/toolboxcallbacks.c:30:58: warning: unused parameter 'user_data' [-Wunused-parameter] void btnToolZoomFit_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/toolboxcallbacks.c: In function 'btnToolFit_clicked': gui/toolboxcallbacks.c:64:37: warning: unused parameter 'widget' [-Wunused-parameter] void btnToolFit_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/toolboxcallbacks.c:64:54: warning: unused parameter 'user_data' [-Wunused-parameter] void btnToolFit_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/toolboxcallbacks.c: In function 'btnToolMove_clicked': gui/toolboxcallbacks.c:102:38: warning: unused parameter 'widget' [-Wunused-parameter] void btnToolMove_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/toolboxcallbacks.c:102:55: warning: unused parameter 'user_data' [-Wunused-parameter] void btnToolMove_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/toolboxcallbacks.c: In function 'btnToolAddNode_clicked': gui/toolboxcallbacks.c:106:41: warning: unused parameter 'widget' [-Wunused-parameter] void btnToolAddNode_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/toolboxcallbacks.c:106:58: warning: unused parameter 'user_data' [-Wunused-parameter] void btnToolAddNode_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/toolboxcallbacks.c: In function 'btnToolDeleteNode_clicked': gui/toolboxcallbacks.c:109:44: warning: unused parameter 'widget' [-Wunused-parameter] void btnToolDeleteNode_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/toolboxcallbacks.c:109:61: warning: unused parameter 'user_data' [-Wunused-parameter] void btnToolDeleteNode_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/toolboxcallbacks.c: In function 'btnToolFindNode_clicked': gui/toolboxcallbacks.c:112:42: warning: unused parameter 'widget' [-Wunused-parameter] void btnToolFindNode_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/toolboxcallbacks.c:112:59: warning: unused parameter 'user_data' [-Wunused-parameter] void btnToolFindNode_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/toolboxcallbacks.c: In function 'btnToolAddEdge_clicked': gui/toolboxcallbacks.c:115:41: warning: unused parameter 'widget' [-Wunused-parameter] void btnToolAddEdge_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/toolboxcallbacks.c:115:58: warning: unused parameter 'user_data' [-Wunused-parameter] void btnToolAddEdge_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/toolboxcallbacks.c: In function 'btnToolDeleteEdge_clicked': gui/toolboxcallbacks.c:118:44: warning: unused parameter 'widget' [-Wunused-parameter] void btnToolDeleteEdge_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/toolboxcallbacks.c:118:61: warning: unused parameter 'user_data' [-Wunused-parameter] void btnToolDeleteEdge_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/toolboxcallbacks.c: In function 'btnToolFindEdge_clicked': gui/toolboxcallbacks.c:121:42: warning: unused parameter 'widget' [-Wunused-parameter] void btnToolFindEdge_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/toolboxcallbacks.c:121:59: warning: unused parameter 'user_data' [-Wunused-parameter] void btnToolFindEdge_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/toolboxcallbacks.c: In function 'btnToolCursor_clicked': gui/toolboxcallbacks.c:124:40: warning: unused parameter 'widget' [-Wunused-parameter] void btnToolCursor_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/toolboxcallbacks.c:124:57: warning: unused parameter 'user_data' [-Wunused-parameter] void btnToolCursor_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/toolboxcallbacks.c: In function 'on_btnActivateGraph_clicked': gui/toolboxcallbacks.c:140:46: warning: unused parameter 'widget' [-Wunused-parameter] void on_btnActivateGraph_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/toolboxcallbacks.c:140:63: warning: unused parameter 'user_data' [-Wunused-parameter] void on_btnActivateGraph_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC menucallbacks.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from ./smyrnadefs.h:28, from gui/gui.h:17, from gui/menucallbacks.h:17, from gui/menucallbacks.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gui/menucallbacks.c: In function 'mAttributesSlot': gui/menucallbacks.c:31:34: warning: unused parameter 'widget' [-Wunused-parameter] void mAttributesSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:31:51: warning: unused parameter 'user_data' [-Wunused-parameter] void mAttributesSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mOpenSlot': gui/menucallbacks.c:36:28: warning: unused parameter 'widget' [-Wunused-parameter] void mOpenSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:36:45: warning: unused parameter 'user_data' [-Wunused-parameter] void mOpenSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mSaveSlot': gui/menucallbacks.c:71:28: warning: unused parameter 'widget' [-Wunused-parameter] void mSaveSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:71:45: warning: unused parameter 'user_data' [-Wunused-parameter] void mSaveSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mSaveAsSlot': gui/menucallbacks.c:78:30: warning: unused parameter 'widget' [-Wunused-parameter] void mSaveAsSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:78:47: warning: unused parameter 'user_data' [-Wunused-parameter] void mSaveAsSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mCloseSlot': gui/menucallbacks.c:83:29: warning: unused parameter 'widget' [-Wunused-parameter] void mCloseSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:83:46: warning: unused parameter 'user_data' [-Wunused-parameter] void mCloseSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mOptionsSlot': gui/menucallbacks.c:89:31: warning: unused parameter 'widget' [-Wunused-parameter] void mOptionsSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:89:48: warning: unused parameter 'user_data' [-Wunused-parameter] void mOptionsSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mQuitSlot': gui/menucallbacks.c:95:46: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] if (close_graph(view, view->activeGraph)); ^ gui/menucallbacks.c:93:28: warning: unused parameter 'widget' [-Wunused-parameter] void mQuitSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:93:45: warning: unused parameter 'user_data' [-Wunused-parameter] void mQuitSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'show_close_nosavedlg': gui/menucallbacks.c:102:10: warning: declaration of 'buf' shadows a global declaration [-Wshadow] char buf[512]; ^~~ gui/menucallbacks.c:30:6: note: shadowed declaration is here char buf[255]; ^~~ gui/menucallbacks.c: In function 'mCutSlot': gui/menucallbacks.c:124:27: warning: unused parameter 'widget' [-Wunused-parameter] void mCutSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:124:44: warning: unused parameter 'user_data' [-Wunused-parameter] void mCutSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mCopySlot': gui/menucallbacks.c:128:28: warning: unused parameter 'widget' [-Wunused-parameter] void mCopySlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:128:45: warning: unused parameter 'user_data' [-Wunused-parameter] void mCopySlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mPasteSlot': gui/menucallbacks.c:132:29: warning: unused parameter 'widget' [-Wunused-parameter] void mPasteSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:132:46: warning: unused parameter 'user_data' [-Wunused-parameter] void mPasteSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mDeleteSlot': gui/menucallbacks.c:136:30: warning: unused parameter 'widget' [-Wunused-parameter] void mDeleteSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:136:47: warning: unused parameter 'user_data' [-Wunused-parameter] void mDeleteSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mTopviewSettingsSlot': gui/menucallbacks.c:139:39: warning: unused parameter 'widget' [-Wunused-parameter] void mTopviewSettingsSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:139:56: warning: unused parameter 'user_data' [-Wunused-parameter] void mTopviewSettingsSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mShowToolBoxSlot': gui/menucallbacks.c:147:35: warning: unused parameter 'widget' [-Wunused-parameter] void mShowToolBoxSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:147:52: warning: unused parameter 'user_data' [-Wunused-parameter] void mShowToolBoxSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mShowConsoleSlot': gui/menucallbacks.c:173:35: warning: unused parameter 'widget' [-Wunused-parameter] void mShowConsoleSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:173:52: warning: unused parameter 'user_data' [-Wunused-parameter] void mShowConsoleSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mNodeListSlot': gui/menucallbacks.c:200:32: warning: unused parameter 'widget' [-Wunused-parameter] void mNodeListSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:200:49: warning: unused parameter 'user_data' [-Wunused-parameter] void mNodeListSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mNewNodeSlot': gui/menucallbacks.c:208:31: warning: unused parameter 'widget' [-Wunused-parameter] void mNewNodeSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:208:48: warning: unused parameter 'user_data' [-Wunused-parameter] void mNewNodeSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mNewEdgeSlot': gui/menucallbacks.c:212:31: warning: unused parameter 'widget' [-Wunused-parameter] void mNewEdgeSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:212:48: warning: unused parameter 'user_data' [-Wunused-parameter] void mNewEdgeSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mNewClusterSlot': gui/menucallbacks.c:215:34: warning: unused parameter 'widget' [-Wunused-parameter] void mNewClusterSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:215:51: warning: unused parameter 'user_data' [-Wunused-parameter] void mNewClusterSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mGraphPropertiesSlot': gui/menucallbacks.c:221:9: warning: declaration of 'respond' shadows a global declaration [-Wshadow] int respond; ^~~~~~~ In file included from gui/gui.h:17:0, from gui/menucallbacks.h:17, from gui/menucallbacks.c:14: ./smyrnadefs.h:729:16: note: shadowed declaration is here extern int respond; ^~~~~~~ gui/menucallbacks.c:221:9: warning: variable 'respond' set but not used [-Wunused-but-set-variable] int respond; ^~~~~~~ gui/menucallbacks.c:219:39: warning: unused parameter 'widget' [-Wunused-parameter] void mGraphPropertiesSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:219:56: warning: unused parameter 'user_data' [-Wunused-parameter] void mGraphPropertiesSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mNodeFindSlot': gui/menucallbacks.c:241:32: warning: unused parameter 'widget' [-Wunused-parameter] void mNodeFindSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:241:49: warning: unused parameter 'user_data' [-Wunused-parameter] void mNodeFindSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mPropertiesSlot': gui/menucallbacks.c:247:41: warning: unused parameter 'element' [-Wunused-parameter] static void mPropertiesSlot(gve_element element) ^~~~~~~ gui/menucallbacks.c: In function 'mClusterPropertiesSlot': gui/menucallbacks.c:255:41: warning: unused parameter 'widget' [-Wunused-parameter] void mClusterPropertiesSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:255:58: warning: unused parameter 'user_data' [-Wunused-parameter] void mClusterPropertiesSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mNodePropertiesSlot': gui/menucallbacks.c:260:38: warning: unused parameter 'widget' [-Wunused-parameter] void mNodePropertiesSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:260:55: warning: unused parameter 'user_data' [-Wunused-parameter] void mNodePropertiesSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mEdgePropertiesSlot': gui/menucallbacks.c:265:38: warning: unused parameter 'widget' [-Wunused-parameter] void mEdgePropertiesSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:265:55: warning: unused parameter 'user_data' [-Wunused-parameter] void mEdgePropertiesSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mShowCodeSlot': gui/menucallbacks.c:270:32: warning: unused parameter 'widget' [-Wunused-parameter] void mShowCodeSlot(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:270:49: warning: unused parameter 'user_data' [-Wunused-parameter] void mShowCodeSlot(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mSlot': gui/menucallbacks.c:273:31: warning: unused parameter 'widget' [-Wunused-parameter] static void mSlot(GtkWidget * widget, gpointer user_data, ^~~~~~ gui/menucallbacks.c:273:48: warning: unused parameter 'user_data' [-Wunused-parameter] static void mSlot(GtkWidget * widget, gpointer user_data, ^~~~~~~~~ gui/menucallbacks.c:274:16: warning: unused parameter 'layout' [-Wunused-parameter] gvk_layout layout, int doCursor) ^~~~~~ gui/menucallbacks.c:274:28: warning: unused parameter 'doCursor' [-Wunused-parameter] gvk_layout layout, int doCursor) ^~~~~~~~ gui/menucallbacks.c: In function 'mAbout': gui/menucallbacks.c:325:25: warning: unused parameter 'widget' [-Wunused-parameter] void mAbout(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:325:42: warning: unused parameter 'user_data' [-Wunused-parameter] void mAbout(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'mHelp': gui/menucallbacks.c:329:24: warning: unused parameter 'widget' [-Wunused-parameter] void mHelp(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:329:41: warning: unused parameter 'user_data' [-Wunused-parameter] void mHelp(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'change_cursor': gui/menucallbacks.c:339:16: warning: variable 'w' set but not used [-Wunused-but-set-variable] GdkWindow *w; ^ gui/menucallbacks.c: At top level: gui/menucallbacks.c:347:5: warning: "OLD" is not defined, evaluates to 0 [-Wundef] #if OLD ^~~ gui/menucallbacks.c: In function 'mTestgvpr': gui/menucallbacks.c:457:5: warning: "OLD" is not defined, evaluates to 0 [-Wundef] #if OLD ^~~ gui/menucallbacks.c:476:5: warning: "OLD" is not defined, evaluates to 0 [-Wundef] #if OLD ^~~ In file included from gui/menucallbacks.c:22:0: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ gui/menucallbacks.c:493:12: note: in expansion of macro 'N_NEW' argv = N_NEW(argc + 1, char *); ^~~~~ gui/menucallbacks.c:498:5: warning: "OLD" is not defined, evaluates to 0 [-Wundef] #if OLD ^~~ gui/menucallbacks.c:448:28: warning: unused parameter 'widget' [-Wunused-parameter] void mTestgvpr(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:448:45: warning: unused parameter 'user_data' [-Wunused-parameter] void mTestgvpr(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'on_gvprbuttonload_clicked': gui/menucallbacks.c:533:10: warning: declaration of 'buf' shadows a global declaration [-Wshadow] char buf[BUFSIZ]; ^~~ gui/menucallbacks.c:30:6: note: shadowed declaration is here char buf[255]; ^~~ gui/menucallbacks.c:526:44: warning: unused parameter 'widget' [-Wunused-parameter] void on_gvprbuttonload_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:526:61: warning: unused parameter 'user_data' [-Wunused-parameter] void on_gvprbuttonload_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/menucallbacks.c: In function 'on_gvprbuttonsave_clicked': gui/menucallbacks.c:571:9: warning: variable 'charcnt' set but not used [-Wunused-but-set-variable] int charcnt; ^~~~~~~ gui/menucallbacks.c:566:44: warning: unused parameter 'widget' [-Wunused-parameter] void on_gvprbuttonsave_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/menucallbacks.c:566:61: warning: unused parameter 'user_data' [-Wunused-parameter] void on_gvprbuttonsave_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC frmobjectui.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from ./smyrnadefs.h:28, from gui/gui.h:17, from gui/frmobjectui.c:18: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ In file included from gui/frmobjectui.c:27:0: ../../lib/ast/sfstr.h:50:5: warning: "_BLD_ast" is not defined, evaluates to 0 [-Wundef] #if _BLD_ast && defined(__EXPORT__) ^~~~~~~~ gui/frmobjectui.c:65:6: warning: no previous prototype for 'free_attr' [-Wmissing-prototypes] void free_attr(attr_t * at) ^~~~~~~~~ gui/frmobjectui.c:76:9: warning: no previous prototype for 'new_attr' [-Wmissing-prototypes] attr_t *new_attr(void) ^~~~~~~~ gui/frmobjectui.c: In function 'new_attr': gui/frmobjectui.c:78:13: warning: declaration of 'attr' shadows a global declaration [-Wshadow] attr_t *attr = malloc(sizeof(attr_t)); ^~~~ In file included from gui/frmobjectui.c:18:0: gui/gui.h:48:22: note: shadowed declaration is here extern attribute attr[MAXIMUM_WIDGET_COUNT]; ^~~~ gui/frmobjectui.c: At top level: gui/frmobjectui.c:92:9: warning: no previous prototype for 'new_attr_with_ref' [-Wmissing-prototypes] attr_t *new_attr_with_ref(Agsym_t * sym) ^~~~~~~~~~~~~~~~~ gui/frmobjectui.c: In function 'new_attr_with_ref': gui/frmobjectui.c:94:13: warning: declaration of 'attr' shadows a global declaration [-Wshadow] attr_t *attr = new_attr(); ^~~~ In file included from gui/frmobjectui.c:18:0: gui/gui.h:48:22: note: shadowed declaration is here extern attribute attr[MAXIMUM_WIDGET_COUNT]; ^~~~ gui/frmobjectui.c:96:5: warning: switch missing default case [-Wswitch-default] switch (sym->kind) { ^~~~~~ gui/frmobjectui.c: At top level: gui/frmobjectui.c:116:9: warning: no previous prototype for 'new_attr_ref' [-Wmissing-prototypes] attr_t *new_attr_ref(attr_t * refAttr) ^~~~~~~~~~~~ gui/frmobjectui.c: In function 'new_attr_ref': gui/frmobjectui.c:118:13: warning: declaration of 'attr' shadows a global declaration [-Wshadow] attr_t *attr = malloc(sizeof(attr_t)); ^~~~ In file included from gui/frmobjectui.c:18:0: gui/gui.h:48:22: note: shadowed declaration is here extern attribute attr[MAXIMUM_WIDGET_COUNT]; ^~~~ gui/frmobjectui.c: In function 'attr_list_new': gui/frmobjectui.c:158:37: warning: unused parameter 'g' [-Wunused-parameter] attr_list *attr_list_new(Agraph_t * g, int with_widgets) ^ gui/frmobjectui.c: At top level: gui/frmobjectui.c:198:6: warning: no previous prototype for 'print_attr_list' [-Wmissing-prototypes] void print_attr_list(attr_list * l) ^~~~~~~~~~~~~~~ gui/frmobjectui.c:211:5: warning: no previous prototype for 'attr_compare' [-Wmissing-prototypes] int attr_compare(const void *a, const void *b) ^~~~~~~~~~~~ gui/frmobjectui.c: In function 'attr_compare': gui/frmobjectui.c:213:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] attr_t *a1 = *(attr_t **) a; ^ gui/frmobjectui.c:214:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] attr_t *a2 = *(attr_t **) b; ^ gui/frmobjectui.c: In function 'attr_list_sort': gui/frmobjectui.c:220:26: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] qsort(l->attributes, l->attr_count, sizeof(attr_t *), attr_compare); ^ gui/frmobjectui.c: In function 'attr_list_add': gui/frmobjectui.c:233:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] realloc(l->attributes, l->capacity * sizeof(attr_t *)); ^ gui/frmobjectui.c: In function 'get_attr_data_type': gui/frmobjectui.c:248:5: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ gui/frmobjectui.c: At top level: gui/frmobjectui.c:349:6: warning: no previous prototype for 'create_filtered_list' [-Wmissing-prototypes] void create_filtered_list(char *prefix, attr_list * sl, attr_list * tl) ^~~~~~~~~~~~~~~~~~~~ gui/frmobjectui.c: In function 'on_txtAttr_changed': gui/frmobjectui.c:484:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] filter_attributes((char *) gtk_entry_get_text((GtkEntry *) widget), ^ gui/frmobjectui.c:481:58: warning: unused parameter 'user_data' [-Wunused-parameter] _BB void on_txtAttr_changed(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/frmobjectui.c: In function 'doApply': gui/frmobjectui.c:516:13: warning: declaration of 'attr' shadows a global declaration [-Wshadow] attr_t *attr; ^~~~ In file included from gui/frmobjectui.c:18:0: gui/gui.h:48:22: note: shadowed declaration is here extern attribute attr[MAXIMUM_WIDGET_COUNT]; ^~~~ gui/frmobjectui.c:520:2: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (char *) gtk_entry_get_text((GtkEntry *) ^ gui/frmobjectui.c:523:2: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (char *) gtk_entry_get_text((GtkEntry *) ^ gui/frmobjectui.c:527:2: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (char *) gtk_entry_get_text((GtkEntry *) ^ gui/frmobjectui.c:510:14: warning: variable 't' set but not used [-Wunused-but-set-variable] topview *t; ^ gui/frmobjectui.c:504:34: warning: unused parameter 'widget' [-Wunused-parameter] static void doApply (GtkWidget * widget, int doAll) ^~~~~~ gui/frmobjectui.c: In function 'on_attrApplyBtn_clicked': gui/frmobjectui.c:567:63: warning: unused parameter 'user_data' [-Wunused-parameter] _BB void on_attrApplyBtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/frmobjectui.c: At top level: gui/frmobjectui.c:572:10: warning: no previous prototype for 'on_attrApplyAllBtn_clicked' [-Wmissing-prototypes] _BB void on_attrApplyAllBtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~~~~~~~~~~~~~~~~~~ gui/frmobjectui.c: In function 'on_attrApplyAllBtn_clicked': gui/frmobjectui.c:572:66: warning: unused parameter 'user_data' [-Wunused-parameter] _BB void on_attrApplyAllBtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/frmobjectui.c: At top level: gui/frmobjectui.c:577:10: warning: no previous prototype for 'on_attrRB0_clicked' [-Wmissing-prototypes] _BB void on_attrRB0_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~~~~~~~~~~ gui/frmobjectui.c: In function 'on_attrRB0_clicked': gui/frmobjectui.c:579:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] filter_attributes((char *) ^ gui/frmobjectui.c:577:41: warning: unused parameter 'widget' [-Wunused-parameter] _BB void on_attrRB0_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/frmobjectui.c:577:58: warning: unused parameter 'user_data' [-Wunused-parameter] _BB void on_attrRB0_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/frmobjectui.c: At top level: gui/frmobjectui.c:590:10: warning: no previous prototype for 'on_attrProg_toggled' [-Wmissing-prototypes] _BB void on_attrProg_toggled(GtkWidget * widget, gpointer user_data) ^~~~~~~~~~~~~~~~~~~ gui/frmobjectui.c: In function 'on_attrProg_toggled': gui/frmobjectui.c:590:42: warning: unused parameter 'widget' [-Wunused-parameter] _BB void on_attrProg_toggled(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/frmobjectui.c:590:59: warning: unused parameter 'user_data' [-Wunused-parameter] _BB void on_attrProg_toggled(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/frmobjectui.c: In function 'attr_label_motion': gui/frmobjectui.c:595:40: warning: unused parameter 'widget' [-Wunused-parameter] _BB void attr_label_motion(GtkWidget * widget, GdkEventMotion * event, ^~~~~~ gui/frmobjectui.c:595:65: warning: unused parameter 'event' [-Wunused-parameter] _BB void attr_label_motion(GtkWidget * widget, GdkEventMotion * event, ^~~~~ gui/frmobjectui.c:596:16: warning: unused parameter 'data' [-Wunused-parameter] gpointer data) ^~~~ gui/frmobjectui.c: In function 'on_attrAddBtn_clicked': gui/frmobjectui.c:613:13: warning: declaration of 'attr' shadows a global declaration [-Wshadow] attr_t *attr; ^~~~ In file included from gui/frmobjectui.c:18:0: gui/gui.h:48:22: note: shadowed declaration is here extern attribute attr[MAXIMUM_WIDGET_COUNT]; ^~~~ gui/frmobjectui.c:618:2: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (char *) gtk_entry_get_text((GtkEntry *) ^ gui/frmobjectui.c:621:2: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (char *) gtk_entry_get_text((GtkEntry *) ^ gui/frmobjectui.c:624:2: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (char *) gtk_entry_get_text((GtkEntry *) ^ gui/frmobjectui.c:610:9: warning: variable 'prog' set but not used [-Wunused-but-set-variable] int prog; ^~~~ gui/frmobjectui.c:607:11: warning: variable 'value' set but not used [-Wunused-but-set-variable] char *value; ^~~~~ gui/frmobjectui.c:604:44: warning: unused parameter 'widget' [-Wunused-parameter] _BB void on_attrAddBtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/frmobjectui.c:604:61: warning: unused parameter 'user_data' [-Wunused-parameter] _BB void on_attrAddBtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/frmobjectui.c: In function 'load_attr_list': gui/frmobjectui.c:670:13: warning: declaration of 'attr' shadows a global declaration [-Wshadow] attr_t *attr; ^~~~ In file included from gui/frmobjectui.c:18:0: gui/gui.h:48:22: note: shadowed declaration is here extern attribute attr[MAXIMUM_WIDGET_COUNT]; ^~~~ gui/frmobjectui.c:674:10: warning: declaration of 'line' shadows a global declaration [-Wshadow] char line[BUFSIZ]; ^~~~ In file included from ./smyrnadefs.h:36:0, from gui/gui.h:17, from gui/frmobjectui.c:18: ../../lib/glcomp/glutils.h:30:7: note: shadowed declaration is here } line; ^~~~ gui/frmobjectui.c:694:3: warning: switch missing default case [-Wswitch-default] switch (idx) { ^~~~~~ gui/frmobjectui.c: In function 'showAttrsWidget': gui/frmobjectui.c:782:32: warning: unused parameter 't' [-Wunused-parameter] void showAttrsWidget(topview * t) ^ gui/frmobjectui.c: In function 'gvpr_select': gui/frmobjectui.c:793:31: warning: declaration of 'attr' shadows a global declaration [-Wshadow] static void gvpr_select(char *attr, char *regex_str, int objType) ^~~~ In file included from gui/frmobjectui.c:18:0: gui/gui.h:48:22: note: shadowed declaration is here extern attribute attr[MAXIMUM_WIDGET_COUNT]; ^~~~ In file included from gui/frmobjectui.c:27:0: ../../lib/ast/sfstr.h:30:47: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] #define sfstropen() sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING) ^ gui/frmobjectui.c:802:7: note: in expansion of macro 'sfstropen' sf = sfstropen(); ^~~~~~~~~ In file included from gui/frmobjectui.c:24:0: ../../lib/common/memory.h:36:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)zmalloc((n)*sizeof(t)) ^ gui/frmobjectui.c:816:12: note: in expansion of macro 'N_NEW' argv = N_NEW(argc + 1, char *); ^~~~~ gui/frmobjectui.c: In function 'on_attrSearchBtn_clicked': gui/frmobjectui.c:832:11: warning: declaration of 'attr' shadows a global declaration [-Wshadow] char *attr = ^~~~ In file included from gui/frmobjectui.c:18:0: gui/gui.h:48:22: note: shadowed declaration is here extern attribute attr[MAXIMUM_WIDGET_COUNT]; ^~~~ gui/frmobjectui.c:833:2: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (char *) gtk_entry_get_text((GtkEntry *) ^ gui/frmobjectui.c:836:2: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (char *) gtk_entry_get_text((GtkEntry *) ^ gui/frmobjectui.c:829:47: warning: unused parameter 'widget' [-Wunused-parameter] _BB void on_attrSearchBtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/frmobjectui.c:829:64: warning: unused parameter 'user_data' [-Wunused-parameter] _BB void on_attrSearchBtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC glutrender.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from smyrnadefs.h:28, from viewport.h:18, from glutrender.c:15: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ glutrender.c:45:6: warning: no previous prototype for 'cb_reshape' [-Wmissing-prototypes] void cb_reshape(int width, int height) ^~~~~~~~~~ glutrender.c:77:6: warning: no previous prototype for 'cb_display' [-Wmissing-prototypes] void cb_display(void ) ^~~~~~~~~~ glutrender.c:93:6: warning: no previous prototype for 'cb_mouseclick' [-Wmissing-prototypes] void cb_mouseclick(int button, int state,int x, int y) ^~~~~~~~~~~~~ glutrender.c: In function 'cb_mouseclick': glutrender.c:95:15: warning: variable 'g' set but not used [-Wunused-but-set-variable] Agraph_t* g; ^ glutrender.c: At top level: glutrender.c:129:6: warning: no previous prototype for 'cb_mouseover' [-Wmissing-prototypes] void cb_mouseover(int x,int y)/*no mouse click only mouse pointer moving on context*/ ^~~~~~~~~~~~ glutrender.c: In function 'cb_mouseover': glutrender.c:129:23: warning: unused parameter 'x' [-Wunused-parameter] void cb_mouseover(int x,int y)/*no mouse click only mouse pointer moving on context*/ ^ glutrender.c:129:29: warning: unused parameter 'y' [-Wunused-parameter] void cb_mouseover(int x,int y)/*no mouse click only mouse pointer moving on context*/ ^ glutrender.c: At top level: glutrender.c:140:6: warning: no previous prototype for 'cb_drag' [-Wmissing-prototypes] void cb_drag(int X,int Y)/*mouse moving witha button clicked (dragging)*/ ^~~~~~~ glutrender.c: In function 'cb_drag': glutrender.c:153:24: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] appmouse_move(view,x,y); ^ glutrender.c:153:26: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] appmouse_move(view,x,y); ^ glutrender.c:156:26: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] appmouse_left_drag(view,x,y); ^ glutrender.c:156:28: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] appmouse_left_drag(view,x,y); ^ glutrender.c:158:27: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] appmouse_right_drag(view,x,y); ^ glutrender.c:158:29: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] appmouse_right_drag(view,x,y); ^ glutrender.c:160:28: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] appmouse_middle_drag(view,x,y); ^ glutrender.c:160:30: warning: conversion to 'int' from 'float' may alter its value [-Wfloat-conversion] appmouse_middle_drag(view,x,y); ^ glutrender.c: At top level: glutrender.c:166:6: warning: no previous prototype for 'cb_mouseentry' [-Wmissing-prototypes] void cb_mouseentry(int state) ^~~~~~~~~~~~~ glutrender.c:178:6: warning: no previous prototype for 'cb_keyboard' [-Wmissing-prototypes] void cb_keyboard(unsigned char key,int x, int y) ^~~~~~~~~~~ glutrender.c: In function 'cb_keyboard': glutrender.c:178:40: warning: unused parameter 'x' [-Wunused-parameter] void cb_keyboard(unsigned char key,int x, int y) ^ glutrender.c:178:47: warning: unused parameter 'y' [-Wunused-parameter] void cb_keyboard(unsigned char key,int x, int y) ^ glutrender.c: At top level: glutrender.c:197:6: warning: no previous prototype for 'cb_keyboard_up' [-Wmissing-prototypes] void cb_keyboard_up(unsigned char key,int x, int y) ^~~~~~~~~~~~~~ glutrender.c: In function 'cb_keyboard_up': glutrender.c:197:43: warning: unused parameter 'x' [-Wunused-parameter] void cb_keyboard_up(unsigned char key,int x, int y) ^ glutrender.c:197:50: warning: unused parameter 'y' [-Wunused-parameter] void cb_keyboard_up(unsigned char key,int x, int y) ^ glutrender.c: At top level: glutrender.c:203:6: warning: no previous prototype for 'cb_special_key' [-Wmissing-prototypes] void cb_special_key(int key, int x, int y) ^~~~~~~~~~~~~~ glutrender.c: In function 'cb_special_key': glutrender.c:203:34: warning: unused parameter 'x' [-Wunused-parameter] void cb_special_key(int key, int x, int y) ^ glutrender.c:203:41: warning: unused parameter 'y' [-Wunused-parameter] void cb_special_key(int key, int x, int y) ^ glutrender.c: At top level: glutrender.c:212:6: warning: no previous prototype for 'cb_special_key_up' [-Wmissing-prototypes] void cb_special_key_up(int key, int x, int y) ^~~~~~~~~~~~~~~~~ glutrender.c: In function 'cb_special_key_up': glutrender.c:212:37: warning: unused parameter 'x' [-Wunused-parameter] void cb_special_key_up(int key, int x, int y) ^ glutrender.c:212:44: warning: unused parameter 'y' [-Wunused-parameter] void cb_special_key_up(int key, int x, int y) ^ glutrender.c: In function 'cb_glutinit': glutrender.c:249:21: warning: unused parameter 'x' [-Wunused-parameter] int cb_glutinit(int x,int y,int w,int h, int bits,int s_rate,int fullscreen,int* argcp, char *argv[],char* optArg) ^ glutrender.c:249:27: warning: unused parameter 'y' [-Wunused-parameter] int cb_glutinit(int x,int y,int w,int h, int bits,int s_rate,int fullscreen,int* argcp, char *argv[],char* optArg) ^ glutrender.c:249:46: warning: unused parameter 'bits' [-Wunused-parameter] int cb_glutinit(int x,int y,int w,int h, int bits,int s_rate,int fullscreen,int* argcp, char *argv[],char* optArg) ^~~~ glutrender.c:249:55: warning: unused parameter 's_rate' [-Wunused-parameter] int cb_glutinit(int x,int y,int w,int h, int bits,int s_rate,int fullscreen,int* argcp, char *argv[],char* optArg) ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CC topviewsettings.o cc1: warning: ../../lib/utilities: No such file or directory [-Wmissing-include-dirs] In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from ./smyrnadefs.h:28, from ./topviewfuncs.h:17, from gui/topviewsettings.c:14: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ gui/topviewsettings.c: In function 'color_change_request': gui/topviewsettings.c:21:39: warning: unused parameter 'widget' [-Wunused-parameter] void color_change_request(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/topviewsettings.c:21:56: warning: unused parameter 'user_data' [-Wunused-parameter] void color_change_request(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/topviewsettings.c: In function 'size_change_request': gui/topviewsettings.c:25:38: warning: unused parameter 'widget' [-Wunused-parameter] void size_change_request(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/topviewsettings.c:25:55: warning: unused parameter 'user_data' [-Wunused-parameter] void size_change_request(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/topviewsettings.c: In function 'on_settingsApplyBtn_clicked': gui/topviewsettings.c:36:46: warning: unused parameter 'widget' [-Wunused-parameter] void on_settingsApplyBtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/topviewsettings.c:36:63: warning: unused parameter 'user_data' [-Wunused-parameter] void on_settingsApplyBtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/topviewsettings.c: In function 'on_dlgSettings_close': gui/topviewsettings.c:47:40: warning: unused parameter 'widget' [-Wunused-parameter] void on_dlgSettings_close (GtkWidget * widget, gpointer user_data) ^~~~~~ gui/topviewsettings.c:47:57: warning: unused parameter 'user_data' [-Wunused-parameter] void on_dlgSettings_close (GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/topviewsettings.c: In function 'on_settingsCancelBtn_clicked': gui/topviewsettings.c:53:47: warning: unused parameter 'widget' [-Wunused-parameter] void on_settingsCancelBtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~ gui/topviewsettings.c:53:64: warning: unused parameter 'user_data' [-Wunused-parameter] void on_settingsCancelBtn_clicked(GtkWidget * widget, gpointer user_data) ^~~~~~~~~ gui/topviewsettings.c: At top level: gui/topviewsettings.c:57:6: warning: no previous prototype for 'copy_attr' [-Wmissing-prototypes] void copy_attr(Agraph_t* destG,char* attr,Agraph_t* g) ^~~~~~~~~ gui/topviewsettings.c: In function 'copy_attr': gui/topviewsettings.c:57:38: warning: declaration of 'attr' shadows a global declaration [-Wshadow] void copy_attr(Agraph_t* destG,char* attr,Agraph_t* g) ^~~~ In file included from gui/topviewsettings.c:16:0: gui/gui.h:48:22: note: shadowed declaration is here extern attribute attr[MAXIMUM_WIDGET_COUNT]; ^~~~ gui/topviewsettings.c: In function 'set_color_button_widget': gui/topviewsettings.c:63:42: warning: declaration of 'attribute' shadows a global declaration [-Wshadow] static int set_color_button_widget(char *attribute, char *widget_name) ^~~~~~~~~ In file included from ./topviewfuncs.h:17:0, from gui/topviewsettings.c:14: ./smyrnadefs.h:532:7: note: shadowed declaration is here } attribute; ^~~~~~~~~ gui/topviewsettings.c:78:14: warning: conversion to 'guint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] color.red = (int) (cl.u.RGBA[0] * 65535.0); ^ gui/topviewsettings.c:79:16: warning: conversion to 'guint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] color.green = (int) (cl.u.RGBA[1] * 65535.0); ^ gui/topviewsettings.c:80:15: warning: conversion to 'guint16 {aka short unsigned int}' from 'int' may alter its value [-Wconversion] color.blue = (int) (cl.u.RGBA[2] * 65535.0); ^ gui/topviewsettings.c: In function 'get_color_button_widget_to_attribute': gui/topviewsettings.c:89:55: warning: declaration of 'attribute' shadows a global declaration [-Wshadow] static int get_color_button_widget_to_attribute(char *attribute, ^~~~~~~~~ In file included from ./topviewfuncs.h:17:0, from gui/topviewsettings.c:14: ./smyrnadefs.h:532:7: note: shadowed declaration is here } attribute; ^~~~~~~~~ gui/topviewsettings.c: In function 'get_text_widget_to_attribute': gui/topviewsettings.c:108:47: warning: declaration of 'attribute' shadows a global declaration [-Wshadow] static int get_text_widget_to_attribute(char *attribute, char *widget_name, ^~~~~~~~~ In file included from ./topviewfuncs.h:17:0, from gui/topviewsettings.c:14: ./smyrnadefs.h:532:7: note: shadowed declaration is here } attribute; ^~~~~~~~~ gui/topviewsettings.c:116:6: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (char*)gtk_entry_get_text((GtkEntry *) ^ gui/topviewsettings.c: In function 'set_text_widget': gui/topviewsettings.c:120:34: warning: declaration of 'attribute' shadows a global declaration [-Wshadow] static int set_text_widget(char *attribute, char *widget_name) ^~~~~~~~~ In file included from ./topviewfuncs.h:17:0, from gui/topviewsettings.c:14: ./smyrnadefs.h:532:7: note: shadowed declaration is here } attribute; ^~~~~~~~~ gui/topviewsettings.c: In function 'set_checkbox_widget': gui/topviewsettings.c:140:38: warning: declaration of 'attribute' shadows a global declaration [-Wshadow] static int set_checkbox_widget(char *attribute, char *widget_name) ^~~~~~~~~ In file included from ./topviewfuncs.h:17:0, from gui/topviewsettings.c:14: ./smyrnadefs.h:532:7: note: shadowed declaration is here } attribute; ^~~~~~~~~ gui/topviewsettings.c: In function 'get_checkbox_widget_to_attribute': gui/topviewsettings.c:167:51: warning: declaration of 'attribute' shadows a global declaration [-Wshadow] static int get_checkbox_widget_to_attribute(char *attribute, ^~~~~~~~~ In file included from ./topviewfuncs.h:17:0, from gui/topviewsettings.c:14: ./smyrnadefs.h:532:7: note: shadowed declaration is here } attribute; ^~~~~~~~~ gui/topviewsettings.c: In function 'set_spinbtn_widget': gui/topviewsettings.c:183:37: warning: declaration of 'attribute' shadows a global declaration [-Wshadow] static int set_spinbtn_widget(char *attribute, char *widget_name) ^~~~~~~~~ In file included from ./topviewfuncs.h:17:0, from gui/topviewsettings.c:14: ./smyrnadefs.h:532:7: note: shadowed declaration is here } attribute; ^~~~~~~~~ gui/topviewsettings.c: In function 'get_spinbtn_widget_to_attribute': gui/topviewsettings.c:204:50: warning: declaration of 'attribute' shadows a global declaration [-Wshadow] static int get_spinbtn_widget_to_attribute(char *attribute, ^~~~~~~~~ In file included from ./topviewfuncs.h:17:0, from gui/topviewsettings.c:14: ./smyrnadefs.h:532:7: note: shadowed declaration is here } attribute; ^~~~~~~~~ gui/topviewsettings.c: In function 'get_scalebtn_widget_to_attribute': gui/topviewsettings.c:219:51: warning: declaration of 'attribute' shadows a global declaration [-Wshadow] static int get_scalebtn_widget_to_attribute(char *attribute, ^~~~~~~~~ In file included from ./topviewfuncs.h:17:0, from gui/topviewsettings.c:14: ./smyrnadefs.h:532:7: note: shadowed declaration is here } attribute; ^~~~~~~~~ gui/topviewsettings.c: In function 'set_scalebtn_widget_to_attribute': gui/topviewsettings.c:236:51: warning: declaration of 'attribute' shadows a global declaration [-Wshadow] static int set_scalebtn_widget_to_attribute(char *attribute, ^~~~~~~~~ In file included from ./topviewfuncs.h:17:0, from gui/topviewsettings.c:14: ./smyrnadefs.h:532:7: note: shadowed declaration is here } attribute; ^~~~~~~~~ gui/topviewsettings.c: In function 'set_combobox_widget': gui/topviewsettings.c:259:38: warning: declaration of 'attribute' shadows a global declaration [-Wshadow] static int set_combobox_widget(char *attribute, char *widget_name) ^~~~~~~~~ In file included from ./topviewfuncs.h:17:0, from gui/topviewsettings.c:14: ./smyrnadefs.h:532:7: note: shadowed declaration is here } attribute; ^~~~~~~~~ gui/topviewsettings.c: In function 'get_combobox_widget_to_attribute': gui/topviewsettings.c:282:51: warning: declaration of 'attribute' shadows a global declaration [-Wshadow] static int get_combobox_widget_to_attribute(char *attribute, ^~~~~~~~~ In file included from ./topviewfuncs.h:17:0, from gui/topviewsettings.c:14: ./smyrnadefs.h:532:7: note: shadowed declaration is here } attribute; ^~~~~~~~~ gui/topviewsettings.c: In function 'load_settings_from_graph': gui/topviewsettings.c:302:41: warning: unused parameter 'g' [-Wunused-parameter] int load_settings_from_graph(Agraph_t * g) ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' CCLD smyrna make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' Making all in gvmap make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' CC cluster-cluster.o cluster.c: In function 'init': cluster.c:128:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] while ((c = getopt(argc, argv, ":vC:c:o:")) != -1) { ^~~~~~ cluster.c:128:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((c = getopt(argc, argv, ":vC:c:o:")) != -1) { ^~ cluster.c:129:5: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ cluster.c: At top level: cluster.c:173:6: warning: no previous prototype for 'clusterGraph' [-Wmissing-prototypes] void clusterGraph (Agraph_t* g, int maxcluster, int clustering_method){ ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' CC cluster-power.o power.c: In function 'power_method': power.c:67:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*eigv)) *eigv = MALLOC(sizeof(real)*n*K); ^ power.c:67:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*eigv)) *eigv = MALLOC(sizeof(real)*n*K); ^ power.c:68:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*eigs)) *eigs = MALLOC(sizeof(real)*K); ^ power.c:69:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] v = MALLOC(sizeof(real*)*K); ^ power.c:71:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vv = MALLOC(sizeof(real)*n); ^ power.c:72:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] u = MALLOC(sizeof(real)*n); ^ power.c:74:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] srand(random_seed); ^~~~~~~~~~~ power.c: In function 'matvec_sparse': power.c:138:33: warning: unused parameter 'm' [-Wunused-parameter] void matvec_sparse(void *M, int m, int n, real *u, real **v, int transpose, ^ power.c:138:40: warning: unused parameter 'n' [-Wunused-parameter] void matvec_sparse(void *M, int m, int n, real *u, real **v, int transpose, ^ power.c: In function 'matvec_dense': power.c:177:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*v)) *v = MALLOC(sizeof(real)*m); ^ power.c:185:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*v)) *v = MALLOC(sizeof(real)*n); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' CC gvmap-gvmap.o gvmap.c:125:5: warning: no previous prototype for 'string_split' [-Wmissing-prototypes] int string_split(char *s, char sp, char ***ss0, int *ntokens0){ ^~~~~~~~~~~~ gvmap.c: In function 'string_split': gvmap.c:137:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < strlen(s); i++){ ^ gvmap.c:146:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ss = malloc(sizeof(char*)*(ntokens+1)); ^ gvmap.c:148:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < strlen(s); i++){ ^ gvmap.c:151:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ss[ntokens] = malloc(sizeof(char)*(len+1)); ^ gvmap.c:158:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] ss[ntokens] = malloc(sizeof(char)*(len+1)); ^ gvmap.c: In function 'init': gvmap.c:309:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] while ((c = getopt(argc, argv, ":evODQko:m:s:r:p:c:C:l:b:g:t:a:h:z:d:")) != -1) { ^~~~~~ gvmap.c:309:76: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((c = getopt(argc, argv, ":evODQko:m:s:r:p:c:C:l:b:g:t:a:h:z:d:")) != -1) { ^~ gvmap.c:312:47: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if ((sscanf(optarg,"%lf",&s) > 0) && (s != 0)){ ^~ gvmap.c:310:5: warning: switch missing default case [-Wswitch-default] switch (c) { ^~~~~~ gvmap.c: In function 'makeMap': gvmap.c:534:9: warning: declaration of 'MAX_GRPS' shadows a global declaration [-Wshadow] enum {MAX_GRPS = 10000}; ^~~~~~~~ gvmap.c:40:7: note: shadowed declaration is here enum {MAX_GRPS = 10000}; ^~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' CC gvmap-power.o power.c: In function 'power_method': power.c:67:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*eigv)) *eigv = MALLOC(sizeof(real)*n*K); ^ power.c:67:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*eigv)) *eigv = MALLOC(sizeof(real)*n*K); ^ power.c:68:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*eigs)) *eigs = MALLOC(sizeof(real)*K); ^ power.c:69:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] v = MALLOC(sizeof(real*)*K); ^ power.c:71:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] vv = MALLOC(sizeof(real)*n); ^ power.c:72:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] u = MALLOC(sizeof(real)*n); ^ power.c:74:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] srand(random_seed); ^~~~~~~~~~~ power.c: In function 'matvec_sparse': power.c:138:33: warning: unused parameter 'm' [-Wunused-parameter] void matvec_sparse(void *M, int m, int n, real *u, real **v, int transpose, ^ power.c:138:40: warning: unused parameter 'n' [-Wunused-parameter] void matvec_sparse(void *M, int m, int n, real *u, real **v, int transpose, ^ power.c: In function 'matvec_dense': power.c:177:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*v)) *v = MALLOC(sizeof(real)*m); ^ power.c:185:40: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] if (!(*v)) *v = MALLOC(sizeof(real)*n); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' CC cluster-country_graph_coloring.o country_graph_coloring.c: In function 'check_swap': country_graph_coloring.c:75:104: warning: unused parameter 'pq' [-Wunused-parameter] int u, int p_u, int v, int p_v, int *aband_local, int *p, int *p_inv, int aband, PriorityQueue pq, int *pmax, int *pmin, real lambda){ ^~ country_graph_coloring.c: At top level: country_graph_coloring.c:135:6: warning: no previous prototype for 'improve_antibandwidth_by_swapping_cheap' [-Wmissing-prototypes] void improve_antibandwidth_by_swapping_cheap(SparseMatrix A, int *p){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping_cheap': country_graph_coloring.c:152:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] p_inv = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c:153:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pmax = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c:154:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pmin = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c:155:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] aband_local = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping': country_graph_coloring.c:232:16: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] real start = clock(); ^~~~~ country_graph_coloring.c:249:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] (p)[i] = pj; ^~ country_graph_coloring.c:250:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] (p)[j] = pi; ^~ country_graph_coloring.c:261:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] (p)[i] = pi; ^~ country_graph_coloring.c:262:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] (p)[j] = pj; ^~ country_graph_coloring.c:266:43: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] fprintf(fp,"%f %f %f\n", (real) (clock() - start)/(CLOCKS_PER_SEC), norm1[0], norm1[2]); ^ country_graph_coloring.c:272:48: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] fprintf(fp,"%f %f %f\n", (real) (clock() - start)/(CLOCKS_PER_SEC), norm1[0], norm1[2]); ^ country_graph_coloring.c: At top level: country_graph_coloring.c:277:6: warning: no previous prototype for 'country_graph_coloring_internal' [-Wmissing-prototypes] void country_graph_coloring_internal(int seed, SparseMatrix A, int **p, real *norm_1, int do_swapping){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping_for_fortran': country_graph_coloring.c:367:13: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] Verbose = *verbose; ^ country_graph_coloring.c:391:9: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] cpu = (clock() - start)/(CLOCKS_PER_SEC); ^ country_graph_coloring.c:352:65: warning: unused parameter 'nz' [-Wunused-parameter] void improve_antibandwidth_by_swapping_for_fortran(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *verbose){ ^~ country_graph_coloring.c: At top level: country_graph_coloring.c:402:6: warning: no previous prototype for 'improve_antibandwidth_by_swapping_for_fortran_' [-Wmissing-prototypes] void improve_antibandwidth_by_swapping_for_fortran_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping_for_fortran_': country_graph_coloring.c:402:113: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] void improve_antibandwidth_by_swapping_for_fortran_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from country_graph_coloring.h:17, from country_graph_coloring.c:15: ../../lib/sparse/general.h:66:22: note: shadowed declaration is here extern unsigned char Verbose; ^~~~~~~ country_graph_coloring.c: At top level: country_graph_coloring.c:405:6: warning: no previous prototype for 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN' [-Wmissing-prototypes] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN': country_graph_coloring.c:405:112: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from country_graph_coloring.h:17, from country_graph_coloring.c:15: ../../lib/sparse/general.h:66:22: note: shadowed declaration is here extern unsigned char Verbose; ^~~~~~~ country_graph_coloring.c: At top level: country_graph_coloring.c:408:6: warning: no previous prototype for 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_' [-Wmissing-prototypes] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_': country_graph_coloring.c:408:113: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from country_graph_coloring.h:17, from country_graph_coloring.c:15: ../../lib/sparse/general.h:66:22: note: shadowed declaration is here extern unsigned char Verbose; ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' CC gvmap-country_graph_coloring.o country_graph_coloring.c: In function 'check_swap': country_graph_coloring.c:75:104: warning: unused parameter 'pq' [-Wunused-parameter] int u, int p_u, int v, int p_v, int *aband_local, int *p, int *p_inv, int aband, PriorityQueue pq, int *pmax, int *pmin, real lambda){ ^~ country_graph_coloring.c: At top level: country_graph_coloring.c:135:6: warning: no previous prototype for 'improve_antibandwidth_by_swapping_cheap' [-Wmissing-prototypes] void improve_antibandwidth_by_swapping_cheap(SparseMatrix A, int *p){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping_cheap': country_graph_coloring.c:152:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] p_inv = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c:153:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pmax = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c:154:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] pmin = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c:155:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] aband_local = MALLOC(sizeof(int)*n); ^ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping': country_graph_coloring.c:232:16: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] real start = clock(); ^~~~~ country_graph_coloring.c:249:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] (p)[i] = pj; ^~ country_graph_coloring.c:250:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] (p)[j] = pi; ^~ country_graph_coloring.c:261:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] (p)[i] = pi; ^~ country_graph_coloring.c:262:11: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] (p)[j] = pj; ^~ country_graph_coloring.c:266:43: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] fprintf(fp,"%f %f %f\n", (real) (clock() - start)/(CLOCKS_PER_SEC), norm1[0], norm1[2]); ^ country_graph_coloring.c:272:48: warning: conversion to 'double' from 'clock_t {aka long int}' may alter its value [-Wconversion] fprintf(fp,"%f %f %f\n", (real) (clock() - start)/(CLOCKS_PER_SEC), norm1[0], norm1[2]); ^ country_graph_coloring.c: At top level: country_graph_coloring.c:277:6: warning: no previous prototype for 'country_graph_coloring_internal' [-Wmissing-prototypes] void country_graph_coloring_internal(int seed, SparseMatrix A, int **p, real *norm_1, int do_swapping){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping_for_fortran': country_graph_coloring.c:367:13: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] Verbose = *verbose; ^ country_graph_coloring.c:391:9: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] cpu = (clock() - start)/(CLOCKS_PER_SEC); ^ country_graph_coloring.c:352:65: warning: unused parameter 'nz' [-Wunused-parameter] void improve_antibandwidth_by_swapping_for_fortran(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *verbose){ ^~ country_graph_coloring.c: At top level: country_graph_coloring.c:402:6: warning: no previous prototype for 'improve_antibandwidth_by_swapping_for_fortran_' [-Wmissing-prototypes] void improve_antibandwidth_by_swapping_for_fortran_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'improve_antibandwidth_by_swapping_for_fortran_': country_graph_coloring.c:402:113: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] void improve_antibandwidth_by_swapping_for_fortran_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from country_graph_coloring.h:17, from country_graph_coloring.c:15: ../../lib/sparse/general.h:66:22: note: shadowed declaration is here extern unsigned char Verbose; ^~~~~~~ country_graph_coloring.c: At top level: country_graph_coloring.c:405:6: warning: no previous prototype for 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN' [-Wmissing-prototypes] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN': country_graph_coloring.c:405:112: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from country_graph_coloring.h:17, from country_graph_coloring.c:15: ../../lib/sparse/general.h:66:22: note: shadowed declaration is here extern unsigned char Verbose; ^~~~~~~ country_graph_coloring.c: At top level: country_graph_coloring.c:408:6: warning: no previous prototype for 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_' [-Wmissing-prototypes] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ country_graph_coloring.c: In function 'IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_': country_graph_coloring.c:408:113: warning: declaration of 'Verbose' shadows a global declaration [-Wshadow] void IMPROVE_ANTIBANDWIDTH_BY_SWAPPING_FOR_FORTRAN_(int *n, int *nz, int *ja, int *ia, int *p, int *aprof, int *Verbose){ ^~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from country_graph_coloring.h:17, from country_graph_coloring.c:15: ../../lib/sparse/general.h:66:22: note: shadowed declaration is here extern unsigned char Verbose; ^~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' CC gvmap-make_map.o make_map.c: In function 'map_palette_optimal_coloring': make_map.c:83:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_r = MALLOC(sizeof(float)*(n+1)); ^ make_map.c:84:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_g = MALLOC(sizeof(float)*(n+1)); ^ make_map.c:85:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_b = MALLOC(sizeof(float)*(n+1)); ^ make_map.c: In function 'improve_contiguity': make_map.c:120:120: warning: unused parameter 'label_sizes' [-Wunused-parameter] void improve_contiguity(int n, int dim, int *grouping, SparseMatrix poly_point_map, real *x, SparseMatrix graph, real *label_sizes){ ^~~~~~~~~~~ make_map.c: In function 'normal': make_map.c:220:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v[0] == 0){ ^~ make_map.c: In function 'triangle_center': make_map.c:258:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (bot == 0){/* xy and yz are parallel */ ^~ make_map.c: At top level: make_map.c:280:6: warning: no previous prototype for 'plot_polys' [-Wmissing-prototypes] void plot_polys(int use_line, SparseMatrix polys, real *x_poly, int *polys_groups, float *r, float *g, float *b){ ^~~~~~~~~~ make_map.c: In function 'plot_polys': make_map.c:281:88: warning: unused variable 'nverts' [-Wunused-variable] int i, j, *ia = polys->ia, *ja = polys->ja, *a = (int*) polys->a, npolys = polys->m, nverts = polys->n, ipoly = -1, max_grp, ^~~~~~ make_map.c: In function 'plot_dot_edges': make_map.c:580:57: warning: unused parameter 'dim' [-Wunused-parameter] static void plot_dot_edges(FILE *f, SparseMatrix A, int dim, real *x){ ^~~ make_map.c:580:68: warning: unused parameter 'x' [-Wunused-parameter] static void plot_dot_edges(FILE *f, SparseMatrix A, int dim, real *x){ ^ make_map.c: At top level: make_map.c:615:6: warning: no previous prototype for 'plot_dot_labels' [-Wmissing-prototypes] void plot_dot_labels(FILE *f, int n, int dim, real *x, char **labels, real *width, float *fsz){ ^~~~~~~~~~~~~~~ make_map.c: In function 'plot_dot_labels': make_map.c:615:77: warning: unused parameter 'width' [-Wunused-parameter] void plot_dot_labels(FILE *f, int n, int dim, real *x, char **labels, real *width, float *fsz){ ^~~~~ make_map.c: In function 'dot_polygon': make_map.c:660:15: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len_swidth = strlen(swidth); ^~~~~~ make_map.c:672:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] *len_max = *len_max + MAX(100, 0.2*(*len_max)) + ret; ^ make_map.c:673:32: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] *sbuff = REALLOC(*sbuff, *len_max); ^ make_map.c:682:22: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len_swidth = strlen(swidth); ^~~~~~ make_map.c:645:18: warning: unused parameter 'close' [-Wunused-parameter] int fill, int close, char *cstring){ ^~~~~ make_map.c: In function 'processing_polygon': make_map.c:699:102: warning: unused parameter 'close' [-Wunused-parameter] static void processing_polygon(FILE *f, int np, float *xp, float *yp, real line_width, int fill, int close, ^~~~~ make_map.c: At top level: make_map.c:728:6: warning: no previous prototype for 'dot_one_poly' [-Wmissing-prototypes] void dot_one_poly(char **sbuff, int *len, int *len_max, int use_line, real line_width, int fill, int close, int is_river, int np, float *xp, float *yp, char *cstring){ ^~~~~~~~~~~~ make_map.c:740:6: warning: no previous prototype for 'processing_one_poly' [-Wmissing-prototypes] void processing_one_poly(FILE *f, int use_line, real line_width, int fill, int close, int is_river, int np, float *xp, float *yp, ^~~~~~~~~~~~~~~~~~~ make_map.c:754:6: warning: no previous prototype for 'plot_dot_polygons' [-Wmissing-prototypes] void plot_dot_polygons(char **sbuff, int *len, int *len_max, real line_width, char *line_color, SparseMatrix polys, real *x_poly, int *polys_groups, float *r, float *g, float *b, char *opacity){ ^~~~~~~~~~~~~~~~~ make_map.c: In function 'plot_dot_polygons': make_map.c:765:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:766:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] yp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:783:16: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c:783:44: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c:755:88: warning: unused variable 'nverts' [-Wunused-variable] int i, j, *ia = polys->ia, *ja = polys->ja, *a = (int*) polys->a, npolys = polys->m, nverts = polys->n, ipoly,first; ^~~~~~ make_map.c: At top level: make_map.c:798:6: warning: no previous prototype for 'plot_processing_polygons' [-Wmissing-prototypes] void plot_processing_polygons(FILE *f, real line_width, SparseMatrix polys, real *x_poly, int *polys_groups, float *r, float *g, float *b){ ^~~~~~~~~~~~~~~~~~~~~~~~ make_map.c: In function 'plot_processing_polygons': make_map.c:809:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:810:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] yp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:827:16: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c:827:44: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c:799:88: warning: unused variable 'nverts' [-Wunused-variable] int i, j, *ia = polys->ia, *ja = polys->ja, *a = (int*) polys->a, npolys = polys->m, nverts = polys->n, ipoly,first; ^~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from make_map.c:15: make_map.c: In function 'plot_dot_map': ../../lib/sparse/general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ make_map.c:849:11: note: in expansion of macro 'N_NEW' sbuff = N_NEW(len_max,char); ^~~~~ make_map.c:843:68: warning: unused parameter 'plot_label' [-Wunused-parameter] float *fsz, float *r, float *g, float *b, char* opacity, char *plot_label, real *bg_color, SparseMatrix A, FILE* f){ ^~~~~~~~~~ make_map.c:843:86: warning: unused parameter 'bg_color' [-Wunused-parameter] float *fsz, float *r, float *g, float *b, char* opacity, char *plot_label, real *bg_color, SparseMatrix A, FILE* f){ ^~~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from make_map.c:15: make_map.c: In function 'get_tri': ../../lib/sparse/general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ make_map.c:1010:8: note: in expansion of macro 'N_NEW' *T = N_NEW(ntri,struct Triangle); ^~~~~ make_map.c: At top level: make_map.c:1039:6: warning: no previous prototype for 'plot_labels' [-Wmissing-prototypes] void plot_labels(int n, int dim, real *x, char **labels){ ^~~~~~~~~~~ make_map.c:1057:6: warning: no previous prototype for 'plot_points' [-Wmissing-prototypes] void plot_points(int n, int dim, real *x){ ^~~~~~~~~~~ make_map.c:1088:6: warning: no previous prototype for 'plot_edges' [-Wmissing-prototypes] void plot_edges(int n, int dim, real *x, SparseMatrix A){ ^~~~~~~~~~ make_map.c: In function 'get_country_graph': make_map.c:1119:89: warning: unused parameter 'poly_point_map' [-Wunused-parameter] static SparseMatrix get_country_graph(int n, SparseMatrix A, int *groups, SparseMatrix *poly_point_map, int GRP_RANDOM, int GRP_BBOX){ ^~~~~~~~~~~~~~ make_map.c: In function 'get_poly_lines': make_map.c:1206:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] gmask = malloc(sizeof(int)*n); ^ make_map.c:1214:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] elist = MALLOC(sizeof(int)*(nt)*edim); ^ make_map.c:1214:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] elist = MALLOC(sizeof(int)*(nt)*edim); ^ make_map.c:1215:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tlist = MALLOC(sizeof(int)*nt*2); ^ make_map.c:1217:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *polys_groups = MALLOC(sizeof(int)*(ncomps)); ^ make_map.c: In function 'get_polygon_solids': make_map.c:1439:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] edge_table = MALLOC(sizeof(int)*ne*2); ^ make_map.c:1472:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cycle = MALLOC(sizeof(int)*ne*2); ^ make_map.c:1476:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] edge_cycle_map = MALLOC(sizeof(int)*ne); ^ make_map.c:1477:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] emask = MALLOC(sizeof(int)*ne); ^ make_map.c:1484:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] elist = MALLOC(sizeof(int)*(nt)*3); ^ make_map.c:1405:36: warning: unused parameter 'exclude_random' [-Wunused-parameter] static void get_polygon_solids(int exclude_random, int nt, SparseMatrix E, int ncomps, int *comps_ptr, int *comps, ^~~~~~~~~~~~~~ make_map.c:1406:16: warning: unused parameter 'groups' [-Wunused-parameter] int *groups, int *mask, real *x_poly, SparseMatrix *polys, int **polys_groups, ^~~~~~ make_map.c:1406:76: warning: unused parameter 'polys_groups' [-Wunused-parameter] int *groups, int *mask, real *x_poly, SparseMatrix *polys, int **polys_groups, ^~~~~~~~~~~~ make_map.c:1407:15: warning: unused parameter 'GRP_RANDOM' [-Wunused-parameter] int GRP_RANDOM, int GRP_BBOX){ ^~~~~~~~~~ make_map.c:1407:31: warning: unused parameter 'GRP_BBOX' [-Wunused-parameter] int GRP_RANDOM, int GRP_BBOX){ ^~~~~~~~ make_map.c: In function 'get_polygons': make_map.c:1684:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] groups = MALLOC(sizeof(int)*(n + nrandom)); ^ make_map.c:1700:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = MALLOC(sizeof(int)*MAX(n + nrandom, 2*nt)); ^ make_map.c:1700:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] make_map.c:1725:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x_poly = MALLOC(sizeof(real)*dim*nt); ^ make_map.c:1725:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x_poly = MALLOC(sizeof(real)*dim*nt); ^ make_map.c:1667:101: warning: unused parameter 'xcombined' [-Wunused-parameter] static void get_polygons(int exclude_random, int n, int nrandom, int dim, SparseMatrix graph, real *xcombined, int *grouping, ^~~~~~~~~ make_map.c: At top level: make_map.c:1756:5: warning: no previous prototype for 'make_map_internal' [-Wmissing-prototypes] int make_map_internal(int exclude_random, int include_OK_points, ^~~~~~~~~~~~~~~~~ make_map.c: In function 'make_map_internal': make_map.c:1813:9: warning: declaration of 'nz' shadows a previous local [-Wshadow] int nz; ^~ make_map.c:1769:13: note: shadowed declaration is here int imin, nz, nzok = 0, nzok0 = 0, nt; ^~ make_map.c:1819:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] y = MALLOC(sizeof(real)*(dim*n + dim*nz*np)); ^ make_map.c:1821:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grouping = MALLOC(sizeof(int)*(n + nz*np)); ^ make_map.c:1860:41: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (bounding_box_margin[i] == 0) {/* auto bounding box */ ^~ make_map.c:1873:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (bbm0 == 0) ^~ make_map.c:1879:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (bbm1 == 0) ^~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from make_map.c:15: ../../lib/sparse/general.h:46:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):b) ^ make_map.c:1889:18: note: in expansion of macro 'MAX' *nrandom = MAX(n1, n2); ^~~ ../../lib/sparse/general.h:46:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):b) ^ make_map.c:1889:18: note: in expansion of macro 'MAX' *nrandom = MAX(n1, n2); ^~~ make_map.c:1892:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xran = MALLOC(sizeof(real)*(*nrandom + 4)*dim2); ^ make_map.c:1892:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xran = MALLOC(sizeof(real)*(*nrandom + 4)*dim2); ^ make_map.c:1897:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grouping2 = MALLOC(sizeof(int)*(n + *nrandom)); ^ make_map.c:1898:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(grouping2, grouping, sizeof(int)*n); ^ make_map.c:1930:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xran = MALLOC(sizeof(real)*4*dim2); ^ make_map.c:1950:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(nn+*nrandom)*dim2); ^ make_map.c:1950:51: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(nn+*nrandom)*dim2); ^ make_map.c:1952:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(n+*nrandom)*dim2); ^ make_map.c:1952:50: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(n+*nrandom)*dim2); ^ make_map.c:1970:9: warning: declaration of 'nz' shadows a previous local [-Wshadow] int nz, nh = 0;/* the set to highlight */ ^~ make_map.c:1769:13: note: shadowed declaration is here int imin, nz, nzok = 0, nzok0 = 0, nt; ^~ make_map.c:1974:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xtemp = MALLOC(sizeof(real)*n*dim); ^ make_map.c:1974:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xtemp = MALLOC(sizeof(real)*n*dim); ^ make_map.c:1999:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(*xcombined, xtemp, n*dim*sizeof(real)); ^ make_map.c:1758:36: warning: unused parameter 'edge_bridge_tol' [-Wunused-parameter] real shore_depth_tol, real edge_bridge_tol, real **xcombined, int *nverts, real **x_poly, ^~~~~~~~~~~~~~~ make_map.c: In function 'add_point': make_map.c:2111:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = REALLOC(*x, sizeof(real)*2*(*nmax)); ^ make_map.c:2112:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *groups = REALLOC(*groups, sizeof(int)*(*nmax)); ^ make_map.c: In function 'make_map_from_rectangle_groups': make_map.c:2217:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] K = (int) 10/(1+n/400.);/* 0 if n > 3600*/ ^ make_map.c:2249:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] X = MALLOC(sizeof(real)*dim*(n+nmax)); ^ make_map.c:2249:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] X = MALLOC(sizeof(real)*dim*(n+nmax)); ^ make_map.c:2250:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] groups = MALLOC(sizeof(int)*(n+nmax)); ^ make_map.c:2261:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (shore_depth_tol == 0){ ^~ make_map.c:2286:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (avgsz == 0){ ^~ make_map.c:2289:16: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] nadded[j] = (int) K*sizes[i*dim+j]/avgsz; ^ make_map.c:2344:34: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (graph && edge_bridge_tol != 0){ ^~ make_map.c:2373:16: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] nadded[0] = (int) 2*KB*dist/avgdist; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' CCLD gvmap make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' CC cluster-make_map.o make_map.c: In function 'map_palette_optimal_coloring': make_map.c:83:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_r = MALLOC(sizeof(float)*(n+1)); ^ make_map.c:84:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_g = MALLOC(sizeof(float)*(n+1)); ^ make_map.c:85:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *rgb_b = MALLOC(sizeof(float)*(n+1)); ^ make_map.c: In function 'improve_contiguity': make_map.c:120:120: warning: unused parameter 'label_sizes' [-Wunused-parameter] void improve_contiguity(int n, int dim, int *grouping, SparseMatrix poly_point_map, real *x, SparseMatrix graph, real *label_sizes){ ^~~~~~~~~~~ make_map.c: In function 'normal': make_map.c:220:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (v[0] == 0){ ^~ make_map.c: In function 'triangle_center': make_map.c:258:11: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (bot == 0){/* xy and yz are parallel */ ^~ make_map.c: At top level: make_map.c:280:6: warning: no previous prototype for 'plot_polys' [-Wmissing-prototypes] void plot_polys(int use_line, SparseMatrix polys, real *x_poly, int *polys_groups, float *r, float *g, float *b){ ^~~~~~~~~~ make_map.c: In function 'plot_polys': make_map.c:281:88: warning: unused variable 'nverts' [-Wunused-variable] int i, j, *ia = polys->ia, *ja = polys->ja, *a = (int*) polys->a, npolys = polys->m, nverts = polys->n, ipoly = -1, max_grp, ^~~~~~ make_map.c: In function 'plot_dot_edges': make_map.c:580:57: warning: unused parameter 'dim' [-Wunused-parameter] static void plot_dot_edges(FILE *f, SparseMatrix A, int dim, real *x){ ^~~ make_map.c:580:68: warning: unused parameter 'x' [-Wunused-parameter] static void plot_dot_edges(FILE *f, SparseMatrix A, int dim, real *x){ ^ make_map.c: At top level: make_map.c:615:6: warning: no previous prototype for 'plot_dot_labels' [-Wmissing-prototypes] void plot_dot_labels(FILE *f, int n, int dim, real *x, char **labels, real *width, float *fsz){ ^~~~~~~~~~~~~~~ make_map.c: In function 'plot_dot_labels': make_map.c:615:77: warning: unused parameter 'width' [-Wunused-parameter] void plot_dot_labels(FILE *f, int n, int dim, real *x, char **labels, real *width, float *fsz){ ^~~~~ make_map.c: In function 'dot_polygon': make_map.c:660:15: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len_swidth = strlen(swidth); ^~~~~~ make_map.c:672:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] *len_max = *len_max + MAX(100, 0.2*(*len_max)) + ret; ^ make_map.c:673:32: warning: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Wsign-conversion] *sbuff = REALLOC(*sbuff, *len_max); ^ make_map.c:682:22: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion] len_swidth = strlen(swidth); ^~~~~~ make_map.c:645:18: warning: unused parameter 'close' [-Wunused-parameter] int fill, int close, char *cstring){ ^~~~~ make_map.c: In function 'processing_polygon': make_map.c:699:102: warning: unused parameter 'close' [-Wunused-parameter] static void processing_polygon(FILE *f, int np, float *xp, float *yp, real line_width, int fill, int close, ^~~~~ make_map.c: At top level: make_map.c:728:6: warning: no previous prototype for 'dot_one_poly' [-Wmissing-prototypes] void dot_one_poly(char **sbuff, int *len, int *len_max, int use_line, real line_width, int fill, int close, int is_river, int np, float *xp, float *yp, char *cstring){ ^~~~~~~~~~~~ make_map.c:740:6: warning: no previous prototype for 'processing_one_poly' [-Wmissing-prototypes] void processing_one_poly(FILE *f, int use_line, real line_width, int fill, int close, int is_river, int np, float *xp, float *yp, ^~~~~~~~~~~~~~~~~~~ make_map.c:754:6: warning: no previous prototype for 'plot_dot_polygons' [-Wmissing-prototypes] void plot_dot_polygons(char **sbuff, int *len, int *len_max, real line_width, char *line_color, SparseMatrix polys, real *x_poly, int *polys_groups, float *r, float *g, float *b, char *opacity){ ^~~~~~~~~~~~~~~~~ make_map.c: In function 'plot_dot_polygons': make_map.c:765:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:766:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] yp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:783:16: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c:783:44: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c:755:88: warning: unused variable 'nverts' [-Wunused-variable] int i, j, *ia = polys->ia, *ja = polys->ja, *a = (int*) polys->a, npolys = polys->m, nverts = polys->n, ipoly,first; ^~~~~~ make_map.c: At top level: make_map.c:798:6: warning: no previous prototype for 'plot_processing_polygons' [-Wmissing-prototypes] void plot_processing_polygons(FILE *f, real line_width, SparseMatrix polys, real *x_poly, int *polys_groups, float *r, float *g, float *b){ ^~~~~~~~~~~~~~~~~~~~~~~~ make_map.c: In function 'plot_processing_polygons': make_map.c:809:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:810:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] yp = MALLOC(sizeof(float)*maxlen); ^ make_map.c:827:16: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c:827:44: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion] xp[np] = x_poly[2*ja[j]]; yp[np++] = x_poly[2*ja[j]+1]; ^~~~~~ make_map.c:799:88: warning: unused variable 'nverts' [-Wunused-variable] int i, j, *ia = polys->ia, *ja = polys->ja, *a = (int*) polys->a, npolys = polys->m, nverts = polys->n, ipoly,first; ^~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from make_map.c:15: make_map.c: In function 'plot_dot_map': ../../lib/sparse/general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ make_map.c:849:11: note: in expansion of macro 'N_NEW' sbuff = N_NEW(len_max,char); ^~~~~ make_map.c:843:68: warning: unused parameter 'plot_label' [-Wunused-parameter] float *fsz, float *r, float *g, float *b, char* opacity, char *plot_label, real *bg_color, SparseMatrix A, FILE* f){ ^~~~~~~~~~ make_map.c:843:86: warning: unused parameter 'bg_color' [-Wunused-parameter] float *fsz, float *r, float *g, float *b, char* opacity, char *plot_label, real *bg_color, SparseMatrix A, FILE* f){ ^~~~~~~~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from make_map.c:15: make_map.c: In function 'get_tri': ../../lib/sparse/general.h:44:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] #define N_NEW(n,t) (t*)malloc((n)*sizeof(t)) ^ make_map.c:1010:8: note: in expansion of macro 'N_NEW' *T = N_NEW(ntri,struct Triangle); ^~~~~ make_map.c: At top level: make_map.c:1039:6: warning: no previous prototype for 'plot_labels' [-Wmissing-prototypes] void plot_labels(int n, int dim, real *x, char **labels){ ^~~~~~~~~~~ make_map.c:1057:6: warning: no previous prototype for 'plot_points' [-Wmissing-prototypes] void plot_points(int n, int dim, real *x){ ^~~~~~~~~~~ make_map.c:1088:6: warning: no previous prototype for 'plot_edges' [-Wmissing-prototypes] void plot_edges(int n, int dim, real *x, SparseMatrix A){ ^~~~~~~~~~ make_map.c: In function 'get_country_graph': make_map.c:1119:89: warning: unused parameter 'poly_point_map' [-Wunused-parameter] static SparseMatrix get_country_graph(int n, SparseMatrix A, int *groups, SparseMatrix *poly_point_map, int GRP_RANDOM, int GRP_BBOX){ ^~~~~~~~~~~~~~ make_map.c: In function 'get_poly_lines': make_map.c:1206:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] gmask = malloc(sizeof(int)*n); ^ make_map.c:1214:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] elist = MALLOC(sizeof(int)*(nt)*edim); ^ make_map.c:1214:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] elist = MALLOC(sizeof(int)*(nt)*edim); ^ make_map.c:1215:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tlist = MALLOC(sizeof(int)*nt*2); ^ make_map.c:1217:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *polys_groups = MALLOC(sizeof(int)*(ncomps)); ^ make_map.c: In function 'get_polygon_solids': make_map.c:1439:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] edge_table = MALLOC(sizeof(int)*ne*2); ^ make_map.c:1472:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] cycle = MALLOC(sizeof(int)*ne*2); ^ make_map.c:1476:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] edge_cycle_map = MALLOC(sizeof(int)*ne); ^ make_map.c:1477:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] emask = MALLOC(sizeof(int)*ne); ^ make_map.c:1484:29: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] elist = MALLOC(sizeof(int)*(nt)*3); ^ make_map.c:1405:36: warning: unused parameter 'exclude_random' [-Wunused-parameter] static void get_polygon_solids(int exclude_random, int nt, SparseMatrix E, int ncomps, int *comps_ptr, int *comps, ^~~~~~~~~~~~~~ make_map.c:1406:16: warning: unused parameter 'groups' [-Wunused-parameter] int *groups, int *mask, real *x_poly, SparseMatrix *polys, int **polys_groups, ^~~~~~ make_map.c:1406:76: warning: unused parameter 'polys_groups' [-Wunused-parameter] int *groups, int *mask, real *x_poly, SparseMatrix *polys, int **polys_groups, ^~~~~~~~~~~~ make_map.c:1407:15: warning: unused parameter 'GRP_RANDOM' [-Wunused-parameter] int GRP_RANDOM, int GRP_BBOX){ ^~~~~~~~~~ make_map.c:1407:31: warning: unused parameter 'GRP_BBOX' [-Wunused-parameter] int GRP_RANDOM, int GRP_BBOX){ ^~~~~~~~ make_map.c: In function 'get_polygons': make_map.c:1684:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] groups = MALLOC(sizeof(int)*(n + nrandom)); ^ make_map.c:1700:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] mask = MALLOC(sizeof(int)*MAX(n + nrandom, 2*nt)); ^ make_map.c:1700:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] make_map.c:1725:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x_poly = MALLOC(sizeof(real)*dim*nt); ^ make_map.c:1725:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x_poly = MALLOC(sizeof(real)*dim*nt); ^ make_map.c:1667:101: warning: unused parameter 'xcombined' [-Wunused-parameter] static void get_polygons(int exclude_random, int n, int nrandom, int dim, SparseMatrix graph, real *xcombined, int *grouping, ^~~~~~~~~ make_map.c: At top level: make_map.c:1756:5: warning: no previous prototype for 'make_map_internal' [-Wmissing-prototypes] int make_map_internal(int exclude_random, int include_OK_points, ^~~~~~~~~~~~~~~~~ make_map.c: In function 'make_map_internal': make_map.c:1813:9: warning: declaration of 'nz' shadows a previous local [-Wshadow] int nz; ^~ make_map.c:1769:13: note: shadowed declaration is here int imin, nz, nzok = 0, nzok0 = 0, nt; ^~ make_map.c:1819:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] y = MALLOC(sizeof(real)*(dim*n + dim*nz*np)); ^ make_map.c:1821:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grouping = MALLOC(sizeof(int)*(n + nz*np)); ^ make_map.c:1860:41: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (bounding_box_margin[i] == 0) {/* auto bounding box */ ^~ make_map.c:1873:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (bbm0 == 0) ^~ make_map.c:1879:21: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] else if (bbm1 == 0) ^~ In file included from ../../lib/sparse/SparseMatrix.h:16:0, from make_map.c:15: ../../lib/sparse/general.h:46:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):b) ^ make_map.c:1889:18: note: in expansion of macro 'MAX' *nrandom = MAX(n1, n2); ^~~ ../../lib/sparse/general.h:46:18: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] #define MAX(a,b) ((a)>(b)?(a):b) ^ make_map.c:1889:18: note: in expansion of macro 'MAX' *nrandom = MAX(n1, n2); ^~~ make_map.c:1892:31: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xran = MALLOC(sizeof(real)*(*nrandom + 4)*dim2); ^ make_map.c:1892:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xran = MALLOC(sizeof(real)*(*nrandom + 4)*dim2); ^ make_map.c:1897:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] grouping2 = MALLOC(sizeof(int)*(n + *nrandom)); ^ make_map.c:1898:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(grouping2, grouping, sizeof(int)*n); ^ make_map.c:1930:33: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xran = MALLOC(sizeof(real)*4*dim2); ^ make_map.c:1950:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(nn+*nrandom)*dim2); ^ make_map.c:1950:51: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(nn+*nrandom)*dim2); ^ make_map.c:1952:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(n+*nrandom)*dim2); ^ make_map.c:1952:50: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *xcombined = MALLOC(sizeof(real)*(n+*nrandom)*dim2); ^ make_map.c:1970:9: warning: declaration of 'nz' shadows a previous local [-Wshadow] int nz, nh = 0;/* the set to highlight */ ^~ make_map.c:1769:13: note: shadowed declaration is here int imin, nz, nzok = 0, nzok0 = 0, nt; ^~ make_map.c:1974:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xtemp = MALLOC(sizeof(real)*n*dim); ^ make_map.c:1974:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xtemp = MALLOC(sizeof(real)*n*dim); ^ make_map.c:1999:38: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] MEMCPY(*xcombined, xtemp, n*dim*sizeof(real)); ^ make_map.c:1758:36: warning: unused parameter 'edge_bridge_tol' [-Wunused-parameter] real shore_depth_tol, real edge_bridge_tol, real **xcombined, int *nverts, real **x_poly, ^~~~~~~~~~~~~~~ make_map.c: In function 'add_point': make_map.c:2111:36: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *x = REALLOC(*x, sizeof(real)*2*(*nmax)); ^ make_map.c:2112:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] *groups = REALLOC(*groups, sizeof(int)*(*nmax)); ^ make_map.c: In function 'make_map_from_rectangle_groups': make_map.c:2217:9: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] K = (int) 10/(1+n/400.);/* 0 if n > 3600*/ ^ make_map.c:2249:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] X = MALLOC(sizeof(real)*dim*(n+nmax)); ^ make_map.c:2249:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] X = MALLOC(sizeof(real)*dim*(n+nmax)); ^ make_map.c:2250:32: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] groups = MALLOC(sizeof(int)*(n+nmax)); ^ make_map.c:2261:32: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] } else if (shore_depth_tol == 0){ ^~ make_map.c:2286:12: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (avgsz == 0){ ^~ make_map.c:2289:16: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] nadded[j] = (int) K*sizes[i*dim+j]/avgsz; ^ make_map.c:2344:34: warning: comparing floating point with == or != is unsafe [-Wfloat-equal] if (graph && edge_bridge_tol != 0){ ^~ make_map.c:2373:16: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] nadded[0] = (int) 2*KB*dist/avgdist; ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' CCLD cluster make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' Making all in gvedit Making all in ui make[4]: Nothing to be done for 'all'. Making all in images make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. Making all in mingle make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/mingle' CC mingle-minglemain.o minglemain.c: In function 'genBundleColors': minglemain.c:324:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] real* lens = MALLOC(sizeof(real)*edge->npoints); ^ minglemain.c:338:7: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r = 255*t; g = 0; b = 255*(1-t); ^~~ minglemain.c:338:25: warning: conversion to 'int' from 'double' may alter its value [-Wfloat-conversion] r = 255*t; g = 0; b = 255*(1-t); ^~~ minglemain.c: In function 'bundle': minglemain.c:464:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xx = MALLOC(sizeof(real)*nz*4); ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/mingle' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/mingle' CCLD mingle make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/mingle' Making all in edgepaint make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/edgepaint' CC edgepaint-edgepaintmain.o edgepaintmain.c: In function 'init': edgepaintmain.c:129:15: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] while ((c = getopt(argc, argv, ":vc:a:s:r:l:o")) != -1) { ^~~~~~ edgepaintmain.c:129:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while ((c = getopt(argc, argv, ":vc:a:s:r:l:o")) != -1) { ^~ edgepaintmain.c: In function 'clarify': edgepaintmain.c:214:66: warning: unused parameter 'infile' [-Wunused-parameter] static int clarify(Agraph_t* g, real angle, real accuracy, char *infile, int check_edges_with_same_endpoint, int seed, char *color_scheme, char *lightness){ ^~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/edgepaint' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/edgepaint' CCLD edgepaint make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/edgepaint' make[3]: Nothing to be done for 'all-am'. Making all in tclpkg Making all in tclstubs make[3]: Nothing to be done for 'all'. Making all in tclhandle make[3]: Nothing to be done for 'all'. Making all in gdtclft Making all in demo make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. Making all in tcldot Making all in demo make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. Making all in tclpathplan Making all in demo Making all in pathplan_data make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all-am'. make[4]: Nothing to be done for 'all-am'. Making all in gv Making all in demo make[4]: Nothing to be done for 'all'. make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CC libgv_perl_la-gv_builtins.lo make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' swig -c++ -guile -o gv_guile.cpp ./gv.i /bin/sed -e 's/SWIG_GUILE_INIT_STATIC void/void/' t$ mv -f t$ gv_guile.cpp make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CC libgv_guile_la-gv_builtins.lo make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CC libgv_guile_la-gv_dummy_init.lo gv_dummy_init.c:3:6: warning: no previous prototype for 'gv_string_writer_init' [-Wmissing-prototypes] void gv_string_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_string_writer_init': gv_dummy_init.c:3:36: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_string_writer_init (GVC_t *gvc) {} ^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:4:6: warning: no previous prototype for 'gv_channel_writer_init' [-Wmissing-prototypes] void gv_channel_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_channel_writer_init': gv_dummy_init.c:4:37: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_channel_writer_init (GVC_t *gvc) {} ^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:5:6: warning: no previous prototype for 'gv_writer_reset' [-Wmissing-prototypes] void gv_writer_reset (GVC_t *gvc) {} ^~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_writer_reset': gv_dummy_init.c:5:30: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_writer_reset (GVC_t *gvc) {} ^~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CC libgv_python_la-gv_builtins.lo make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CC libgv_perl_la-gv_dummy_init.lo gv_dummy_init.c:3:6: warning: no previous prototype for 'gv_string_writer_init' [-Wmissing-prototypes] void gv_string_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_string_writer_init': gv_dummy_init.c:3:36: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_string_writer_init (GVC_t *gvc) {} ^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:4:6: warning: no previous prototype for 'gv_channel_writer_init' [-Wmissing-prototypes] void gv_channel_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_channel_writer_init': gv_dummy_init.c:4:37: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_channel_writer_init (GVC_t *gvc) {} ^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:5:6: warning: no previous prototype for 'gv_writer_reset' [-Wmissing-prototypes] void gv_writer_reset (GVC_t *gvc) {} ^~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_writer_reset': gv_dummy_init.c:5:30: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_writer_reset (GVC_t *gvc) {} ^~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CC libgv_python_la-gv_dummy_init.lo gv_dummy_init.c:3:6: warning: no previous prototype for 'gv_string_writer_init' [-Wmissing-prototypes] void gv_string_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_string_writer_init': gv_dummy_init.c:3:36: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_string_writer_init (GVC_t *gvc) {} ^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:4:6: warning: no previous prototype for 'gv_channel_writer_init' [-Wmissing-prototypes] void gv_channel_writer_init (GVC_t *gvc) {} ^~~~~~~~~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_channel_writer_init': gv_dummy_init.c:4:37: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_channel_writer_init (GVC_t *gvc) {} ^~~ gv_dummy_init.c: At top level: gv_dummy_init.c:5:6: warning: no previous prototype for 'gv_writer_reset' [-Wmissing-prototypes] void gv_writer_reset (GVC_t *gvc) {} ^~~~~~~~~~~~~~~ gv_dummy_init.c: In function 'gv_writer_reset': gv_dummy_init.c:5:30: warning: unused parameter 'gvc' [-Wunused-parameter] void gv_writer_reset (GVC_t *gvc) {} ^~~ make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' swig -c++ -perl -o gv_perl.cpp ./gv.i make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' swig -c++ -python -o gv_python.cpp ./gv.i make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CXX libgv_python_la-gv.lo make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CXX libgv_perl_la-gv.lo make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CXX libgv_guile_la-gv.lo make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CXX libgv_guile_la-gv_guile.lo make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CXXLD libgv_guile.la make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CXX libgv_python_la-gv_python.lo make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CXXLD libgv_python.la make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CXX libgv_perl_la-gv_perl.lo make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' CXXLD libgv_perl.la make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[3]: Nothing to be done for 'all-am'. Making all in doc Making all in info make[3]: Nothing to be done for 'all'. Making all in schema make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in contrib Making all in prune make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/prune' CC generic_list.o make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/prune' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/prune' CC prune.o make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/prune' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/prune' CCLD prune make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/prune' Making all in diffimg make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/diffimg' CC diffimg.o diffimg.c: In function 'imageDiff': diffimg.c:159:45: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] d = (bool)( gdImageGetTrueColorPixel(B,x,y) ^ diffimg.c:159:47: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] d = (bool)( gdImageGetTrueColorPixel(B,x,y) ^ diffimg.c:160:38: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] - gdImageGetTrueColorPixel(A,x,y)); ^ diffimg.c:160:40: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] - gdImageGetTrueColorPixel(A,x,y)); ^ diffimg.c:161:33: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] gdImageSetPixel (C, x, y, (d ? white : black)); ^ diffimg.c:161:36: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] gdImageSetPixel (C, x, y, (d ? white : black)); ^ diffimg.c: In function 'main': diffimg.c:185:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] minSX = (gdImageSX(A) < gdImageSX(B)) ? gdImageSX(A) : gdImageSX(B); ^ diffimg.c:186:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] minSY = (gdImageSY(A) < gdImageSY(B)) ? gdImageSY(A) : gdImageSY(B); ^ diffimg.c:187:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] maxSX = (gdImageSX(A) > gdImageSX(B)) ? gdImageSX(A) : gdImageSX(B); ^ diffimg.c:188:13: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] maxSY = (gdImageSY(A) > gdImageSY(B)) ? gdImageSY(A) : gdImageSY(B); ^ diffimg.c:190:31: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] C = gdImageCreatePalette (maxSX, maxSY); ^~~~~ diffimg.c:190:38: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] C = gdImageCreatePalette (maxSX, maxSY); ^~~~~ diffimg.c:192:13: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] white = gdImageColorAllocate(C, gdRedMax, gdGreenMax, gdBlueMax); ^~~~~~~~~~~~~~~~~~~~ diffimg.c:193:13: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] black = gdImageColorAllocate(C, 0, 0, 0); ^~~~~~~~~~~~~~~~~~~~ diffimg.c:196:28: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] gdImageFilledRectangle(C, minSX, minSY, maxSX-1, maxSY-1, black); ^~~~~ diffimg.c:196:35: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] gdImageFilledRectangle(C, minSX, minSY, maxSX-1, maxSY-1, black); ^~~~~ diffimg.c:196:42: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] gdImageFilledRectangle(C, minSX, minSY, maxSX-1, maxSY-1, black); ^~~~~ diffimg.c:196:51: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] gdImageFilledRectangle(C, minSX, minSY, maxSX-1, maxSY-1, black); ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/diffimg' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/diffimg' CCLD diffimg make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/diffimg' make[3]: Nothing to be done for 'all-am'. Making all in share Making all in examples make[3]: Nothing to be done for 'all'. Making all in gui make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in graphs Making all in directed make[3]: Nothing to be done for 'all'. Making all in undirected make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in rtest make[2]: Nothing to be done for 'all'. Making all in tests Making all in unit_tests Making all in lib Making all in common make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all-am'. make[4]: Nothing to be done for 'all-am'. Making all in regression_tests Making all in shapes make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. make[3]: Nothing to be done for 'all-am'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.6513 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/graphviz-buildroot + : + /bin/rm -rf -- /usr/src/tmp/graphviz-buildroot + cd graphviz-2.40.1 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/graphviz-buildroot make: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1' make install-recursive make[1]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1' Making install in libltdl make[2]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make install-am make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' make[2]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/libltdl' Making install in lib make[2]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib' Making install in cdt make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64' /bin/sh ../../libtool --mode=install /bin/install -p libcdt.la '/usr/src/tmp/graphviz-buildroot/usr/lib64' libtool: install: /bin/install -p .libs/libcdt.so.5.0.0 /usr/src/tmp/graphviz-buildroot/usr/lib64/libcdt.so.5.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f libcdt.so.5.0.0 libcdt.so.5 || { rm -f libcdt.so.5 && ln -s libcdt.so.5.0.0 libcdt.so.5; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f libcdt.so.5.0.0 libcdt.so || { rm -f libcdt.so && ln -s libcdt.so.5.0.0 libcdt.so; }; }) libtool: install: /bin/install -p .libs/libcdt.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/libcdt.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/install -p -m 644 cdt.3 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 cdt.3.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/install -p -m 644 libcdt.pc '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' /bin/install -p -m 644 cdt.h '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt' Making install in cgraph make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64' /bin/sh ../../libtool --mode=install /bin/install -p libcgraph.la '/usr/src/tmp/graphviz-buildroot/usr/lib64' libtool: install: warning: relinking `libcgraph.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CC --mode=relink x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -version-info 6:0:0 -no-undefined -o libcgraph.la -rpath /usr/lib64 agerror.lo agxbuf.lo apply.lo attr.lo edge.lo flatten.lo graph.lo grammar.lo id.lo imap.lo io.lo mem.lo node.lo obj.lo pend.lo rec.lo refstr.lo scan.lo subg.lo utils.lo write.lo ../../lib/cdt/libcdt.la -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libcgraph.so.6.0.0T /usr/src/tmp/graphviz-buildroot/usr/lib64/libcgraph.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f libcgraph.so.6.0.0 libcgraph.so.6 || { rm -f libcgraph.so.6 && ln -s libcgraph.so.6.0.0 libcgraph.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f libcgraph.so.6.0.0 libcgraph.so || { rm -f libcgraph.so && ln -s libcgraph.so.6.0.0 libcgraph.so; }; }) libtool: install: /bin/install -p .libs/libcgraph.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/libcgraph.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/install -p -m 644 cgraph.3 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 cgraph.3.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/install -p -m 644 libcgraph.pc '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' /bin/install -p -m 644 cgraph.h '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cgraph' Making install in pathplan make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64' /bin/sh ../../libtool --mode=install /bin/install -p libpathplan.la '/usr/src/tmp/graphviz-buildroot/usr/lib64' libtool: install: /bin/install -p .libs/libpathplan.so.4.0.0 /usr/src/tmp/graphviz-buildroot/usr/lib64/libpathplan.so.4.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f libpathplan.so.4.0.0 libpathplan.so.4 || { rm -f libpathplan.so.4 && ln -s libpathplan.so.4.0.0 libpathplan.so.4; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f libpathplan.so.4.0.0 libpathplan.so || { rm -f libpathplan.so && ln -s libpathplan.so.4.0.0 libpathplan.so; }; }) libtool: install: /bin/install -p .libs/libpathplan.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/libpathplan.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/install -p -m 644 pathplan.3 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 pathplan.3.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/install -p -m 644 libpathplan.pc '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' /bin/install -p -m 644 pathgeom.h pathplan.h '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pathplan' Making install in sfio make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' Making install in Sfio_f make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio/Sfio_f' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfio' Making install in vmalloc make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vmalloc' Making install in ast make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ast' Making install in vpsc make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/vpsc' Making install in rbtree make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/rbtree' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/rbtree' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/rbtree' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/rbtree' Making install in ortho make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ortho' Making install in sparse make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sparse' Making install in patchwork make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/patchwork' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/patchwork' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/patchwork' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/patchwork' Making install in expr make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/install -p -m 644 expr.3 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 expr.3.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/expr' Making install in common make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make install-am make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' /bin/install -p -m 644 arith.h geom.h color.h types.h textspan.h usershape.h '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/common' Making install in pack make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pack' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pack' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/install -p -m 644 pack.3 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 pack.3.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' /bin/install -p -m 644 pack.h '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pack' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/pack' Making install in xdot make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/xdot' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/xdot' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64' /bin/sh ../../libtool --mode=install /bin/install -p libxdot.la '/usr/src/tmp/graphviz-buildroot/usr/lib64' libtool: install: /bin/install -p .libs/libxdot.so.4.0.0 /usr/src/tmp/graphviz-buildroot/usr/lib64/libxdot.so.4.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f libxdot.so.4.0.0 libxdot.so.4 || { rm -f libxdot.so.4 && ln -s libxdot.so.4.0.0 libxdot.so.4; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f libxdot.so.4.0.0 libxdot.so || { rm -f libxdot.so && ln -s libxdot.so.4.0.0 libxdot.so; }; }) libtool: install: /bin/install -p .libs/libxdot.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/libxdot.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/install -p -m 644 xdot.3 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 xdot.3.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/install -p -m 644 libxdot.pc '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' /bin/install -p -m 644 xdot.h '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/xdot' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/xdot' Making install in label make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/label' Making install in gvc make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64' /bin/sh ../../libtool --mode=install /bin/install -p libgvc.la '/usr/src/tmp/graphviz-buildroot/usr/lib64' libtool: install: warning: relinking `libgvc.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CC --mode=relink x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -version-info 6:0:0 -no-undefined -o libgvc.la -rpath /usr/lib64 gvrender.lo gvlayout.lo gvdevice.lo gvloadimage.lo gvcontext.lo gvjobs.lo gvevent.lo gvplugin.lo gvconfig.lo gvtool_tred.lo gvtextlayout.lo gvusershape.lo gvc.lo ../../lib/pack/libpack_C.la ../../lib/xdot/libxdot_C.la ../../lib/label/liblabel_C.la ../../lib/common/libcommon_C.la ../../lib/ortho/libortho_C.la ../../libltdl/libltdlc.la ../../lib/xdot/libxdot.la ../../lib/cdt/libcdt.la ../../lib/cgraph/libcgraph.la ../../lib/pathplan/libpathplan.la -L/usr/lib64 -lexpat -lz -lm -lz -lm -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgvc.so.6.0.0T /usr/src/tmp/graphviz-buildroot/usr/lib64/libgvc.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f libgvc.so.6.0.0 libgvc.so.6 || { rm -f libgvc.so.6 && ln -s libgvc.so.6.0.0 libgvc.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f libgvc.so.6.0.0 libgvc.so || { rm -f libgvc.so && ln -s libgvc.so.6.0.0 libgvc.so; }; }) libtool: install: /bin/install -p .libs/libgvc.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/libgvc.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/install -p -m 644 gvc.3 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 gvc.3.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/install -p -m 644 libgvc.pc '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' /bin/install -p -m 644 gvc.h gvcext.h gvplugin.h gvcjob.h gvcommon.h gvplugin_render.h gvplugin_layout.h gvconfig.h gvplugin_textlayout.h gvplugin_device.h gvplugin_loadimage.h '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvc' Making install in ingraphs make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ingraphs' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ingraphs' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ingraphs' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/ingraphs' Making install in topfish make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/topfish' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/topfish' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/topfish' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/topfish' Making install in glcomp make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/glcomp' Making install in mingle make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/mingle' Making install in edgepaint make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64' /bin/sh ../../libtool --mode=install /bin/install -p liblab_gamut.la '/usr/src/tmp/graphviz-buildroot/usr/lib64' libtool: install: /bin/install -p .libs/liblab_gamut.so.1.0.0 /usr/src/tmp/graphviz-buildroot/usr/lib64/liblab_gamut.so.1.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f liblab_gamut.so.1.0.0 liblab_gamut.so.1 || { rm -f liblab_gamut.so.1 && ln -s liblab_gamut.so.1.0.0 liblab_gamut.so.1; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f liblab_gamut.so.1.0.0 liblab_gamut.so || { rm -f liblab_gamut.so && ln -s liblab_gamut.so.1.0.0 liblab_gamut.so; }; }) libtool: install: /bin/install -p .libs/liblab_gamut.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/liblab_gamut.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/install -p -m 644 lab_gamut.3 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 lab_gamut.3.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/install -p -m 644 liblab_gamut.pc '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/edgepaint' Making install in circogen make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/circogen' Making install in dotgen make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/dotgen' Making install in fdpgen make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/fdpgen' Making install in neatogen make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/neatogen' Making install in twopigen make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/twopigen' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/twopigen' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/twopigen' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/twopigen' Making install in sfdpgen make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/sfdpgen' Making install in osage make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/osage' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/osage' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/osage' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/osage' Making install in gvpr make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64' /bin/sh ../../libtool --mode=install /bin/install -p libgvpr.la '/usr/src/tmp/graphviz-buildroot/usr/lib64' libtool: install: warning: relinking `libgvpr.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CC --mode=relink x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -version-info 2:0:0 -no-undefined -o libgvpr.la -rpath /usr/lib64 actions.lo compile.lo gvpr.lo gprstate.lo parse.lo queue.lo ../../lib/ingraphs/libingraphs_C.la ../../lib/expr/libexpr_C.la ../../lib/cdt/libcdt.la ../../lib/cgraph/libcgraph.la -lm -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgvpr.so.2.0.0T /usr/src/tmp/graphviz-buildroot/usr/lib64/libgvpr.so.2.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f libgvpr.so.2.0.0 libgvpr.so.2 || { rm -f libgvpr.so.2 && ln -s libgvpr.so.2.0.0 libgvpr.so.2; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64 && { ln -s -f libgvpr.so.2.0.0 libgvpr.so || { rm -f libgvpr.so && ln -s libgvpr.so.2.0.0 libgvpr.so; }; }) libtool: install: /bin/install -p .libs/libgvpr.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/libgvpr.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/install -p -m 644 gvpr.3 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 gvpr.3.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/install -p -m 644 libgvpr.pc '/usr/src/tmp/graphviz-buildroot/usr/lib64/pkgconfig' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' /bin/install -p -m 644 gvpr.h '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/gvpr' Making install in spine make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib/spine' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib' make[2]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/lib' Making install in plugin make[2]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin' Making install in core make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' /bin/sh ../../libtool --mode=install /bin/install -p libgvplugin_core.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' libtool: install: warning: relinking `libgvplugin_core.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CC --mode=relink x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -version-info 6:0:0 -o libgvplugin_core.la -rpath /usr/lib64/graphviz gvplugin_core.lo gvrender_core_dot.lo gvrender_core_json.lo gvrender_core_fig.lo gvrender_core_map.lo gvrender_core_mp.lo gvrender_core_ps.lo gvrender_core_svg.lo gvrender_core_tk.lo gvrender_core_vml.lo gvrender_core_pov.lo gvrender_core_pic.lo gvloadimage_core.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgvplugin_core.so.6.0.0T /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_core.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_core.so.6.0.0 libgvplugin_core.so.6 || { rm -f libgvplugin_core.so.6 && ln -s libgvplugin_core.so.6.0.0 libgvplugin_core.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_core.so.6.0.0 libgvplugin_core.so || { rm -f libgvplugin_core.so && ln -s libgvplugin_core.so.6.0.0 libgvplugin_core.so; }; }) libtool: install: /bin/install -p .libs/libgvplugin_core.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_core.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/core' Making install in devil make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/devil' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/devil' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/devil' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/devil' Making install in gd make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' /bin/sh ../../libtool --mode=install /bin/install -p libgvplugin_gd.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' libtool: install: warning: relinking `libgvplugin_gd.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CC --mode=relink x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -version-info 6:0:0 -o libgvplugin_gd.la -rpath /usr/lib64/graphviz gvplugin_gd.lo gvrender_gd.lo gvrender_gd_vrml.lo gvtextlayout_gd.lo gvloadimage_gd.lo gvdevice_gd.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lgd -lm -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgvplugin_gd.so.6.0.0T /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gd.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_gd.so.6.0.0 libgvplugin_gd.so.6 || { rm -f libgvplugin_gd.so.6 && ln -s libgvplugin_gd.so.6.0.0 libgvplugin_gd.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_gd.so.6.0.0 libgvplugin_gd.so || { rm -f libgvplugin_gd.so && ln -s libgvplugin_gd.so.6.0.0 libgvplugin_gd.so; }; }) libtool: install: /bin/install -p .libs/libgvplugin_gd.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gd.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gd' Making install in gdk make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' /bin/sh ../../libtool --mode=install /bin/install -p libgvplugin_gdk.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' libtool: install: warning: relinking `libgvplugin_gdk.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CC --mode=relink x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -version-info 6:0:0 -o libgvplugin_gdk.la -rpath /usr/lib64/graphviz gvplugin_gdk.lo gvdevice_gdk.lo gvloadimage_gdk.lo ../../lib/gvc/libgvc.la -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgvplugin_gdk.so.6.0.0T /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gdk.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_gdk.so.6.0.0 libgvplugin_gdk.so.6 || { rm -f libgvplugin_gdk.so.6 && ln -s libgvplugin_gdk.so.6.0.0 libgvplugin_gdk.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_gdk.so.6.0.0 libgvplugin_gdk.so || { rm -f libgvplugin_gdk.so && ln -s libgvplugin_gdk.so.6.0.0 libgvplugin_gdk.so; }; }) libtool: install: /bin/install -p .libs/libgvplugin_gdk.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gdk.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdk' Making install in gdiplus make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdiplus' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdiplus' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdiplus' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gdiplus' Making install in glitz make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/glitz' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/glitz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/glitz' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/glitz' Making install in gs make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' /bin/sh ../../libtool --mode=install /bin/install -p libgvplugin_gs.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' libtool: install: warning: relinking `libgvplugin_gs.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CC --mode=relink x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -version-info 6:0:0 -o libgvplugin_gs.la -rpath /usr/lib64/graphviz gvplugin_gs.lo gvloadimage_gs.lo ../../lib/gvc/libgvc.la -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lgs -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgvplugin_gs.so.6.0.0T /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gs.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_gs.so.6.0.0 libgvplugin_gs.so.6 || { rm -f libgvplugin_gs.so.6 && ln -s libgvplugin_gs.so.6.0.0 libgvplugin_gs.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_gs.so.6.0.0 libgvplugin_gs.so || { rm -f libgvplugin_gs.so && ln -s libgvplugin_gs.so.6.0.0 libgvplugin_gs.so; }; }) libtool: install: /bin/install -p .libs/libgvplugin_gs.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gs.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gs' Making install in gtk make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' /bin/sh ../../libtool --mode=install /bin/install -p libgvplugin_gtk.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' libtool: install: /bin/install -p .libs/libgvplugin_gtk.so.6.0.0 /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gtk.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_gtk.so.6.0.0 libgvplugin_gtk.so.6 || { rm -f libgvplugin_gtk.so.6 && ln -s libgvplugin_gtk.so.6.0.0 libgvplugin_gtk.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_gtk.so.6.0.0 libgvplugin_gtk.so || { rm -f libgvplugin_gtk.so && ln -s libgvplugin_gtk.so.6.0.0 libgvplugin_gtk.so; }; }) libtool: install: /bin/install -p .libs/libgvplugin_gtk.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gtk.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/gtk' Making install in lasi make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' /bin/sh ../../libtool --mode=install /bin/install -p libgvplugin_lasi.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' libtool: install: warning: relinking `libgvplugin_lasi.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CXX --mode=relink x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -version-info 6:0:0 -o libgvplugin_lasi.la -rpath /usr/lib64/graphviz gvplugin_lasi.lo gvrender_lasi.lo gvloadimage_lasi.lo ../../lib/gvc/libgvc.la -lLASi -lpangoft2-1.0 -lfontconfig -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfreetype -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lm -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgvplugin_lasi.so.6.0.0T /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_lasi.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_lasi.so.6.0.0 libgvplugin_lasi.so.6 || { rm -f libgvplugin_lasi.so.6 && ln -s libgvplugin_lasi.so.6.0.0 libgvplugin_lasi.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_lasi.so.6.0.0 libgvplugin_lasi.so || { rm -f libgvplugin_lasi.so && ln -s libgvplugin_lasi.so.6.0.0 libgvplugin_lasi.so; }; }) libtool: install: /bin/install -p .libs/libgvplugin_lasi.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_lasi.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/lasi' Making install in ming make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/ming' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/ming' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/ming' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/ming' Making install in pango make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' /bin/sh ../../libtool --mode=install /bin/install -p libgvplugin_pango.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' libtool: install: warning: relinking `libgvplugin_pango.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CC --mode=relink x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -version-info 6:0:0 -o libgvplugin_pango.la -rpath /usr/lib64/graphviz gvplugin_pango.lo gvrender_pango.lo gvgetfontlist_pango.lo gvtextlayout_pango.lo gvloadimage_pango.lo ../../lib/gvc/libgvc.la -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lm -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgvplugin_pango.so.6.0.0T /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_pango.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_pango.so.6.0.0 libgvplugin_pango.so.6 || { rm -f libgvplugin_pango.so.6 && ln -s libgvplugin_pango.so.6.0.0 libgvplugin_pango.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_pango.so.6.0.0 libgvplugin_pango.so || { rm -f libgvplugin_pango.so && ln -s libgvplugin_pango.so.6.0.0 libgvplugin_pango.so; }; }) libtool: install: /bin/install -p .libs/libgvplugin_pango.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_pango.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/pango' Making install in quartz make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/quartz' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/quartz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/quartz' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/quartz' Making install in rsvg make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/rsvg' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/rsvg' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' /bin/sh ../../libtool --mode=install /bin/install -p libgvplugin_rsvg.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' libtool: install: warning: relinking `libgvplugin_rsvg.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/plugin/rsvg; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CC --mode=relink x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -version-info 6:0:0 -o libgvplugin_rsvg.la -rpath /usr/lib64/graphviz gvplugin_rsvg.lo gvloadimage_rsvg.lo ../../lib/gvc/libgvc.la -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lXrender -lX11 -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgvplugin_rsvg.so.6.0.0T /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_rsvg.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_rsvg.so.6.0.0 libgvplugin_rsvg.so.6 || { rm -f libgvplugin_rsvg.so.6 && ln -s libgvplugin_rsvg.so.6.0.0 libgvplugin_rsvg.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_rsvg.so.6.0.0 libgvplugin_rsvg.so || { rm -f libgvplugin_rsvg.so && ln -s libgvplugin_rsvg.so.6.0.0 libgvplugin_rsvg.so; }; }) libtool: install: /bin/install -p .libs/libgvplugin_rsvg.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_rsvg.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/rsvg' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/rsvg' Making install in visio make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/visio' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/visio' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/visio' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/visio' Making install in xlib make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/install -p vimdot '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' /bin/sh ../../libtool --mode=install /bin/install -p libgvplugin_xlib.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' libtool: install: /bin/install -p .libs/libgvplugin_xlib.so.6.0.0 /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_xlib.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_xlib.so.6.0.0 libgvplugin_xlib.so.6 || { rm -f libgvplugin_xlib.so.6 && ln -s libgvplugin_xlib.so.6.0.0 libgvplugin_xlib.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_xlib.so.6.0.0 libgvplugin_xlib.so || { rm -f libgvplugin_xlib.so && ln -s libgvplugin_xlib.so.6.0.0 libgvplugin_xlib.so; }; }) libtool: install: /bin/install -p .libs/libgvplugin_xlib.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_xlib.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 vimdot.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 vimdot.1.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/xlib' Making install in dot_layout make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' /bin/sh ../../libtool --mode=install /bin/install -p libgvplugin_dot_layout.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' libtool: install: warning: relinking `libgvplugin_dot_layout.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CC --mode=relink x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -version-info 6:0:0 -o libgvplugin_dot_layout.la -rpath /usr/lib64/graphviz gvplugin_dot_layout.lo gvlayout_dot_layout.lo ../../lib/dotgen/libdotgen_C.la ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la ../../lib/pathplan/libpathplan.la -lm -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgvplugin_dot_layout.so.6.0.0T /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_dot_layout.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_dot_layout.so.6.0.0 libgvplugin_dot_layout.so.6 || { rm -f libgvplugin_dot_layout.so.6 && ln -s libgvplugin_dot_layout.so.6.0.0 libgvplugin_dot_layout.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_dot_layout.so.6.0.0 libgvplugin_dot_layout.so || { rm -f libgvplugin_dot_layout.so && ln -s libgvplugin_dot_layout.so.6.0.0 libgvplugin_dot_layout.so; }; }) libtool: install: /bin/install -p .libs/libgvplugin_dot_layout.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_dot_layout.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/dot_layout' Making install in neato_layout make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' /bin/sh ../../libtool --mode=install /bin/install -p libgvplugin_neato_layout.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz' libtool: install: warning: relinking `libgvplugin_neato_layout.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CC --mode=relink x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -version-info 6:0:0 -o libgvplugin_neato_layout.la -rpath /usr/lib64/graphviz gvplugin_neato_layout.lo gvlayout_neato_layout.lo ../../lib/neatogen/libneatogen_C.la ../../lib/twopigen/libtwopigen_C.la ../../lib/patchwork/libpatchwork_C.la ../../lib/osage/libosage_C.la ../../lib/fdpgen/libfdpgen_C.la ../../lib/sparse/libsparse_C.la ../../lib/rbtree/librbtree_C.la ../../lib/circogen/libcircogen_C.la ../../lib/sfdpgen/libsfdpgen_C.la ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la ../../lib/pathplan/libpathplan.la -lgts -lm -lgthread-2.0 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 ../../lib/vpsc/libvpsc_C.la -lstdc++ -lm -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgvplugin_neato_layout.so.6.0.0T /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_neato_layout.so.6.0.0 libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_neato_layout.so.6.0.0 libgvplugin_neato_layout.so.6 || { rm -f libgvplugin_neato_layout.so.6 && ln -s libgvplugin_neato_layout.so.6.0.0 libgvplugin_neato_layout.so.6; }; }) libtool: install: (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz && { ln -s -f libgvplugin_neato_layout.so.6.0.0 libgvplugin_neato_layout.so || { rm -f libgvplugin_neato_layout.so && ln -s libgvplugin_neato_layout.so.6.0.0 libgvplugin_neato_layout.so; }; }) libtool: install: /bin/install -p .libs/libgvplugin_neato_layout.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_neato_layout.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/neato_layout' Making install in webp make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/webp' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/webp' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/webp' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/webp' Making install in poppler make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/poppler' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/poppler' make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/poppler' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin/poppler' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin' make[2]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/plugin' Making install in cmd make[2]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd' Making install in dot make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /bin/install -p dot dot_builtins '/usr/src/tmp/graphviz-buildroot/usr/bin' libtool: install: warning: `../../lib/gvc/libgvc.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/dot /usr/src/tmp/graphviz-buildroot/usr/bin/dot libtool: install: warning: `../../plugin/dot_layout/libgvplugin_dot_layout.la' has not been installed in `/usr/lib64/graphviz' libtool: install: warning: `../../plugin/neato_layout/libgvplugin_neato_layout.la' has not been installed in `/usr/lib64/graphviz' libtool: install: warning: `../../plugin/core/libgvplugin_core.la' has not been installed in `/usr/lib64/graphviz' libtool: install: warning: `../../lib/gvc/libgvc.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/pathplan/libpathplan.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/xdot/libxdot.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cdt/libcdt.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../plugin/gd/libgvplugin_gd.la' has not been installed in `/usr/lib64/graphviz' libtool: install: warning: `../../plugin/pango/libgvplugin_pango.la' has not been installed in `/usr/lib64/graphviz' libtool: install: warning: `../../plugin/lasi/libgvplugin_lasi.la' has not been installed in `/usr/lib64/graphviz' libtool: install: /bin/install -p .libs/dot_builtins /usr/src/tmp/graphviz-buildroot/usr/bin/dot_builtins make install-exec-hook make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' (cd /usr/src/tmp/graphviz-buildroot/usr/bin; if test -x dot; then for i in neato twopi fdp circo osage patchwork sfdp; do rm -f $i; ln -s dot $i; done; fi;) if test "x/usr/src/tmp/graphviz-buildroot" = "x"; then if test -x /usr/bin/dot; then if test -x /sbin/ldconfig; then /sbin/ldconfig 2>/dev/null; fi; /usr/bin/dot -c; else /usr/bin/dot_static -c; fi; fi make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 dot.1 osage.1 patchwork.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 dot.1.pdf osage.1.pdf patchwork.1.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make install-data-hook make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' (cd /usr/src/tmp/graphviz-buildroot/usr/share/man/man1; for i in neato.1 twopi.1 fdp.1 circo.1 sfdp.1; do rm -f $i; ln -s dot.1 $i; done;) (cd /usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf; for i in neato.1.pdf twopi.1.pdf fdp.1.pdf circo.1.pdf sfdp.1.pdf; do rm -f $i; ln -s dot.1.pdf $i; done;) make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dot' Making install in tools make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /bin/install -p gc gvcolor gxl2gv acyclic nop ccomps sccmap tred unflatten gvpack dijkstra bcomps mm2gv gvgen gml2gv gv2gml graphml2gv '/usr/src/tmp/graphviz-buildroot/usr/bin' libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/gc /usr/src/tmp/graphviz-buildroot/usr/bin/gc libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/gvcolor /usr/src/tmp/graphviz-buildroot/usr/bin/gvcolor libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cdt/libcdt.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/gxl2gv /usr/src/tmp/graphviz-buildroot/usr/bin/gxl2gv libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/acyclic /usr/src/tmp/graphviz-buildroot/usr/bin/acyclic libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/nop /usr/src/tmp/graphviz-buildroot/usr/bin/nop libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/ccomps /usr/src/tmp/graphviz-buildroot/usr/bin/ccomps libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/sccmap /usr/src/tmp/graphviz-buildroot/usr/bin/sccmap libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/tred /usr/src/tmp/graphviz-buildroot/usr/bin/tred libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/unflatten /usr/src/tmp/graphviz-buildroot/usr/bin/unflatten libtool: install: warning: `../../lib/gvc/libgvc.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cdt/libcdt.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../plugin/neato_layout/libgvplugin_neato_layout.la' has not been installed in `/usr/lib64/graphviz' libtool: install: /bin/install -p .libs/gvpack /usr/src/tmp/graphviz-buildroot/usr/bin/gvpack libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cdt/libcdt.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/dijkstra /usr/src/tmp/graphviz-buildroot/usr/bin/dijkstra libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/bcomps /usr/src/tmp/graphviz-buildroot/usr/bin/bcomps libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/mm2gv /usr/src/tmp/graphviz-buildroot/usr/bin/mm2gv libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/gvgen /usr/src/tmp/graphviz-buildroot/usr/bin/gvgen libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cdt/libcdt.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/gml2gv /usr/src/tmp/graphviz-buildroot/usr/bin/gml2gv libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/gv2gml /usr/src/tmp/graphviz-buildroot/usr/bin/gv2gml libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cdt/libcdt.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/graphml2gv /usr/src/tmp/graphviz-buildroot/usr/bin/graphml2gv make install-exec-hook make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' (cd /usr/src/tmp/graphviz-buildroot/usr/bin; rm -f gv2gxl; ln -s gxl2gv gv2gxl;) (cd /usr/src/tmp/graphviz-buildroot/usr/bin; rm -f dot2gxl; ln -s gxl2gv dot2gxl;) (cd /usr/src/tmp/graphviz-buildroot/usr/bin; rm -f gxl2dot; ln -s gxl2gv gxl2dot;) make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 gc.1 gvcolor.1 gxl2gv.1 acyclic.1 nop.1 ccomps.1 sccmap.1 tred.1 unflatten.1 gvpack.1 dijkstra.1 bcomps.1 mm2gv.1 gvgen.1 gml2gv.1 graphml2gv.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 gc.1.pdf gvcolor.1.pdf gxl2gv.1.pdf acyclic.1.pdf nop.1.pdf ccomps.1.pdf sccmap.1.pdf tred.1.pdf unflatten.1.pdf gvpack.1.pdf dijkstra.1.pdf bcomps.1.pdf mm2gv.1.pdf gvgen.1.pdf gml2gv.1.pdf graphml2gv.1.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make install-data-hook make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' (cd /usr/src/tmp/graphviz-buildroot/usr/share/man/man1; rm -f gv2gxl.1; ln -s gxl2gv.1 gv2gxl.1;) (cd /usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf; rm -f gv2gxl.1.pdf; ln -s gxl2gv.1.pdf gv2gxl.1.pdf;) (cd /usr/src/tmp/graphviz-buildroot/usr/share/man/man1; rm -f gv2gml.1; ln -s gml2gv.1 gv2gml.1;) (cd /usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf; rm -f gv2gml.1.pdf; ln -s gml2gv.1.pdf gv2gml.1.pdf;) make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/tools' Making install in gvpr make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr' Making install in lib make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr/lib' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr/lib' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/gvpr' /bin/install -p -m 644 addedges addranks addrings anon attr bb bbox bipart binduce chkclusters chkedges cliptree col collapse color cycle dechain deghist deledges delmulti delnodes depath dijkstra flatten get-layers-list histogram group indent knbhd maxdeg path rotate scale scalexy span topon treetoclust '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/gvpr' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr/lib' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr/lib' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /bin/install -p gvpr '/usr/src/tmp/graphviz-buildroot/usr/bin' libtool: install: warning: `../../lib/gvpr/libgvpr.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/gvpr /usr/src/tmp/graphviz-buildroot/usr/bin/gvpr /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 gvpr.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 gvpr.1.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvpr' Making install in lefty make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' Making install in ws make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws' Making install in x11 make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' Making install in libfilereq make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' make[7]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11/libfilereq' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[7]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[7]: Nothing to be done for 'install-exec-am'. make[7]: Nothing to be done for 'install-data-am'. make[7]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/x11' Making install in mswin32 make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/mswin32' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/mswin32' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/mswin32' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws/mswin32' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/ws' Making install in os make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os' Making install in unix make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os/unix' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os/unix' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os/unix' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os/unix' Making install in mswin32 make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os/mswin32' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os/mswin32' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os/mswin32' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os/mswin32' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/os' Making install in dot2l make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/dot2l' Making install in examples make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/examples' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/examples' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/lefty' /bin/install -p -m 644 box.lefty def.lefty fractal.lefty fractal2.lefty slides.lefty tree.lefty '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/lefty' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/examples' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty/examples' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /bin/install -p lefty '/usr/src/tmp/graphviz-buildroot/usr/bin' libtool: install: /bin/install -p lefty /usr/src/tmp/graphviz-buildroot/usr/bin/lefty /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/lefty' /bin/install -p -m 644 lefty.psp '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/lefty' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 lefty.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 lefty.1.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lefty' Making install in lneato make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lneato' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lneato' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/install -p lneato '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 lneato.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 lneato.1.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lneato' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/lneato' Making install in dotty make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dotty' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dotty' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/install -p dotty '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/lefty' /bin/install -p -m 644 dotty.lefty dotty_draw.lefty dotty_edit.lefty dotty_layout.lefty dotty_ui.lefty '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/lefty' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 dotty.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 dotty.1.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dotty' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/dotty' Making install in smyrna make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /bin/install -p smyrna '/usr/src/tmp/graphviz-buildroot/usr/bin' libtool: install: warning: `/usr/src/RPM/BUILD/graphviz-2.40.1/lib/cdt/libcdt.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/smyrna /usr/src/tmp/graphviz-buildroot/usr/bin/smyrna /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 smyrna.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 smyrna.1.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/smyrna' Making install in gvmap make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /bin/install -p gvmap cluster '/usr/src/tmp/graphviz-buildroot/usr/bin' libtool: install: warning: `../../lib/edgepaint/liblab_gamut.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/gvmap /usr/src/tmp/graphviz-buildroot/usr/bin/gvmap libtool: install: warning: `../../lib/edgepaint/liblab_gamut.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/cluster /usr/src/tmp/graphviz-buildroot/usr/bin/cluster /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/install -p gvmap.sh '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 gvmap.1 cluster.1 gvmap.sh.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 gvmap.1.pdf cluster.1.pdf gvmap.sh.1.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvmap' Making install in gvedit make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit' Making install in ui make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit/ui' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit/ui' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit/ui' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit/ui' Making install in images make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit/images' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit/images' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit/images' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit/images' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/gvedit' Making install in mingle make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/mingle' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/mingle' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /bin/install -p mingle '/usr/src/tmp/graphviz-buildroot/usr/bin' libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cdt/libcdt.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/mingle /usr/src/tmp/graphviz-buildroot/usr/bin/mingle /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 mingle.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 mingle.1.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/mingle' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/mingle' Making install in edgepaint make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/edgepaint' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/edgepaint' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /bin/install -p edgepaint '/usr/src/tmp/graphviz-buildroot/usr/bin' libtool: install: warning: `../../lib/edgepaint/liblab_gamut.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cdt/libcdt.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/edgepaint /usr/src/tmp/graphviz-buildroot/usr/bin/edgepaint /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 edgepaint.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 edgepaint.1.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/edgepaint' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd/edgepaint' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd' make[2]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/cmd' Making install in tclpkg make[2]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg' Making install in tclstubs make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclstubs' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclstubs' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclstubs' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclstubs' Making install in tclhandle make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclhandle' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclhandle' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclhandle' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclhandle' Making install in gdtclft make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gdtclft' Making install in demo make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gdtclft/demo' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gdtclft/demo' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gdtclft/demo' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gdtclft/demo' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gdtclft' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gdtclft' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gdtclft' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gdtclft' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gdtclft' Making install in tcldot make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tcldot' Making install in demo make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tcldot/demo' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tcldot/demo' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tcldot/demo' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tcldot/demo' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tcldot' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tcldot' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tcldot' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tcldot' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tcldot' Making install in tclpathplan make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan' Making install in demo make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan/demo' Making install in pathplan_data make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan/demo/pathplan_data' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan/demo/pathplan_data' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan/demo/pathplan_data' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan/demo/pathplan_data' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan/demo' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan/demo' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan/demo' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan/demo' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan/demo' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/tclpathplan' Making install in gv make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' Making install in demo make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv/demo' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv/demo' make[5]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/demo' /bin/install -p modgraph.pl '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/demo' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/demo' /bin/install -p modgraph.py '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/demo' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv/demo' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv/demo' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/install -p -m 644 gv.3guile gv.3perl gv.3python '/usr/src/tmp/graphviz-buildroot/usr/share/man/man3' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 gv.3guile.pdf gv.3perl.pdf gv.3python.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/guile' /bin/sh ../../libtool --mode=install /bin/install -p libgv_guile.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/guile' libtool: install: warning: relinking `libgv_guile.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CXX --mode=relink x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -module -avoid-version -o libgv_guile.la -rpath /usr/lib64/graphviz/guile libgv_guile_la-gv.lo libgv_guile_la-gv_builtins.lo libgv_guile_la-gv_dummy_init.lo libgv_guile_la-gv_guile.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -lguile-2.2 -lgc -lc -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgv_guile.soT /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/guile/libgv_guile.so libtool: install: /bin/install -p .libs/libgv_guile.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/guile/libgv_guile.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz/guile' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' /bin/install -p -m 644 gv.i gv.cpp '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/perl' /bin/install -p -m 644 gv.pm '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/perl' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/perl' /bin/sh ../../libtool --mode=install /bin/install -p libgv_perl.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/perl' libtool: install: warning: relinking `libgv_perl.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CXX --mode=relink x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -module -avoid-version -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc -o libgv_perl.la -rpath /usr/lib64/graphviz/perl libgv_perl_la-gv.lo libgv_perl_la-gv_builtins.lo libgv_perl_la-gv_dummy_init.lo libgv_perl_la-gv_perl.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -L/usr/lib64/perl5/CORE -lperl -lc -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgv_perl.soT /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/perl/libgv_perl.so libtool: install: /bin/install -p .libs/libgv_perl.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/perl/libgv_perl.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz/perl' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python' /bin/install -p -m 644 gv.py '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python' /bin/sh ../../libtool --mode=install /bin/install -p libgv_python.la '/usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python' libtool: install: warning: relinking `libgv_python.la' libtool: install: (cd /usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv; /bin/sh /usr/src/RPM/BUILD/graphviz-2.40.1/libtool --silent --tag CXX --mode=relink x86_64-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -DNDEBUG -module -avoid-version -o libgv_python.la -rpath /usr/lib64/graphviz/python libgv_python_la-gv.lo libgv_python_la-gv_builtins.lo libgv_python_la-gv_dummy_init.lo libgv_python_la-gv_python.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -undefined dynamic_lookup -lc -inst-prefix-dir /usr/src/tmp/graphviz-buildroot) libtool: install: /bin/install -p .libs/libgv_python.soT /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/libgv_python.so libtool: install: /bin/install -p .libs/libgv_python.lai /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/libgv_python.la libtool: install: warning: remember to run `libtool --finish /usr/lib64/graphviz/python' make install-data-hook make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/perl; rm -f gv.so; ln -s libgv_perl.so gv.so;) (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python; rm -f _gv.so; ln -s libgv_python.so _gv.so;) make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg/gv' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg' make[4]: Nothing to be done for 'install-exec-am'. make install-data-hook make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg' mkdir -p /usr/src/tmp/graphviz-buildroot/usr/lib64/perl5; if test -w /usr/src/tmp/graphviz-buildroot/usr/lib64/perl5; then \ (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/perl5; \ cp -f /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/perl/libgv_perl.so gv.so; \ cp -f /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/perl/gv.pm gv.pm;) \ else \ echo "Warning: /usr/lib64/perl5 is not writable."; \ echo "Skipping system installation of perl binding."; \ fi mkdir -p /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages; if test -w /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages; then \ (cd /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages; \ cp -f /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/libgv_python.so _gv.so; \ cp -f /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/gv.py gv.py;) \ else \ echo "Warning: /usr/lib64/python2.7/site-packages is not writable."; \ echo "Skipping system installation of python binding."; \ fi make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg' make[2]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tclpkg' Making install in doc make[2]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc' Making install in info make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc/info' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc/info' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/html/info' /bin/install -p -m 644 attrs.html colors.html command.html index.html lang.html output.html shapes.html arrows.html Mcircle.gif Mdiamond.gif Msquare.gif a_box.gif a_crow.gif a_diamond.gif a_dot.gif a_ediamond.gif a_empty.gif a_forward.gif a_halfopen.gif a_inv.gif a_invdot.gif a_invempty.gif a_invodot.gif a_lteeoldiamond.gif a_nohead.gif a_none.gif a_normal.gif a_obox.gif a_odiamond.gif a_odot.gif a_open.gif a_tee.gif aa_box.gif aa_crow.gif aa_diamond.gif aa_dot.gif aa_inv.gif aa_lbox.gif aa_lcrow.gif aa_ldiamond.gif '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/html/info' /bin/install -p -m 644 aa_linv.gif aa_lnormal.gif aa_ltee.gif aa_lvee.gif aa_none.gif aa_normal.gif aa_obox.gif aa_odiamond.gif aa_odot.gif aa_oinv.gif aa_olbox.gif aa_oldiamond.gif aa_olinv.gif aa_olnormal.gif aa_onormal.gif aa_orbox.gif aa_ordiamond.gif aa_orinv.gif aa_ornormal.gif aa_rbox.gif aa_rcrow.gif aa_rdiamond.gif aa_rinv.gif aa_rnormal.gif aa_rtee.gif aa_rvee.gif aa_tee.gif aa_vee.gif back.gif both.gif box.gif box3d.gif circle.gif colorlist.gif component.gif underline.gif constraint.gif cylinder.gif diamond.gif doublecircle.gif '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/html/info' /bin/install -p -m 644 doubleoctagon.gif egg.gif ellipse.gif fill.gif folder.gif forward.gif hexagon.gif house.gif g_lin0.png g_lin270.png g_lin45.png g_rad0.png g_rad270.png g_rad45.png g_lin180.png g_lin360.png g_lin90.png g_rad180.png g_rad360.png g_rad90.png html1.gif html2.gif html3.gif html4.gif invhouse.gif invtrapezium.gif invtriangle.gif mrecord.gif nohead.gif none.gif plain.gif note.gif octagon.gif oval.gif parallelogram.gif pentagon.gif plaintext.gif point.gif polygon.gif record.gif '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/html/info' /bin/install -p -m 644 record2.gif rect.gif rectangle.gif round.gif septagon.gif tab.gif trapezium.gif triangle.gif tripleoctagon.gif sdlshapes.jpg sdlshapes.png square.gif html2.gv html3.gv html4.gv plugins.png c_bold.png c_dashed.png c_dotted.png c_filled.png c_rounded.png c_solid.png c_striped.png e_bold.png e_dashed.png e_dotted.png e_solid.png g_lin0.png g_lin180.png g_lin270.png g_lin360.png g_lin45.png g_lin90.png g_rad0.png g_rad180.png g_rad270.png g_rad360.png g_rad45.png g_rad90.png n_bold.png '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/html/info' /bin/install -p -m 644 n_dashed.png n_diagonals.png n_dotted.png n_filled.png n_rounded.png n_solid.png n_striped.png n_wedged.png none_back.png none_both.png none_forward.png none_none.png normal_back.png normal_both.png normal_forward.png normal_none.png spline_curved.png spline_none.png spline_polyline.png spline_line.png spline_ortho.png spline_spline.png '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/html/info' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc/info' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc/info' Making install in schema make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc/schema' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc/schema' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/html/schema' /bin/install -p -m 644 arguments.xml attributes.xml attributes.xslt '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/html/schema' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc/schema' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc/schema' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/html' /bin/install -p -m 644 build.html FAQ.html index.html winbuild.html pspdf.png char.html gdtclft.entities.example.png todo.html internal_todo.html '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/html' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 dotguide.pdf dottyguide.pdf leftyguide.pdf neatoguide.pdf libgraph/Agraph.pdf libguide/libguide.pdf smyrna/smyrna.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc' /bin/install -p -m 644 Dot.ref latex_suggestions.txt fontfaq.txt addingLayout.txt '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc' make[2]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/doc' Making install in contrib make[2]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib' Making install in prune make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/prune' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/prune' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /bin/install -p prune '/usr/src/tmp/graphviz-buildroot/usr/bin' libtool: install: warning: `../../lib/cgraph/libcgraph.la' has not been installed in `/usr/lib64' libtool: install: warning: `../../lib/cdt/libcdt.la' has not been installed in `/usr/lib64' libtool: install: /bin/install -p .libs/prune /usr/src/tmp/graphviz-buildroot/usr/bin/prune /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 prune.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 prune.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/prune' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/prune' Making install in diffimg make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/diffimg' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/diffimg' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /bin/install -p diffimg '/usr/src/tmp/graphviz-buildroot/usr/bin' libtool: install: /bin/install -p diffimg /usr/src/tmp/graphviz-buildroot/usr/bin/diffimg /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/install -p -m 644 diffimg.1 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' /bin/install -p -m 644 diffimg.1.pdf '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc/pdf' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/diffimg' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib/diffimg' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib' make[2]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/contrib' Making install in share make[2]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share' Making install in examples make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share/examples' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share/examples' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/examples' /bin/install -p -m 644 4elt.gv world.gv '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/examples' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share/examples' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share/examples' Making install in gui make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share/gui' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share/gui' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/smyrna' /bin/install -p -m 644 smyrna.glade attrs.txt arial.tga template.dot attr_widgets.dot mouse_actions.txt '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/smyrna' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/smyrna' /bin/install -p -m 644 add_edge.png AntiselectRect.png AntiselectRectX.png cursor.png deletE_edge.png delete_node.png find_edge.png find_node.png fit_to_screen.png hourglass.png magifier_zoom_out.png magnifier.png magnifier_zoom_in.png move.png new_delete.png new_node.png newzoom.png pan.png select.png selectx.png zoom_in.png zoom_out.png zoom.png fisheye.raw ok.raw ok2.raw ok3.raw pan.raw zoom.raw zoomminus.raw zoomplus.raw rotate.raw dot.PNG glade-3.png lcirco.png ldot.png lfdp.png lneato.png ltwopi.png selectr.png '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/smyrna' /bin/install -p -m 644 single_select.png 2D.png 3D.png center.png details.png edge.png fish.PNG fisheye.png fit.png magnifier.png mod_3D.png mod_fisheye.png move.png no_fisheye.png node.png pan.png preview.png rect_select.png rect_select2.png rotate.png zoom.png zoomin.png zoomout.png '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/smyrna' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share/gui' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share/gui' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share' make[2]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/share' Making install in graphs make[2]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs' Making install in directed make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs/directed' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs/directed' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/graphs/directed' /bin/install -p -m 644 KW91.gv Latin1.gv NaN.gv abstract.gv alf.gv arrows.gv awilliams.gv biological.gv clust.gv clust1.gv clust2.gv clust3.gv clust4.gv clust5.gv crazy.gv ctext.gv dfa.gv fig6.gv fsm.gv grammar.gv hashtable.gv honda-tokoro.gv jcctree.gv jsort.gv ldbxtried.gv longflat.gv mike.gv nhg.gv oldarrows.gv pgram.gv pm2way.gv pmpipe.gv polypoly.gv proc3d.gv psfonttest.gv record2.gv records.gv rowe.gv japanese.gv russian.gv '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/graphs/directed' /bin/install -p -m 644 sdh.gv shells.gv states.gv structs.gv table.gv train11.gv trapeziumlr.gv tree.gv triedds.gv try.gv unix.gv unix2.gv viewfile.gv world.gv switch.gv '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/graphs/directed' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs/directed' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs/directed' Making install in undirected make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs/undirected' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs/undirected' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/graphs/undirected' /bin/install -p -m 644 ER.gv ngk10_4.gv process.gv Heawood.gv Petersen.gv '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/graphs/undirected' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs/undirected' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs/undirected' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs' make[2]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/graphs' Making install in rtest make[2]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/rtest' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/rtest' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/rtest' make[2]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/rtest' Making install in tests make[2]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests' Making install in unit_tests make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests' Making install in lib make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests/lib' Making install in common make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests/lib/common' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests/lib/common' make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests/lib/common' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests/lib/common' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests/lib' make[6]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests/lib' make[6]: Nothing to be done for 'install-exec-am'. make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests/lib' make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests/lib' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests/lib' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/unit_tests' Making install in regression_tests make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/regression_tests' Making install in shapes make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/regression_tests/shapes' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/regression_tests/shapes' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/regression_tests/shapes' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/regression_tests/shapes' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/regression_tests' make[5]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/regression_tests' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/regression_tests' make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/regression_tests' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests/regression_tests' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests' make[4]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests' make[2]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1/tests' make[2]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1' make[3]: Entering directory '/usr/src/RPM/BUILD/graphviz-2.40.1' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/man/man7' /bin/install -p -m 644 graphviz.7 '/usr/src/tmp/graphviz-buildroot/usr/share/man/man7' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' /bin/install -p -m 644 ./graphviz_version.h '/usr/src/tmp/graphviz-buildroot/usr/include/graphviz' /bin/mkdir -p '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc' /bin/install -p -m 644 AUTHORS COPYING ChangeLog NEWS cpl1.0.txt '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc' make[3]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1' make[2]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1' make[1]: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1' make: Leaving directory '/usr/src/RPM/BUILD/graphviz-2.40.1' + mkdir -p /usr/src/tmp/graphviz-buildroot/usr/share/doc + mv /usr/src/tmp/graphviz-buildroot/usr/share/graphviz/doc /usr/src/tmp/graphviz-buildroot/usr/share/doc/graphviz-2.40.1 + cp -a AUTHORS COPYING cpl1.0.txt ChangeLog NEWS /usr/src/tmp/graphviz-buildroot/usr/share/doc/graphviz-2.40.1 + touch /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/config + rm -f /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/guile/libgv_guile.la /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/perl/libgv_perl.la /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/libgv_python.la + rm -f /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_core.la /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_dot_layout.la /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gd.la /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gdk.la /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gs.la /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gtk.la /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_lasi.la /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_neato_layout.la /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_pango.la /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_rsvg.la /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_xlib.la + rm -fv /usr/src/tmp/graphviz-buildroot/usr/share/graphviz/demo/modgraph.py removed '/usr/src/tmp/graphviz-buildroot/usr/share/graphviz/demo/modgraph.py' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/graphviz-buildroot (auto) removed './usr/lib64/libgvpr.la' removed './usr/lib64/liblab_gamut.la' removed './usr/lib64/libgvc.la' removed './usr/lib64/libxdot.la' removed './usr/lib64/libpathplan.la' removed './usr/lib64/libcgraph.la' removed './usr/lib64/libcdt.la' mode of './usr/lib64/python2.7/site-packages/_gv.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/perl5/gv.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/python/libgv_python.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/perl/libgv_perl.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/guile/libgv_guile.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/libgvplugin_neato_layout.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/libgvplugin_dot_layout.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/libgvplugin_xlib.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/libgvplugin_rsvg.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/libgvplugin_pango.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/libgvplugin_lasi.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/libgvplugin_gtk.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/libgvplugin_gs.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/libgvplugin_gdk.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/libgvplugin_gd.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/graphviz/libgvplugin_core.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/libgvpr.so.2.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/liblab_gamut.so.1.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/libgvc.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/libxdot.so.4.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/libpathplan.so.4.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/libcgraph.so.6.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/libcdt.so.5.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/graphviz-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/lib64/pkgconfig/libgvpr.pc: Libs: '-L${libdir} -lgvpr -lcgraph -lcdt' --> '-lgvpr -lcgraph -lcdt' /usr/lib64/pkgconfig/liblab_gamut.pc: Libs: '-L${libdir} -llab_gamut' --> '-llab_gamut' /usr/lib64/pkgconfig/libgvc.pc: Libs: '-L${libdir} -lgvc -lcgraph -lcdt' --> '-lgvc -lcgraph -lcdt' /usr/lib64/pkgconfig/libxdot.pc: Libs: '-L${libdir} -lxdot' --> '-lxdot' /usr/lib64/pkgconfig/libpathplan.pc: Libs: '-L${libdir} -lpathplan' --> '-lpathplan' /usr/lib64/pkgconfig/libcgraph.pc: Libs: '-L${libdir} -lcgraph -lcdt' --> '-lcgraph -lcdt' /usr/lib64/pkgconfig/libcdt.pc: Libs: '-L${libdir} -lcdt' --> '-lcdt' Checking contents of files in /usr/src/tmp/graphviz-buildroot/ (default) Compressing files in /usr/src/tmp/graphviz-buildroot (auto) removed '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/gv2gml.1' '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/gv2gml.1.xz' -> 'gml2gv.1.xz' removed '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/gv2gxl.1' '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/gv2gxl.1.xz' -> 'gxl2gv.1.xz' removed '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/sfdp.1' '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/sfdp.1.xz' -> 'dot.1.xz' removed '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/circo.1' '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/circo.1.xz' -> 'dot.1.xz' removed '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/fdp.1' '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/fdp.1.xz' -> 'dot.1.xz' removed '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/twopi.1' '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/twopi.1.xz' -> 'dot.1.xz' removed '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/neato.1' '/usr/src/tmp/graphviz-buildroot/usr/share/man/man1/neato.1.xz' -> 'dot.1.xz' Adjusting library links in /usr/src/tmp/graphviz-buildroot ./usr/lib64: libcdt.so.5 -> libcdt.so.5.0.0 libcgraph.so.6 -> libcgraph.so.6.0.0 libpathplan.so.4 -> libpathplan.so.4.0.0 libxdot.so.4 -> libxdot.so.4.0.0 libgvc.so.6 -> libgvc.so.6.0.0 liblab_gamut.so.1 -> liblab_gamut.so.1.0.0 libgvpr.so.2 -> libgvpr.so.2.0.0 Verifying ELF objects in /usr/src/tmp/graphviz-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=relaxed) verify-elf: WARNING: ./usr/bin/gvpack: RPATH entry found: /usr/lib64/graphviz verify-elf: WARNING: ./usr/bin/dot_builtins: RPATH entry found: /usr/lib64/graphviz verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyExc_ValueError verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyInstance_Type verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyExc_SystemError verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: _Py_NotImplementedStruct verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyExc_TypeError verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: _PyWeakref_CallableProxyType verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyExc_SyntaxError verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyExc_ZeroDivisionError verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyExc_IndexError verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyExc_MemoryError verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyObject_GenericGetAttr verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyObject_GenericGetAttr verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyExc_RuntimeError verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyExc_IOError verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: _Py_NoneStruct verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyExc_OverflowError verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyExc_AttributeError verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyExc_NotImplementedError verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: _PyWeakref_ProxyType verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyModule_AddObject verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyDict_SetItemString verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyString_AsString verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyArg_UnpackTuple verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: Py_InitModule4_64 verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyType_Ready verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyLong_FromVoidPtr verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyBool_FromLong verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: _PyObject_GetDictPtr verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyObject_CallFunctionObjArgs verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyObject_IsTrue verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: _PyObject_New verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyString_FromStringAndSize verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyArg_ParseTuple verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyObject_GetAttr verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyErr_Occurred verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: _PyInstance_Lookup verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyCapsule_New verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyErr_WriteUnraisable verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyObject_Size verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyString_FromString verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyString_FromFormat verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyModule_GetDict verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyDict_GetItem verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyErr_Restore verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyObject_Init verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyObject_Malloc verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyErr_Fetch verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyObject_Call verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyString_ConcatAndDel verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyString_AsStringAndSize verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyObject_Free verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyErr_Clear verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyTuple_New verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyTuple_SetItem verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyErr_SetString verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyInstance_NewRaw verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyString_Format verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyCapsule_GetPointer verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyDict_SetItem verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyCapsule_Import verify-elf: WARNING: ./usr/lib64/graphviz/python/libgv_python.so: undefined symbol: PyDict_New Bytecompiling python modules in /usr/src/tmp/graphviz-buildroot using /usr/bin/python compile /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/gv.py compile /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages/gv.py Bytecompiling python modules with optimization in /usr/src/tmp/graphviz-buildroot using /usr/bin/python -O compile /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/gv.py compile /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages/gv.py Bytecompiling python3 modules in /usr/src/tmp/graphviz-buildroot using /usr/bin/python3 Can't list '/usr/src/tmp/graphviz-buildroot/usr/lib64/python3/site-packages' Can't list '/usr/src/tmp/graphviz-buildroot/usr/lib/python3/site-packages' Bytecompiling python3 modules with optimization in /usr/src/tmp/graphviz-buildroot using /usr/bin/python3 -O Can't list '/usr/src/tmp/graphviz-buildroot/usr/lib64/python3/site-packages' Can't list '/usr/src/tmp/graphviz-buildroot/usr/lib/python3/site-packages' Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/graphviz-buildroot using /usr/bin/python3 -OO Can't list '/usr/src/tmp/graphviz-buildroot/usr/lib64/python3/site-packages' Can't list '/usr/src/tmp/graphviz-buildroot/usr/lib/python3/site-packages' Hardlinking identical .pyc and .opt-?.pyc files Hardlinking identical .pyc and .pyo files './usr/lib64/python2.7/site-packages/gv.pyo' => './usr/lib64/python2.7/site-packages/gv.pyc' './usr/lib64/graphviz/python/gv.pyo' => './usr/lib64/graphviz/python/gv.pyc' Processing files: graphviz-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aDzVvA find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,tcl,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.goIwHq find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,tcl,typelib) shell.req: /usr/src/tmp/graphviz-buildroot/usr/bin/gvmap.sh: print not found (skip) find-requires: FINDPACKAGE-COMMANDS: print Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Y8am4W Provides: libdotneato = 2.40.1 Requires: libgraphviz = 2.40.1-alt4, /bin/sh, /lib64/ld-linux-x86-64.so.2, /usr/lib64/graphviz/libgvplugin_core.so.6, /usr/lib64/graphviz/libgvplugin_dot_layout.so.6, /usr/lib64/graphviz/libgvplugin_gd.so.6, /usr/lib64/graphviz/libgvplugin_neato_layout.so.6, /usr/lib64/graphviz/libgvplugin_pango.so.6, libANN.so.1()(64bit) >= set:ljXxcZir84b0, libGL.so.1()(64bit) >= set:pjdsnIDZqi0itOWZwmrchA44R017hkNUFHApWpqDChq7ZmhgbRODgKyPeoy7iEZfukjmPZGkM6Uh5NwDksZKiWueqNrf3MTdJBYbPZekdKoRDMLKPok56SCcyiyzb5YMqZDmDMqY1ycd9zO6sPiKZ589Q3, libGLU.so.1()(64bit) >= set:jf2W88GxJnJloKKNSqRVW1QshkiRRPlXmPyf, libX11.so.6()(64bit) >= set:oi6z7FJPSwtVmZLihoHiGqE2ALacEFxSUl8Ss9214bREUCKZkwY6Un7oFn42CFlS6cR6xxZ8k1QKZh4vHLqwsU84IAfxMlIVj7dbyG1nxmGnrjDtXyBNNiJrqwlSp4DSPzUb8aL2HMcuSYakQaDlgWMI5b2f4, libXaw.so.7()(64bit) >= set:lgWsAhKvz2fU1nGyUpEsyRKqxgZnI9mltvGVu8Ph6mWeo1kK67G3GRuxL0, libXmu.so.6()(64bit) >= set:lj9U2u8l, libXt.so.6()(64bit) >= set:mg3skCRNXOzpXDHaw1KaIZBQrdQ264Qr1W3L8XFDVZtyccHZzv5QtYSWJo2ykWlfqzVZde1qF84MxNqGkwYyHaQmaozG9S9Rp2piVzQHNr6tQlkNU1f9TZKSHMQi3faEGKlyzwH9J3hjoNm3, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcairo.so.2()(64bit) >= set:mhBey7Nq085nfMVwGZwr0pu5YTLabWoo3WAnH8WKUSqmBvQrKqOcRZFi, libcdt.so.5()(64bit) >= set:ieEUuu41i9fLD8wjEWotBSMc, libcgraph.so.6()(64bit) >= set:lfPhXsEauNzUiyTLbz1xQaQZqCYEiKtXyv7v8GBHbY8dUgMuLJqPCBpayptaVXTREJmd6jY2enTWMUxqpL1IiLffxmJZKM2F3vFxn4SwGrOWoJ9w1Ti4KF8www2pmsMJNNcX9cTqRle7giFvi, libexpat.so.1()(64bit) >= set:kgE3cnblKboj81fLUjUtPLdk3, libgcc_s.so.1(GCC_3.0)(64bit), libgd.so.3()(64bit) >= set:lhU48laGonE5YuQfpuZkcTfBwvonL, libgdk-x11-2.0.so.0()(64bit) >= set:nkC1UMHykdwM5wQ5a1, libgdkglext-x11-1.0.so.0()(64bit) >= set:okkVzx9LKoiVsDoSrBGjKgxNsUK5, libglade-2.0.so.0()(64bit) >= set:jhTbouPUC6, libglib-2.0.so.0()(64bit) >= set:okvzhZkSRSuJZaCCqP7qoi5lfAyYGTKggguhzepY7Gl, libglut.so.3()(64bit) >= set:lg5F7jpfa25XXbP9UsnIGGXE2lpCLFbYezmJMSZIckNstvWj1efPW83Db1E8MYo7Z3hGpl20, libgobject-2.0.so.0()(64bit) >= set:mjuQEvZKYaki1Vm4wHKZFEE, libgtk-x11-2.0.so.0()(64bit) >= set:pi3qg49y8fazpCLWWJ8b47I66hH16mqu6OazZCZJnQmNQUGYCgDzwGuFg3N48mNxxXw008r9eJtKb48MgEHjgJQRCPUgD0mfrN2krS1M6e4OaeYTbgRk0ZHgvJrK0YIK7BPWHAu46VLzWPHngdNkpocacU8Haw8QGFwxhrHFtkmOpZvVAB82R26Y5jKhOZnrvQVawhv02WpvW8IHo9UIHn46ygvAsOWmiyXE2relPZufnZpfmkz, libgtkglext-x11-1.0.so.0()(64bit) >= set:heYu9aVGGj6, libgts-0.7.so.5()(64bit) >= set:mhxj2zgZHl55QfIDRHPZbhIQlS60gl1BrP9oP7GRC9R7PDrFjEBrr9ucF4ZqKnhiEqb81, libgvc.so.6()(64bit) >= set:nihomvkkWvmROvmubk2grZFdbQlOmdjL9PFWIsQBR5x8JQWyjI773cl7ZAPxWh3beb3jJX53NK1vrYFp0, libgvpr.so.2()(64bit) >= set:lkmFb0, liblab_gamut.so.1()(64bit) >= set:fdIGOj, libm.so.6(GLIBC_2.2.5)(64bit), libpango-1.0.so.0()(64bit) >= set:miqUnh7XwXskcYBHZGptcxSjeEstUG, libpangocairo-1.0.so.0()(64bit) >= set:jgorOhv40FZ46, libpthread.so.0(GLIBC_2.2.5)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /bin/sh Obsoletes: libdotneato < 2.40.1 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KhXYUy Creating graphviz-debuginfo package Processing files: libgraphviz-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cc5KSf find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,tcl,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4B6Ia2 find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,tcl,typelib) lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_core.so.6.0.0: underlinked libraries: /lib64/libm.so.6 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gd.so.6.0.0: underlinked libraries: /usr/src/tmp/graphviz-buildroot/usr/lib64/libpathplan.so.4 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gtk.so.6.0.0: underlinked libraries: /usr/lib64/libX11.so.6 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_lasi.so.6.0.0: underlinked libraries: /usr/src/tmp/graphviz-buildroot/usr/lib64/libcgraph.so.6 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_pango.so.6.0.0: underlinked libraries: /usr/src/tmp/graphviz-buildroot/usr/lib64/libcgraph.so.6 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_core.so: underlinked libraries: /lib64/libm.so.6 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_core.so.6: underlinked libraries: /lib64/libm.so.6 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gd.so: underlinked libraries: /usr/src/tmp/graphviz-buildroot/usr/lib64/libpathplan.so.4 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gd.so.6: underlinked libraries: /usr/src/tmp/graphviz-buildroot/usr/lib64/libpathplan.so.4 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gtk.so: underlinked libraries: /usr/lib64/libX11.so.6 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_gtk.so.6: underlinked libraries: /usr/lib64/libX11.so.6 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_lasi.so: underlinked libraries: /usr/src/tmp/graphviz-buildroot/usr/lib64/libcgraph.so.6 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_lasi.so.6: underlinked libraries: /usr/src/tmp/graphviz-buildroot/usr/lib64/libcgraph.so.6 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_pango.so: underlinked libraries: /usr/src/tmp/graphviz-buildroot/usr/lib64/libcgraph.so.6 lib.req: WARNING: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/libgvplugin_pango.so.6: underlinked libraries: /usr/src/tmp/graphviz-buildroot/usr/lib64/libcgraph.so.6 Provides: libcdt.so.5()(64bit) = set:idOfExcsVv6ie9JWk6UjAh6Z9YqN3fSKLRQUz9Z6qZcYtXi4VChjCKIUFNqBSM4, libcgraph.so.6()(64bit) = set:ld9ZEIZLWotePbPZp7xrViDQyTrt0e315WVxelHENExd2ELgc8fpjp8Nwfxs9QGVienmiSTUygd9hWLI4edF0FC9p0zf3LoiCfrZHGeUoFGjYi5c9vfUR6v6JnEcTTw7SfrBoMO2ZbeWFoV4i2eSuS4tQoW6AgLEP0WeQnyfnZtfdygUmXq6UmbLBFovuTZzNjlLhdU53mdraLLyNo12izE0UZpqpsZvkcFLOnFCZav072USB7Z4odrT4PtQmmxHSORHaEiaWH5fJHxdBTCMCmFKszPPuDNBBgb7CiHTEHD6poxehjMblJQGkNASdSAe4D4NSWgZ2CjuOPyR0A6GzDhlgN1L5nnFctcjV35ZkhHWusq5jGxj8l8IYYhsjPvooWVnDe1148E42OHtCZzMZhy8zx67CpjoKR0WaV0zAjwviM1, libgvc.so.6()(64bit) = set:ndPnHAgd3BVW4WFssyCwlZzCwQOMgvkEF9A8t8Cwkzb4IVZoSSrvj5r1OlPRA4gi3CWQV05nd8kPfOCy5XZ558CQLOysuugUeFIZpeZsHyYPYM6loZ8NrwDO1rVwT7rHPYPbeabrvhdJ5Rl06Uu9EOxxZbXlB1RAS8O66ZFsCxjBBcrFlkv18iG9WnIPVMufw80yONzuGgBRr19y2JHvzx2nCdZ0Rp80sY2e7VLNFwvEJ3W4Ic50QoUa1klLvH8Zzaq9Et4WVRV3DqAGKT930ZAWD0teix8ZCNcS3P70P2OZ7PIJYIAgAvT8Ke8An7Ar9CspMt9gpryZI479g2VPEY3ZwU77ACBbg2uECrvqr1jEiyvcyJ1OWUqZFmCRccYM301NhgWBBm8WHsyi9T6LTI4y6mD9RaH5XUxQbq3b5vDvmSZK5wiZhbWLBZsugX0nZAyJqMnObxwyZcG8yhX7ZqrZq3nicJcESueZn7gV7wvzh2OWozQGdlL4hAmxbPJUWA9LJBi1mmAZ1XcBggwliPTzu0IhVuwz1MOf0yFD544aGfAO4GeoZ2CrcnEgYXMrc635njHU0C7e7ZkrobwfffjoWyi3Z1CRBogGAbms5BREimZdKNEGZGZ34guGulNNE6KZskUuwcYb1af34Ng6Rqooz0nKI1czUdQKvi4o1aYQClkOZ1gqc0EHCUv2O77WM402jFGZljwrxERv8bsCl4UDSce5Mofh7uku8OuuO9MARde4FCYOvGWDz3A9ZbyqgGi1gQ0JCFQeUtR9NGM7S5147qLkwhZ8ufWhQg0ZpiqiCSdpYMFcJ3Zcru0nqtx8alg3PoHzgDryRqmgAO4ObLBveDE7rqbwTwVWcRze4UCCvJe4qr0USAQKtwgiFfbGwtYitlcujKOAivLoWa5Q7lMycZ3mY30vJsQebI18z1wMoH7PJ6RiO6rFwefEWYiwdG9wpukpiY8Ihth8GFqwaxQZ2aqwu2npPmvGsQhD5OSmQtDwosg6lZ1cUZAlSVZ5376fA2a50va40sF0AiSqWcV6lZ3EhRmPHZ560qra7A4tJFx6fAv8Wc3MlegowGvZ0XKPcyZFJd12V1cy2Z13cQUzdmtPUoq9yF4UO0EgcceAHlnwl2iVIZjW3KFoa5lZps0dq0PZJr6RyrKf5wX6Mzp7Zxwtk39CeEGXcsRck7Q4Ua3b8KfNu91sMDNwfCn7kBHqOHGrSEn7oq7YSvI3Q20, libgvpr.so.2()(64bit) = set:ldFOlx6ENCwnfl8xqZ7oXidDGAQDjXN9cqgQQsfpOd8AmZJn6u4lWrXhK5OXUqLcL5uTrGbkSaZtZEBkTWPgW8d4tCAd8sIYZir8NwZe4FZ4wtkVSrwte5AcLjUQagAOzmtwWMemRb1AcNmMxGZuvmRDe0yiufrsT43MHM3bg9gZLHyXokGcR60HK0xdhOgJsoY70tBcIXZfhbQOwSjuBzMdRjWxJscKGYZi8j4kzU3FcYMBzwSpRzj0b0mD76P4PFjNpJpfUYgBclfujYjoSkfLsOxjAUAhyMrUKvoqbzsMQckACHtDMg0OhWCnjC3uvvy2mnskjN83KP5ZITEzwZomev7BAcwW5FBfo7s4BYQE4ZzM9ZI6MCXKmIUrlZ6qiKpb5ZcZA3u63e96jh1mqZ1qybfPB9kPaRUFZctpUBn0mLAIgwnHxiu7EMxdzyQ69XVhZu6fQRiDH48cREZIYXtztdWG7GDTdU4BIzXCwCUXCuyt6, liblab_gamut.so.1()(64bit) = set:fdIGOj, libpathplan.so.4()(64bit) = set:idhvOn2ZbwintfPBuBbR4xv1IfvciMDidFC1I6FkRFTZ6kcCy8jNlc, libxdot.so.4()(64bit) = set:hdCpng23MkKX9tdPsAZgD28q0 Requires: libLASi.so.1()(64bit) >= set:liLKsMCtSwjW8B1a, libX11.so.6()(64bit) >= set:ojpS1YwDmccunHnilTSLJEi5zpTwXovDmpAqZbpE4Z5CW0HMwqf3BOVDFA4lrtaDQt3JfldhK1, libatk-1.0.so.0()(64bit) >= set:mkrJLl3O9nG, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.27)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcairo.so.2()(64bit) >= set:mgBeCp2ExZcZwRLJ8ZbKRopt4XI5DsI8PyF8679kyih1S83TwPAQlb4AhZCdZGbyhwS642ZbHabOhz7JZh05VwdACmtocVpdjJjA8I38X7zmeysfVZASGL154Z6ndBsIR6ZpixUB1r6EzbNr7, libdl.so.2(GLIBC_2.2.5)(64bit), libexpat.so.1()(64bit) >= set:kgE3cnblKboj81fLUjUtPLdk3, libgcc_s.so.1(GCC_3.0)(64bit), libgd.so.3()(64bit) >= set:lfU6abOraHQYjdmastc1Ca5B0a4ZoSibsZxnCLl8I9ApVNrLQnye1LHixsnuxQkROQZ30tyhZKouldrxiopyBDPLukOM7iE2, libgdk-x11-2.0.so.0()(64bit) >= set:nlYLT8XZL, libgdk_pixbuf-2.0.so.0()(64bit) >= set:ljSKMmknXc3, libglib-2.0.so.0()(64bit) >= set:okvzh8LBQEpDdLXrjKbqZm7NU4TZb6LHCZ4Oh1, libgobject-2.0.so.0()(64bit) >= set:miX8wGxw0DVXTZBcpHKYH88xZ5G20, libgs.so.9()(64bit) >= set:qmQZJrExRVLJkuzid2qlEWcZGZxcjYE3, libgtk-x11-2.0.so.0()(64bit) >= set:pil7kYGNIPmsGdDX6Po0e3dMdTmuVpUfCfM3nmTvCoKeixknZzHBXYdOfsO86r0170Bzx00MtB32n6QEO6BZCPpOeihSqn82ZlWg57NB9IXPuBujMp8HMScpUYZ1eW4Wy5DRZAnsGJ5vdwq7ZwV0cGpgJGtymjxxZ1Bpt4L7imd8Zb1RUO2tWSwzn9DLbd82IKHPNAesFhDQT5xzM0HxbFR15yOsxe2Xam02MNtkxYFWZwKy41, libgts-0.7.so.5()(64bit) >= set:mhxj2zgZHl55QfIDRHPZbhIQlS60gl1BrP9oP7GRC9R7PDrFjEBrr9ucF4ZqKnhiEqb81, libm.so.6(GLIBC_2.2.5)(64bit), libpango-1.0.so.0()(64bit) >= set:mhFY80CDRSvShQNZhn5RUEoeSHiNlHKXlEUr7CVnPJmpQv9BCVY0reGvjNEFOjkCa, libpangocairo-1.0.so.0()(64bit) >= set:jgVJOCffURR6, libpangoft2-1.0.so.0()(64bit) >= set:kiyjzHpddZh, libpthread.so.0(GLIBC_2.2.5)(64bit), librsvg-2.so.2()(64bit) >= set:jgILydWkH3dZcWh, libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.11)(64bit), libstdc++.so.6(GLIBCXX_3.4.15)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), libz.so.1()(64bit) >= set:khb6pwmWdIhp0, rtld(GNU_HASH), rtld(GNU_UNIQUE) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sGEtIm Creating libgraphviz-debuginfo package Processing files: libgraphviz-devel-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.axsWdL find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,tcl,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ipOTAd find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,tcl,typelib) Provides: graphviz-devel = 2.40.1, pkgconfig(libcdt) = 2.40.1, pkgconfig(libcgraph) = 2.40.1, pkgconfig(libgvc) = 2.40.1, pkgconfig(libgvpr) = 2.40.1, pkgconfig(liblab_gamut) = 2.40.1, pkgconfig(libpathplan) = 2.40.1, pkgconfig(libxdot) = 2.40.1 Requires: libgraphviz = 2.40.1-alt4, /usr/lib64/libcdt.so.5.0.0, /usr/lib64/libcgraph.so.6.0.0, /usr/lib64/libgvc.so.6.0.0, /usr/lib64/libgvpr.so.2.0.0, /usr/lib64/liblab_gamut.so.1.0.0, /usr/lib64/libpathplan.so.4.0.0, /usr/lib64/libxdot.so.4.0.0, /usr/lib64/pkgconfig Obsoletes: graphviz-devel < 2.40.1 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GLHIPM Processing files: graphviz-doc-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2C54qq find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,tcl,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4Hlwi8 find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,tcl,typelib) Requires: graphviz = 2.40.1-alt4 Processing files: graphviz-graphs-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yhCIdU find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,tcl,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8DiVcK find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,tcl,typelib) Requires: graphviz = 2.40.1-alt4 Processing files: graphviz-guile-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UgoAgE find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,tcl,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oe30eC find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,tcl,typelib) Requires: graphviz = 2.40.1-alt4, libc.so.6(GLIBC_2.2.5)(64bit), libcgraph.so.6()(64bit) >= set:lfs2eKAUZbbz1xUQZ4uk974c3F8oJfKK9IcZ48nncYlbqpjjSgHSv3ZtaC103Kd2lgxcbeUSUoCtOstBZB9, libguile-2.2.so.1()(64bit) >= set:ojvvFaQOu6sA5lhtOQIAA7OzSPBtXBZLGP5ySn0lkOauQnlcVERLPFYJNQZB9IlfQW0IeOzIjZ3WGO1sU3QNbHqF7d4, libguile-2.2.so.1(GUILE_2.0)(64bit), libgvc.so.6()(64bit) >= set:njmwhFxL0aGZ4b8jtd15XvtMPo4, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IQFSaE Creating graphviz-guile-debuginfo package Processing files: graphviz-perl-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8ltJ3J find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,tcl,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.q7g6UT find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,tcl,typelib) /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/perl/gv.pm syntax OK /usr/src/tmp/graphviz-buildroot/usr/lib64/perl5/gv.pm syntax OK Provides: perl(gv.pm) Requires: graphviz = 2.40.1-alt4, /usr/lib64/perl5, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libcgraph.so.6()(64bit) >= set:lfs2eKAUZbbz1xUQZ4uk974c3F8oJfKK9IcZ48nncYlbqpjjSgHSv3ZtaC103Kd2lgxcbeUSUoCtOstBZB9, libgvc.so.6()(64bit) >= set:njmwhFxL0aGZ4b8jtd15XvtMPo4, libperl-5.26.so()(64bit) >= set:ojyb3Yp5vyeNmrUCJJNq0D2UbQ9MFl1Pgzt6S7aLQFYrNCOm4IjZbQ5, libpthread.so.0(GLIBC_2.2.5)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), perl(DynaLoader.pm), perl(base.pm), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GZ0uka Creating graphviz-perl-debuginfo package Processing files: graphviz-python-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.499cHu find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,tcl,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2iHV2S find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,tcl,typelib) python.req: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/gv.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/gv.py: line=10 IGNORE (for REQ=slight and deep=12) module=importlib /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/gv.py: line=22 IGNORE (for REQ=slight and deep=12) module=os /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/gv.py: line=23 IGNORE (for REQ=slight and deep=12) module=imp /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/gv.py: line=28 IGNORE (for REQ=slight and deep=16) module=_gv /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/gv.py: line=39 IGNORE (for REQ=slight and deep=8) module=_gv /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/gv.py: line=48 IGNORE (for REQ=slight and deep=8) module=builtins /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/graphviz/python/gv.py: line=50 IGNORE (for REQ=slight and deep=8) module=__builtin__ python.req: /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages/gv.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages/gv.py: line=10 IGNORE (for REQ=slight and deep=12) module=importlib /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages/gv.py: line=22 IGNORE (for REQ=slight and deep=12) module=os /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages/gv.py: line=23 IGNORE (for REQ=slight and deep=12) module=imp /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages/gv.py: line=28 IGNORE (for REQ=slight and deep=16) module=_gv /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages/gv.py: line=39 IGNORE (for REQ=slight and deep=8) module=_gv /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages/gv.py: line=48 IGNORE (for REQ=slight and deep=8) module=builtins /usr/lib/rpm/python.req.py: /usr/src/tmp/graphviz-buildroot/usr/lib64/python2.7/site-packages/gv.py: line=50 IGNORE (for REQ=slight and deep=8) module=__builtin__ Provides: python2.7(_gv), python2.7(gv) Requires: graphviz = 2.40.1-alt4, /usr/lib64/python2.7/site-packages, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libcgraph.so.6()(64bit) >= set:lfs2eKAUZbbz1xUQZ4uk974c3F8oJfKK9IcZ48nncYlbqpjjSgHSv3ZtaC103Kd2lgxcbeUSUoCtOstBZB9, libgcc_s.so.1(GCC_3.0)(64bit), libgvc.so.6()(64bit) >= set:njmwhFxL0aGZ4b8jtd15XvtMPo4, libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.uHMN2n Creating graphviz-python-debuginfo package Processing files: graphviz-debuginfo-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aHnK9W find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.u1OofA find-requires: running scripts (debuginfo) Requires: graphviz = 2.40.1-alt4, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, /usr/lib/debug/usr/lib64/graphviz/libgvplugin_core.so.6.debug, /usr/lib/debug/usr/lib64/graphviz/libgvplugin_dot_layout.so.6.debug, /usr/lib/debug/usr/lib64/graphviz/libgvplugin_gd.so.6.debug, /usr/lib/debug/usr/lib64/graphviz/libgvplugin_neato_layout.so.6.debug, /usr/lib/debug/usr/lib64/graphviz/libgvplugin_pango.so.6.debug, debug64(libANN.so.1), debug64(libGL.so.1), debug64(libGLU.so.1), debug64(libX11.so.6), debug64(libXaw.so.7), debug64(libXmu.so.6), debug64(libXt.so.6), debug64(libc.so.6), debug64(libcairo.so.2), debug64(libcdt.so.5), debug64(libcgraph.so.6), debug64(libexpat.so.1), debug64(libgcc_s.so.1), debug64(libgd.so.3), debug64(libgdk-x11-2.0.so.0), debug64(libgdkglext-x11-1.0.so.0), debug64(libglade-2.0.so.0), debug64(libglib-2.0.so.0), debug64(libglut.so.3), debug64(libgobject-2.0.so.0), debug64(libgtk-x11-2.0.so.0), debug64(libgtkglext-x11-1.0.so.0), debug64(libgts-0.7.so.5), debug64(libgvc.so.6), debug64(libgvpr.so.2), debug64(liblab_gamut.so.1), debug64(libm.so.6), debug64(libpango-1.0.so.0), debug64(libpangocairo-1.0.so.0), debug64(libpthread.so.0), debug64(libstdc++.so.6) Processing files: libgraphviz-debuginfo-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8Bza3r find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Kpbdxr find-requires: running scripts (debuginfo) Provides: debug64(libcdt.so.5), debug64(libcgraph.so.6), debug64(libgvc.so.6), debug64(libgvpr.so.2), debug64(liblab_gamut.so.1), debug64(libpathplan.so.4), debug64(libxdot.so.4) Requires: libgraphviz = 2.40.1-alt4, debug64(libLASi.so.1), debug64(libX11.so.6), debug64(libatk-1.0.so.0), debug64(libc.so.6), debug64(libcairo.so.2), debug64(libdl.so.2), debug64(libexpat.so.1), debug64(libgcc_s.so.1), debug64(libgd.so.3), debug64(libgdk-x11-2.0.so.0), debug64(libgdk_pixbuf-2.0.so.0), debug64(libglib-2.0.so.0), debug64(libgobject-2.0.so.0), debug64(libgs.so.9), debug64(libgtk-x11-2.0.so.0), debug64(libgts-0.7.so.5), debug64(libm.so.6), debug64(libpango-1.0.so.0), debug64(libpangocairo-1.0.so.0), debug64(libpangoft2-1.0.so.0), debug64(libpthread.so.0), debug64(librsvg-2.so.2), debug64(libstdc++.so.6), debug64(libz.so.1) Processing files: graphviz-guile-debuginfo-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Mok5Q5 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Uqbs1P find-requires: running scripts (debuginfo) Requires: graphviz-guile = 2.40.1-alt4, debug64(libc.so.6), debug64(libcgraph.so.6), debug64(libguile-2.2.so.1), debug64(libgvc.so.6) Processing files: graphviz-perl-debuginfo-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ihkpjF find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UKHZJz find-requires: running scripts (debuginfo) Requires: graphviz-perl = 2.40.1-alt4, debug64(libc.so.6), debug64(libcgraph.so.6), debug64(libgvc.so.6), debug64(libperl-5.26.so), debug64(libpthread.so.0), debug64(libstdc++.so.6) Processing files: graphviz-python-debuginfo-2.40.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6GiS7B find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.C50tdK find-requires: running scripts (debuginfo) Requires: graphviz-python = 2.40.1-alt4, debug64(libc.so.6), debug64(libcgraph.so.6), debug64(libgcc_s.so.1), debug64(libgvc.so.6), debug64(libstdc++.so.6) Adding to graphviz-debuginfo a strict dependency on libgraphviz-debuginfo Adding to graphviz-guile-debuginfo a strict dependency on libgraphviz-debuginfo Adding to graphviz-perl-debuginfo a strict dependency on libgraphviz-debuginfo Adding to graphviz-python-debuginfo a strict dependency on libgraphviz-debuginfo Removing from graphviz-debuginfo 225 sources provided by libgraphviz-debuginfo also prunning dir /usr/src/debug/graphviz-2.40.1/lib/ast also prunning dir /usr/src/debug/graphviz-2.40.1/lib/cdt also prunning dir /usr/src/debug/graphviz-2.40.1/lib/cgraph also prunning dir /usr/src/debug/graphviz-2.40.1/lib/common also prunning dir /usr/src/debug/graphviz-2.40.1/lib/expr also prunning dir /usr/src/debug/graphviz-2.40.1/lib/fdpgen also prunning dir /usr/src/debug/graphviz-2.40.1/lib/gvc also prunning dir /usr/src/debug/graphviz-2.40.1/lib/gvpr also prunning dir /usr/src/debug/graphviz-2.40.1/lib/ingraphs also prunning dir /usr/src/debug/graphviz-2.40.1/lib/neatogen also prunning dir /usr/src/debug/graphviz-2.40.1/lib/pack also prunning dir /usr/src/debug/graphviz-2.40.1/lib/pathplan also prunning dir /usr/src/debug/graphviz-2.40.1/lib/rbtree also prunning dir /usr/src/debug/graphviz-2.40.1/lib/sfdpgen also prunning dir /usr/src/debug/graphviz-2.40.1/lib/sfio also prunning dir /usr/src/debug/graphviz-2.40.1/lib/sparse also prunning dir /usr/src/debug/graphviz-2.40.1/lib/vmalloc also prunning dir /usr/src/debug/graphviz-2.40.1/lib/xdot Removing from graphviz-guile-debuginfo 7 sources provided by libgraphviz-debuginfo also prunning dir /usr/src/debug/graphviz-2.40.1/lib/cdt also prunning dir /usr/src/debug/graphviz-2.40.1/lib/cgraph also prunning dir /usr/src/debug/graphviz-2.40.1/lib/common also prunning dir /usr/src/debug/graphviz-2.40.1/lib/gvc also prunning dir /usr/src/debug/graphviz-2.40.1/lib Removing from graphviz-perl-debuginfo 7 sources provided by libgraphviz-debuginfo also prunning dir /usr/src/debug/graphviz-2.40.1/lib/cdt also prunning dir /usr/src/debug/graphviz-2.40.1/lib/cgraph also prunning dir /usr/src/debug/graphviz-2.40.1/lib/common also prunning dir /usr/src/debug/graphviz-2.40.1/lib/gvc also prunning dir /usr/src/debug/graphviz-2.40.1/lib Removing from graphviz-python-debuginfo 7 sources provided by libgraphviz-debuginfo also prunning dir /usr/src/debug/graphviz-2.40.1/lib/cdt also prunning dir /usr/src/debug/graphviz-2.40.1/lib/cgraph also prunning dir /usr/src/debug/graphviz-2.40.1/lib/common also prunning dir /usr/src/debug/graphviz-2.40.1/lib/gvc also prunning dir /usr/src/debug/graphviz-2.40.1/lib Removing 10 extra deps from graphviz due to dependency on libgraphviz Removing 7 extra deps from libgraphviz-devel due to dependency on libgraphviz Removing 10 extra deps from graphviz-debuginfo due to dependency on libgraphviz-debuginfo Removing 2 extra deps from graphviz-guile-debuginfo due to dependency on libgraphviz-debuginfo Removing 2 extra deps from graphviz-perl-debuginfo due to dependency on libgraphviz-debuginfo Removing 2 extra deps from graphviz-python-debuginfo due to dependency on libgraphviz-debuginfo Removing 2 extra deps from graphviz-guile due to dependency on libgraphviz Removing 2 extra deps from graphviz-perl due to dependency on libgraphviz Removing 3 extra deps from graphviz-python due to dependency on libgraphviz Removing 19 extra deps from graphviz due to repentancy on libgraphviz Removing 3 extra deps from graphviz-guile due to repentancy on libgraphviz Removing 8 extra deps from graphviz-perl due to repentancy on libgraphviz Removing 8 extra deps from graphviz-python due to repentancy on libgraphviz Removing 16 extra deps from graphviz-debuginfo due to repentancy on libgraphviz-debuginfo Removing 1 extra deps from graphviz-guile-debuginfo due to repentancy on libgraphviz-debuginfo Removing 3 extra deps from graphviz-perl-debuginfo due to repentancy on libgraphviz-debuginfo Removing 3 extra deps from graphviz-python-debuginfo due to repentancy on libgraphviz-debuginfo Wrote: /usr/src/RPM/RPMS/x86_64/graphviz-2.40.1-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libgraphviz-2.40.1-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libgraphviz-devel-2.40.1-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/noarch/graphviz-doc-2.40.1-alt4.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/graphviz-graphs-2.40.1-alt4.noarch.rpm Wrote: /usr/src/RPM/RPMS/x86_64/graphviz-guile-2.40.1-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/graphviz-perl-2.40.1-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/graphviz-python-2.40.1-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/graphviz-debuginfo-2.40.1-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libgraphviz-debuginfo-2.40.1-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/graphviz-guile-debuginfo-2.40.1-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/graphviz-perl-debuginfo-2.40.1-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/graphviz-python-debuginfo-2.40.1-alt4.x86_64.rpm 254.68user 38.31system 9:28.71elapsed 51%CPU (0avgtext+0avgdata 302336maxresident)k 0inputs+0outputs (0major+15386991minor)pagefaults 0swaps 309.80user 46.56system 11:03.43elapsed 53%CPU (0avgtext+0avgdata 302336maxresident)k 112inputs+0outputs (0major+16611762minor)pagefaults 0swaps --- graphviz-2.40.1-alt4.x86_64.rpm.repo 2018-08-13 12:41:49.000000000 +0000 +++ graphviz-2.40.1-alt4.x86_64.rpm.hasher 2018-11-12 04:13:03.915350309 +0000 @@ -212,3 +212,3 @@ Requires: libANN.so.1()(64bit) >= set:ljXxcZir84b0 -Requires: libGL.so.1()(64bit) >= set:oinoUZ0ZHMueqNrfPFAHi0wWAZf3KdCgA4MdzGBYdZcNN78guC6a5HZmaSrstDNPZ0FDVedjMxKdpYcwTygP866b3q2WgdlsC1jkngsucZfutYv2H9yTPZGaoz9c1jjikSoH4gT1tXbyLmOi6 +Requires: libGL.so.1()(64bit) >= set:pjdsnIDZqi0itOWZwmrchA44R017hkNUFHApWpqDChq7ZmhgbRODgKyPeoy7iEZfukjmPZGkM6Uh5NwDksZKiWueqNrf3MTdJBYbPZekdKoRDMLKPok56SCcyiyzb5YMqZDmDMqY1ycd9zO6sPiKZ589Q3 Requires: libGLU.so.1()(64bit) >= set:jf2W88GxJnJloKKNSqRVW1QshkiRRPlXmPyf @@ -224,3 +224,3 @@ Requires: libglib-2.0.so.0()(64bit) >= set:okvzhZkSRSuJZaCCqP7qoi5lfAyYGTKggguhzepY7Gl -Requires: libglut.so.3()(64bit) >= set:mh5FbCiqFTVKJGWbZm1BwjLlDMPPKeOxPB1W7XGv2Z86tfbkIvv1V1vWk1bJlHSZv6rRZ9yQrNgk0 +Requires: libglut.so.3()(64bit) >= set:lg5F7jpfa25XXbP9UsnIGGXE2lpCLFbYezmJMSZIckNstvWj1efPW83Db1E8MYo7Z3hGpl20 Requires: libgobject-2.0.so.0()(64bit) >= set:mjuQEvZKYaki1Vm4wHKZFEE